[realtek] Insmod problem

Julien Cubizolles Julien.Cubizolles@lkb.ens.fr
Wed, 1 Aug 2001 19:33:28 +0200 (CEST)


I cannot load the 8139too module for my pcmcia ethernet card.
First, my card is not recognized by default by cardmgr : I added :

	device "Zonet_adapter"
	  class "network" module "kernel/drivers/net/8139too"

	card "10/100Mbps Ethernet Card"
	  manfid 0x0000, 0x024c
	  bind "Zonet_adapter"

in my /etc/pcmcia/config.opts. Now insmod tries to load the module but I
get :

Jul 31 09:32:46 localhost kernel: 8139too Fast Ethernet driver 0.9.15c loaded
Jul 31 09:32:46 localhost kernel: PCI: No IRQ known for interrupt pin A of device . Please try using pci=biosirq.
Jul 31 09:32:46 localhost kernel: 8139too: : region #0 not a PIO resource, aborting
Jul 31 09:32:46 localhost insmod: 8139too.o.gz: init_module: No such device
Jul 31 09:32:46 localhost insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters

What are the options I can pass to insmod for this module, I've already
tried pci=## (value given by Windows) ?

By the way, how can several devices use the same IRQ : cat /proc/pci gives

PCI devices found:
  Bus  0, device   8, function  0:
    Communication controller: PCI device 11c1:0420 (Lucent Microelectronics) (rev 0).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=252.Max Lat=14.
      Non-prefetchable 32 bit memory at 0xefffff00 [0xefffffff].
      I/O at 0xff78 [0xff7f].
      I/O at 0xfe00 [0xfeff].
  Bus  0, device  11, function  0:
    CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=128.Max Lat=4.
      Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
  Bus  0, device  11, function  1:
    CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (#2) (rev 32).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=128.Max Lat=4.
      Non-prefetchable 32 bit memory at 0x10001000 [0x10001fff].
  Bus  0, device  12, function  0:
    Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller] (rev 0).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=5.Max Lat=25.
      Non-prefetchable 32 bit memory at 0xefff0000 [0xefff7fff].
      I/O at 0xfdc0 [0xfdff].
      I/O at 0xfdbc [0xfdbf].
  Bus  1, device   0, function  0:
    VGA compatible controller: S3 Inc. 86C270-294 Savage/MX-/IX (rev 19).
      IRQ 11.
      Master Capable.  Latency=248.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
  Bus 20, device   0, function  0:
    Ethernet controller:  (rev 16).
      Master Capable.  No bursts.  Min Gnt=32.Max Lat=64.

All these devices seem to use the same IRQ. What about the different buses
?

Thank you


Julien