Re: 2.5.20 - Xircom PCI Cardbus doesn't work

Alessandro Suardi
2002-06-10T21:05:32Z

[-- Attachment #1: Type: text/plain, Size: 1971 bytes --]

Patrick Mochel wrote:
> On 9 Jun 2002, Peter Osterlund wrote:
>
>
>>Tobias Diedrich <ranma@gmx.at> writes:
>>
>>
>>>Peter Osterlund wrote:
>>>
>>>>Alessandro Suardi <alessandro.suardi@oracle.com> writes:
>>>>
>>>>
>>>>>In 2.5.19 I got an oops on boot (kindly fixed by Peter's patch),
>>>>> in 2.5.20 no oopsen but eth0 isn't seen anymore by the kernel:
>>>>
>>>>Same problem here. My network card isn't seen either by the kernel in
>>>>2.5.20. If it's still broken in 2.5.21, maybe I'll try to fix it.
>>>
>>>This oneliner fixes it for me, but I don't know if that's the right fix:
>>
>>Thanks, it fixes my problem too. (This patch is still needed in
>>2.5.21.) However, in 2.5.21 I get an oops at shutdown in
>>device_detach. This happens both with and without your patch:
>
>
> Sorry about the delay. Could you please try this patch and let me know if
> it helps? It attempts to treat cardbus more like PCI, and let the PCI
> helpers do the probing.
>
> Note that it's based on the assumption that there is a cardbus bridge for
> each cardbus slot. This appears to be true on all systems I've seen, but
> it may not hold for all systems. If other people are feeling adventurous,
> please give this a try and let me know if it works.
>
> You can pull from bk://ldm.bkbits.net/linux-2.5-cardbus
>
> Thanks,
>
> -pat
>
> ChangeSet@1.494, 2002-06-10 08:35:32-07:00, mochel@osdl.org
> Treat cardbus more like PCI: let the PCI helpers do more WRT probing
>
> drivers/pci/hotplug.c | 2
> drivers/pcmcia/cardbus.c | 114 ++++++++++++++++-------------------------------
> 2 files changed, 40 insertions, 76 deletions

[snipped patch]

Still no go, and the card functions are misdetected - cardmgr
attempts to load memory_cs. Full dmesg and /var/log/messages
for this boot in the attached .tar.gz file.

Thanks,

--alessandro

"the hands that build / can also pull down
even the hands of love"
(U2, "Exit")

[-- Attachment #2: bootmsgs.tar.gz --]
[-- Type: application/x-gzip, Size: 4723 bytes --]