[Bug 7706] PCMCIA bridge not working

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Wed Aug 8 16:20:31 EDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=7706





------- Comment #31 from susemuse27 at gmx.de  2007-08-08 13:27 -------
I adjusted config.opts in terms of io-ports and those are clean now, no 
more "excluding...":
........................................
pcmcia: registering new device pcmcia0.0
cs: IO port probe 0x100-0x2f7: clean.
cs: IO port probe 0x300-0x3af: clean.
cs: IO port probe 0x3e0-0x3ff: clean.
cs: IO port probe 0x4d8-0x4ff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
ds: re-scanning socket 0
ds: update device information for 0.0
ds: re-scanning socket 0
ds: update device information for 0.0
ds: registering driver serial_cs
ds: trying to match 0.0 to serial_cs
ds: trying to match 0.0 to serial_cs
ds: trying to match 0.0 to serial_cs...
........................................

that job was easy...
but memory probe still returns the usual
..................................................
cs: memory probe 0xfba00000-0xfeafffff: excluding 0xfbd10000-0xfc01ffff 
0xfc330000-0xfd27ffff 0xfdec0000-0xfe1cffff 0xfe7f0000-0xfeafffff
..................................................

changing the memorysettings in config.opts accordingly doesn't have any 
influence...
thanks a lot so far for your efforts!


bugme-daemon at bugzilla.kernel.org schrieb:
> http://bugzilla.kernel.org/show_bug.cgi?id=7706
>
>
> ------- Comment #30 from daniel.ritz at gmx.ch  2007-08-07 16:08 -------
>   
>> pccard: PCMCIA card inserted into slot 0
>> ds: ds_event(0x000004, 0, 0xc15d8c28)
>> cs: memory probe 0xfba00000-0xfeafffff: excluding 0xfbd10000-0xfc01ffff
>> 0xfc330000-0xfd27ffff 0xfdec0000-0xfe1cffff 0xfe7f0000-0xfeafffff
>> ds: adding device to 0, function 0
>> ds: devname is pcmcia0.0
>> ds: creating config_t for 0.0
>> pcmcia: registering new device pcmcia0.0
>> ds: registering driver serial_cs
>> ds: trying to match 0.0 to serial_cs
>> ds: trying to match 0.0 to serial_cs
>> ds: trying to match 0.0 to serial_cs
>> ds: trying to match 0.0 to serial_cs
>> ds: trying to match 0.0 to serial_cs
>> ..........
>>
>> the entire dmesg is at http://phpfi.com/254686
>>     
>
> ok, the things doesn't look to bad. resources are set up and it tries
> to bind the card to serial_cs. but here it should go one with either
> an error message or a registered serial port. but it doesn't do so.
>
> so it's an unchecked return value somewhere so that pcmcia thinks
> everything is ok. looks like uart_configure_port() in serial_core.c
> fails silently...i need to so some debug patch for serial_core.c,
> serial_cs.c and 8250.c...but no time before saturday i think...
>
> meanwhile you could play with your config.opts and try to include/exclude
> some port ranges...mine are:
>         include port 0x100-0x3af
>         include port 0x3e0-0x4ff
>         include port 0x820-0x8ff
>         include port 0xc00-0xcf7
> also try to exclude the ports initially reported in dmesg like
>         cs: IO port probe bla-bla: clean
> one at a time. you can also do that via sysfs by just using
>         echo -n "0x100-0x3af" >
> /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_io
> to add a new io range or
>         echo -n "- 0x100-0x3af" >
> /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_io
> to remove an io range. just eject/insert the card to test new settings.
> to display the settings just use 'cat' on the file.
>
> for starters try with the ranges reported by the working kernel...
>
> -------------------------------------------------------
>
>
>   


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the linux-pcmcia mailing list