tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 9.1: boot-time delay?



On Tue, May 18, 2021 at 03:01:55PM -0400, Mouse wrote:
> [     3.288539] uhub2: 4 ports with 4 removable, self powered
> [     3.288539] uhub3: 6 ports with 6 removable, self powered
> [    25.272567] wd0 at atabus0 drive 0
> [    25.273568] wd0: <ST500DM002-1BD142>

There are multiple things with long timeouts happening here, but it
should be simple to find them.

Most obvious ones are:

 - all disk controllers probe their devices and
   e.g. ATA disks have 30s timeouts for the identification.
 - USB devices are enumerated

I would try to kill all usb controllers (e.g. via userconf or special test
kernel) and see if that fixes things, or all disk controllers. Then
disable individual USB devices one by one untill you have the culprit (or all
disk controllers).

For the USB part you also could try  kernhist for options USBHIST
and check vmstat output right after booting single user (or from ddb).

Martin

Martin


Home | Main Index | Thread Index | Old Index