Subject: Re: ATA/ATAPI kernel redesign
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 02/25/2002 14:17:56
On Mon, 25 Feb 2002, Thor Lancelot Simon wrote:

> On Mon, Feb 25, 2002 at 12:21:34PM -0800, Bill Studenmund wrote:
> > On Mon, 25 Feb 2002, Thor Lancelot Simon wrote:
> >
> > All the people who have them? Regardless of their legality, they happen.
> > And they happen in cases where we can't do much about it.
>
> Nonsense.  All it ever takes to avoid this situation is *one jumper*,
> and usually not even that.

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?

Take care,

Bill