[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing a rtl8139 wireless cardbus card



I'm trying to install a Linksys WPC11 v4 CardBus card on my IBM 240z
laptop. I'm running debian with a custom 2.4.27 kernel and
pcmcia-modules 3.2.5-10 module installed from the .deb source package.

The card uses the Realtek rtl8139 chipset (confirmed by runing 'cardctl
ident').

/proc/pci shows the CardBus bridge as being:
  Bus  0, device 10, function  0:
    CardBus bridge: Texas Instruments PCI1211 (rev 0).
    IRQ 11.      Master Capable.  Latency=168.  Max Lat=4.
Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].

I've tried pretty much all the various advice and drivers about getting
this card to work and the closest I've come is with the drivers at
scyld.com/rtl8139.html

>From the scyld.com site I've downloaded and complied rtl8139.c,
cb_shim.c, pci-scan.c and cb_enabler.c.  All these modules can be
inserted into the kernel with no complaints but the rtl8139 remains
'unused' according to lsmod, and ofcourse I cann't get card to be
recongised by the system.

I've also edited /etc/pcmica/config.opts to include:
  device "realtek" class "network"
    module "cb_enabler", "pci-scan", "cb_shim", "rtl8139"
  card "RealTek RTL8139B"
    manfid 0x0000, 0x024c  bind "realtek"

This recongises that the card has been inserted, loads the modules and
then says (in /var/log/syslog):
debian kernel: cs: cb_free(bus 1)
debian cardmgr[415]: executing: 'modprobe -r rtl8139'
debian cardmgr[415]: executing: 'modprobe -r cb_shim'
debian cardmgr[415]: executing: 'modprobe -r pci-scan'
debian cardmgr[415]: executing: 'modprobe -r cb_enabler'
debian cardmgr[415]: socket 0: RealTek RTL8139B
debian kernel: cs: cb_alloc(bus 1): vendor 0x10ec, device 0x8180
debian cardmgr[415]: executing: 'modprobe cb_enabler'
debian cardmgr[415]: executing: 'modprobe pci-scan'
debian kernel: pci-scan.c:v1.12 7/30/2003  Donald Becker
<becker@scyld.com> http://www.scyld.com/linux/drivers.html
debian cardmgr[415]: executing: 'modprobe cb_shim'
debian kernel: cb_shim.c:v1.03 7/12/2002  Donald Becker
<becker@scyld.com>
debian kernel:  http://www.scyld.com/linux/drivers.html
debian cardmgr[415]: executing: 'modprobe rtl8139'
debian kernel: rtl8139.c:v1.24 11/13/2003 Donald Becker,
becker@scyld.com.
debian kernel: http://www.scyld.com/network/rtl8139.html
debian cardmgr[415]: get dev info on socket 0 failed: No such device
debian kernel: cs: cb_config(bus 1)
debian kernel:   fn 0 bar 1: io 0x800-0x8ff
debian kernel:   fn 0 bar 2: mem 0x60001000-0x600011ff
debian kernel:   irq 11
debian kernel: cs: cb_enable(bus 1)
debian kernel:   bridge io map 0 (flags 0x21): 0x800-0x8ff
debian kernel:   bridge mem map 0 (flags 0x1): 0x60001000-0x60001fff
debian kernel: No driver match for device 818010ec at 1/0.
debian kernel: cs: cb_disable(bus 1)
debian kernel: cs: cb_release(bus 1)

So whats going wrong here?  Do i need to do something else to make the
rtl8939 module realise it's meant to be looking at the cardbus? Any
suggestions or solutions much appricated.

If you need more info let me know?

..eddie



Reply to: