ktery device bude ktery interface (eth[01])?

Jan Stary hans na stare.cz
Čtvrtek Září 9 16:54:47 CEST 2004


Ahoj,

mam jadro 2.4.26/Debian 3.02 ; na motherboardu je onboard sitovka
SiS 900, ve slotu Realtek 8139D.

Jde o to, ze pri bootu jadro najde Realtek, zacne mu rikat
eth0. Pak najde SiSku, a zacne ji rikat eth0, a Realtek
prejmenuje na eth1 (nebo ne?):

# dmesg
sis900.c: v1.08.06 9/24/2002
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xe800, IRQ 10, 00:01:6c:28:23:73.
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 00:09.0
PCI: Sharing IRQ 11 with 00:02.5
eth1: RealTek RTL8139 at 0xc8800000, 00:08:a1:6d:ae:bd, IRQ 11
eth1:  Identified 8139 chip type 'RTL-8100B/8139D'

# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0650 (rev
80)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 25)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012
PCI Audio Accelerator (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS]: Unknown device 7002
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100
Ethernet (rev 91)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]: Unknown
device 6325


Oba drivery jsou primo v jadre (tj. nejsou to moduly).

Da se nejak specifikovat (kernel boot prompt? mit to jako moduly
a davat jim parametry?), ze SiS ma byt vzdy eth0 a Realtek vzdy eth1?
Ono to tak zatim vzdy bylo, ale prece jen, kdyz se takhle rozmysli,
radsi bych to mel nekde explicitne uvedene.

Na vyssich urovnich se pochopitelne pocita s tim, ze patricny kabel
je v patricne karte ...

	Diky

		Honza



Další informace o konferenci Linux