Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel/build.sh error #114

Closed
jyizheng opened this issue Sep 10, 2020 · 1 comment
Closed

kernel/build.sh error #114

jyizheng opened this issue Sep 10, 2020 · 1 comment

Comments

@jyizheng
Copy link

I used kernel/build.sh to build kernel 5.8.3 on my VM. The command I used is ./build.sh --allyesconfig -t X86.
The building process completed successfully. I can even run make modules_install and make install successfully.
However, I could not boot the OS with the newly-complied kernel. I got the boot log as shown below.
Could you please tell me how I should fix this?

[ 0.000000][ T0] Linux version 5.8.3 (lsm@lsm) (clang version 10.0.0 , LLD 10.0.0) #1 SMP Wed Sep 9 19:23:31 UTC 2020
[ 0.000000][ T0] Command line: BOOT_IMAGE=/vmlinuz-5.8.3 root=UUID=1b4b1ba4-7a4b-4ba1-9fd4-93576d223524 ro console=tty0 console=ttyS1,115200n8
[ 0.000000][ T0] KERNEL supported cpus:
[ 0.000000][ T0] Intel GenuineIntel
[ 0.000000][ T0] AMD AuthenticAMD
[ 0.000000][ T0] Hygon HygonGenuine
[ 0.000000][ T0] Centaur CentaurHauls
[ 0.000000][ T0] zhaoxin Shanghai
[ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000][ T0] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000][ T0] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000][ T0] BIOS-provided physical RAM map:
[ 0.000000][ T0] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000][ T0] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000][ T0] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000][ T0] BIOS-e820: [mem 0x0000000000100000-0x00000000bffd4fff] usable
[ 0.000000][ T0] BIOS-e820: [mem 0x00000000bffd5000-0x00000000bfffffff] reserved
[ 0.000000][ T0] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000][ T0] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000][ T0] BIOS-e820: [mem 0x0000000100000000-0x000000023fffffff] usable
[ 0.000000][ T0] NX (Execute Disable) protection: active
[ 0.000000][ T0] SMBIOS 2.8 present.
[ 0.000000][ T0] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
[ 0.000000][ T0] Hypervisor detected: KVM
[ 0.000000][ T0] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000004][ T0] kvm-clock: cpu 0, msr 21ce00001, primary cpu clock
[ 0.000004][ T0] kvm-clock: using sched offset of 523103859767 cycles
[ 0.000030][ T0] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000075][ T0] tsc: Detected 1992.000 MHz processor
[ 0.005589][ T0] last_pfn = 0x240000 max_arch_pfn = 0x400000000
[ 0.005825][ T0] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.005865][ T0] last_pfn = 0xbffd5 max_arch_pfn = 0x400000000
[ 0.014513][ T0] found SMP MP-table at [mem 0x000f6a00-0x000f6a0f]
[ 0.015579][ T0] check: Scanning 1 areas for low memory corruption
[ 0.155442][ T0] RAMDISK: [mem 0x3643f000-0x37216fff]
[ 0.155523][ T0] ACPI: Early table checksum verification disabled
[ 0.155548][ T0] ACPI: RSDP 0x00000000000F69B0 000014 (v00 BOCHS )
[ 0.155580][ T0] ACPI: RSDT 0x00000000BFFE13E7 00002C (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.155620][ T0] ACPI: FACP 0x00000000BFFE1263 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.155671][ T0] ACPI: DSDT 0x00000000BFFDFDC0 0014A3 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
[ 0.155708][ T0] ACPI: FACS 0x00000000BFFDFD80 000040
[ 0.155739][ T0] ACPI: APIC 0x00000000BFFE1357 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.156093][ T0] No NUMA configuration found
[ 0.156116][ T0] Faking a node at [mem 0x0000000000000000-0x000000023fffffff]
[ 0.156239][ T0] NODE_DATA(0) allocated [mem 0x23efc4000-0x23f002fff]
[ 0.183823][ T0] Zone ranges:
[ 0.183849][ T0] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.183874][ T0] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.183897][ T0] Normal [mem 0x0000000100000000-0x000000023fffffff]
[ 0.183921][ T0] Device empty
[ 0.183942][ T0] Movable zone start for each node
[ 0.183966][ T0] Early memory node ranges
[ 0.183988][ T0] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.184010][ T0] node 0: [mem 0x0000000000100000-0x00000000bffd4fff]
[ 0.184033][ T0] node 0: [mem 0x0000000100000000-0x000000023fffffff]
[ 0.184083][ T0] Zeroed struct page in unavailable ranges: 141 pages
[ 0.184090][ T0] Initmem setup node 0 [mem 0x0000000000001000-0x000000023fffffff]
[ 1.190381][ T0] kasan: KernelAddressSanitizer initialized
[ 1.190988][ T0] ACPI: PM-Timer IO Port: 0x608
[ 1.191046][ T0] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 1.191124][ T0] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 1.191162][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 1.191187][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 1.191211][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 1.191234][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 1.191258][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 1.191343][ T0] Using ACPI (MADT) for SMP configuration information
[ 1.191364][ T0] TSC deadline timer available
[ 1.191390][ T0] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[ 1.191581][ T0] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 1.191611][ T0] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 1.191632][ T0] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 1.191653][ T0] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 1.191682][ T0] PM: hibernation: Registered nosave memory: [mem 0xbffd5000-0xbfffffff]
[ 1.191703][ T0] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfeffbfff]
[ 1.191723][ T0] PM: hibernation: Registered nosave memory: [mem 0xfeffc000-0xfeffffff]
[ 1.191744][ T0] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xfffbffff]
[ 1.191765][ T0] PM: hibernation: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[ 1.191799][ T0] [mem 0xc0000000-0xfeffbfff] available for PCI devices
[ 1.191818][ T0] Booting paravirtualized kernel on KVM
[ 1.191851][ T0] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 1.313559][ T0] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[ 1.330133][ T0] percpu: Embedded 581 pages/cpu s2342912 r8192 d28672 u4194304
[ 1.330573][ T0] KVM setup async PF for cpu 0
[ 1.330603][ T0] kvm-stealtime: cpu 0, msr 1cc23b0c0
[ 1.330643][ T0] Built 1 zonelists, mobility grouping on. Total pages: 2064221
[ 1.330663][ T0] Policy zone: Normal
[ 1.330689][ T0] Kernel command line: BOOT_IMAGE=/vmlinuz-5.8.3 root=UUID=1b4b1ba4-7a4b-4ba1-9fd4-93576d223524 ro console=tty0 console=ttyS1,115200n8
[ 1.339836][ T0] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 1.343711][ T0] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 1.343983][ T0] mem auto-init: stack:all, heap alloc:on, heap free:on
[ 1.344004][ T0] mem auto-init: clearing system memory may take some time...
[ 13.694263][ T0] Memory: 3196436K/8388044K available (204806K kernel code, 26932K rwdata, 77276K rodata, 10512K init, 72204K bss, 1985352K reserved, 0K cma-reserved)
[ 13.694321][ T0] random: get_random_u64 called from __kmem_cache_create+0x2a/0x7e0 with crng_init=0
[ 13.697134][ T0] random: get_random_u64 called from cache_random_seq_create+0x9b/0x1e0 with crng_init=0
[ 13.697241][ T0] random: get_random_u64 called from __kmem_cache_create+0x2a/0x7e0 with crng_init=0
[ 13.699467][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 13.699519][ T0] kmemleak: Kernel memory leak detector disabled
[ 13.711726][ T0] ODEBUG: selftest passed
[ 13.711931][ T0] Kernel/User page tables isolation: enabled
[ 13.763537][ T0] ftrace: allocating 273119 entries in 1067 pages
[ 14.188633][ T0] ftrace: allocated 1067 pages with 5 groups
[ 14.188696][ T0]
[ 14.188710][ T0] **********************************************************
[ 14.188723][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 14.188736][ T0] ** **
[ 14.188749][ T0] ** trace_printk() being used. Allocating extra memory. **
[ 14.188762][ T0] ** **
[ 14.188780][ T0] ** This means that this is a DEBUG kernel and it is **
[ 14.188793][ T0] ** unsafe for production use. **
[ 14.188806][ T0] ** **
[ 14.188819][ T0] ** If you see this message and you are not debugging **
[ 14.188831][ T0] ** the kernel, report this immediately to your vendor! **
[ 14.188844][ T0] ** **
[ 14.188857][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 14.188869][ T0] **********************************************************
[ 14.197956][ T0] Running RCU self tests
[ 14.198008][ T0] rcu: Hierarchical RCU implementation.
[ 14.198020][ T0] rcu: RCU event tracing is enabled.
[ 14.198032][ T0] rcu: RCU dyntick-idle grace-period acceleration is enabled.
[ 14.198044][ T0] rcu: RCU lockdep checking is enabled.
[ 14.198057][ T0] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[ 14.198069][ T0] rcu: RCU callback double-/use-after-free debug enabled.
[ 14.198080][ T0] rcu: RCU debug extended QS entry/exit.
[ 14.198091][ T0] Trampoline variant of Tasks RCU enabled.
[ 14.198102][ T0] Rude variant of Tasks RCU enabled.
[ 14.198114][ T0] Tracing variant of Tasks RCU enabled.
[ 14.198126][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 14.198138][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 14.258776][ T0] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
[ 14.260745][ T0] random: crng done (trusting CPU's manufacturer)
[ 14.270295][ T0] Console: colour VGA+ 80x25
[ 14.358735][ T0] printk: console [tty0] enabled
[ 14.517694][ T0] printk: console [ttyS1] enabled
[ 14.519376][ T0] serial port 1 not yet initialized
[ 14.520859][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 14.523188][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 14.524506][ T0] ... MAX_LOCK_DEPTH: 48
[ 14.525870][ T0] ... MAX_LOCKDEP_KEYS: 8192
[ 14.527411][ T0] ... CLASSHASH_SIZE: 4096
[ 14.529825][ T0] ... MAX_LOCKDEP_ENTRIES: 32768
[ 14.532239][ T0] ... MAX_LOCKDEP_CHAINS: 65536
[ 14.533786][ T0] ... CHAINHASH_SIZE: 32768
[ 14.535368][ T0] memory used by lock dependency info: 6813 kB
[ 14.537158][ T0] memory used for stack traces: 4224 kB
[ 14.538792][ T0] per task-struct memory footprint: 2688 bytes
[ 14.540524][ T0] ------------------------
[ 14.541845][ T0] | Locking API testsuite:
[ 14.543157][ T0] ----------------------------------------------------------------------------
[ 14.545715][ T0] | spin |wlock |rlock |mutex | wsem | rsem |
[ 14.550230][ T0] --------------------------------------------------------------------------
[ 14.552466][ T0] A-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.584328][ T0] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.623603][ T0] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.663189][ T0] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.695733][ T0] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.731973][ T0] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.768900][ T0] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.806198][ T0] double unlock: ok | ok | ok | ok | ok | ok | ok |
[ 14.835136][ T0] initialize held: ok | ok | ok | ok | ok | ok | ok |
[ 14.862971][ T0] --------------------------------------------------------------------------
[ 14.867904][ T0] recursive read-lock: | ok | | ok |
[ 14.877732][ T0] recursive read-lock #2: | ok | | ok |
[ 14.889206][ T0] mixed read-write-lock: | ok | | ok |
[ 14.899164][ T0] mixed write-read-lock: | ok | | ok |
[ 14.909183][ T0] mixed read-lock/lock-write ABBA: | ok | | ok |
[ 14.919102][ T0] mixed read-lock/lock-read ABBA: |FAILED| | ok |
[ 14.930219][ T0] mixed write-lock/lock-write ABBA: | ok | | ok |
[ 14.941364][ T0] --------------------------------------------------------------------------
[ 14.946393][ T0] hard-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 14.957426][ T0] soft-irqs-on + irq-safe-A/12: ok | ok | ok |
[ 14.968579][ T0] hard-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 14.979596][ T0] soft-irqs-on + irq-safe-A/21: ok | ok | ok |
[ 14.990171][ T0] sirq-safe-A => hirqs-on/12: ok | ok | ok |
[ 15.001843][ T0] sirq-safe-A => hirqs-on/21: ok | ok | ok |
[ 15.015515][ T0] hard-safe-A + irqs-on/12: ok | ok | ok |
[ 15.025885][ T0] soft-safe-A + irqs-on/12: ok | ok | ok |
[ 15.036609][ T0] hard-safe-A + irqs-on/21: ok | ok | ok |
[ 15.046191][ T0] soft-safe-A + irqs-on/21: ok | ok | ok |
[ 15.061532][ T0] hard-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 15.070994][ T0] soft-safe-A + unsafe-B #1/123: ok | ok | ok |
[ 15.085728][ T0] hard-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 15.097188][ T0] soft-safe-A + unsafe-B #1/132: ok | ok | ok |
[ 15.106746][ T0] hard-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 15.120259][ T0] soft-safe-A + unsafe-B #1/213: ok | ok | ok |
[ 15.131651][ T0] hard-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 15.144309][ T0] soft-safe-A + unsafe-B #1/231: ok | ok | ok |
[ 15.155294][ T0] hard-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 15.168262][ T0] soft-safe-A + unsafe-B #1/312: ok | ok | ok |
[ 15.182386][ T0] hard-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 15.192718][ T0] soft-safe-A + unsafe-B #1/321: ok | ok | ok |
[ 15.206098][ T0] hard-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 15.217838][ T0] soft-safe-A + unsafe-B #2/123: ok | ok | ok |
[ 15.231827][ T0] hard-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 15.244147][ T0] soft-safe-A + unsafe-B #2/132: ok | ok | ok |
[ 15.259787][ T0] hard-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 15.276159][ T0] soft-safe-A + unsafe-B #2/213: ok | ok | ok |
[ 15.291327][ T0] hard-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 15.306414][ T0] soft-safe-A + unsafe-B #2/231: ok | ok | ok |
[ 15.319496][ T0] hard-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 15.334591][ T0] soft-safe-A + unsafe-B #2/312: ok | ok | ok |
[ 15.349429][ T0] hard-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 15.362212][ T0] soft-safe-A + unsafe-B #2/321: ok | ok | ok |
[ 15.377169][ T0] hard-irq lock-inversion/123: ok | ok | ok |
[ 15.392224][ T0] soft-irq lock-inversion/123: ok | ok | ok |
[ 15.407551][ T0] hard-irq lock-inversion/132: ok | ok | ok |
[ 15.421384][ T0] soft-irq lock-inversion/132: ok | ok | ok |
[ 15.436932][ T0] hard-irq lock-inversion/213: ok | ok | ok |
[ 15.452847][ T0] soft-irq lock-inversion/213: ok | ok | ok |
[ 15.467312][ T0] hard-irq lock-inversion/231: ok | ok | ok |
[ 15.482684][ T0] soft-irq lock-inversion/231: ok | ok | ok |
[ 15.497970][ T0] hard-irq lock-inversion/312: ok | ok | ok |
[ 15.513988][ T0] soft-irq lock-inversion/312: ok | ok | ok |
[ 15.526404][ T0] hard-irq lock-inversion/321: ok | ok | ok |
[ 15.542327][ T0] soft-irq lock-inversion/321: ok | ok | ok |
[ 15.554619][ T0] hard-irq read-recursion/123: ok |
[ 15.561523][ T0] soft-irq read-recursion/123: ok |
[ 15.567365][ T0] hard-irq read-recursion/132: ok |
[ 15.573296][ T0] soft-irq read-recursion/132: ok |
[ 15.580800][ T0] hard-irq read-recursion/213: ok |
[ 15.586322][ T0] soft-irq read-recursion/213: ok |
[ 15.591791][ T0] hard-irq read-recursion/231: ok |
[ 15.600226][ T0] soft-irq read-recursion/231: ok |
[ 15.605938][ T0] hard-irq read-recursion/312: ok |
[ 15.610816][ T0] soft-irq read-recursion/312: ok |
[ 15.618117][ T0] hard-irq read-recursion/321: ok |
[ 15.623292][ T0] soft-irq read-recursion/321: ok |
[ 15.629030][ T0] --------------------------------------------------------------------------
[ 15.631844][ T0] | Wound/wait tests |
[ 15.632998][ T0] ---------------------
[ 15.635227][ T0] ww api failures: ok | ok | ok |
[ 15.647862][ T0] ww contexts mixing: ok | ok |
[ 15.654951][ T0] finishing ww context: ok | ok | ok | ok |
[ 15.670724][ T0] locking mismatches: ok | ok | ok |
[ 15.682257][ T0] EDEADLK handling: ok | ok | ok | ok | ok | ok | ok | ok | ok | ok |
[ 15.715734][ T0] spinlock nest unlocked: ok |
[ 15.721670][ T0] -----------------------------------------------------
[ 15.724427][ T0] |block | try |context|
[ 15.726576][ T0] -----------------------------------------------------
[ 15.728095][ T0] context: ok | ok | ok |
[ 15.737873][ T0] try: ok | ok | ok |
[ 15.748552][ T0] block: ok | ok | ok |
[ 15.758972][ T0] spinlock: ok | ok | ok |
[ 15.771123][ T0] -------------------------------------------------------
[ 15.772795][ T0] Good, all 261 testcases passed! |
[ 15.774071][ T0] ---------------------------------
[ 15.775716][ T0] ACPI: Core revision 20200528
[ 15.777928][ T0] APIC: Switch to symmetric I/O mode setup
[ 15.780327][ T0] x2apic enabled
[ 15.784788][ T0] Switched APIC routing to physical x2apic.
[ 15.789576][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x396d519840e, max_idle_ns: 881590569543 ns
[ 15.792324][ T0] Calibrating delay loop (skipped) preset value.. 3984.00 BogoMIPS (lpj=7968000)
[ 15.794587][ T0] pid_max: default: 32768 minimum: 301
[ 15.796286][ T0] LSM: Security Framework initializing
[ 15.796286][ T0] Yama: becoming mindful.
[ 15.796286][ T0] LoadPin: ready to pin (currently enforcing)
[ 15.796286][ T0] SELinux: Initializing.
[ 15.796286][ T0] TOMOYO Linux initialized
[ 15.796286][ T0] LSM support for eBPF active
[ 15.796286][ T0] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 15.796286][ T0] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 15.796286][ T0] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 15.796286][ T0] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 15.796286][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 15.796286][ T0] Spectre V2 : Mitigation: Full generic retpoline
[ 15.796286][ T0] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 15.796286][ T0] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 15.796286][ T0] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 15.796286][ T0] Speculative Store Bypass: Vulnerable
[ 15.796286][ T0] SRBDS: Unknown: Dependent on hypervisor status
[ 15.796286][ T0] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 15.796286][ T0] debug: unmapping init [mem 0xffffffff9b74b000-0xffffffff9b77bfff]
[ 15.796286][ T1] smpboot: CPU0: Intel Core Processor (Broadwell, no TSX, IBRS) (family: 0x6, model: 0x3d, stepping: 0x2)
[ 15.799655][ T1] Performance Events: unsupported p6 CPU model 61 no PMU driver, software events only.
[ 15.802182][ T1] rcu: Hierarchical SRCU implementation.
[ 15.876196][ T1] NMI watchdog: Perf NMI watchdog permanently disabled
[ 15.878315][ T1] smp: Bringing up secondary CPUs ...
[ 15.897520][ T1] x86: Booting SMP configuration:
[ 15.899026][ T1] .... node #0, CPUs: #1
[ 1.535871][ T0] kvm-clock: cpu 1, msr 21ce00041, secondary cpu clock
[ 1.535871][ T0] smpboot: CPU 1 Converting physical 0 to logical die 1
[ 15.905109][ T15] KVM setup async PF for cpu 1
[ 15.908286][ T15] kvm-stealtime: cpu 1, msr 1cc63b0c0
[ 15.928423][ T1] #2
[ 1.535871][ T0] kvm-clock: cpu 2, msr 21ce00081, secondary cpu clock
[ 1.535871][ T0] smpboot: CPU 2 Converting physical 0 to logical die 2
[ 15.936716][ T21] KVM setup async PF for cpu 2
[ 15.938180][ T21] kvm-stealtime: cpu 2, msr 1cca3b0c0
[ 15.952963][ T1] #3
[ 1.535871][ T0] kvm-clock: cpu 3, msr 21ce000c1, secondary cpu clock
[ 1.535871][ T0] smpboot: CPU 3 Converting physical 0 to logical die 3
[ 15.960558][ T27] KVM setup async PF for cpu 3
[ 15.961763][ T27] kvm-stealtime: cpu 3, msr 1cce3b0c0
[ 15.963192][ T1] smp: Brought up 1 node, 4 CPUs
[ 15.964309][ T1] smpboot: Max logical packages: 4
[ 15.965746][ T1] ----------------
[ 15.966883][ T1] | NMI testsuite:
[ 15.967972][ T1] --------------------
[ 15.968321][ T1] remote IPI: ok |
[ 15.969500][ T1] local IPI: ok |
[ 15.970522][ T1] --------------------
[ 15.971474][ T1] Good, all 2 testcases passed! |
[ 15.972307][ T1] ---------------------------------
[ 15.973507][ T1] smpboot: Total of 4 processors activated (15936.00 BogoMIPS)
[ 15.980988][ T33] workqueue: round-robin CPU selection forced, expect performance impact
[ 18.054270][ T33] node 0 deferred pages initialised in 2072ms
[ 18.056368][ T33] pgdatinit0 (33) used greatest stack depth: 30000 bytes left
[ 18.061495][ T1] devtmpfs: initialized
[ 18.070532][ T1] x86/mm: Memory block size: 128MB
[ 18.304897][ T1] DMA-API: preallocated 65536 debug entries
[ 18.306057][ T1] DMA-API: debugging enabled by kernel config
[ 18.307219][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 18.308331][ T1] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[ 18.310491][ T1] Running postponed tracer tests:
[ 18.312283][ T1] Testing tracer function: PASSED
[ 25.148306][ T1] Testing dynamic ftrace: PASSED
[ 26.008480][ T1] Testing dynamic ftrace ops #1:
[ 28.613753][ T1] (1 0 1 0 0)
[ 28.615386][ T1] (1 1 2 0 0)
[ 33.621979][ T1] (2 1 3 0 19494796)
[ 33.624320][ T1] (2 2 4 0 19495693) PASSED
[ 37.183332][ T1] Testing dynamic ftrace ops #2:
[ 42.625114][ T1] (1 0 1 19230610 0)
[ 42.625114][ T1] (1 1 2 19231395 0)
[ 63.876286][ C0] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]
[ 63.876420][ C0] Modules linked in:
[ 63.876420][ C0] irq event stamp: 9790254
[ 63.876420][ C0] hardirqs last enabled at (9790253): [] __text_poke+0x753/0x8b0
[ 63.876420][ C0] hardirqs last disabled at (9790254): [] idtentry_enter_cond_rcu+0x36/0x60
[ 63.876420][ C0] softirqs last enabled at (9789976): [] __do_softirq+0x384/0x3cd
[ 63.876420][ C0] softirqs last disabled at (9789969): [] asm_call_on_stack+0x12/0x20
[ 63.876420][ C0] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.8.3 #1
[ 63.876420][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
[ 63.876420][ C0] RIP: 0010:__text_poke+0x772/0x8b0
[ 63.876420][ C0] Code: 94 c6 4a 00 eb 29 e8 2d be 4a 00 48 c7 c7 c8 91 cf 97 e8 01 c8 7a 00 48 83 3d 01 88 51 11 00 0f 84 40 01 00 00 48 89 df 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 ee 00
[ 63.876420][ C0] RSP: 0000:ffffc9000006fa78 EFLAGS: 00000286
[ 63.876420][ C0] RAX: ffffffff97cf91cf RBX: 0000000000000286 RCX: ffffffff867e09bf
[ 63.876420][ C0] RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000286
[ 63.876420][ C0] RBP: ffffc9000006faf8 R08: dffffc0000000000 R09: fffffbfff37d9587
[ 63.876420][ C0] R10: fffffbfff37d9587 R11: 0000000000000000 R12: ffff888106cd9000
[ 63.876420][ C0] R13: 00002d96296c5000 R14: ffff888106ce9000 R15: ffffffff9144e7f1
[ 63.876420][ C0] FS: 0000000000000000(0000) GS:ffff8881cc000000(0000) knlGS:0000000000000000
[ 63.876420][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 63.876420][ C0] CR2: 0000000000000000 CR3: 0000000214ea4001 CR4: 00000000003606f0
[ 63.876420][ C0] Call Trace:
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] text_poke_bp_batch+0x15e/0x310
[ 63.876420][ C0] ? snd_hdspm_release+0xb0/0xb0
[ 63.876420][ C0] text_poke_queue+0x8e/0xf0
[ 63.876420][ C0] ftrace_replace_code+0x19f/0x250
[ 63.876420][ C0] ftrace_modify_all_code+0x148/0x4b0
[ 63.876420][ C0] ftrace_run_update_code+0x46/0x190
[ 63.876420][ C0] ftrace_startup+0x2cf/0x360
[ 63.876420][ C0] register_ftrace_function+0xd2/0xf0
[ 63.876420][ C0] trace_selftest_ops+0x737/0x9d0
[ 63.876420][ C0] trace_selftest_startup_function+0x4f1/0xbc6
[ 63.876420][ C0] run_tracer_selftest+0x3a7/0x4c0
[ 63.876420][ C0] init_trace_selftests+0x102/0x34b
[ 63.876420][ C0] ? kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? latency_fsnotify_init+0x83/0x83
[ 63.876420][ C0] do_one_initcall+0x79/0x1f0
[ 63.876420][ C0] do_initcall_level+0xca/0xf5
[ 63.876420][ C0] do_initcalls+0x63/0xa8
[ 63.876420][ C0] kernel_init_freeable+0x248/0x2fc
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] ret_from_fork+0x22/0x30
[ 63.876420][ C0] Kernel panic - not syncing: softlockup: hung tasks
[ 63.876420][ C0] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G L 5.8.3 #1
[ 63.876420][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
[ 63.876420][ C0] Call Trace:
[ 63.876420][ C0]
[ 63.876420][ C0] dump_stack+0x184/0x27e
[ 63.876420][ C0] panic+0x232/0x62e
[ 63.876420][ C0] ? watchdog_timer_fn+0x371/0x3a0
[ 63.876420][ C0] ? panic+0x5/0x62e
[ 63.876420][ C0] watchdog_timer_fn+0x39f/0x3a0
[ 63.876420][ C0] ? proc_watchdog_cpumask+0xc0/0xc0
[ 63.876420][ C0] __hrtimer_run_queues+0x2db/0x4f0
[ 63.876420][ C0] hrtimer_run_queues+0x2d7/0x330
[ 63.876420][ C0] update_process_times+0x3d/0x140
[ 63.876420][ C0] tick_periodic+0xff/0x110
[ 63.876420][ C0] tick_handle_periodic+0x37/0x120
[ 63.876420][ C0] __sysvec_apic_timer_interrupt+0x84/0x150
[ 63.876420][ C0] asm_call_on_stack+0x12/0x20
[ 63.876420][ C0]
[ 63.876420][ C0] sysvec_apic_timer_interrupt+0x86/0xe0
[ 63.876420][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 63.876420][ C0] RIP: 0010:__text_poke+0x772/0x8b0
[ 63.876420][ C0] Code: 94 c6 4a 00 eb 29 e8 2d be 4a 00 48 c7 c7 c8 91 cf 97 e8 01 c8 7a 00 48 83 3d 01 88 51 11 00 0f 84 40 01 00 00 48 89 df 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 ee 00
[ 63.876420][ C0] RSP: 0000:ffffc9000006fa78 EFLAGS: 00000286
[ 63.876420][ C0] RAX: ffffffff97cf91cf RBX: 0000000000000286 RCX: ffffffff867e09bf
[ 63.876420][ C0] RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000286
[ 63.876420][ C0] RBP: ffffc9000006faf8 R08: dffffc0000000000 R09: fffffbfff37d9587
[ 63.876420][ C0] R10: fffffbfff37d9587 R11: 0000000000000000 R12: ffff888106cd9000
[ 63.876420][ C0] R13: 00002d96296c5000 R14: ffff888106ce9000 R15: ffffffff9144e7f1
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] ? __text_poke+0x75f/0x8b0
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] text_poke_bp_batch+0x15e/0x310
[ 63.876420][ C0] ? snd_hdspm_release+0xb0/0xb0
[ 63.876420][ C0] text_poke_queue+0x8e/0xf0
[ 63.876420][ C0] ftrace_replace_code+0x19f/0x250
[ 63.876420][ C0] ftrace_modify_all_code+0x148/0x4b0
[ 63.876420][ C0] ftrace_run_update_code+0x46/0x190
[ 63.876420][ C0] ftrace_startup+0x2cf/0x360
[ 63.876420][ C0] register_ftrace_function+0xd2/0xf0
[ 63.876420][ C0] trace_selftest_ops+0x737/0x9d0
[ 63.876420][ C0] trace_selftest_startup_function+0x4f1/0xbc6
[ 63.876420][ C0] run_tracer_selftest+0x3a7/0x4c0
[ 63.876420][ C0] init_trace_selftests+0x102/0x34b
[ 63.876420][ C0] ? kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? latency_fsnotify_init+0x83/0x83
[ 63.876420][ C0] do_one_initcall+0x79/0x1f0
[ 63.876420][ C0] do_initcall_level+0xca/0xf5
[ 63.876420][ C0] do_initcalls+0x63/0xa8
[ 63.876420][ C0] kernel_init_freeable+0x248/0x2fc
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] ret_from_fork+0x22/0x30
[ 63.876420][ C0]
[ 63.876420][ C0] =============================
[ 63.876420][ C0] [ BUG: Invalid wait context ]
[ 63.876420][ C0] 5.8.3 #1 Not tainted
[ 63.876420][ C0] -----------------------------
[ 63.876420][ C0] swapper/0/1 is trying to lock:
[ 63.876420][ C0] ffffffff9f7e0638 (&port->lock){....}-{3:3}, at: serial8250_console_write+0xfb/0x910
[ 63.876420][ C0] other info that might help us debug this:
[ 63.876420][ C0] context-{2:2}
[ 63.876420][ C0] 5 locks held by swapper/0/1:
[ 63.876420][ C0] #0: ffffffff983db380 (trace_types_lock){+.+.}-{4:4}, at: init_trace_selftests+0x2b/0x34b
[ 63.876420][ C0] #1: ffffffff983da220 (ftrace_lock){+.+.}-{4:4}, at: register_ftrace_function+0xc8/0xf0
[ 63.876420][ C0] #2: ffffffff97d2b000 (text_mutex){+.+.}-{4:4}, at: ftrace_arch_code_modify_prepare+0xe/0x20
[ 63.876420][ C0] #3: ffffffff97d34f00 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x304/0x400
[ 63.876420][ C0] #4: ffffffff97d35040 (console_owner){-...}-{0:0}, at: console_lock_spinning_enable+0x36/0x70
[ 63.876420][ C0] stack backtrace:
[ 63.876420][ C0] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.8.3 #1
[ 63.876420][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
[ 63.876420][ C0] Call Trace:
[ 63.876420][ C0]
[ 63.876420][ C0] dump_stack+0x184/0x27e
[ 63.876420][ C0] __lock_acquire+0x145d/0x1610
[ 63.876420][ C0] lock_acquire+0x133/0x480
[ 63.876420][ C0] ? serial8250_console_write+0xfb/0x910
[ 63.876420][ C0] ? serial8250_console_write+0xfb/0x910
[ 63.876420][ C0] _raw_spin_lock_irqsave+0x82/0xd0
[ 63.876420][ C0] ? serial8250_console_write+0xfb/0x910
[ 63.876420][ C0] serial8250_console_write+0xfb/0x910
[ 63.876420][ C0] ? do_raw_spin_unlock+0xbf/0x480
[ 63.876420][ C0] ? console_unlock+0x710/0xb20
[ 63.876420][ C0] ? univ8250_console_write+0x25/0x50
[ 63.876420][ C0] ? s8250_options+0x10/0x10
[ 63.876420][ C0] console_unlock+0x752/0xb20
[ 63.876420][ C0] ? vprintk_emit+0x318/0x400
[ 63.876420][ C0] vprintk_emit+0x31d/0x400
[ 63.876420][ C0] printk+0x7e/0xa9
[ 63.876420][ C0] ? printk+0x5/0xa9
[ 63.876420][ C0] watchdog_timer_fn+0x2eb/0x3a0
[ 63.876420][ C0] ? proc_watchdog_cpumask+0xc0/0xc0
[ 63.876420][ C0] __hrtimer_run_queues+0x2db/0x4f0
[ 63.876420][ C0] hrtimer_run_queues+0x2d7/0x330
[ 63.876420][ C0] update_process_times+0x3d/0x140
[ 63.876420][ C0] tick_periodic+0xff/0x110
[ 63.876420][ C0] tick_handle_periodic+0x37/0x120
[ 63.876420][ C0] __sysvec_apic_timer_interrupt+0x84/0x150
[ 63.876420][ C0] asm_call_on_stack+0x12/0x20
[ 63.876420][ C0]
[ 63.876420][ C0] sysvec_apic_timer_interrupt+0x86/0xe0
[ 63.876420][ C0] asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 63.876420][ C0] RIP: 0010:__text_poke+0x772/0x8b0
[ 63.876420][ C0] Code: 94 c6 4a 00 eb 29 e8 2d be 4a 00 48 c7 c7 c8 91 cf 97 e8 01 c8 7a 00 48 83 3d 01 88 51 11 00 0f 84 40 01 00 00 48 89 df 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 45 d0 0f 85 ee 00
[ 63.876420][ C0] RSP: 0000:ffffc9000006fa78 EFLAGS: 00000286
[ 63.876420][ C0] RAX: ffffffff97cf91cf RBX: 0000000000000286 RCX: ffffffff867e09bf
[ 63.876420][ C0] RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000286
[ 63.876420][ C0] RBP: ffffc9000006faf8 R08: dffffc0000000000 R09: fffffbfff37d9587
[ 63.876420][ C0] R10: fffffbfff37d9587 R11: 0000000000000000 R12: ffff888106cd9000
[ 63.876420][ C0] R13: 00002d96296c5000 R14: ffff888106ce9000 R15: ffffffff9144e7f1
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] ? __text_poke+0x75f/0x8b0
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] ? snd_hdsp_midi_input_close+0x1/0x130
[ 63.876420][ C0] text_poke_bp_batch+0x15e/0x310
[ 63.876420][ C0] ? snd_hdspm_release+0xb0/0xb0
[ 63.876420][ C0] text_poke_queue+0x8e/0xf0
[ 63.876420][ C0] ftrace_replace_code+0x19f/0x250
[ 63.876420][ C0] ftrace_modify_all_code+0x148/0x4b0
[ 63.876420][ C0] ftrace_run_update_code+0x46/0x190
[ 63.876420][ C0] ftrace_startup+0x2cf/0x360
[ 63.876420][ C0] register_ftrace_function+0xd2/0xf0
[ 63.876420][ C0] trace_selftest_ops+0x737/0x9d0
[ 63.876420][ C0] trace_selftest_startup_function+0x4f1/0xbc6
[ 63.876420][ C0] run_tracer_selftest+0x3a7/0x4c0
[ 63.876420][ C0] init_trace_selftests+0x102/0x34b
[ 63.876420][ C0] ? kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? latency_fsnotify_init+0x83/0x83
[ 63.876420][ C0] do_one_initcall+0x79/0x1f0
[ 63.876420][ C0] do_initcall_level+0xca/0xf5
[ 63.876420][ C0] do_initcalls+0x63/0xa8
[ 63.876420][ C0] kernel_init_freeable+0x248/0x2fc
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] kernel_init+0x16/0x2b0
[ 63.876420][ C0] ? rest_init+0x2a0/0x2a0
[ 63.876420][ C0] ret_from_fork+0x22/0x30
[ 63.876420][ C0] ---[ end Kernel panic - not syncing: softlockup: hung tasks ]---

@nathanchance
Copy link
Member

As was noted on Telegram, allyesconfig is not meant to be booted. You should use defconfig or your distribution's configuration as a base. Regardless, this is not relevant to this script. Please file an issue against the Linux repository if you continue to run into problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants