Re: 2.5.20 - Xircom PCI Cardbus doesn't work

From: Alessandro Suardi (alessandro.suardi@oracle.com)
Date: Mon Jun 10 2002 - 15:59:18 EST


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")



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:19 EST