Subject: Re: compact flash does not get probed
To: Emmanuel Decitre <ldecitre@web.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 08/11/2003 11:27:28
On Sun, Aug 10, 2003 at 04:19:34PM +0200, Emmanuel Decitre wrote:
> I have problems under 1.6.1 to get a Compact flash card probed on my laptop.
> Booting the official ISO image shows no problem. dmesg tells:
> 
> ...
> BIOS32 rev. 0 found at 0xfd730
> mainbus0 (root)
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> ...
> pcib0 at pci0 dev 7 function 0
> pcib0: vendor 0x1106 product 0x0686 (rev. 0x40)
> ...
> isa0 at pcib0
> ...
> pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
> pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
> pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
> pcmcia0 at pcic0 controller 0 socket 0
> pcmcia1 at pcic0 controller 0 socket 1
> ...
> wdc2 at pcmcia0 function 0 port 0x400-0x40f
> wd1 at wdc2 channel 0 drive 0: <TOSHIBA THNCF064MMA>
> wd1: drive supports 1-sector PIO transfers, LBA addressing
> wd1: 62592 KB, 978 cyl, 4 head, 32 sec, 512 bytes/sect x 125184 sectors
> pcmcia0: card irq 11
> <3>stray interrupt 11
> 
> 
> 
> So, I configured this flashcard to host a tiny kernel and the base package.
> But when I boot on my HD using a kernel coming from either kern-GENERIC_DIAGNOSTIC.tgz
> or kern-GENERIC_LAPTOP,tgz, my wd1 does not get recognized. Here a --side-by-side diff

Maybe try rebuilding a cut-down kernel, with all the ISA devices not
present in the box commented out. I suspect some ISA device probe
mess up with the pcmcia controller.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--