Subject: Re: ATA/ATAPI kernel redesign
To: Bill Studenmund <wrstuden@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 02/26/2002 20:19:54
On Mon, Feb 25, 2002 at 02:17:56PM -0800, Bill Studenmund wrote:
> Let's talk about the "not even that" cases. I pulled the CD/DVD out of my
> laptop, and there are no jumpers. I doubt there are jumpers inside, and
> given how this machine behaves, I really don't want to open it to look.
> 
> Here's the dmesg output:
> 
> pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> pciide0: bus-master DMA support present
> pciide0: primary channel wired to compatibility mode
> wd0 at pciide0 channel 0 drive 0: <FUJITSU MHK2120AT>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 11513 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 23579136 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> pciide0: primary channel interrupting at irq 14
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
> pciide0: secondary channel wired to compatibility mode
> atapibus0 at pciide0 channel 1
> cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-C2402, 3000000170, 1009> type 5 cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> pciide0: secondary channel interrupting at irq 15
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
> 
> There usually is a 30 second delay between atapibus0 showing up and cd0
> showing up. I believe this is the 30 second delay we're talking about. How
> can I fix it?

Hum in this case I can't see much solutions.
Are you sure it's 30s ? Maybe this drive really needs a long time to recover
from a reset ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--