Re: Kernel append="netdev=irq=21,io=0x3000,name=eth0"a not working
Em Qua, 2004-12-01 às 13:10, Theodore Knab escreveu:
> I have a problem with BIOS messing up the order in which my three ethernet cards
> are coming up.
>
> More specifically, I want the this:
>
> eth0 = motherboard ethernet card (eepro100)
> 0000:00:0e.0, 00:D0:B7:89:AD:6D, I/O at 0x2040, IRQ 21.
>
> eth1 = second card: slot 2 pci (eepro100)
> 0000:02:04.0, 00:0E:0C:61:15:F1, I/O at 0x3000, IRQ 20.
>
> eth2 = third card: slot 4 pci (eepro100)
> 0000:00:0b.0, 00:0E:0C:61:15:F8, I/O at 0x2000, IRQ 18.
>
> Currently, they are coming up in this order:
> eth0: 0000:00:0b.0, 00:0E:0C:61:15:F8, I/O at 0x2000, IRQ 18.
> eth1: 0000:00:0e.0, 00:D0:B7:89:AD:6D, I/O at 0x2040, IRQ 21.
> eth2: 0000:02:04.0, 00:0E:0C:61:15:F1, I/O at 0x3000, IRQ 20.
>
> The order was right until I added the third card. Yes, they are all using
> the same driver.
>
> When I added the third network device, the devices all shuffle around.
>
> Anybody know how to fix this or what might have caused this ?
>
> I have been trying to use the following line in my lilo.conf, which works on
> one other system with three NICS (2 of which are the same):
>
> append="netdev=irq=21,io=0x2040,name=eth0 netdev=irq=20,io=0x3000,name=eth1 netdev=irq18,io=0x2000,name=eth2"
>
> On the one with problems, I have 3 similar chip sets and the netdev append line
> does not work. Anybody else seen this and is there a work around ?
>
> Kernel : Linux water 2.6.8 #3 SMP Tue Nov 30
> Distro : hybrid Woody/Sarge
> Original install disk: Potato
>
> Devices: lspci -v
>
> 00:00.0 Host bridge: Intel Corp. 440GX - 82443GX Host bridge
> Flags: bus master, medium devsel, latency 64
> Memory at f8000000 (32-bit, prefetchable) [size=64M]
> Capabilities: [a0] AGP version 1.0
>
> 00:01.0 PCI bridge: Intel Corp. 440GX - 82443GX AGP bridge (prog-if 00 [Normal decode])
> Flags: bus master, 66Mhz, medium devsel, latency 64
> Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
> I/O behind bridge: 00003000-00003fff
> Memory behind bridge: f4300000-f44fffff
>
> 00:0b.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
> Subsystem: Intel Corp. EtherExpress PRO/100+
> Flags: bus master, medium devsel, latency 64, IRQ 18
> Memory at f4200000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 2000 [size=64]
> Memory at f4000000 (32-bit, non-prefetchable) [size=1M]
> Expansion ROM at <unassigned> [disabled] [size=1M]
> Capabilities: [dc] Power Management version 2
>
> 00:0c.0 SCSI storage controller: Adaptec 7896
> Subsystem: Adaptec: Unknown device 0053
> Flags: bus master, medium devsel, latency 64, IRQ 19
> BIST result: 00
> I/O ports at 2400 [disabled] [size=256]
> Memory at f4202000 (64-bit, non-prefetchable) [size=4K]
> Expansion ROM at <unassigned> [disabled] [size=128K]
> Capabilities: [dc] Power Management version 1
>
> 00:0c.1 SCSI storage controller: Adaptec 7896
> Subsystem: Adaptec: Unknown device 0053
> Flags: bus master, medium devsel, latency 64, IRQ 19
> BIST result: 00
> I/O ports at 2800 [disabled] [size=256]
> Memory at f4203000 (64-bit, non-prefetchable) [size=4K]
> Capabilities: [dc] Power Management version 1
>
> 00:0e.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
> Subsystem: Intel Corp. 82559 Fast Ethernet LAN on Motherboard
> Flags: bus master, medium devsel, latency 64, IRQ 21
> Memory at f4201000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 2040 [size=64]
> Memory at f4100000 (32-bit, non-prefetchable) [size=1M]
> Expansion ROM at <unassigned> [disabled] [size=1M]
> Capabilities: [dc] Power Management version 2
>
> 00:12.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
> Flags: bus master, medium devsel, latency 0
>
> 00:12.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
> Flags: bus master, medium devsel, latency 64
> I/O ports at 2080 [size=16]
>
> 00:12.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
> Flags: bus master, medium devsel, latency 64, IRQ 21
> I/O ports at 20a0 [disabled] [size=32]
>
> 00:12.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
> Flags: medium devsel, IRQ 9
>
> 00:14.0 VGA compatible controller: Cirrus Logic GD 5480 (rev 23) (prog-if 00 [VGA])
> Subsystem: Cirrus Logic CL-GD5480
> Flags: bus master, medium devsel, latency 64
> Memory at f6000000 (32-bit, prefetchable) [size=32M]
> Memory at f4204000 (32-bit, non-prefetchable) [size=4K]
> Expansion ROM at <unassigned> [disabled] [size=32K]
>
> 01:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21150 (rev 06) (prog-if 00 [Normal decode])
> Flags: bus master, fast Back2Back, 66Mhz, medium devsel, latency 240
> Bus: primary=01, secondary=02, subordinate=02, sec-latency=68
> I/O behind bridge: 00003000-00003fff
> Memory behind bridge: f4300000-f44fffff
> Capabilities: [dc] Power Management version 1
>
>
> 02:04.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
> Subsystem: Intel Corp. EtherExpress PRO/100+
> Flags: bus master, medium devsel, latency 208, IRQ 20
> Memory at f4400000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 3000 [size=64]
> Memory at f4300000 (32-bit, non-prefetchable) [size=1M]
> Expansion ROM at <unassigned> [disabled] [size=1M]
> Capabilities: [dc] Power Management version 2
>
>
Hi Ted
Try to use interfaces. See man page. Here an example:
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
hwaddress ether 00:0e:a6:bc:ad:29
auto eth1
iface eth1 inet static
address 200.207.......
netmask 255.255.......
network 200.207......
broadcast 200.207.......
gateway 200.207........
hwaddress ether 00:08:54:1a:7b:d6
auto eth2
iface eth2 inet static
address 172.16.0.1
netmask 255.255.255.0
network 172.16.0.0
broadcast 172.16.0.255
hwaddress ether 00:08:54:1a:7b:94
best regards
>
> --
> ------------------------------------------
> Ted Knab
> Chester, Maryland 21619 USA
> ------------------------------------------
> The perception of knowledge is an egotistical farce in which
> humans extrapolate from random simplifications.
--
Paulo Ricardo Bruck - consultor
Contato Global Solutions
tel 011 5031-4932 fone/fax 011 5034-1732 cel 011 9235-4327
Reply to: