Subject: Re: web lossage again.. (PCIIDE debug option?)
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/12/1999 19:02:31
On Mon, Jul 12, 1999 at 12:00:03PM -0400, Andrew Gillham wrote:
> 
> Ok, so what is the correct XXX_DEBUG option to enable the ATAPI
> probe and other diagnostic infomation?  The CDROM for my Dell
> notebook isn't being recognized when it is plugged into the slot
> on my docking station.  It works in the internal notebook slot
> though.  And.. once it worked in the docking station, when I hadn't
> popped it in early enough for the BIOS to find it.  Yet, try as I
> might, I can't reproduce that. :(
> 
> Anyway, the debug options didn't jump out at me, and I couldn't
> search the mailing lists, so here I am.. :)
> 
> Here's my dmesg output.
> 
> [...]
> pciide1 at pci1 dev 5 function 0: CMD Technology PCI0646
> pciide1: bus-master DMA support present
> pciide1: primary channel configured to native-PCI mode
> pciide1: using irq 10 for native-PCI interrupt
> [...]

Oh, this is an interesing test case :) Native mode is  supposed to work, but
I don't think it has ever been tested.

Well, what you can do is set wdcdebug_atapi_mask, wdcdebug_mask and
wdcdebug_pciide_mask to 0x10 (DEBUG_PROBE). You can do it in the sources and
recompile it, or patch the kernel with gdb:
gdb --write /netbsd
set wdcdebug_atapi_mask=0x10
set wdcdebug_mask=0x10
set wdcdebug_pciide_mask=0x10
quit


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