early console in setup code
early console in extract_kernel
input_data: 0x000000000315c276
input_len: 0x0000000000472c02
output: 0x0000000001000000
output_len: 0x0000000001a9d8c8
kernel_total_size: 0x00000000025ec000

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[    0.000000] Linux version 4.14.0-00117-gb00b798 (kbuild@lkp-hsx03) (gcc version 6.4.0 20171026 (Debian 6.4.0-9)) #2 SMP Fri Dec 8 05:17:41 CST 2017
[    0.000000] Command line: ip=::::vm-kbuild-yocto-x86_64-26::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-x86_64-26/boot-1-yocto-minimal-x86_64-2016-04-22.cgz-b00b798255eb414246718eeec93d1ef10f894445-20171208-76675-9kwe43-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-ne0-12070229 branch=linux-devel/devel-catchup-201712070245 commit=b00b798255eb414246718eeec93d1ef10f894445 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-ne0-12070229/gcc-6/b00b798255eb414246718eeec93d1ef10f894445/vmlinuz-4.14.0-00117-gb00b798 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-ne0-12070229/gcc-6/b00b798255eb414246718eeec93d1ef10f894445/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,
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    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-0x000000001ffddfff] usable
[    0.000000] BIOS-e820: [mem 0x000000001ffde000-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] tsc: Fast TSC calibration using PIT
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x1ffde max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] Scan for SMP in [mem 0x00000000-0x000003ff]
[    0.000000] Scan for SMP in [mem 0x0009fc00-0x0009ffff]
[    0.000000] Scan for SMP in [mem 0x000f0000-0x000fffff]
[    0.000000] found SMP MP-table at [mem 0x000f6a90-0x000f6a9f] mapped at [ffffffff87000a90]
[    0.000000]   mpc: f6aa0-f6b78
[    0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
[    0.000000] BRK [0x035c7000, 0x035c7fff] PGTABLE
[    0.000000] BRK [0x035c8000, 0x035c8fff] PGTABLE
[    0.000000] BRK [0x035c9000, 0x035c9fff] PGTABLE
[    0.000000] BRK [0x035ca000, 0x035cafff] PGTABLE
[    0.000000] BRK [0x035cb000, 0x035cbfff] PGTABLE
[    0.000000] BRK [0x035cc000, 0x035ccfff] PGTABLE
[    0.000000] RAMDISK: [mem 0x1dc43000-0x1ffcffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] BUG: unable to handle kernel paging request at ffffffff8700040e
[    0.000000] IP: acpi_find_root_pointer+0x3e/0x146
[    0.000000] PGD 2012067 P4D 2012067 PUD 2013063 PMD 0 
[    0.000000] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-00117-gb00b798 #2
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.000000] task: ffffffff82016500 task.stack: ffffffff82000000
[    0.000000] RIP: 0010:acpi_find_root_pointer+0x3e/0x146
[    0.000000] RSP: 0000:ffffffff82003e60 EFLAGS: 00010082
[    0.000000] RAX: ffffffff8700040e RBX: ffff88001ffcf1b2 RCX: 0000000000000000
[    0.000000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff822e6358
[    0.000000] RBP: ffffffff82003e88 R08: ffffffff8261ee40 R09: 0000000000000000
[    0.000000] R10: ffffffff835c6021 R11: 0000000000000001 R12: 000000001ffd0000
[    0.000000] R13: 000000000238d000 R14: ffffffff82003f28 R15: 0000000000000000
[    0.000000] FS:  0000000000000000(0000) GS:ffffffff82369000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.000000] CR2: ffffffff8700040e CR3: 0000000002011000 CR4: 00000000000406b0
[    0.000000] Call Trace:
[    0.000000]  ? acpi_os_get_root_pointer+0x16/0x1c
[    0.000000]  ? acpi_initialize_tables+0x42/0x55
[    0.000000]  ? acpi_table_init+0x52/0x1d2
[    0.000000]  ? acpi_boot_table_init+0x1f/0x68
[    0.000000]  ? setup_arch+0x82a/0x8df
[    0.000000]  ? cpumask_check+0x41/0x48
[    0.000000]  ? start_kernel+0x5f/0x557
[    0.000000]  ? secondary_startup_64+0xa5/0xb0
[    0.000000] Code: bf 0e 04 00 00 e8 59 0b 10 ff 48 85 c0 75 1c 41 b8 02 00 00 00 b9 0e 04 00 00 48 c7 c2 c5 be ef 81 be a2 00 00 00 e9 9e 00 00 00 <0f> b7 18 48 89 c7 be 02 00 00 00 e8 32 0b 10 ff c1 e3 04 81 fb 
[    0.000000] RIP: acpi_find_root_pointer+0x3e/0x146 RSP: ffffffff82003e60
[    0.000000] CR2: ffffffff8700040e
[    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/yocto/yocto-minimal-x86_64-2016-04-22.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

qemu-img create -f qcow2 disk-vm-kbuild-yocto-x86_64-26-0 256G

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-cpu SandyBridge
	-kernel $kernel
	-initrd initrd.img
	-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-vm-kbuild-yocto-x86_64-26-0,media=disk,if=virtio
	-serial stdio
	-display none
	-monitor null
)

append=(
	ip=::::vm-kbuild-yocto-x86_64-26::dhcp
	root=/dev/ram0
	user=lkp
	job=/job-script
	ARCH=x86_64
	kconfig=x86_64-randconfig-ne0-12070229
	branch=linux-devel/devel-catchup-201712070245
	commit=b00b798255eb414246718eeec93d1ef10f894445
	BOOT_IMAGE=/pkg/linux/x86_64-randconfig-ne0-12070229/gcc-6/b00b798255eb414246718eeec93d1ef10f894445/vmlinuz-4.14.0-00117-gb00b798
	max_uptime=600
	RESULT_ROOT=/result/boot/1/vm-kbuild-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-ne0-12070229/gcc-6/b00b798255eb414246718eeec93d1ef10f894445/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[*]}"
