long boot delays caused by 070ad7e7 floppy change
From: Andi Kleen
Date: Mon Jul 02 2012 - 18:46:45 EST
Jiri,
One of my test systems has a new 20s+ boot delay in 3.5rc*
It takes the floppy driver that long to determine I don't
have a floppy
[ 2.386322] calling floppy_init+0x0/0xe46 @ 1
[ 2.448977] Refined TSC clocksource calibration: 2594.106 MHz.
[ 2.449021] Switching to clocksource tsc
[ 22.371560] floppy0: no floppy controllers found
[ 22.371676] initcall floppy_init+0x0/0xe46 returned -19 after 19553621 usecs
In older kernels the delay is only about 3s.
I tracked it down to
commit 070ad7e793dc6ff753ee682ef7790b3373b471f6
Author: Jiri Kosina <jkosina@xxxxxxx>
Date: Fri May 18 13:50:25 2012 +0200
floppy: convert to delayed work and single-thread wq
The problem is not completely stable, a bisect actually doesn't
find it and reverting the patch on current HEAD also doesn't help.
However when setting the tree manually to one commit before
yours the problem is gone and adding your patch adds it.
I think the floppy init should run asynchronous, but it
would be still good to make this faster again. Since block
devices need to be synchronized at end of boot there is no
way to hide a 20s delay completely.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/