early console in setup code
Probing EDD (edd=off to disable)... ok
early console in extract_kernel
input_data: 0x000000000627f3b4
input_len: 0x00000000018cbb9a
output: 0x0000000001000000
output_len: 0x0000000005ace960
kernel_total_size: 0x0000000006b6f000

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[    0.000000] Linux version 4.15.0-rc3-00195-gdb49bde (kbuild@lkp-hsx02) (gcc version 7.2.1 20171025 (Debian 7.2.0-12)) #1 SMP Sun Dec 17 13:13:55 CST 2017
[    0.000000] Command line: ip=::::vm-ivb41-quantal-x86_64-27::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-ivb41-quantal-x86_64-27/boot-1-quantal-core-x86_64.cgz-db49bdebb1f313fae0c264fe28751cb1a5a49800-20171217-96740-1lxvpsq-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-ws0-12170737 branch=linux-devel/devel-catchup-201712170749 commit=db49bdebb1f313fae0c264fe28751cb1a5a49800 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-ws0-12170737/gcc-7/db49bdebb1f313fae0c264fe28751cb1a5a49800/vmlinuz-4.15.0-rc3-00195-gdb49bde max_uptime=600 RESULT_ROOT=/result/boot/1/vm-ivb41-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-ws0-12170737/gcc-7/db49bdebb1f313fae0c264fe28751cb1a5a49800/0 LKP_SERVER=inn 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=t
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    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-0x000000001ffdffff] usable
[    0.000000] BIOS-e820: [mem 0x000000001ffe0000-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 = 0x1ffe0 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: PAT not supported by CPU.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [        (ptrval)] 99000 size 24576
[    0.000000] BRK [0x07b4a000, 0x07b4afff] PGTABLE
[    0.000000] BRK [0x07b4b000, 0x07b4bfff] PGTABLE
[    0.000000] BRK [0x07b4c000, 0x07b4cfff] PGTABLE
[    0.000000] BRK [0x07b4d000, 0x07b4dfff] PGTABLE
[    0.000000] RAMDISK: [mem 0x1e757000-0x1ffdffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] BUG: unable to handle kernel paging request at ffffffff9d00040e
[    0.000000] IP: acpi_find_root_pointer+0xbe/0x2f3
[    0.000000] PGD 5214067 P4D 5214067 PUD 5215063 PMD 0 
[    0.000000] Oops: 0000 [#1] SMP KASAN
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.15.0-rc3-00195-gdb49bde #1
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.000000] RIP: 0010:acpi_find_root_pointer+0xbe/0x2f3
[    0.000000] RSP: 0000:ffffffff85207c00 EFLAGS: 00010046
[    0.000000] RAX: 0000000000000007 RBX: ffffffff85207c48 RCX: ffffffff86526a00
[    0.000000] RDX: 1ffffffff3a00000 RSI: 8000000000000163 RDI: ffffffff86624b40
[    0.000000] RBP: 1ffffffff0a40f85 R08: fffffbfff0cc63a4 R09: 0000000000000000
[    0.000000] R10: ffffffff86630d20 R11: fffffbfff0cc63a3 R12: ffffffff9d00040e
[    0.000000] R13: 000000001ffe0000 R14: ffffffff8711a1a0 R15: 000000000ffbf000
[    0.000000] FS:  0000000000000000(0000) GS:ffffffff86469000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.000000] CR2: ffffffff9d00040e CR3: 0000000005213000 CR4: 00000000000006b0
[    0.000000] Call Trace:
[    0.000000]  ? acpi_os_get_root_pointer+0x146/0x199
[    0.000000]  ? acpi_enforce_resources_setup+0xda/0xda
[    0.000000]  ? memset+0x1f/0x40
[    0.000000]  ? acpi_initialize_tables+0x15c/0x1ce
[    0.000000]  ? acpi_table_init+0xed/0x21c
[    0.000000]  ? acpi_table_parse+0x1c1/0x1c1
[    0.000000]  ? dmi_check_system+0xc0/0xd0
[    0.000000]  ? acpi_boot_table_init+0x28/0xc7
[    0.000000]  ? setup_arch+0x114f/0x1a6a
[    0.000000]  ? reserve_standard_io_resources+0x34/0x34
[    0.000000]  ? vprintk_func+0x9a/0xa0
[    0.000000]  ? printk+0xaa/0xca
[    0.000000]  ? cpumask_weight+0x48/0x48
[    0.000000]  ? cgroup_init_subsys+0x5e3/0x5e3
[    0.000000]  ? cpumask_set_cpu+0x52/0x60
[    0.000000]  ? start_kernel+0x9c/0x6a7
[    0.000000]  ? thread_stack_cache_init+0x5/0x5
[    0.000000]  ? memcpy_orig+0x16/0x110
[    0.000000]  ? secondary_startup_64+0xa5/0xb0
[    0.000000] Code: 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 8a 14 02 4c 89 e0 83 e0 07 ff c0 38 d0 7c 0c 84 d2 74 08 4c 89 e7 e8 f4 a0 00 fb <41> 0f b7 2c 24 be 02 00 00 00 4c 89 e7 e8 42 63 bd fd c1 e5 04 
[    0.000000] RIP: acpi_find_root_pointer+0xbe/0x2f3 RSP: ffffffff85207c00
[    0.000000] CR2: ffffffff9d00040e
[    0.000000] ---[ end trace 2507864299958132 ]---
[    0.000000] Kernel panic - not syncing: Fatal exception
[    0.000000] ---[ end Kernel panic - not syncing: Fatal exception

Elapsed time: 10

#!/bin/bash

# To reproduce,
# 1) save job-script and this script (both are attached in 0day report email)
# 2) run this script with your compiled kernel and optional env $INSTALL_MOD_PATH

kernel=$1

initrds=(
	/osimage/quantal/quantal-core-x86_64.cgz
	/lkp/lkp/lkp-x86_64.cgz
)

HTTP_PREFIX=https://github.com/0day-ci/lkp-qemu/raw/master
wget --timestamping "${initrds[@]/#/$HTTP_PREFIX}"

{
	cat "${initrds[@]//*\//}"
	[[ $INSTALL_MOD_PATH ]] && (
		cd "$INSTALL_MOD_PATH"
		find lib | cpio -o -H newc --quiet | gzip
	)
	echo  job-script | cpio -o -H newc --quiet | gzip
} > initrd.img

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-kernel $kernel
	-initrd initrd.img
	-m 512
	-smp 2
	-device e1000,netdev=net0
	-netdev user,id=net0
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-watchdog-action debug
	-rtc base=localtime
	-serial stdio
	-display none
	-monitor null
)

append=(
	ip=::::vm-ivb41-quantal-x86_64-27::dhcp
	root=/dev/ram0
	user=lkp
	job=/job-script
	ARCH=x86_64
	kconfig=x86_64-randconfig-ws0-12170737
	branch=linux-devel/devel-catchup-201712170749
	commit=db49bdebb1f313fae0c264fe28751cb1a5a49800
	BOOT_IMAGE=/pkg/linux/x86_64-randconfig-ws0-12170737/gcc-7/db49bdebb1f313fae0c264fe28751cb1a5a49800/vmlinuz-4.15.0-rc3-00195-gdb49bde
	max_uptime=600
	RESULT_ROOT=/result/boot/1/vm-ivb41-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-ws0-12170737/gcc-7/db49bdebb1f313fae0c264fe28751cb1a5a49800/0
	result_service=tmpfs
	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
	drbd.minor_count=8
)

"${kvm[@]}" -append "${append[*]}"
