Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux on NVMM



Looks like this might be the cause of the crash:

https://github.com/torvalds/linux/commit/b466bdb614823aaaa7188e85516177d2850f4782

On Sat, 16 Nov 2019, Jared McNeill wrote:

Here's the earlyprintk output. The panic message repeats endlessly.

NetBSD Virtual Machine Monitor accelerator is operational
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0011005, ignored
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0011005 [val=0x40000000000000], ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0011005, ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0010112, ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0010015, ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc001100c, ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0011020, ignored
[ 0.000000] Linux version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019 (Ubuntu 4.15.0-62.69-generic 4.15.18) [ 0.000000] Command line: BOOT_IMAGE=linux vga=788 initrd=initrd.gz earlyprintk=serial,ttyS0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] [Firmware Bug]: TSC doesn't count with P0 frequency!
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'standard' format.
[    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-0x000000007ffdefff] usable
[ 0.000000] BIOS-e820: [mem 0x000000007ffdf000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[    0.000000] e820: last_pfn = 0x7ffdf max_arch_pfn = 0x400000000
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0010010, ignored
[    0.000000] MTRR: Disabled
[    0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000000] CPU MTRRs all blank - virtualized system.
[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC Memory KASLR using RDRAND RDTSC...
[    0.000000] found SMP MP-table at [mem 0x000f5b00-0x000f5b0f]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x7cafd000-0x7ffdefff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5AC0 000014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0x000000007FFE1405 000030 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE12C9 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFDFDC0 001509 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000007FFDFD80 000040
[ 0.000000] ACPI: APIC 0x000000007FFE133D 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 0x000000007FFE13CD 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007ffdefff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7cad2000-0x7cafcfff]
[    0.000000] tsc: Using PIT calibration value
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000007ffdefff]
[    0.000000]   Normal   empty
[    0.000000]   Device   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-0x000000007ffdefff]
[    0.000000] Reserved but unavailable: 98 pages
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffdefff]
[    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 32, 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 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfffbffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0 [ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 46 pages/cpu s151552 r8192 d28672 u524288
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515944
[    0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: BOOT_IMAGE=linux vga=788 initrd=initrd.gz earlyprintk=serial,ttyS0 [ 0.000000] Memory: 1980712K/2096628K available (12300K kernel code, 2481K rwdata, 4172K rodata, 2436K init, 2384K bss, 115916K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 39306 entries in 154 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
[    0.000000] invalid opcode: 0000 [#1] SMP NOPTI
[    0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-62-generic #69-Ubuntu [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[    0.000000] RIP: 0010:delay_mwaitx+0x5c/0x90
[    0.000000] RSP: 0000:ffffffff98403e38 EFLAGS: 00010086
[ 0.000000] RAX: ffff8b277c805000 RBX: 0000000000000000 RCX: 0000000000000000 [ 0.000000] RDX: 0000000000000000 RSI: 0000000ea70247dd RDI: 000000000000103d [ 0.000000] RBP: ffffffff98403e48 R08: 00000000ffffffff R09: 0000000000000000 [ 0.000000] R10: 0000000000000002 R11: 000000000000000f R12: 0000000000005000 [ 0.000000] R13: ffffffff9842bbc0 R14: ffff8b277cacc940 R15: 0000000000000000 [ 0.000000] FS: 0000000000000000(0000) GS:ffff8b277c800000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: ffff8b2756540000 CR3: 0000000055e0a000 CR4: 00000000000406b0
[    0.000000] Call Trace:
[    0.000000]  __const_udelay+0x41/0x50
[    0.000000]  init_8259A+0x3b/0x120
[    0.000000]  ? handle_nested_irq+0x110/0x110
[    0.000000]  init_ISA_irqs+0x36/0x5b
[    0.000000]  native_init_IRQ+0x12/0x44
[    0.000000]  init_IRQ+0x4d/0x54
[    0.000000]  start_kernel+0x339/0x4fd
[    0.000000]  x86_64_start_reservations+0x24/0x26
[    0.000000]  x86_64_start_kernel+0x74/0x77
[    0.000000]  secondary_startup_64+0xa5/0xb0
[ 0.000000] Code: 41 b8 ff ff ff ff 48 09 c6 41 ba 02 00 00 00 eb 09 48 29 c6 48 01 f7 48 89 c6 4c 89 e0 65 48 03 05 a2 66 66 68 4c 89 c9 4c 89 ca <0f> 01 fa 4c 39 c7 4c 89 c3 4c 89 d8 48 0f 46 df 4c 89 d1 0f 01 [ 0.000000] RIP: delay_mwaitx+0x5c/0x90 RSP: ffffffff98403e38
[    0.000000] ---[ end trace afc3cbe11d6207fb ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] invalid opcode: 0000 [#2] SMP NOPTI
[    0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.15.0-62-generic #69-Ubuntu [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[    0.000000] RIP: 0010:delay_mwaitx+0x5c/0x90
[    0.000000] RSP: 0000:ffffffff98403e28 EFLAGS: 00010286
[ 0.000000] RAX: ffff8b277c805000 RBX: 0000000000000000 RCX: 0000000000000000 [ 0.000000] RDX: 0000000000000000 RSI: 0000000eb42680a9 RDI: 00000000001fb62c [ 0.000000] RBP: ffffffff98403e38 R08: 00000000ffffffff R09: 0000000000000000 [ 0.000000] R10: 0000000000000002 R11: 000000000000000f R12: 0000000000005000 [ 0.000000] R13: 00000000000000c8 R14: 0000000000000064 R15: ffffffff98403d88 [ 0.000000] FS: 0000000000000000(0000) GS:ffff8b277c800000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: ffff8b2756540000 CR3: 0000000055e0a000 CR4: 00000000000406b0
[    0.000000] Call Trace:
[    0.000000]  __const_udelay+0x41/0x50
[    0.000000]  panic+0x23f/0x254
[    0.000000]  do_exit+0x8ec/0xbc0
[    0.000000]  rewind_stack_do_exit+0x17/0x20
[ 0.000000] Code: 41 b8 ff ff ff ff 48 09 c6 41 ba 02 00 00 00 eb 09 48 29 c6 48 01 f7 48 89 c6 4c 89 e0 65 48 03 05 a2 66 66 68 4c 89 c9 4c 89 ca <0f> 01 fa 4c 39 c7 4c 89 c3 4c 89 d8 48 0f 46 df 4c 89 d1 0f 01 [ 0.000000] RIP: delay_mwaitx+0x5c/0x90 RSP: ffffffff98403e28
[    0.000000] ---[ end trace afc3cbe11d6207fc ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] invalid opcode: 0000 [#3] SMP NOPTI
[    0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.15.0-62-generic #69-Ubuntu [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[    0.000000] RIP: 0010:delay_mwaitx+0x5c/0x90
[    0.000000] RSP: 0000:ffffffff98403e28 EFLAGS: 00010286
[ 0.000000] RAX: ffff8b277c805000 RBX: 0000000000000000 RCX: 0000000000000000 [ 0.000000] RDX: 0000000000000000 RSI: 0000000ebff01feb RDI: 00000000001fb62c [ 0.000000] RBP: ffffffff98403e38 R08: 00000000ffffffff R09: 0000000000000000 [ 0.000000] R10: 0000000000000002 R11: 000000000000000f R12: 0000000000005000 [ 0.000000] R13: 00000000000000c8 R14: 0000000000000064 R15: ffffffff98403d78 [ 0.000000] FS: 0000000000000000(0000) GS:ffff8b277c800000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: ffff8b2756540000 CR3: 0000000055e0a000 CR4: 00000000000406b0
[    0.000000] Call Trace:
[    0.000000]  __const_udelay+0x41/0x50
[    0.000000]  panic+0x23f/0x254
[    0.000000]  do_exit+0x8ec/0xbc0
[    0.000000]  rewind_stack_do_exit+0x17/0x20
[ 0.000000] Code: 41 b8 ff ff ff ff 48 09 c6 41 ba 02 00 00 00 eb 09 48 29 c6 48 01 f7 48 89 c6 4c 89 e0 65 48 03 05 a2 66 66 68 4c 89 c9 4c 89 ca <0f> 01 fa 4c 39 c7 4c 89 c3 4c 89 d8 48 0f 46 df 4c 89 d1 0f 01 [ 0.000000] RIP: delay_mwaitx+0x5c/0x90 RSP: ffffffff98403e28
[    0.000000] ---[ end trace afc3cbe11d6207fd ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!





Home | Main Index | Thread Index | Old Index