early console in setup code
early console in extract_kernel
input_data: 0x0000000003df1255
input_len: 0x0000000000b5bf68
output: 0x0000000001000000
output_len: 0x000000000299b9f0
kernel_total_size: 0x0000000003d5a000

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[    0.000000] Linux version 4.14.0-12953-gc162d5b (kbuild@lkp-sb05) (gcc version 7.2.1 20171025 (Debian 7.2.0-12)) #1 SMP Wed Feb 7 08:11:33 CST 2018
[    0.000000] Command line: ip=::::vm-lkp-nex04-1G-25::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-1G-25/boot-1-debian-x86_64-2016-08-31.cgz-c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab-20180211-82290-fc0w4j-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-v0-02040259 branch=linux-devel/devel-hourly-2018020322 commit=c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab BOOT_IMAGE=/pkg/linux/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/vmlinuz-4.14.0-12953-gc162d5b max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-nex04-1G/debian-x86_64-2016-08-31.cgz/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/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=ttyS0,115200 vga=normal rw
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    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-0x000000003ffdffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003ffe0000-0x000000003fffffff] 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] 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 = 0x3ffe0 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] 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 0x000f6a80-0x000f6a8f] mapped at [ffffffffff200a80]
[    0.000000]   mpc: f6a90-f6b74
[    0.000000] Base memory trampoline at [ffff880000099000] 99000 size 24576
[    0.000000] BRK [0x04d44000, 0x04d44fff] PGTABLE
[    0.000000] BRK [0x04d45000, 0x04d45fff] PGTABLE
[    0.000000] BRK [0x04d46000, 0x04d46fff] PGTABLE
[    0.000000] BRK [0x04d47000, 0x04d47fff] PGTABLE
[    0.000000] BRK [0x04d48000, 0x04d48fff] PGTABLE
[    0.000000] BRK [0x04d49000, 0x04d49fff] PGTABLE
[    0.000000] RAMDISK: [mem 0x35e98000-0x3ffdffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F6870 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000003FFE1628 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000003FFE147C 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000003FFE0040 00143C (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000003FFE0000 000040
[    0.000000] ACPI: APIC 0x000000003FFE1570 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x000000003FFE15F0 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] mapped APIC to ffffffffff5fd000 (        fee00000)
[    0.000000] kvm-clock: cpu 0, msr 0:35e96001, primary cpu clock
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: using sched offset of 3426215279 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-0x000000003ffdffff]
[    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-0x000000003ffdffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdffff]
[    0.000000] On node 0 totalpages: 262014
[    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: 4032 pages used for memmap
[    0.000000]   DMA32 zone: 258016 pages, LIFO batch:31
[    0.000000] Reserved but unavailable: 98 pages
[    0.000000] kasan: KernelAddressSanitizer initialized
[    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 2 CPUs, 0 hotplug CPUs
[    0.000000] mapped IOAPIC to ffffffffff5fc000 (fec00000)
[    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 0x40000000-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: 6370452778343963 ns
[    0.000000] random: fast init done
[    0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 496 pages/cpu @ffff88002c000000 s1994464 r8192 d28960 u2097152
[    0.000000] pcpu-alloc: s1994464 r8192 d28960 u2097152 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 2c016b80
[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 257897
[    0.000000] Kernel command line: ip=::::vm-lkp-nex04-1G-25::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-nex04-1G-25/boot-1-debian-x86_64-2016-08-31.cgz-c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab-20180211-82290-fc0w4j-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-v0-02040259 branch=linux-devel/devel-hourly-2018020322 commit=c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab BOOT_IMAGE=/pkg/linux/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/vmlinuz-4.14.0-12953-gc162d5b max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-nex04-1G/debian-x86_64-2016-08-31.cgz/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/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=ttyS0,115200 vga=no
[    0.000000] sysrq: sysrq always enabled.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 657032K/1048056K available (15633K kernel code, 6278K rwdata, 7040K rodata, 3592K init, 24228K bss, 391024K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 34522 entries in 135 pages
[    0.003333] Running RCU self tests
[    0.003333] Hierarchical RCU implementation.
[    0.003333] 	RCU event tracing is enabled.
[    0.003333] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.003333] 	RCU lockdep checking is enabled.
[    0.003333] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.003333] 	RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout).
[    0.003333] 	Tasks RCU enabled.
[    0.003333] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.003333] NR_IRQS: 4352, nr_irqs: 440, preallocated irqs: 16
[    0.003333] 	Offload RCU callbacks from CPUs: .
[    0.003333] ==================================================================
[    0.003333] ==================================================================
[    0.003333] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960
[    0.003333] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960
[    0.003333] Write of size 1 at addr ffffffff828079b8 by task swapper/0
[    0.003333] Write of size 1 at addr ffffffff828079b8 by task swapper/0
[    0.003333] 
[    0.003333] 
[    0.003333] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-12953-gc162d5b #1
[    0.003333] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-12953-gc162d5b #1
[    0.003333] Call Trace:
[    0.003333] Call Trace:
[    0.003333]  ? dump_stack+0x11d/0x1c5
[    0.003333]  ? dump_stack+0x11d/0x1c5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? arch_local_irq_restore+0x17/0x17
[    0.003333]  ? arch_local_irq_restore+0x17/0x17
[    0.003333]  ? do_raw_spin_unlock+0x137/0x169
[    0.003333]  ? do_raw_spin_unlock+0x137/0x169
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? print_address_description+0x6e/0x23b
[    0.003333]  ? print_address_description+0x6e/0x23b
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? kasan_report+0x223/0x249
[    0.003333]  ? kasan_report+0x223/0x249
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? wake_up_klogd+0xdf/0xdf
[    0.003333]  ? wake_up_klogd+0xdf/0xdf
[    0.003333]  ? do_raw_spin_unlock+0x145/0x169
[    0.003333]  ? do_raw_spin_unlock+0x145/0x169
[    0.003333]  ? do_raw_spin_trylock+0xed/0xed
[    0.003333]  ? do_raw_spin_trylock+0xed/0xed
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? _raw_spin_unlock_irqrestore+0x3b/0x54
[    0.003333]  ? _raw_spin_unlock_irqrestore+0x3b/0x54
[    0.003333]  ? time_hardirqs_off+0x12/0x2d
[    0.003333]  ? time_hardirqs_off+0x12/0x2d
[    0.003333]  ? arch_local_save_flags+0x7/0x8
[    0.003333]  ? arch_local_save_flags+0x7/0x8
[    0.003333]  ? trace_hardirqs_off_caller+0x127/0x139
[    0.003333]  ? trace_hardirqs_off_caller+0x127/0x139
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? vprintk_emit+0x579/0x823
[    0.003333]  ? vprintk_emit+0x579/0x823
[    0.003333]  ? __down_trylock_console_sem+0x90/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x90/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x9d/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x9d/0xa4
[    0.003333]  ? vprintk_emit+0x7ec/0x823
[    0.003333]  ? vprintk_emit+0x7ec/0x823
[    0.003333]  ? console_unlock+0x960/0x960
[    0.003333]  ? console_unlock+0x960/0x960
[    0.003333]  ? memblock_merge_regions+0x2d/0x154
[    0.003333]  ? memblock_merge_regions+0x2d/0x154
[    0.003333]  ? memblock_add_range+0x322/0x333
[    0.003333]  ? memblock_add_range+0x322/0x333
[    0.003333]  ? memblock_reserve+0xbb/0xe1
[    0.003333]  ? memblock_reserve+0xbb/0xe1
[    0.003333]  ? memblock_add+0xe1/0xe1
[    0.003333]  ? memblock_add+0xe1/0xe1
[    0.003333]  ? set_pte+0x24/0x27
[    0.003333]  ? set_pte+0x24/0x27
[    0.003333]  ? vprintk_func+0x94/0xa5
[    0.003333]  ? vprintk_func+0x94/0xa5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? kasan_populate_zero_shadow+0x37b/0x3f6
[    0.003333]  ? kasan_populate_zero_shadow+0x37b/0x3f6
[    0.003333]  ? native_flush_tlb_global+0x74/0x80
[    0.003333]  ? native_flush_tlb_global+0x74/0x80
[    0.003333]  ? kasan_init+0x211/0x22d
[    0.003333]  ? kasan_init+0x211/0x22d
[    0.003333]  ? setup_arch+0xdfa/0xf3c
[    0.003333]  ? setup_arch+0xdfa/0xf3c
[    0.003333]  ? css_set_populated+0x79/0x79
[    0.003333]  ? css_set_populated+0x79/0x79
[    0.003333]  ? reserve_standard_io_resources+0x39/0x39
[    0.003333]  ? reserve_standard_io_resources+0x39/0x39
[    0.003333]  ? vprintk_func+0x9d/0xa5
[    0.003333]  ? vprintk_func+0x9d/0xa5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? start_kernel+0xa2/0x515
[    0.003333]  ? start_kernel+0xa2/0x515
[    0.003333]  ? mem_encrypt_init+0xa/0xa
[    0.003333]  ? mem_encrypt_init+0xa/0xa
[    0.003333]  ? x86_family+0x2e/0x33
[    0.003333]  ? x86_family+0x2e/0x33
[    0.003333]  ? load_ucode_bsp+0x58/0xec
[    0.003333]  ? load_ucode_bsp+0x58/0xec
[    0.003333]  ? secondary_startup_64+0xa5/0xb0
[    0.003333]  ? secondary_startup_64+0xa5/0xb0
[    0.003333] 
[    0.003333] 
[    0.003333] 
[    0.003333] 
[    0.003333] Memory state around the buggy address:
[    0.003333] Memory state around the buggy address:
[    0.003333]  ffffffff82807880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333] >ffffffff82807980: 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 01
[    0.003333] >ffffffff82807980: 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 01
[    0.003333]                                         ^
[    0.003333]                                         ^
[    0.003333]  ffffffff82807a00: f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f3 f3 f3 f3 00
[    0.003333]  ffffffff82807a00: f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f3 f3 f3 f3 00
[    0.003333]  ffffffff82807a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1
[    0.003333]  ffffffff82807a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1
[    0.003333] ==================================================================
[    0.003333] ==================================================================
[    0.003333] Disabling lock debugging due to kernel taint
[    0.003333] Disabling lock debugging due to kernel taint
[    0.003333] ==================================================================
[    0.003333] ==================================================================
[    0.003333] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960
[    0.003333] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960
[    0.003333] Write of size 1 at addr ffffffff828079b8 by task swapper/0
[    0.003333] Write of size 1 at addr ffffffff828079b8 by task swapper/0
[    0.003333] 
[    0.003333] 
[    0.003333] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-12953-gc162d5b #1
[    0.003333] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-12953-gc162d5b #1
[    0.003333] Call Trace:
[    0.003333] Call Trace:
[    0.003333]  ? dump_stack+0x11d/0x1c5
[    0.003333]  ? dump_stack+0x11d/0x1c5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? arch_local_irq_restore+0x17/0x17
[    0.003333]  ? arch_local_irq_restore+0x17/0x17
[    0.003333]  ? do_raw_spin_unlock+0x137/0x169
[    0.003333]  ? do_raw_spin_unlock+0x137/0x169
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? print_address_description+0x6e/0x23b
[    0.003333]  ? print_address_description+0x6e/0x23b
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? kasan_report+0x223/0x249
[    0.003333]  ? kasan_report+0x223/0x249
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? console_unlock+0x185/0x960
[    0.003333]  ? wake_up_klogd+0xdf/0xdf
[    0.003333]  ? wake_up_klogd+0xdf/0xdf
[    0.003333]  ? do_raw_spin_unlock+0x145/0x169
[    0.003333]  ? do_raw_spin_unlock+0x145/0x169
[    0.003333]  ? do_raw_spin_trylock+0xed/0xed
[    0.003333]  ? do_raw_spin_trylock+0xed/0xed
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? _raw_spin_unlock_irqrestore+0x3b/0x54
[    0.003333]  ? _raw_spin_unlock_irqrestore+0x3b/0x54
[    0.003333]  ? time_hardirqs_off+0x12/0x2d
[    0.003333]  ? time_hardirqs_off+0x12/0x2d
[    0.003333]  ? arch_local_save_flags+0x7/0x8
[    0.003333]  ? arch_local_save_flags+0x7/0x8
[    0.003333]  ? trace_hardirqs_off_caller+0x127/0x139
[    0.003333]  ? trace_hardirqs_off_caller+0x127/0x139
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? irq_trace+0x2e/0x32
[    0.003333]  ? vprintk_emit+0x579/0x823
[    0.003333]  ? vprintk_emit+0x579/0x823
[    0.003333]  ? __down_trylock_console_sem+0x90/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x90/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x9d/0xa4
[    0.003333]  ? __down_trylock_console_sem+0x9d/0xa4
[    0.003333]  ? vprintk_emit+0x7ec/0x823
[    0.003333]  ? vprintk_emit+0x7ec/0x823
[    0.003333]  ? console_unlock+0x960/0x960
[    0.003333]  ? console_unlock+0x960/0x960
[    0.003333]  ? memblock_merge_regions+0x2d/0x154
[    0.003333]  ? memblock_merge_regions+0x2d/0x154
[    0.003333]  ? memblock_add_range+0x322/0x333
[    0.003333]  ? memblock_add_range+0x322/0x333
[    0.003333]  ? memblock_reserve+0xbb/0xe1
[    0.003333]  ? memblock_reserve+0xbb/0xe1
[    0.003333]  ? memblock_add+0xe1/0xe1
[    0.003333]  ? memblock_add+0xe1/0xe1
[    0.003333]  ? set_pte+0x24/0x27
[    0.003333]  ? set_pte+0x24/0x27
[    0.003333]  ? vprintk_func+0x94/0xa5
[    0.003333]  ? vprintk_func+0x94/0xa5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? kasan_populate_zero_shadow+0x37b/0x3f6
[    0.003333]  ? kasan_populate_zero_shadow+0x37b/0x3f6
[    0.003333]  ? native_flush_tlb_global+0x74/0x80
[    0.003333]  ? native_flush_tlb_global+0x74/0x80
[    0.003333]  ? kasan_init+0x211/0x22d
[    0.003333]  ? kasan_init+0x211/0x22d
[    0.003333]  ? setup_arch+0xdfa/0xf3c
[    0.003333]  ? setup_arch+0xdfa/0xf3c
[    0.003333]  ? css_set_populated+0x79/0x79
[    0.003333]  ? css_set_populated+0x79/0x79
[    0.003333]  ? reserve_standard_io_resources+0x39/0x39
[    0.003333]  ? reserve_standard_io_resources+0x39/0x39
[    0.003333]  ? vprintk_func+0x9d/0xa5
[    0.003333]  ? vprintk_func+0x9d/0xa5
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? printk+0xb5/0xd1
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? show_regs_print_info+0x41/0x41
[    0.003333]  ? start_kernel+0xa2/0x515
[    0.003333]  ? start_kernel+0xa2/0x515
[    0.003333]  ? mem_encrypt_init+0xa/0xa
[    0.003333]  ? mem_encrypt_init+0xa/0xa
[    0.003333]  ? x86_family+0x2e/0x33
[    0.003333]  ? x86_family+0x2e/0x33
[    0.003333]  ? load_ucode_bsp+0x58/0xec
[    0.003333]  ? load_ucode_bsp+0x58/0xec
[    0.003333]  ? secondary_startup_64+0xa5/0xb0
[    0.003333]  ? secondary_startup_64+0xa5/0xb0
[    0.003333] 
[    0.003333] 
[    0.003333] 
[    0.003333] 
[    0.003333] Memory state around the buggy address:
[    0.003333] Memory state around the buggy address:
[    0.003333]  ffffffff82807880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333]  ffffffff82807900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    0.003333] >ffffffff82807980: 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 01
[    0.003333] >ffffffff82807980: 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 01
[    0.003333]                                         ^
[    0.003333]                                         ^
[    0.003333]  ffffffff82807a00: f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f3 f3 f3 f3 00
[    0.003333]  ffffffff82807a00: f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f3 f3 f3 f3 00
[    0.003333]  ffffffff82807a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1
[    0.003333]  ffffffff82807a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1
[    0.003333] ==================================================================
[    0.003333] ==================================================================
[    0.003333] Disabling lock debugging due to kernel taint
[    0.003333] Disabling lock debugging due to kernel taint
[    0.003333] console [ttyS0] enabled
[    0.003333] console [ttyS0] enabled
[    0.003333] bootconsole [earlyser0] disabled
[    0.003333] bootconsole [earlyser0] disabled
[    0.003333] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.003333] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.003333] ... MAX_LOCK_DEPTH:          48
[    0.003333] ... MAX_LOCKDEP_KEYS:        8191
[    0.003333] ... CLASSHASH_SIZE:          4096
[    0.003333] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.003333] ... MAX_LOCKDEP_CHAINS:      65536
[    0.003333] ... CHAINHASH_SIZE:          32768
[    0.003333]  memory used by lock dependency info: 7903 kB
[    0.003333]  per task-struct memory footprint: 3072 bytes
[    0.003333] ODEBUG: selftest passed
[    0.003333] ACPI: Core revision 20170831
[    0.003333] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.003333] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.003333] hpet clockevent registered
[    0.003380] APIC: Switch to symmetric I/O mode setup
[    0.004322] x2apic enabled
[    0.005002] Switched APIC routing to physical x2apic.
[    0.005756] enabled ExtINT on CPU#0
[    0.008029] ENABLING IO-APIC IRQs
[    0.008878] init IO_APIC IRQs
[    0.010024]  apic 0 pin 0 not connected
[    0.011077] IOAPIC[0]: Set routing entry (0-1 -> 0xef -> IRQ 1 Mode:0 Active:0 Dest:0)
[    0.012481] IOAPIC[0]: Set routing entry (0-2 -> 0x30 -> IRQ 0 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-3 -> 0xef -> IRQ 3 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-4 -> 0xef -> IRQ 4 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-5 -> 0xef -> IRQ 5 Mode:1 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-6 -> 0xef -> IRQ 6 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-7 -> 0xef -> IRQ 7 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-8 -> 0xef -> IRQ 8 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-9 -> 0xef -> IRQ 9 Mode:1 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-10 -> 0xef -> IRQ 10 Mode:1 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-11 -> 0xef -> IRQ 11 Mode:1 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-12 -> 0xef -> IRQ 12 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-13 -> 0xef -> IRQ 13 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-14 -> 0xef -> IRQ 14 Mode:0 Active:0 Dest:0)
[    0.013333] IOAPIC[0]: Set routing entry (0-15 -> 0xef -> IRQ 15 Mode:0 Active:0 Dest:0)
[    0.013333]  apic 0 pin 16 not connected
[    0.013333]  apic 0 pin 17 not connected
[    0.013333]  apic 0 pin 18 not connected
[    0.013333]  apic 0 pin 19 not connected
[    0.013333]  apic 0 pin 20 not connected
[    0.013333]  apic 0 pin 21 not connected
[    0.013333]  apic 0 pin 22 not connected
[    0.013333]  apic 0 pin 23 not connected
[    0.013333] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.013333] tsc: Detected 2260.998 MHz processor
[    0.014740] Calibrating delay loop (skipped) preset value.. 4523.41 BogoMIPS (lpj=7536660)
[    0.016702] pid_max: default: 4096 minimum: 301
[    0.020092] Security Framework initialized
[    0.021873] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.023397] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.030959] CPU: Physical Processor ID: 0
[    0.032285] mce: CPU supports 10 MCE banks
[    0.033541] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.035191] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.037166] debug: unmapping init [mem 0xffffffff83596000-0xffffffff83599fff]
[    0.043897] smpboot: Max logical packages: 2
[    0.045109] TSC deadline timer enabled
[    0.046120] smpboot: CPU0: Intel(R) Xeon(R) CPU           X7560  @ 2.27GHz (family: 0x6, model: 0x2e, stepping: 0x6)
[    0.047883] Performance Events: Nehalem events, Intel PMU driver.
[    0.049568] core: CPUID marked event: 'bus cycles' unavailable
[    0.050141] ... version:                2
[    0.051206] ... bit width:              48
[    0.052276] ... generic registers:      4
[    0.053333] ... value mask:             0000ffffffffffff
[    0.053437] ... max period:             000000007fffffff
[    0.054835] ... fixed-purpose events:   3
[    0.055798] ... event mask:             000000070000000f
[    0.057208] Hierarchical SRCU implementation.
[    0.060103] smp: Bringing up secondary CPUs ...
[    0.062970] x86: Booting SMP configuration:
[    0.063411] .... node  #0, CPUs:      #1
[    0.003333] kvm-clock: cpu 1, msr 0:35e96041, secondary cpu clock
[    0.003333] masked ExtINT on CPU#1
[    0.073582] KVM setup async PF for cpu 1
[    0.074493] kvm-stealtime: cpu 1, msr 2c216b80
[    0.075507] smp: Brought up 1 node, 2 CPUs
[    0.075507] ----------------
[    0.076741] | NMI testsuite:
[    0.077180] --------------------
[    0.077703]   remote IPI:  ok  |
[    0.078238]    local IPI:  ok  |
[    0.078723] --------------------
[    0.079181] Good, all   2 testcases passed! |
[    0.079896] ---------------------------------
[    0.080028] smpboot: Total of 2 processors activated (9047.82 BogoMIPS)
[    0.084708] devtmpfs: initialized
[    0.102210] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.103395] futex hash table entries: 16 (order: -1, 2048 bytes)
[    0.105112] pinctrl core: initialized pinctrl subsystem
[    0.110472] RTC time: 16:51:19, date: 02/11/18
[    0.112655] NET: Registered protocol family 16
[    0.123547] cpuidle: using governor ladder
[    0.127599] ACPI: bus type PCI registered
[    0.130018] PCI: Using configuration type 1 for base access
[    0.220778] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.230999] ACPI: Added _OSI(Module Device)
[    0.231956] ACPI: Added _OSI(Processor Device)
[    0.233357] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.233366] ACPI: Added _OSI(Processor Aggregator Device)
[    0.313263] ACPI: Interpreter enabled
[    0.313725] ACPI: (supports S0 S4 S5)
[    0.315151] ACPI: Using IOAPIC for interrupt routing
[    0.316810] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.332139] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.670166] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.671467] acpi PNP0A03:00: _OSC: OS supports [Segments]
[    0.672851] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.675809] PCI host bridge to bus 0000:00
[    0.676610] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.676735] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.678001] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.679352] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    0.680075] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.681207] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.692516] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.703910] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    0.711430] pci 0000:00:01.1: reg 0x20: [io  0xc040-0xc04f]
[    0.714831] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.716699] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.717862] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.719124] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.729312] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.731007] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.732304] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.743037] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    0.746712] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    0.753382] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[    0.765401] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    0.779549] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    0.782507] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[    0.785257] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    0.796017] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    0.810349] pci 0000:00:04.0: [8086:25ab] type 00 class 0x088000
[    0.812104] pci 0000:00:04.0: reg 0x10: [mem 0xfebf1000-0xfebf100f]
[    0.827919] pci_bus 0000:00: on NUMA node 0
[    0.867648] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.878168] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.886109] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.893376] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.896922] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.911082] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.911085] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.913368] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.914162] vgaarb: loaded
[    0.921597] SCSI subsystem initialized
[    0.922807] media: Linux media interface: v0.10
[    0.923629] Linux video capture interface: v2.00
[    0.925824] PCI: Using ACPI for IRQ routing
[    0.926720] PCI: pci_cache_line_size set to 64 bytes
[    0.927867] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    0.928998] e820: reserve RAM buffer [mem 0x3ffe0000-0x3fffffff]
[    0.936666] clocksource: Switched to clocksource kvm-clock
[    1.608447] pnp: PnP ACPI init
[    1.611626] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    1.616380] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    1.620953] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    1.623645] pnp 00:03: [dma 2]
[    1.625604] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    1.631672] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[    1.637620] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.651965] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.674320] pnp: PnP ACPI: found 7 devices
[    1.690527] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.693796] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.695406] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.697150] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    1.698926] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[    1.704941] NET: Registered protocol family 2
[    1.711800] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.714638] TCP bind hash table entries: 8192 (order: 7, 720896 bytes)
[    1.717661] TCP: Hash tables configured (established 8192 bind 8192)
[    1.719618] UDP hash table entries: 512 (order: 4, 98304 bytes)
[    1.720743] UDP-Lite hash table entries: 512 (order: 4, 98304 bytes)
[    1.722816] NET: Registered protocol family 1
[    1.723647] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.724507] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.725395] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.726361] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.727600] PCI: CLS 0 bytes, default 64
[    1.729403] Unpacking initramfs...

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/debian/debian-x86_64-2016-08-31.cgz
	/lkp/lkp/lkp-x86_64.cgz
	/osimage/deps/debian-x86_64-2016-08-31.cgz/lkp_2017-12-14.cgz
	/osimage/deps/debian-x86_64-2016-08-31.cgz/rsync-rootfs_2016-11-15.cgz
	/osimage/deps/debian-x86_64-2016-08-31.cgz/run-ipconfig_2016-11-15.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
	-cpu host
	-kernel $kernel
	-initrd initrd.img
	-m 1024
	-smp 2
	-device e1000,netdev=net0
	-netdev user,id=net0,hostfwd=tcp::23224-:22
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-watchdog-action debug
	-rtc base=localtime
	-serial stdio
	-display none
	-monitor null
)

append=(
	ip=::::vm-lkp-nex04-1G-25::dhcp
	root=/dev/ram0
	user=lkp
	job=/job-script
	ARCH=x86_64
	kconfig=x86_64-randconfig-v0-02040259
	branch=linux-devel/devel-hourly-2018020322
	commit=c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab
	BOOT_IMAGE=/pkg/linux/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/vmlinuz-4.14.0-12953-gc162d5b
	max_uptime=600
	RESULT_ROOT=/result/boot/1/vm-lkp-nex04-1G/debian-x86_64-2016-08-31.cgz/x86_64-randconfig-v0-02040259/gcc-7/c162d5b4338d72deed61aa65ed0f2f4ba2bbc8ab/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
	rcuperf.shutdown=0
)

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