Bug 61861

Summary: ten minute hang on boot
Product: Platform Specific/Hardware Reporter: Matthew Foulkes (wimacofo)
Component: x86-64Assignee: platform_x86_64 (platform_x86_64)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.10 and 3.11 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output for kernel 3.10, showing hang
dmesg output for kernel 3.9
debian-based kernel config for building 3.11 kernel that hangs
simpler kernel config for building 3.11 kernel that does not hang

Description Matthew Foulkes 2013-09-22 11:40:27 UTC
Created attachment 109171 [details]
dmesg output for kernel 3.10, showing hang

A couple of weeks ago I installed Debian's linux-image-3.10-2-amd64
package on my old HP dc5800 small form factor desktop running Debian
testing.

As you can see from the attached dmesg output, the kernel freezes for
about 10 minutes at a specific point during the boot process. The
computer does not respond to any key strokes during this time. The long
but temporary freeze is completely reproducible; it happens on every
boot/reboot at exactly the same place. Once the kernel has finally
booted it seems to work fine.

For comparison, I have also attached the dmesg output obtained using the
kernel from linux-image-3.9-1-amd64, which does not freeze.

I googled the problem and found a few posts (see, e.g.,
http://blog.subaquatic.net/archives/hp-dc5800-linux-boot-fix/)
suggesting that booting with "pci=nommconf" cures the problem. This
works, but the posts mentioning it are several years old and I have
never had any trouble with previous Debian kernels.

Quite by accident, I discovered that removing the word "quiet" from the
kernel command line also cures the problem. This is very odd.

I then tested two different builds of kernel 3.11 from kernel.org, one
using the standard Debian config (attached as "config-debian") and the
other a simpler config I made up myself (copy attached as
"config-simpler"). The version using the Debian config behaves exactly
like the Debian 3.10 kernel package; the version using the simpler
config never hangs on boot.

I reported this problem as Debian bug #719627, but Ben Hutchings of the
Debian kernel team asked me to report it here too. I am happy to do so,
but doubt I have the technical skills to help track down what is wrong.

The kernel.org bugzilla web interface only seems to allow one attachment,
so I have tarred the four files mentioned above together.
Comment 1 Matthew Foulkes 2013-09-22 11:41:29 UTC
Created attachment 109181 [details]
dmesg output for kernel 3.9
Comment 2 Matthew Foulkes 2013-09-22 11:42:25 UTC
Created attachment 109191 [details]
debian-based kernel config for building 3.11 kernel that hangs
Comment 3 Matthew Foulkes 2013-09-22 11:42:58 UTC
Created attachment 109201 [details]
simpler kernel config for building 3.11 kernel that does not hang
Comment 4 Matthew Foulkes 2013-09-22 11:45:08 UTC
I found out how to attach multiple files, so please ignore the final sentence of the bug report.
Comment 5 Alan 2013-11-13 14:41:23 UTC
*** Bug 61851 has been marked as a duplicate of this bug. ***