Subject: Re: pcmcia cd drive prob
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 03/10/2006 19:21:11
On Thu, Mar 09, 2006 at 10:23:26PM +0100, Manuel Bouyer wrote:
> This is in wdc_pcmcia.c, in means that wdc_pcmcia_validate_config_io and
> wdc_pcmcia_validate_config_memory failed, I guess.
> Someone with clues about pcmcia will have to look why

To help see what's going on I just tried booting with -d. Here's a surprise:

> boot netbsd.bios.ioapic -d
booting hd0a:netbsd.bios.ioapic (howto 0x40)
3365632+93904+231920 [231072+217179]=0x3f4360
WARNING: memory map entry overlaps with ''Compatibility Holes'': 0xeee00/0x200/0x4
Loaded inital symtab at 0xc04878c0, strtab at 0xc04c0314, # entries 13666
Stopped at     netbsd:cpu_Debugger+0x4:        leave

init386(4fe000,0,0,ffff,cf9b00) at netbsd:init386_0x4c8


and slightly more info:

pcmcia0: ++enabled_count = 1
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info:  , NinjaATA-, V1.0, AP00 
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: unspecified, ccr addr 200 mask 3
pcmcia0: function 0, config table entry 33: I/O card; irq mask d068; iomask 10, 
iospace 180-187 386-387; memspace 0-fff; io8 io16 irqlevel
pcmcia0: function 0, config table entry 34: I/O card; irq mask d068; iomask 10, 
iospace 190-197 396-397; memspace 0-fff; io8 io16 irqlevel
pcmcia0: function 0, config table entry 35: I/O card; irq mask d068; iomask 10, 
iospace 1a0-1a7 3a6-3a7; memspace 0-fff; io8 io16 irqlevel
wdc0 at pcmcia0 function 0: < , NinjaATA-, V1.0, AP00 >
pcmcia_config_alloc: io 0 start=180 length=8 align=10000 skew=180
pcmcia_config_alloc: io 0 start=190 length=8 align=10000 skew=190
pcmcia_config_alloc: io 0 start=1a0 length=8 align=10000 skew=1a0
pcmcia_function_configure: no config entry found, error=1
pcmcia_function_configure: no config entry found, error=22
wdc0: configure failed, error=22
pcmcia0: --enabled_count = 0
pcmcia0: deactivating wdc0 (function 0)
pcmcia0: detaching wdc0 (function 0)
wdc0 detached




Cheers,

Patrick