Subject: Re: ATAPI support broken???
To: Mason Loring Bliss <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 02/11/1999 11:17:20
On Feb 10, Mason Loring Bliss wrote
> Hey, all.
> I've been experiencing somewhat random, spontaneous reboots lately. I think
> my power supply (i386 box) was partially fried. I've replaced the power
> supply, and at the same time replaced the CD-ROM drive, which was also
> somewhat fried. Hopefully the reboots will go away now...
> Anyway, the trick is this: This new CD-ROM drive I got isn't seen by the
> kernel. This may be because the ATAPI bus isn't seen by the kernel. My
> dmesg looks like this:
> wdc0 at isa0 port 0x1f0-0x1f7 irq 14
> wd0 at wdc0 channel 0 drive 0: <SAMSUNG WU33205A (3.2GB)>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 3090MB, 6280 cyl, 16 head, 63 sec, 512 bytes/sect x 6330240 sectors
> wd0: 32-bits data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> wdc1 at isa0 port 0x170-0x177 irq 15
> wd1 at wdc1 channel 0 drive 0: <Maxtor 90680D4>
> wd1: drive supports 16-sector pio transfers, lba addressing
> wd1: 6485MB, 13176 cyl, 16 head, 63 sec, 512 bytes/sect x 13281408 sectors
> wd1: 32-bits data port
> wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> Using a pciide kernel doesn't help. Just for kicks, the 1.3.x kernel (1.3.3?)
> I tried saw the CD-ROM drive. (Also, my BIOS sees it, and Windows 98 sees it.)
> Thanks in advance for clues.
Could you turn on debbuging and send me the dmesg ?
(set wdcdebug_mask and wdcdebug_atapi_mask to 0x10 (DEBUG_PROBE). You can
do this either by editing the relevant C files and recompile, or
patching your kernel with gdb:
gdb --write /netbsd
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr