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

autoloading module for pcmcia network card



Hi!

After I finally broke off the adaptor-cable of my old network-card, I now have 
a new noname 8139-based one.
Problem is, that the cardmgr can find and activate the card, but does not load 
the required modules or start the interface. The card works just fine, if I 
modprobe the 8139too-module and configure the interface by hand, but I'd 
rather have this happen automatically, like it worked with my old card.
The following gets logged to /var/log/messages when I do /etc/init.d/pcmcia 
start:

Apr  2 14:42:50 flyer kernel: Linux Kernel Card Services 3.1.22
Apr  2 14:42:50 flyer kernel:   options:  [pci] [cardbus] [pm]
Apr  2 14:42:51 flyer kernel: PCI: Guessed IRQ 9 for device 00:13.0
Apr  2 14:42:51 flyer kernel: PCI: Sharing IRQ 9 with 00:13.1
Apr  2 14:42:51 flyer kernel: PCI: Guessed IRQ 9 for device 00:13.1
Apr  2 14:42:51 flyer kernel: PCI: Sharing IRQ 9 with 00:13.0
Apr  2 14:42:51 flyer kernel: Yenta IRQ list 0c98, PCI irq9
Apr  2 14:42:51 flyer kernel: Socket status: 30000827
Apr  2 14:42:51 flyer kernel: Yenta IRQ list 0c98, PCI irq9
Apr  2 14:42:51 flyer kernel: Socket status: 30000007
Apr  2 14:42:52 flyer kernel: cs: cb_alloc(bus 2): vendor 0x10ec, device 
0x8139
Apr  2 14:42:52 flyer kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Apr  2 14:42:52 flyer kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Apr  2 14:42:52 flyer kernel: cs: IO port probe 0x0800-0x08ff: clean.
Apr  2 14:42:52 flyer kernel: cs: IO port probe 0x0100-0x04ff: excluding 
0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
Apr  2 14:42:52 flyer kernel: cs: IO port probe 0x0a00-0x0aff: clean.

I tried adding the following lines to /etc/pcmcia/config:

device "8139too"
  class "network" module "net/8139too"

card "NoName 10/100"
  manfid 0x10ec, 0x8139
  bind "8139too"

but obviously those don't do the trick.
How do I get the cardmgr to automatically load the 8139too-module and set up 
eth0 (this is debian/testing, kernel 2.4.20)?

Thanks for any help!
Thomas



Reply to: