Bug 107981 - A hang when booting 32-bit 4.4 kernel on an AMD box
Summary: A hang when booting 32-bit 4.4 kernel on an AMD box
Status: RESOLVED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: i386 (show other bugs)
Hardware: i386 Linux
: P1 blocking
Assignee: platform_i386
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 16:51 UTC by poma
Modified: 2015-12-09 20:41 UTC (History)
0 users

See Also:
Kernel Version: kernel-core-4.4.0-0.rc0.git9.1.fc24.i686
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description poma 2015-11-16 16:51:34 UTC
The machine auto reboots very early,
the last message observed on the display before the actual auto reboot:
[    ...     ] agpgart: Detected NVIDIA nForce2 chipset

In the virtual machine, boot stops at the
[    0.000000] random: nonblocking pool is initialized

and there remains - no auto reboot as on baremetal.


Tested with:
kernel-core-4.4.0-0.rc0.git2.1.fc24.i686
kernel-core-4.4.0-0.rc0.git4.2.fc24.i686
kernel-core-4.4.0-0.rc0.git5.1.fc24.i686
kernel-core-4.4.0-0.rc0.git9.1.fc24.i686

HW:
CPU op-mode(s):        32-bit
Vendor ID:             AuthenticAMD
Comment 1 poma 2015-11-21 10:30:57 UTC
In the absence of kernel debugging over a null-modem cable.

CPU is not AMD-V capable, therefore no Kernel-based Virtual Machine (KVM) support,
i.e. no host CPU passthrough to produce Kernel panic with the kernel 4.4
- qemu-system-i386: CPU model 'host' requires KVM
- virsh(libvirt)
  error: unsupported configuration: CPU mode 'host-passthrough' is only supported with kvm

However it is possible to do it with the VirtualBox:
...
[    0.000000] random: nonblocking pool is initialized
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1483 warn_pre_alternatives+0x22/0x30()
[    0.000000] You're using static_cpu_has before alternatives have run!
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.0-0.rc1.git2.1.fc24.i686 #1
[    0.000000] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000]  c0e80a27 ffb7562f 00000000 db835df0 c079210f db835e30 db835e20 c0462fe7
[    0.000000]  c0d6e0ac db835e50 00000000 c0d78902 000005cb c0414632 c0414632 db835eac
[    0.000000]  00000000 00000100 db835e3c c046305e 00000009 db835e30 c0d6e0ac db835e50
[    0.000000] Call Trace:
[    0.000000]  [<c079210f>] dump_stack+0x48/0x69
[    0.000000]  [<c0462fe7>] warn_slowpath_common+0x87/0xc0
[    0.000000]  [<c0414632>] ? warn_pre_alternatives+0x22/0x30
[    0.000000]  [<c0414632>] ? warn_pre_alternatives+0x22/0x30
[    0.000000]  [<c046305e>] warn_slowpath_fmt+0x3e/0x60
[    0.000000]  [<c0414632>] warn_pre_alternatives+0x22/0x30
[    0.000000]  [<c044feb5>] __do_page_fault+0xc5/0x4b0
[    0.000000]  [<c0ba77f5>] ? _raw_spin_unlock_irqrestore+0x55/0x60
[    0.000000]  [<c07b0f14>] ? debug_object_activate+0xd4/0x1c0
[    0.000000]  [<c04b95f3>] ? trace_hardirqs_off_caller+0x33/0xb0
[    0.000000]  [<c04502a0>] ? __do_page_fault+0x4b0/0x4b0
[    0.000000]  [<c04502ba>] do_page_fault+0x1a/0x20
[    0.000000]  [<c0ba9234>] error_code+0x6c/0x74
[    0.000000]  [<c047cdf2>] ? __queue_work+0x32/0x480
[    0.000000]  [<c04b95f3>] ? trace_hardirqs_off_caller+0x33/0xb0
[    0.000000]  [<c04b967b>] ? trace_hardirqs_off+0xb/0x10
[    0.000000]  [<c047d840>] queue_work_on+0x40/0x80
[    0.000000]  [<c08a0f3d>] credit_entropy_bits+0x2ad/0x3e0
[    0.000000]  [<c08a43cf>] ? add_interrupt_randomness+0x15f/0x1c0
[    0.000000]  [<c08a43cf>] add_interrupt_randomness+0x15f/0x1c0
[    0.000000]  [<c04d426b>] handle_irq_event_percpu+0x21b/0x300
[    0.000000]  [<c04d437e>] handle_irq_event+0x2e/0x50
[    0.000000]  [<c04d74ce>] handle_level_irq+0x6e/0xf0
[    0.000000]  [<c04d7460>] ? handle_fasteoi_irq+0x140/0x140
[    0.000000]  [<c04069c3>] handle_irq+0xa3/0xd0
[    0.000000]  <IRQ>  [<c0405f74>] do_IRQ+0x54/0x120
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c0ba8978>] common_interrupt+0x38/0x40
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c044cdc5>] ? native_irq_enable+0x5/0x10
[    0.000000]  [<c0468a36>] ? __do_softirq+0x96/0x420
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c0406918>] do_softirq_own_stack+0x28/0x30
[    0.000000]  <IRQ>  [<c0468fa5>] irq_exit+0xc5/0xd0
[    0.000000]  [<c0405f7d>] do_IRQ+0x5d/0x120
[    0.000000]  [<c0ba8978>] common_interrupt+0x38/0x40
[    0.000000]  [<c044cda5>] ? native_restore_fl+0x5/0x10
[    0.000000]  [<c0ba77d7>] _raw_spin_unlock_irqrestore+0x37/0x60
[    0.000000]  [<c04d60ce>] __setup_irq+0x28e/0x5d0
[    0.000000]  [<c0797b26>] ? __radix_tree_lookup+0xa6/0xf0
[    0.000000]  [<c04d6441>] setup_irq+0x31/0x80
[    0.000000]  [<c0f4d670>] setup_default_timer_irq+0x19/0x1b
[    0.000000]  [<c0f4d688>] hpet_time_init+0x16/0x18
[    0.000000]  [<c0f4d650>] x86_late_time_init+0x9/0x10
[    0.000000]  [<c0f4ab05>] start_kernel+0x378/0x439
[    0.000000]  [<c0f4a2e3>] i386_start_kernel+0x91/0x95
[    0.000000] ---[ end trace 45b9271da6eab66b ]---
[    0.000000] BUG: unable to handle kernel NULL pointer dereference at 00000100
[    0.000000] IP: [<c047cdf2>] __queue_work+0x32/0x480
[    0.000000] *pde = 00000000 
[    0.000000] Oops: 0000 [#1] SMP 
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.4.0-0.rc1.git2.1.fc24.i686 #1
[    0.000000] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000] task: c0e80b80 ti: c0e7a000 task.ti: c0e7a000
[    0.000000] EIP: 0060:[<c047cdf2>] EFLAGS: 00200086 CPU: 0
[    0.000000] EIP is at __queue_work+0x32/0x480
[    0.000000] EAX: 00000000 EBX: c0f00870 ECX: c0e80b80 EDX: 00000000
[    0.000000] ESI: 00000000 EDI: 00000020 EBP: db835f18 ESP: db835ee8
[    0.000000]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    0.000000] CR0: 8005003b CR2: 00000100 CR3: 01171000 CR4: 00000690
[    0.000000] Stack:
[    0.000000]  0000003e 00000000 00200046 db835f10 c04b95f3 c04b967b db835f10 00000020
[    0.000000]  c0f00ac0 00200082 00000001 00000000 db835f30 c047d840 c0f00870 00006000
[    0.000000]  00000381 c0f00960 db835f70 c08a0f3d 00000000 00000001 c0f00960 00000001
[    0.000000] Call Trace:
[    0.000000]  [<c04b95f3>] ? trace_hardirqs_off_caller+0x33/0xb0
[    0.000000]  [<c04b967b>] ? trace_hardirqs_off+0xb/0x10
[    0.000000]  [<c047d840>] queue_work_on+0x40/0x80
[    0.000000]  [<c08a0f3d>] credit_entropy_bits+0x2ad/0x3e0
[    0.000000]  [<c08a43cf>] ? add_interrupt_randomness+0x15f/0x1c0
[    0.000000]  [<c08a43cf>] add_interrupt_randomness+0x15f/0x1c0
[    0.000000]  [<c04d426b>] handle_irq_event_percpu+0x21b/0x300
[    0.000000]  [<c04d437e>] handle_irq_event+0x2e/0x50
[    0.000000]  [<c04d74ce>] handle_level_irq+0x6e/0xf0
[    0.000000]  [<c04d7460>] ? handle_fasteoi_irq+0x140/0x140
[    0.000000]  [<c04069c3>] handle_irq+0xa3/0xd0
[    0.000000]  <IRQ> 
[    0.000000]  [<c0405f74>] do_IRQ+0x54/0x120
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c0ba8978>] common_interrupt+0x38/0x40
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c044cdc5>] ? native_irq_enable+0x5/0x10
[    0.000000]  [<c0468a36>] ? __do_softirq+0x96/0x420
[    0.000000]  [<c04689a0>] ? cpu_callback+0x2f0/0x2f0
[    0.000000]  [<c0406918>] do_softirq_own_stack+0x28/0x30
[    0.000000]  <IRQ> 
[    0.000000]  [<c0468fa5>] irq_exit+0xc5/0xd0
[    0.000000]  [<c0405f7d>] do_IRQ+0x5d/0x120
[    0.000000]  [<c0ba8978>] common_interrupt+0x38/0x40
[    0.000000]  [<c044cda5>] ? native_restore_fl+0x5/0x10
[    0.000000]  [<c0ba77d7>] _raw_spin_unlock_irqrestore+0x37/0x60
[    0.000000]  [<c04d60ce>] __setup_irq+0x28e/0x5d0
[    0.000000]  [<c0797b26>] ? __radix_tree_lookup+0xa6/0xf0
[    0.000000]  [<c04d6441>] setup_irq+0x31/0x80
[    0.000000]  [<c0f4d670>] setup_default_timer_irq+0x19/0x1b
[    0.000000]  [<c0f4d688>] hpet_time_init+0x16/0x18
[    0.000000]  [<c0f4d650>] x86_late_time_init+0x9/0x10
[    0.000000]  [<c0f4ab05>] start_kernel+0x378/0x439
[    0.000000]  [<c0f4a2e3>] i386_start_kernel+0x91/0x95
[    0.000000] Code: ec 24 e8 56 c3 72 00 89 c7 89 d6 89 cb 89 45 ec ff 15 cc 2e e9 c0 f6 c4 02 0f 85 15 03 00 00 ba d8 c0 e9 c0 89 d8 e8 4e 40 33 00 <8b> 86 00 01 00 00 a9 00 00 01 00 0f 85 20 03 00 00 69 d3 01 00
[    0.000000] EIP: [<c047cdf2>] __queue_work+0x32/0x480 SS:ESP 0068:db835ee8
[    0.000000] CR2: 0000000000000100
[    0.000000] ---[ end trace 45b9271da6eab66c ]---
[    0.000000] Kernel panic - not syncing: Fatal exception in interrupt
[    0.000000] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
Comment 2 poma 2015-12-09 20:40:46 UTC
4.4-rc4 boots OK.
Thanks.

Note You need to log in before you can comment on or make changes to this bug.