early console in setup code early console in extract_kernel input_data: 0x0000000003a602b6 input_len: 0x000000000077853a output: 0x0000000001000000 output_len: 0x000000000225ae4c kernel_total_size: 0x000000000320b000 trampoline_32bit: 0x000000000009d000 booted via startup_32() Physical KASLR using RDRAND RDTSC... Virtual KASLR using RDRAND RDTSC... Decompressing Linux... Parsing ELF... Performing relocations... done. Booting the kernel. [ 0.000000] Linux version 4.17.0-rc1 (kbuild@lkp-nhm1) (gcc version 7.3.0 (Debian 7.3.0-1)) #304 SMP Tue Apr 17 11:14:49 CST 2018 [ 0.000000] Command line: root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw link=/kbuild-tests/run-queue/kvm/x86_64-randconfig-n0-04171111/internal-devel:devel-hourly-2018041707-internal:60cc43fc888428bb2f18f08997432d426a243338/.vmlinuz-60cc43fc888428bb2f18f08997432d426a243338-20180417111634-2:yocto-lkp-hsw01-35 branch=internal-devel/devel-hourly-2018041707-internal BOOT_IMAGE=/pkg/linux/x86_64-randconfig-n0-04171111/gcc-7/60cc43fc888428bb2f18f08997432d426a243338/vmlinuz-4.17.0-rc1 drbd.minor_count=8 rcuperf.shutdown=0 [ 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: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 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-0x000000001ffdbfff] usable [ 0.000000] BIOS-e820: [mem 0x000000001ffdc000-0x000000001fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] debug: ignoring loglevel setting. [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] random: fast init done [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 [ 0.000000] Hypervisor detected: KVM [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x1ffdc max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: write-back [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-BFFFF uncachable [ 0.000000] C0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 0080000000 mask FF80000000 uncachable [ 0.000000] 1 disabled [ 0.000000] 2 disabled [ 0.000000] 3 disabled [ 0.000000] 4 disabled [ 0.000000] 5 disabled [ 0.000000] 6 disabled [ 0.000000] 7 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.000000] Base memory trampoline at [ (ptrval)] 99000 size 24576 [ 0.000000] BRK [0x0bbe6000, 0x0bbe6fff] PGTABLE [ 0.000000] BRK [0x0bbe7000, 0x0bbe7fff] PGTABLE [ 0.000000] BRK [0x0bbe8000, 0x0bbe8fff] PGTABLE [ 0.000000] BRK [0x0bbe9000, 0x0bbe9fff] PGTABLE [ 0.000000] RAMDISK: [mem 0x1fbf9000-0x1ffcffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F68C0 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000001FFE15CE 000030 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000001FFE142A 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000001FFE0040 0013EA (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000001FFE0000 000040 [ 0.000000] ACPI: APIC 0x000000001FFE151E 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 0x000000001FFE1596 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] mapped APIC to ffffffffff5fd000 ( fee00000) [ 0.000000] cma: dma_contiguous_reserve(limit 1ffdc000) [ 0.000000] kvm-clock: cpu 0, msr 0:1ffda001, primary cpu clock [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: using sched offset of 960890446 cycles [ 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-0x000000001ffdbfff] [ 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-0x000000001ffdbfff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001ffdbfff] [ 0.000000] On node 0 totalpages: 130938 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 21 pages reserved [ 0.000000] DMA zone: 3998 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 1984 pages used for memmap [ 0.000000] DMA32 zone: 126940 pages, LIFO batch:31 [ 0.000000] Reserved but unavailable: 98 pages [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 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] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 0, APIC INT 02 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 05, APIC ID 0, APIC INT 05 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 0, APIC INT 09 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0a, APIC ID 0, APIC INT 0a [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] Int: type 0, pol 1, trig 3, bus 00, IRQ 0b, APIC ID 0, APIC INT 0b [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 0, APIC INT 01 [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 0, APIC INT 03 [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 0, APIC INT 04 [ 0.000000] ACPI: IRQ5 used by override. [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 0, APIC INT 06 [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 0, APIC INT 07 [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 0, APIC INT 08 [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] ACPI: IRQ10 used by override. [ 0.000000] ACPI: IRQ11 used by override. [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 0, APIC INT 0c [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 0, APIC INT 0d [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0e, APIC ID 0, APIC INT 0e [ 0.000000] Int: type 0, pol 0, trig 0, bus 00, IRQ 0f, APIC ID 0, APIC INT 0f [ 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] mapped IOAPIC to ffffffffff5fc000 (fec00000) [ 0.000000] e820: [mem 0x20000000-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: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] percpu: Embedded 489 pages/cpu @ (ptrval) s1974272 r0 d28672 u2097152 [ 0.000000] pcpu-alloc: s1974272 r0 d28672 u2097152 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] KVM setup async PF for cpu 0 [ 0.000000] kvm-stealtime: cpu 0, msr 1f814f00 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 128869 [ 0.000000] Kernel command line: root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw link=/kbuild-tests/run-queue/kvm/x86_64-randconfig-n0-04171111/internal-devel:devel-hourly-2018041707-internal:60cc43fc888428bb2f18f08997432d426a243338/.vmlinuz-60cc43fc888428bb2f18f08997432d426a243338-20180417111634-2:yocto-lkp-hsw01-35 branch=internal-devel/devel-hourly-2018041707-internal BOOT_IMAGE=/pkg/linux/x86_64-randconfig-n0-04171111/gcc-7/60cc43fc888428bb2f18f08997432d426a243338/vmlinuz-4.17.0-rc1 drbd.minor_count=8 rcuperf.shutdown=0 [ 0.000000] sysrq: sysrq always enabled. [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.000000] Memory: 210548K/523752K available (16392K kernel code, 2355K rwdata, 5536K rodata, 2996K init, 21012K bss, 66128K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Kernel/User page tables isolation: enabled [ 0.000000] ------------[ cut here ]------------ [ 0.000000] CPA: called for zero pte. vaddr = ffffffffb2400000 cpa->vaddr = ffffffffb2400000 [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/mm/pageattr.c:1189 __cpa_process_fault+0x572/0x5a0 [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G T 4.17.0-rc1 #304 [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 [ 0.000000] RIP: 0010:__cpa_process_fault+0x572/0x5a0 [ 0.000000] RSP: 0000:ffffffffb0a03c40 EFLAGS: 00010086 [ 0.000000] RAX: 0000000000000000 RBX: ffffffffb2200000 RCX: 0000000000000002 [ 0.000000] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000046 [ 0.000000] RBP: ffffffffb0a03ca0 R08: 0000000000000001 R09: 0000000000000001 [ 0.000000] R10: ffffffffb0a884f8 R11: 0000000000000000 R12: ffffffffb0a03df0 [ 0.000000] R13: 00000000000000e3 R14: ffff880000000000 R15: ffffffffb2400000 [ 0.000000] FS: 0000000000000000(0000) GS:ffff88001f800000(0000) knlGS:0000000000000000 [ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.000000] CR2: ffff88000bbe6000 CR3: 000000000a26a001 CR4: 00000000000606b0 [ 0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.000000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 0.000000] Call Trace: [ 0.000000] __change_page_attr_set_clr+0x1a0/0xde0 [ 0.000000] ? lock_release+0x350/0x380 [ 0.000000] change_page_attr_set_clr+0x17c/0x3f0 [ 0.000000] ? 0xffffffffaf200000 [ 0.000000] set_memory_nonglobal+0x24/0x30 [ 0.000000] pti_set_kernel_image_nonglobal+0x73/0x80 [ 0.000000] pti_init+0x4b/0x1fb [ 0.000000] start_kernel+0x2ee/0x4da [ 0.000000] x86_64_start_reservations+0x2a/0x2c [ 0.000000] x86_64_start_kernel+0x77/0x7a [ 0.000000] secondary_startup_64+0xa5/0xb0 [ 0.000000] Code: 48 89 f7 31 db e8 5f 44 00 00 48 c1 e8 0c 49 89 44 24 30 eb 24 49 8b 04 24 4c 89 fe 48 c7 c7 f8 e8 80 b0 48 8b 10 e8 0e d9 07 00 <0f> 0b bb f2 ff ff ff eb 05 bb ff ff ff ff 48 83 c4 38 89 d8 5b [ 0.000000] ---[ end trace 9c220c3d1fdf6e76 ]--- [ 0.000000] ------------[ cut here ]------------ [ 0.000000] kernel BUG at arch/x86/mm/pageattr.c:175! [ 0.000000] invalid opcode: 0000 [#1] SMP PTI [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W T 4.17.0-rc1 #304 [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 [ 0.000000] RIP: 0010:cpa_flush_all+0x10/0x30 [ 0.000000] RSP: 0000:ffffffffb0a03db0 EFLAGS: 00010046 [ 0.000000] RAX: 0000000000000082 RBX: 0000000000000000 RCX: 00000000fffffff2 [ 0.000000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 0.000000] RBP: ffffffffb0a03db0 R08: 0000000000000001 R09: 0000000000000000 [ 0.000000] R10: 0000000000000001 R11: 0000000000000000 R12: ffffffffb0a03e80 [ 0.000000] R13: 0000000000003400 R14: 0000000000000000 R15: 0000000000000000 [ 0.000000] FS: 0000000000000000(0000) GS:ffff88001f800000(0000) knlGS:0000000000000000 [ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.000000] CR2: ffff88000bbe6000 CR3: 000000000a26a001 CR4: 00000000000606b0 [ 0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.000000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 0.000000] Call Trace: [ 0.000000] change_page_attr_set_clr+0x330/0x3f0 [ 0.000000] ? 0xffffffffaf200000 [ 0.000000] set_memory_nonglobal+0x24/0x30 [ 0.000000] pti_set_kernel_image_nonglobal+0x73/0x80 [ 0.000000] pti_init+0x4b/0x1fb [ 0.000000] start_kernel+0x2ee/0x4da [ 0.000000] x86_64_start_reservations+0x2a/0x2c [ 0.000000] x86_64_start_kernel+0x77/0x7a [ 0.000000] secondary_startup_64+0xa5/0xb0 [ 0.000000] Code: 7d c8 ff 14 25 30 b9 95 b0 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 00 55 48 89 e5 ff 14 25 e0 82 a8 b0 f6 c4 02 75 02 <0f> 0b 48 89 fe ba 01 00 00 00 48 c7 c7 f0 c2 23 af e8 2a f1 0f [ 0.000000] RIP: cpa_flush_all+0x10/0x30 RSP: ffffffffb0a03db0 [ 0.000000] ---[ end trace 9c220c3d1fdf6e77 ]--- [ 0.000000] Kernel panic - not syncing: Fatal exception Elapsed time: 10 qemu-img create -f qcow2 disk-yocto-lkp-hsw01-35-0 256G qemu-img create -f qcow2 disk-yocto-lkp-hsw01-35-1 256G kvm=( qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep -kernel $kernel -initrd /osimage/yocto/yocto-trinity-x86_64.cgz -m 512 -smp 1 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -watchdog-action debug -rtc base=localtime -drive file=disk-yocto-lkp-hsw01-35-0,media=disk,if=virtio -drive file=disk-yocto-lkp-hsw01-35-1,media=disk,if=virtio -serial stdio -display none -monitor null ) append=( root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw branch=internal-devel/devel-hourly-2018041707-internal BOOT_IMAGE=/pkg/linux/x86_64-randconfig-n0-04171111/gcc-7/60cc43fc888428bb2f18f08997432d426a243338/vmlinuz-4.17.0-rc1 drbd.minor_count=8 rcuperf.shutdown=0 ) "${kvm[@]}" -append "${append[*]}"