Re: Linux hangs during IDE initialization at boot for 30 sec
From: Benjamin Herrenschmidt
Date: Tue Feb 01 2005 - 18:20:00 EST
On Tue, 2005-02-01 at 20:22 +0000, Richard Hughes wrote:
> On Tue, 01 Feb 2005 12:57:33 +0100, Michael Brade wrote:
> > Hi,
> > since at least kernel 2.6.9 I'm having a problem booting linux - it hangs
> > after this
> > Probing IDE interface ide0...
> > hda: HITACHI_DK23DA-30, ATA DISK drive
> > elevator: using anticipatory as default io scheduler
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > Probing IDE interface ide1...
> > hdc: TOSHIBA DVD-ROM SD-R2212, ATAPI CD/DVD-ROM drive
> > ide1 at 0x170-0x177,0x376 on irq 15
> > After about 30 seconds everything continues fine with
> > hda: max request size: 128KiB
> > I found additional lines in the log just before the line above:
> Same here on 2.6.11-rc2-bk3 using a *Toshiba* Satellite Pro A10.
> messages can be found here:
This looks like bogus HW, or bogus list of IDE interfaces ...
The IDE layer waits up to 30 seconds for a device to drop it's busy bit,
which is necessary for some drives that aren't fully initialized yet.
I suspect in your case, it's reading "ff", which indicates either that
there is no hardware where the kernel tries to probe, or that there is
bogus IDE interfaces which don't properly have the D7 line pulled low so
that BUSY appears not set in absence of a drive.
I'm not sure how the list of intefaces is probed on this machine, that's
probably where the problem is.
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/