early console in setup code
early console in extract_kernel
input_data: 0x0000000002d832c8
input_len: 0x00000000007c8c59
output: 0x0000000001000000
output_len: 0x0000000001db59f8
kernel_total_size: 0x000000000256f000
trampoline_32bit: 0x000000000009d000

Decompressing Linux... Parsing ELF... done.
Booting the kernel.
[    0.000000] Linux version 4.19.0-rc1-00110-ga8c7fe8 (kbuild@lkp-wsm-ep2) (gcc version 6.4.0 20171026 (Debian 6.4.0-9)) #1 PREEMPT Mon Sep 10 16:10:01 CST 2018
[    0.000000] Command line: ip=::::vm-kbuild-2G-5::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-kbuild-2G-5/trinity-300s-debian-x86_64-2018-04-03.cgz-a8c7fe83d17109b77c7b27a23140e76d3753fa6a-20180910-49807-1b4wzwp-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-r0-09070102 branch=linux-devel/devel-hourly-2018090623 commit=a8c7fe83d17109b77c7b27a23140e76d3753fa6a BOOT_IMAGE=/pkg/linux/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/vmlinuz-4.19.0-rc1-00110-ga8c7fe8 max_uptime=1500 RESULT_ROOT=/result/trinity/300s/vm-kbuild-2G/debian-x86_64-2018-04-03.cgz/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/3 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 v
[    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] 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-0x000000007ffd1fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007ffd2000-0x000000007fffffff] 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] 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] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000002] kvm-clock: cpu 0, msr 2bd1001, primary cpu clock
[    0.000003] kvm-clock: using sched offset of 476297937 cycles
[    0.001025] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.004127] tsc: Detected 2693.508 MHz processor
[    0.007941] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.009232] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.010318] last_pfn = 0x7ffd2 max_arch_pfn = 0x400000000
[    0.011397] MTRR default type: write-back
[    0.012154] MTRR fixed ranges enabled:
[    0.012875]   00000-9FFFF write-back
[    0.014516]   A0000-BFFFF uncachable
[    0.015195]   C0000-FFFFF write-protect
[    0.015987] MTRR variable ranges enabled:
[    0.016774]   0 base 0080000000 mask FF80000000 uncachable
[    0.017825]   1 disabled
[    0.018322]   2 disabled
[    0.018812]   3 disabled
[    0.019295]   4 disabled
[    0.019783]   5 disabled
[    0.020266]   6 disabled
[    0.020755]   7 disabled
[    0.021204] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.022431] Scan for SMP in [mem 0x00000000-0x000003ff]
[    0.023388] Scan for SMP in [mem 0x0009fc00-0x0009ffff]
[    0.024495] Scan for SMP in [mem 0x000f0000-0x000fffff]
[    0.033752] found SMP MP-table at [mem 0x000f6a50-0x000f6a5f] mapped at [(____ptrval____)]
[    0.035353]   mpc: f6a60-f6b7c
[    0.035965] Base memory trampoline at [(____ptrval____)] 99000 size 24576
[    0.037315] BRK [0x0354a000, 0x0354afff] PGTABLE
[    0.038744] BRK [0x0354b000, 0x0354bfff] PGTABLE
[    0.039631] BRK [0x0354c000, 0x0354cfff] PGTABLE
[    0.040671] BRK [0x0354d000, 0x0354dfff] PGTABLE
[    0.042208] BRK [0x0354e000, 0x0354efff] PGTABLE
[    0.043209] RAMDISK: [mem 0x7a496000-0x7ffcffff]
[    0.044123] ACPI: Early table checksum verification disabled
[    0.046124] ACPI: RSDP 0x00000000000F6840 000014 (v00 BOCHS )
[    0.047145] ACPI: RSDT 0x000000007FFE1628 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.048756] ACPI: FACP 0x000000007FFE147C 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.050274] ACPI: DSDT 0x000000007FFE0040 00143C (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.051801] ACPI: FACS 0x000000007FFE0000 000040
[    0.052658] ACPI: APIC 0x000000007FFE1570 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.054221] ACPI: HPET 0x000000007FFE15F0 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.055903] ACPI: Local APIC address 0xfee00000
[    0.056816] mapped APIC to ffffffffff5fd000 (        fee00000)
[    0.058475] Zone ranges:
[    0.058961]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.060091]   DMA32    [mem 0x0000000001000000-0x000000007ffd1fff]
[    0.061261]   Normal   empty
[    0.061817] Movable zone start for each node
[    0.062632] Early memory node ranges
[    0.063316]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.064524]   node   0: [mem 0x0000000000100000-0x000000007ffd1fff]
[    0.066517] Reserved but unavailable: 144 pages
[    0.066522] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffd1fff]
[    0.068668] On node 0 totalpages: 524144
[    0.069349]   DMA zone: 64 pages used for memmap
[    0.070231]   DMA zone: 21 pages reserved
[    0.070999]   DMA zone: 3998 pages, LIFO batch:0
[    0.072222]   DMA32 zone: 8128 pages used for memmap
[    0.073176]   DMA32 zone: 520146 pages, LIFO batch:63
[    0.206214] kasan: KernelAddressSanitizer initialized
[    0.208564] ACPI: PM-Timer IO Port: 0x608
[    0.209391] ACPI: Local APIC address 0xfee00000
[    0.210232] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 1/0x1 ignored.
[    0.211869] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.213199] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.214626] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.216001] Int: type 0, pol 0, trig 0, bus 00, IRQ 00, APIC ID 0, APIC INT 02
[    0.217462] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.218819] Int: type 0, pol 1, trig 3, bus 00, IRQ 05, APIC ID 0, APIC INT 05
[    0.220288] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.221578] Int: type 0, pol 1, trig 3, bus 00, IRQ 09, APIC ID 0, APIC INT 09
[    0.223163] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.224498] Int: type 0, pol 1, trig 3, bus 00, IRQ 0a, APIC ID 0, APIC INT 0a
[    0.226028] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.227250] Int: type 0, pol 1, trig 3, bus 00, IRQ 0b, APIC ID 0, APIC INT 0b
[    0.228595] ACPI: IRQ0 used by override.
[    0.229303] Int: type 0, pol 0, trig 0, bus 00, IRQ 01, APIC ID 0, APIC INT 01
[    0.230573] Int: type 0, pol 0, trig 0, bus 00, IRQ 03, APIC ID 0, APIC INT 03
[    0.231905] Int: type 0, pol 0, trig 0, bus 00, IRQ 04, APIC ID 0, APIC INT 04
[    0.233217] ACPI: IRQ5 used by override.
[    0.233880] Int: type 0, pol 0, trig 0, bus 00, IRQ 06, APIC ID 0, APIC INT 06
[    0.235183] Int: type 0, pol 0, trig 0, bus 00, IRQ 07, APIC ID 0, APIC INT 07
[    0.236430] Int: type 0, pol 0, trig 0, bus 00, IRQ 08, APIC ID 0, APIC INT 08
[    0.237741] ACPI: IRQ9 used by override.
[    0.238487] ACPI: IRQ10 used by override.
[    0.239227] ACPI: IRQ11 used by override.
[    0.239967] Int: type 0, pol 0, trig 0, bus 00, IRQ 0c, APIC ID 0, APIC INT 0c
[    0.241287] Int: type 0, pol 0, trig 0, bus 00, IRQ 0d, APIC ID 0, APIC INT 0d
[    0.242751] Int: type 0, pol 0, trig 0, bus 00, IRQ 0e, APIC ID 0, APIC INT 0e
[    0.244078] Int: type 0, pol 0, trig 0, bus 00, IRQ 0f, APIC ID 0, APIC INT 0f
[    0.245407] Using ACPI (MADT) for SMP configuration information
[    0.246495] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.247465] mapped IOAPIC to ffffffffff5fc000 (fec00000)
[    0.248453] KVM setup async PF for cpu 0
[    0.249172] kvm-stealtime: cpu 0, msr 2489b40
[    0.250029] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.251252] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.253822] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.255213] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.258719] [mem 0x80000000-0xfeffbfff] available for PCI devices
[    0.259936] Booting paravirtualized kernel on KVM
[    0.260869] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.760933] random: get_random_bytes called from start_kernel+0xc7/0x545 with crng_init=0
[    0.765288] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.766219] pcpu-alloc: [0] 0 
[    0.766826] Built 1 zonelists, mobility grouping on.  Total pages: 515931
[    0.768138] Kernel command line: ip=::::vm-kbuild-2G-5::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-kbuild-2G-5/trinity-300s-debian-x86_64-2018-04-03.cgz-a8c7fe83d17109b77c7b27a23140e76d3753fa6a-20180910-49807-1b4wzwp-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-r0-09070102 branch=linux-devel/devel-hourly-2018090623 commit=a8c7fe83d17109b77c7b27a23140e76d3753fa6a BOOT_IMAGE=/pkg/linux/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/vmlinuz-4.19.0-rc1-00110-ga8c7fe8 max_uptime=1500 RESULT_ROOT=/result/trinity/300s/vm-kbuild-2G/debian-x86_64-2018-04-03.cgz/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/3 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,1
[    0.785309] sysrq: sysrq always enabled.
[    0.787341] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.789215] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.844005] Memory: 1660472K/2096576K available (14344K kernel code, 2938K rwdata, 3772K rodata, 1100K init, 9808K bss, 436104K reserved, 0K cma-reserved)
[    0.845862] random: get_random_u64 called from __kmem_cache_create+0x2b/0x330 with crng_init=0
[    0.847670] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.848833] Kernel/User page tables isolation: enabled
[    0.850203] rcu: Preemptible hierarchical RCU implementation.
[    0.851003] 	RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout).
[    0.851943] 	Tasks RCU enabled.
[    0.852391] NR_IRQS: 4352, nr_irqs: 48, preallocated irqs: 16
[    0.860778] Console: colour VGA+ 80x25
[    0.937705] console [tty0] enabled
[    0.938814] console [ttyS0] enabled
[    0.938814] console [ttyS0] enabled
[    0.940491] bootconsole [earlyser0] disabled
[    0.940491] bootconsole [earlyser0] disabled
[    0.945428] ACPI: Core revision 20180810
[    0.947216] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.949693] hpet clockevent registered
[    0.950990] APIC: Switch to symmetric I/O mode setup
[    0.952643] x2apic enabled
[    0.954541] Switched APIC routing to physical x2apic.
[    0.955929] enabled ExtINT on CPU#0
[    0.958360] ENABLING IO-APIC IRQs
[    0.959334] init IO_APIC IRQs
[    0.960230]  apic 0 pin 0 not connected
[    0.961321] IOAPIC[0]: Set routing entry (0-1 -> 0xef -> IRQ 1 Mode:0 Active:0 Dest:0)
[    0.963408] IOAPIC[0]: Set routing entry (0-2 -> 0x30 -> IRQ 0 Mode:0 Active:0 Dest:0)
[    0.965472] IOAPIC[0]: Set routing entry (0-3 -> 0xef -> IRQ 3 Mode:0 Active:0 Dest:0)
[    0.967541] IOAPIC[0]: Set routing entry (0-4 -> 0xef -> IRQ 4 Mode:0 Active:0 Dest:0)
[    0.969603] IOAPIC[0]: Set routing entry (0-5 -> 0xef -> IRQ 5 Mode:1 Active:0 Dest:0)
[    0.971690] IOAPIC[0]: Set routing entry (0-6 -> 0xef -> IRQ 6 Mode:0 Active:0 Dest:0)
[    0.973778] IOAPIC[0]: Set routing entry (0-7 -> 0xef -> IRQ 7 Mode:0 Active:0 Dest:0)
[    0.975581] IOAPIC[0]: Set routing entry (0-8 -> 0xef -> IRQ 8 Mode:0 Active:0 Dest:0)
[    0.977391] IOAPIC[0]: Set routing entry (0-9 -> 0xef -> IRQ 9 Mode:1 Active:0 Dest:0)
[    0.979310] IOAPIC[0]: Set routing entry (0-10 -> 0xef -> IRQ 10 Mode:1 Active:0 Dest:0)
[    0.981448] IOAPIC[0]: Set routing entry (0-11 -> 0xef -> IRQ 11 Mode:1 Active:0 Dest:0)
[    0.983323] IOAPIC[0]: Set routing entry (0-12 -> 0xef -> IRQ 12 Mode:0 Active:0 Dest:0)
[    0.985178] IOAPIC[0]: Set routing entry (0-13 -> 0xef -> IRQ 13 Mode:0 Active:0 Dest:0)
[    0.987132] IOAPIC[0]: Set routing entry (0-14 -> 0xef -> IRQ 14 Mode:0 Active:0 Dest:0)
[    0.989133] IOAPIC[0]: Set routing entry (0-15 -> 0xef -> IRQ 15 Mode:0 Active:0 Dest:0)
[    0.991196]  apic 0 pin 16 not connected
[    0.992125]  apic 0 pin 17 not connected
[    0.993089]  apic 0 pin 18 not connected
[    0.994018]  apic 0 pin 19 not connected
[    0.994939]  apic 0 pin 20 not connected
[    0.995859]  apic 0 pin 21 not connected
[    0.996926]  apic 0 pin 22 not connected
[    0.997997]  apic 0 pin 23 not connected
[    0.999094] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    1.004850] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x26d349e8249, max_idle_ns: 440795288087 ns
[    1.007096] Calibrating delay loop (skipped) preset value.. 5389.47 BogoMIPS (lpj=8978360)
[    1.008902] pid_max: default: 32768 minimum: 301
[    1.010589] Security Framework initialized
[    1.011610] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    1.013047] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    1.013761] *** VALIDATE proc ***
[    1.013761] *** VALIDATE cgroup1 ***
[    1.013761] *** VALIDATE cgroup2 ***
[    1.013761] mce: CPU supports 10 MCE banks
[    1.013761] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    1.013761] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    1.013766] CPU: Intel Core Processor (Haswell) (family: 0x6, model: 0x3c, stepping: 0x4)
[    1.017115] Spectre V2 : Spectre mitigation: kernel not compiled with retpoline; no mitigation available!
[    1.017119] Speculative Store Bypass: Vulnerable
[    1.025207] random: get_random_u64 called from copy_process+0x307/0x2e80 with crng_init=0
[    1.027817] Performance Events: unsupported p6 CPU model 60 no PMU driver, software events only.
[    1.031106] rcu: Hierarchical SRCU implementation.
[    1.032725] TSC deadline timer enabled
[    1.033761] devtmpfs: initialized
[    1.033761] x86/mm: Memory block size: 128MB
[    1.041814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    1.043777] futex hash table entries: 256 (order: 0, 6144 bytes)
[    1.045637] xor: automatically using best checksumming function   avx       
[    1.047103] prandom: seed boundary self test passed
[    1.050398] prandom: 100 self tests passed
[    1.050436] pinctrl core: initialized pinctrl subsystem
[    1.052788] NET: Registered protocol family 16
[    1.056921] cpuidle: using governor menu
[    1.057780] ACPI: bus type PCI registered
[    1.059478] PCI: Using configuration type 1 for base access
[    1.083585] cryptd: max_cpu_qlen set to 1000
[    1.140546] raid6: sse2x1   gen()  2452 MB/s
[    1.197123] raid6: sse2x1   xor()  2132 MB/s
[    1.253778] raid6: sse2x2   gen()  3871 MB/s
[    1.310448] raid6: sse2x2   xor()  2989 MB/s
[    1.367113] raid6: sse2x4   gen()  5068 MB/s
[    1.423771] raid6: sse2x4   xor()  3884 MB/s
[    1.427104] raid6: using algorithm sse2x4 gen() 5068 MB/s
[    1.428313] raid6: .... xor() 3884 MB/s, rmw enabled
[    1.429428] raid6: using ssse3x2 recovery algorithm
[    1.430723] ACPI: Added _OSI(Module Device)
[    1.431665] ACPI: Added _OSI(Processor Device)
[    1.432540] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.433510] ACPI: Added _OSI(Processor Aggregator Device)
[    1.433781] ACPI: Added _OSI(Linux-Dell-Video)
[    1.434680] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    1.487465] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.502605] ACPI: Interpreter enabled
[    1.503788] ACPI: (supports S0 S4 S5)
[    1.504800] ACPI: Using IOAPIC for interrupt routing
[    1.506287] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.511295] ACPI: Enabled 2 GPEs in block 00 to 0F
[    1.629144] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.630489] acpi PNP0A03:00: _OSC: OS supports [Segments]
[    1.632070] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    1.633404] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    1.634742] PCI host bridge to bus 0000:00
[    1.635795] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.637120] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.638690] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.640453] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
[    1.642395] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.643871] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    1.650798] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    1.657932] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    1.675952] pci 0000:00:01.1: reg 0x20: [io  0xc200-0xc20f]
[    1.682980] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.683773] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.685357] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.686978] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.691333] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    1.693696] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.693788] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.700655] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    1.707118] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    1.720421] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[    1.743509] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    1.747931] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    1.753778] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[    1.760445] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    1.783117] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    1.787930] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000
[    1.793781] pci 0000:00:04.0: reg 0x10: [io  0xc040-0xc07f]
[    1.803791] pci 0000:00:04.0: reg 0x14: [mem 0xfebf1000-0xfebf1fff]
[    1.823785] pci 0000:00:04.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[    1.836967] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[    1.843779] pci 0000:00:05.0: reg 0x10: [io  0xc080-0xc0bf]
[    1.850447] pci 0000:00:05.0: reg 0x14: [mem 0xfebf2000-0xfebf2fff]
[    1.873789] pci 0000:00:05.0: reg 0x20: [mem 0xfe004000-0xfe007fff 64bit pref]
[    1.897107] pci 0000:00:06.0: [1af4:1001] type 00 class 0x010000
[    1.903778] pci 0000:00:06.0: reg 0x10: [io  0xc0c0-0xc0ff]
[    1.913787] pci 0000:00:06.0: reg 0x14: [mem 0xfebf3000-0xfebf3fff]
[    1.937120] pci 0000:00:06.0: reg 0x20: [mem 0xfe008000-0xfe00bfff 64bit pref]
[    1.952786] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000
[    1.960442] pci 0000:00:07.0: reg 0x10: [io  0xc100-0xc13f]
[    1.967112] pci 0000:00:07.0: reg 0x14: [mem 0xfebf4000-0xfebf4fff]
[    1.990453] pci 0000:00:07.0: reg 0x20: [mem 0xfe00c000-0xfe00ffff 64bit pref]
[    2.008566] pci 0000:00:08.0: [1af4:1001] type 00 class 0x010000
[    2.017113] pci 0000:00:08.0: reg 0x10: [io  0xc140-0xc17f]
[    2.023782] pci 0000:00:08.0: reg 0x14: [mem 0xfebf5000-0xfebf5fff]
[    2.047111] pci 0000:00:08.0: reg 0x20: [mem 0xfe010000-0xfe013fff 64bit pref]
[    2.058696] pci 0000:00:09.0: [1af4:1001] type 00 class 0x010000
[    2.067110] pci 0000:00:09.0: reg 0x10: [io  0xc180-0xc1bf]
[    2.073776] pci 0000:00:09.0: reg 0x14: [mem 0xfebf6000-0xfebf6fff]
[    2.093780] pci 0000:00:09.0: reg 0x20: [mem 0xfe014000-0xfe017fff 64bit pref]
[    2.109174] pci 0000:00:0a.0: [1af4:1001] type 00 class 0x010000
[    2.117107] pci 0000:00:0a.0: reg 0x10: [io  0xc1c0-0xc1ff]
[    2.123778] pci 0000:00:0a.0: reg 0x14: [mem 0xfebf7000-0xfebf7fff]
[    2.143779] pci 0000:00:0a.0: reg 0x20: [mem 0xfe018000-0xfe01bfff 64bit pref]
[    2.155813] pci 0000:00:0b.0: [8086:25ab] type 00 class 0x088000
[    2.160195] pci 0000:00:0b.0: reg 0x10: [mem 0xfebf8000-0xfebf800f]
[    2.180497] pci_bus 0000:00: on NUMA node 0
[    2.195148] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    2.199984] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    2.203710] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    2.206543] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    2.208233] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    2.213728] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    2.213761] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    2.213773] pci 0000:00:02.0: vgaarb: bridge control possible
[    2.215049] vgaarb: loaded
[    2.218370] SCSI subsystem initialized
[    2.219573] libata version 3.00 loaded.
[    2.220868] pps_core: LinuxPPS API ver. 1 registered
[    2.222097] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.223847] PTP clock support registered
[    2.225275] _warn_unseeded_randomness: 14 callbacks suppressed
[    2.225283] random: get_random_u64 called from copy_process+0x307/0x2e80 with crng_init=0
[    2.227437] FPGA manager framework
[    2.228601] PCI: Using ACPI for IRQ routing
[    2.229681] PCI: pci_cache_line_size set to 64 bytes
[    2.230785] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    2.232307] e820: reserve RAM buffer [mem 0x7ffd2000-0x7fffffff]
[    2.235520] clocksource: Switched to clocksource kvm-clock
[    2.236814] random: get_random_u64 called from __kmem_cache_create+0x2b/0x330 with crng_init=0
[    2.237094] VFS: Disk quotas dquot_6.6.0
[    2.238027] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.239655] pnp: PnP ACPI init
[    2.241114] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    2.243148] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    2.245334] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    2.247196] pnp 00:03: [dma 2]
[    2.248318] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    2.251196] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[    2.253935] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[    2.256796] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[    2.265422] pnp: PnP ACPI: found 7 devices
[    2.292066] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    2.294118] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    2.295401] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    2.296519] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    2.298043] pci_bus 0000:00: resource 7 [mem 0x80000000-0xfebfffff window]
[    2.300772] NET: Registered protocol family 2
[    2.301905] random: get_random_u32 called from neigh_hash_alloc+0xb2/0x100 with crng_init=0
[    2.305070] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[    2.306972] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.309069] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    2.310804] TCP: Hash tables configured (established 16384 bind 16384)
[    2.312539] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    2.314064] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    2.315891] NET: Registered protocol family 1
[    2.317928] RPC: Registered named UNIX socket transport module.
[    2.319391] RPC: Registered udp transport module.
[    2.320631] RPC: Registered tcp transport module.
[    2.321820] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.323389] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    2.324837] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    2.326308] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    2.327968] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    2.330208] PCI: CLS 0 bytes, default 64
[    2.331738] Unpacking initramfs...
[    9.898159] Freeing initrd memory: 93416K
[    9.900004] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x26d349e8249, max_idle_ns: 440795288087 ns
[    9.903411] _warn_unseeded_randomness: 6 callbacks suppressed
[    9.903420] random: get_random_u64 called from copy_process+0x307/0x2e80 with crng_init=0
[    9.909841] random: get_random_u64 called from __kmem_cache_create+0x2b/0x330 with crng_init=0
[    9.913976] Initialise system trusted keyrings
[    9.915121] random: get_random_bytes called from key_alloc+0x35f/0x690 with crng_init=0
[    9.917410] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    9.947860] fuse init (API version 7.27)
[    9.955144] Key type asymmetric registered
[    9.956075] Asymmetric key parser 'x509' registered
[    9.957834] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.959454] io scheduler noop registered (default)
[    9.960865] io scheduler mq-deadline registered
[    9.961921] glob: 64 self-tests passed, 0 failed
[    9.965179] gpio_winbond: chip ID at 2e is ffff
[    9.966178] gpio_winbond: not an our chip
[    9.967191] gpio_winbond: chip ID at 4e is ffff
[    9.968184] gpio_winbond: not an our chip
[    9.970304] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    9.972032] ACPI: Power Button [PWRF]
[   10.053223] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[   10.081533] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[   10.110252] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[   10.114597] Non-volatile memory driver v1.3
[   10.115714] telclk_interrupt = 0xf non-mcpbl0010 hw.
[   10.116943] smapi::smapi_init, ERROR invalid usSmapiID
[   10.118184] mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
[   10.120333] mwave: mwavedd::mwave_init: Error: Failed to initialize board data
[   10.122070] mwave: mwavedd::mwave_init: Error: Failed to initialize
[   10.123592] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
[   10.126847] dummy-irq: no IRQ given.  Use irq=N
[   10.129483] osst :I: Tape driver with OnStream support version 0.99.4
[   10.129483] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[   10.135329] slram: not enough parameters.
[   10.136458] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.138818] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.141176] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.143545] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.145881] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.148256] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[   10.150637] nand: device found, Manufacturer ID: 0x98, Chip ID: 0x39
[   10.152220] nand: Toshiba NAND 128MiB 1,8V 8-bit
[   10.153438] nand: 128 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[   10.155399] flash size: 128 MiB
[   10.156299] page size: 512 bytes
[   10.157227] OOB area size: 16 bytes
[   10.158199] sector size: 16 KiB
[   10.159092] pages number: 262144
[   10.160008] pages per sector: 32
[   10.160950] bus width: 8
[   10.161727] bits in sector size: 14
[   10.162697] bits in page size: 9
[   10.163620] bits in OOB size: 4
[   10.164529] flash size with OOB: 135168 KiB
[   10.165659] page address bytes: 4
[   10.166587] sector address bytes: 3
[   10.167558] options: 0x42
[   10.171614] Scanning device for bad blocks
[   10.220943] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
[   10.222561] 0x000000000000-0x000008000000 : "NAND simulator partition 0"
[   10.230247] HSI/SSI char device loaded
[   10.231443] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[   10.233197] e1000: Copyright (c) 1999-2006 Intel Corporation.
[   13.484593] PCI Interrupt Link [LNKC] enabled at IRQ 11
[   13.489734] _warn_unseeded_randomness: 33 callbacks suppressed
[   13.489744] random: get_random_bytes called from cpu_startup_entry+0x57/0xb0 with crng_init=0
[   13.961089] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[   13.962896] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[   13.965452] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[   13.968963] serio: i8042 KBD port at 0x60,0x64 irq 1
[   13.970677] serio: i8042 AUX port at 0x60,0x64 irq 12
[   13.973137] mousedev: PS/2 mouse device common for all mice
[   13.977230] evbug: Connected device: input0 (Power Button at LNXPWRBN/button/input0)
[   13.980484] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[   13.982851] evbug: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[   13.985530] Driver for 1-wire Dallas network protocol.
[   13.989351] input: Speakup as /devices/virtual/input/input2
[   13.991357] evbug: Connected device: input2 (Speakup at speakup/input0)
[   13.993661] initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
[   13.995405] random: get_random_u64 called from copy_process+0x307/0x2e80 with crng_init=0
[   13.997786] speakup 3.1.6: initialized
[   13.998903] synth name on entry is: (null)
[   14.001483] random: get_random_u64 called from __kmem_cache_create+0x2b/0x330 with crng_init=0
[   14.006087] NET: Registered protocol family 10
[   14.010041] Segment Routing with IPv6
[   14.011325] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   14.016110] RAS: Correctable Errors collector initialized.
[   14.017696] ... APIC ID:      00000000 (0)
[   14.018817] ... APIC VERSION: 01050014
[   14.019854] 0000000000000000000000000000000000000000000000000000000000000000
[   14.020946] 0000000000000000000000000000000000000000000000000000000000000000
[   14.020946] 0000000000000000000000000000000000000000000000000000000000001000
[   14.025213] number of MP IRQ sources: 15.
[   14.026342] number of IO-APIC #0 registers: 24.
[   14.027604] testing the IO APIC.......................
[   14.028958] IO APIC #0......
[   14.029845] .... register #00: 00000000
[   14.030935] .......    : physical APIC id: 00
[   14.032142] .......    : Delivery Type: 0
[   14.033295] .......    : LTS          : 0
[   14.034466] .... register #01: 00170011
[   14.035563] .......     : max redirection entries: 17
[   14.036895] .......     : PRQ implemented: 0
[   14.038093] .......     : IO APIC version: 11
[   14.039304] .... register #02: 00000000
[   14.040367] .......     : arbitration: 00
[   14.041488] .... IRQ redirection table:
[   14.042562] IOAPIC 0:
[   14.043363]  pin00, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.045511]  pin01, enabled , edge , high, V(22), IRR(0), S(0), physical, D(00), M(0)
[   14.047630]  pin02, enabled , edge , high, V(30), IRR(0), S(0), physical, D(00), M(0)
[   14.049726]  pin03, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.051872]  pin04, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.053999]  pin05, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.056107]  pin06, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.058239]  pin07, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.060394]  pin08, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.062509]  pin09, enabled , level, high, V(20), IRR(0), S(0), physical, D(00), M(0)
[   14.064585]  pin0a, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.066716]  pin0b, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.068902]  pin0c, enabled , edge , high, V(21), IRR(0), S(0), physical, D(00), M(0)
[   14.071421]  pin0d, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.073569]  pin0e, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.075787]  pin0f, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.077957]  pin10, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.080130]  pin11, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.082272]  pin12, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.084440]  pin13, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.086558]  pin14, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.088699]  pin15, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.090912]  pin16, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.092992]  pin17, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[   14.095139] IRQ to pin mappings:
[   14.096091] IRQ0 -> 0:2
[   14.096873] IRQ1 -> 0:1
[   14.097667] IRQ3 -> 0:3
[   14.098462] IRQ4 -> 0:4
[   14.099246] IRQ5 -> 0:5
[   14.100037] IRQ6 -> 0:6
[   14.100821] IRQ7 -> 0:7
[   14.101579] IRQ8 -> 0:8
[   14.102377] IRQ9 -> 0:9
[   14.103186] IRQ10 -> 0:10
[   14.104011] IRQ11 -> 0:11
[   14.104866] IRQ12 -> 0:12
[   14.105703] IRQ13 -> 0:13
[   14.106536] IRQ14 -> 0:14
[   14.107355] IRQ15 -> 0:15
[   14.108262] .................................... done.
[   14.109775] sched_clock: Marking stable (13973643991, 133703216)->(14545556198, -438208991)
[   14.113113] Loading compiled-in X.509 certificates
[   14.120661] Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on, integrity-checker=on
[   14.135295] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.189779] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[   16.192246] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.195295] _warn_unseeded_randomness: 9 callbacks suppressed
[   16.195304] random: get_random_bytes called from addrconf_dad_kick+0xf7/0x1a0 with crng_init=0
[   16.207143] Sending DHCP requests .
[   16.207157] random: get_random_bytes called from ip_auto_config+0x763/0x1733 with crng_init=0
[   16.210511] , OK
[   16.211364] IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15
[   16.212980] IP-Config: Complete:
[   16.213883]      device=eth0, hwaddr=52:54:00:12:34:56, ipaddr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2
[   16.216070]      host=vm-kbuild-2G-5, domain=, nis-domain=(none)
[   16.217498]      bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath=
[   16.217501]      nameserver0=10.0.2.3
[   16.222936] Freeing unused kernel image memory: 1100K
[   16.224277] Write protecting the kernel read-only data: 20480k
[   16.227414] Freeing unused kernel image memory: 2020K
[   16.229036] Freeing unused kernel image memory: 324K
[   16.230313] Run /init as init process
[   16.231573] random: get_random_u64 called from arch_pick_mmap_layout+0x237/0x260 with crng_init=0
[   16.242920] systemd[1]: RTC configured in localtime, applying delta of 0 minutes to system time.
[   16.252118] cgroup1: Need name or subsystem set
[   16.252408] cgroup1: Need name or subsystem set
[   16.253630] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: Invalid argument
[   16.258711] systemd[1]: Freezing execution.
[   17.521135] _warn_unseeded_randomness: 7 callbacks suppressed
[   17.521153] random: get_random_bytes called from flow_hash_from_keys+0x3e9/0x480 with crng_init=0
[   17.526197] random: get_random_bytes called from addrconf_dad_kick+0xf7/0x1a0 with crng_init=0
[   55.227136] random: get_random_bytes called from __prandom_timer+0x57/0xc0 with crng_init=0
[  442.854487] random: fast init done
[  880.187591] random: crng init done
BUG: kernel hang in test stage

