Newsgroup: it.comp.os.linux.iniziare
Titolo: [LONG] Aiuto con 2 schede di rete ISA e PCI su Mandrake 9.1

Ciao a tutti, ho il seguente problema:
Ho tirato su una linux box con dei vecchi pezzi di pc giusto per fare
qualche test casalingo. Avevo due schede di rete, entrambe realtek una isa
8109 e una pci 8139c.
In fase di installazione me ne riconosceva solamente una, la 8109 e l'altra
non sono riuscito a fargliela vedere nemmeno dopo l'installazione. Ho
provato di tutto dai tool grafici di mandrake alla shell.
modprobe ne me la vede
modprobe ne2k-pci da` degli errori nel modulo
scrivo in fondo l'output di dmseg e lspci se puo` esservi d'aiuto. inoltre
mi han spiegato che forse dovrei fare un append nel lilo.conf e inserire i/o
e irq delle schede. ma non ho idea di come scoprirli.
Grazie,
Mauro
[root@localhost root]# dmesg | grep eth
NE*000 ethercard probe at 0x220: 52 54 4c 0b 2f b9
eth0: NE2000 found at 0x220, using IRQ 11.
[root@localhost root]# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev
03)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
00:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
06)
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
[root@localhost root]# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev
3).
      Master Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xe4000000 [0xe7ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 3).
      Master Capable.  Latency=64.  Min Gnt=136.
  Bus  0, device   4, function  0:
    ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
  Bus  0, device   4, function  1:
    IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
      Master Capable.  Latency=32.
      I/O at 0xb800 [0xb80f].
  Bus  0, device   4, function  2:
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
      IRQ 9.
      Master Capable.  Latency=32.
      I/O at 0xb400 [0xb41f].
  Bus  0, device   4, function  3:
    Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device  11, function  0:
    Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 6).
      IRQ 5.
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=20.
      I/O at 0xb000 [0xb01f].
  Bus  0, device  11, function  1:
    Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 6).
      Master Capable.  Latency=32.
      I/O at 0xa800 [0xa807].
  Bus  1, device   0, function  0:
    VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 1).
      IRQ 10.
      Non-prefetchable 32 bit memory at 0xde000000 [0xdfffffff].
      Prefetchable 32 bit memory at 0xe2000000 [0xe3ffffff].
      I/O at 0xd800 [0xd8ff].
[root@localhost root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:4C:0B:2F:B9
          inet addr:10.0.0.4  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:848 errors:0 dropped:0 overruns:0 frame:0
          TX packets:724 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:100
          RX bytes:85213 (83.2 Kb)  TX bytes:202294 (197.5 Kb)
          Interrupt:11 Base address:0x220
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:126 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8368 (8.1 Kb)  TX bytes:8368 (8.1 Kb)
[root@localhost root]# modprobe ne2k-pci
/lib/modules/2.4.21-0.13mdk/kernel/drivers/net/ne2k-pci.o.gz: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
modprobe: insmod
/lib/modules/2.4.21-0.13mdk/kernel/drivers/net/ne2k-pci.o.gz failed
modprobe: insmod ne2k-pci failed

ho trovato anche altre info...
/proc/isapnp
Card 1 'RTL8019:Realtek Plug & Play Ethernet Card' PnP version 1.0 Product
version 1.0
  Logical device 0 'RTL8019:Unknown'
    Supported registers 0x2
    Compatible device PNP80d6
    Device is active
    Active port 0x220
    Active IRQ 11 [0x2]
    Resources 0
      Priority preferred
      Port 0x220-0x380, align 0x1f, size 0x20, 10-bit address decoding
      IRQ 3,4,5,2/9,10,11,12,15 High-Edge
/proc/interrupts
           CPU0
  0:     264804          XT-PIC  timer
  1:        161          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  EMU10K1
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  usb-uhci
 11:       1968          XT-PIC  NE2000
 14:       8472          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0
LOC:     264775
ERR:          0
MIS:          0
/proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
0220-023f : eth0
02f8-02ff : serial(auto)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
a800-a807 : Creative Labs SB Live! MIDI/Game Port
b000-b01f : Creative Labs SB Live! EMU10k1
  b000-b01f : EMU10K1
b400-b41f : Intel Corp. 82371AB/EB/MB PIIX4 USB
  b400-b41f : usb-uhci
b800-b80f : Intel Corp. 82371AB/EB/MB PIIX4 IDE
  b800-b807 : ide0
  b808-b80f : ide1
d000-dfff : PCI Bus #01
  d800-d8ff : 3Dfx Interactive, Inc. Voodoo 3
e400-e43f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
e800-e81f : Intel Corp. 82371AB/EB/MB PIIX4 ACPI
dai quali deduco che la scheda che mi riconosce e` la isa con indirizzi
0x220 irq 11
ma e` strano che non mi trovi proprio la pci...