[FS#93] x86_64 kernel crashes at boot after 9d56ec624

LEDE Bugs lede-bugs at lists.infradead.org
Sun Aug 14 19:35:30 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Claudio Leite (leitec) 

Attached to Project - LEDE Project
Summary - x86_64 kernel crashes at boot after 9d56ec624
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - The commit "kernel: fix crashlog issues on highmem systems" causes a kernel panic on boot on x86_64. This happens on qemu (with and without KVM) and on real hardware.

32-bit x86 doesn't appear to be affected.

Steps to reproduce:
- Checkout head (c14485d41af8607ffe1563a52dd209e2e4177acc as of this writing)
- Select x86_64 target with all default options
- Build and boot as normal

$ qemu-system-x86_64 -enable-kvm -kernel lede-x86-64-ramfs.bzImage -append "console=ttyS0" -nographic
[    0.000000] Linux version 4.4.15 (leitec at dirk) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1319+4) ) #0 SMP Sun Aug 14 23:49:18 UTC 2016
[    0.000000] Command line: console=ttyS0
[    0.000000] x86/fpu: Legacy x87 FPU detected.
[    0.000000] x86/fpu: Using 'lazy' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000007fdffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000007fe0000-0x0000000007ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x7fe0 max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] found SMP MP-table at [mem 0x000f6be0-0x000f6bef] mapped at [ffff8800000f6be0]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F69F0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x0000000007FE1737 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x0000000007FE1613 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x0000000007FE0040 0015D3 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x0000000007FE0000 000040
[    0.000000] ACPI: APIC 0x0000000007FE1687 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x0000000007FE16FF 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:7fde001, primary cpu clock
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x0000000007fdffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000007fdffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000007fdffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0x08000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff880007c00000 s84888 r8192 d29800 u2097152
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 7c0c680
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32105
[    0.000000] Kernel command line: console=ttyS0
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000000] Memory: 116160K/130552K available (4220K kernel code, 401K rwdata, 1580K rodata, 5148K init, 508K bss, 14392K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:4352 nr_irqs:256 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.000000] tsc: Detected 2305.234 MHz processor
[    0.020000] Calibrating delay loop (skipped) preset value.. 4610.46 BogoMIPS (lpj=23052340)
[    0.020000] pid_max: default: 32768 minimum: 301
[    0.020000] ACPI: Core revision 20150930
[    0.020000] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.020000] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.020000] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.020000] mce: CPU supports 10 MCE banks
[    0.020000] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.020000] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.050688] Freeing SMP alternatives memory: 20K (ffffffff81b18000 - ffffffff81b1d000)
[    0.058136] x2apic enabled
[    0.058882] Switched APIC routing to physical x2apic.
[    0.061123] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.070000] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)
[    0.070000] Performance Events: Broken PMU hardware detected, using software events only.
[    0.070000] Failed to access perfctr msr (MSR c0010001 is ffffffffffffffff)
[    0.070000] x86: Booted up 1 node, 1 CPUs
[    0.070000] smpboot: Total of 1 processors activated (4610.46 BogoMIPS)
[    0.070000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.070000] NET: Registered protocol family 16
[    0.070000] cpuidle: using governor ladder
[    0.070000] ACPI: bus type PCI registered
[    0.070074] PCI: Using configuration type 1 for base access
[    0.078099] ACPI: Added _OSI(Module Device)
[    0.078823] ACPI: Added _OSI(Processor Device)
[    0.079495] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.080010] ACPI: Added _OSI(Processor Aggregator Device)
[    0.082003] ACPI: Interpreter enabled
[    0.082584] ACPI: (supports S0 S5)
[    0.083115] ACPI: Using IOAPIC for interrupt routing
[    0.083892] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.087755] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.088734] acpi PNP0A03:00: _OSC: OS supports [Segments MSI]
[    0.090010] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.091056] PCI host bridge to bus 0000:00
[    0.091700] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.092734] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.093788] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.094933] pci_bus 0000:00: root bus resource [mem 0x08000000-0xfebfffff window]
[    0.096076] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.103601] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.104761] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.105780] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.106881] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.109324] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.110019] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.138089] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.139199] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.140344] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.141361] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.142360] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.144963] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.146103] SCSI subsystem initialized
[    0.149010] ACPI: bus type USB registered
[    0.149712] usbcore: registered new interface driver usbfs
[    0.150029] usbcore: registered new interface driver hub
[    0.150861] usbcore: registered new device driver usb
[    0.151760] PCI: Using ACPI for IRQ routing
[    0.152852] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[    0.153971] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.154790] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.160515] clocksource: Switched to clocksource kvm-clock
[    0.161532] pnp: PnP ACPI init
[    0.162555] pnp: PnP ACPI: found 6 devices
[    0.169649] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.171118] NET: Registered protocol family 2
[    0.172092] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.173188] TCP bind hash table entries: 1024 (order: 2, 16384 bytes)
[    0.174183] TCP: Hash tables configured (established 1024 bind 1024)
[    0.175230] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.176096] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.177136] NET: Registered protocol family 1
[    0.177793] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.178645] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.179479] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.198930] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.200090] Crashlog allocated RAM at address 0xfffffffffff9fc00
[    0.201029] BUG: unable to handle kernel paging request at 0000000081b78b78
[    0.202110] IP: [] crashlog_init_fs+0x51/0x139
[    0.203033] PGD 0 
[    0.203364] Oops: 0000 [#1] SMP 
[    0.203890] Modules linked in:
[    0.204376] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.15 #0
[    0.205275] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org 04/01/2014
[    0.207005] task: ffff880007060000 ti: ffff880007068000 task.ti: ffff880007068000
[    0.208066] RIP: 0010:[]  [] crashlog_init_fs+0x51/0x139
[    0.209354] RSP: 0018:ffff88000706be98  EFLAGS: 00010217
[    0.210023] RAX: 000fffffffffff9f RBX: ffffffff815b8040 RCX: 0000001fffffffff
[    0.210023] RDX: 0000000000000000 RSI: 000000001fffffff RDI: 000fffffffffff9f
[    0.210023] RBP: ffff88000736f3c0 R08: 0000000000000002 R09: 0000000000003e98
[    0.210023] R10: ffff880007001cc0 R11: 00000000000000dc R12: 0000000000000000
[    0.210023] R13: ffffffff8163de09 R14: 0000000000000000 R15: 0000000000000000
[    0.210023] FS:  0000000000000000(0000) GS:ffff880007c00000(0000) knlGS:0000000000000000
[    0.210023] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.210023] CR2: 0000000081b78b78 CR3: 00000000015b3000 CR4: 00000000000006f0
[    0.210023] Stack:
[    0.210023]  0000000000000000 0000000000000000 ffff8800077a9bc0 ffffffff815b8040
[    0.210023]  ffffffff81000389 0000000000000200 ffffffff8156a0aa ffffffff815a9448
[    0.210023]  0000000000000000 0006000600000000 0000000000000006 00000000000000b1
[    0.210023] Call Trace:
[    0.210023]  [] ? do_one_initcall+0x89/0x1d0
[    0.210023]  [] ? kernel_init_freeable+0x107/0x186
[    0.210023]  [] ? rest_init+0x70/0x70
[    0.210023]  [] ? kernel_init+0x5/0xe0
[    0.210023]  [] ? ret_from_fork+0x3f/0x70
[    0.210023]  [] ? rest_init+0x70/0x70
[    0.210023] Code: 48 c7 c7 a8 fe 52 81 e8 a1 b2 a6 ff 48 8b 3d 9e a7 53 00 31 d2 48 c1 ef 0c 48 8d 04 17 48 89 c6 48 89 c1 48 c1 ee 17 48 c1 e9 0f  8b 34 f5 80 8b b7 81 48 85 f6 74 0a 0f b6 c9 48 c1 e1 04 48 
[    0.210023] RIP  [] crashlog_init_fs+0x51/0x139
[    0.210023]  RSP 
[    0.210023] CR2: 0000000081b78b78
[    0.210023] ---[ end trace e6609c4f243306b4 ]---
[    0.210023] Kernel panic - not syncing: Fatal exception
[    0.210023] Kernel Offset: disabled
[    0.210023] Rebooting in 1 seconds..QEMU 2.6.0 monitor - type 'help' for more information
(qemu) q


One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=93



More information about the lede-bugs mailing list