Elapsed time: 2690

#!/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-2018-04-03.cgz
	/lkp/lkp/lkp-x86_64.cgz
	/osimage/deps/debian-x86_64-2018-04-03.cgz/run-ipconfig_2018-04-03.cgz
	/osimage/deps/debian-x86_64-2018-04-03.cgz/lkp_2018-04-03.cgz
	/osimage/deps/debian-x86_64-2018-04-03.cgz/rsync-rootfs_2018-04-03.cgz
	/osimage/pkg/debian-x86_64-2018-04-03.cgz/trinity-x86_64-1b2d43cb_2018-06-12.cgz
)

HTTP_PREFIX=https://download.01.org/0day-ci/lkp-qemu
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-2G-5-0 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-1 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-2 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-3 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-4 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-5 256G
qemu-img create -f qcow2 disk-vm-kbuild-2G-5-6 256G

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-cpu Haswell,+smep,+smap
	-kernel $kernel
	-initrd initrd.img
	-m 2048
	-smp 2
	-device e1000,netdev=net0
	-netdev user,id=net0,hostfwd=tcp::23020-:22
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-watchdog-action debug
	-rtc base=localtime
	-drive file=disk-vm-kbuild-2G-5-0,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-1,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-2,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-3,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-4,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-5,media=disk,if=virtio
	-drive file=disk-vm-kbuild-2G-5-6,media=disk,if=virtio
	-serial stdio
	-display none
	-monitor null
)

append=(
	ip=::::vm-kbuild-2G-5::dhcp
	root=/dev/ram0
	user=lkp
	job=/job-script
	ARCH=x86_64
	kconfig=x86_64-randconfig-r0-09070102
	branch=linux-devel/devel-hourly-2018090623
	commit=a8c7fe83d17109b77c7b27a23140e76d3753fa6a
	BOOT_IMAGE=/pkg/linux/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/vmlinuz-4.19.0-rc1-00110-ga8c7fe8
	max_uptime=1500
	RESULT_ROOT=/result/trinity/300s/vm-kbuild-2G/debian-x86_64-2018-04-03.cgz/x86_64-randconfig-r0-09070102/gcc-6/a8c7fe83d17109b77c7b27a23140e76d3753fa6a/3
	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[*]}"
