Attached Files | dlink.txt [^] (17,800 bytes) 2007-08-06 14:54 [Show Content] [Hide Content]# kudzu -p
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 21152 PCI-to-PCI Bridge"
vendorId: 8086
deviceId: b152
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 5
pcidev: 1
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 Hub PCI Bridge"
vendorId: 8086
deviceId: 1460
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 4
pcidev: 1f
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 I/OxAPIC"
vendorId: 8086
deviceId: 1461
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 4
pcidev: 1e
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 Hub PCI Bridge"
vendorId: 8086
deviceId: 1460
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 4
pcidev: 1d
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 I/OxAPIC"
vendorId: 8086
deviceId: 1461
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 4
pcidev: 1c
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 Hub PCI Bridge"
vendorId: 8086
deviceId: 1460
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 1f
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 I/OxAPIC"
vendorId: 8086
deviceId: 1461
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 1e
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 Hub PCI Bridge"
vendorId: 8086
deviceId: 1460
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 1d
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82870P2 P64H2 I/OxAPIC"
vendorId: 8086
deviceId: 1461
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 1c
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 82801CA/CAM SMBus Controller"
vendorId: 8086
deviceId: 2483
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1f
pcifn: 3
-
class: OTHER
bus: PCI
detached: 0
driver: i8xx_tco
desc: "Intel Corporation 82801CA LPC Interface Controller"
vendorId: 8086
deviceId: 2480
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1f
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: hw_random
desc: "Intel Corporation 82801 PCI Bridge"
vendorId: 8086
deviceId: 244e
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1e
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation E7500/E7501 Hub Interface C PCI-to-PCI Bridge"
vendorId: 8086
deviceId: 2545
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 3
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation E7500/E7501 Hub Interface B PCI-to-PCI Bridge"
vendorId: 8086
deviceId: 2543
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 2
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation E7500/E7501 Host RASUM Controller"
vendorId: 8086
deviceId: 2541
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 0
pcifn: 1
-
class: OTHER
bus: PCI
detached: 0
driver: e7xxx_edac
desc: "Intel Corporation E7501 Memory Controller Hub"
vendorId: 8086
deviceId: 254c
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 0
pcifn: 0
-
class: OTHER
bus: USB
detached: 0
driver: unknown
desc: "Linux 2.6.9-55.EL.endian19-smp uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 1
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.9-55.EL.endian19-smp uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
driver: unknown
desc: "Linux 2.6.9-55.EL.endian19-smp uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 2
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.9-55.EL.endian19-smp uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
driver: unknown
desc: "Linux 2.6.9-55.EL.endian19-smp uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 3
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.9-55.EL.endian19-smp uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: PSAUX
detached: 0
driver: pcspkr
desc: "PC Speaker"
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 6
pcidev: 7
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 6
pcidev: 5
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 6
pcidev: 6
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 6
pcidev: 4
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: e1000
desc: "Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)"
vendorId: 8086
deviceId: 1010
subVendorId: 8086
subDeviceId: 1011
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 2
pcifn: 1
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: e1000
desc: "Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)"
vendorId: 8086
deviceId: 1010
subVendorId: 8086
subDeviceId: 1011
pciType: 1
pcidom: 0
pcibus: 3
pcidev: 2
pcifn: 0
-
class: SCSI
bus: PCI
detached: 0
driver: aic79xx
desc: "Adaptec AIC-7902B U320"
vendorId: 9005
deviceId: 801d
subVendorId: 9005
subDeviceId: 005e
pciType: 1
pcidom: 0
pcibus: 7
pcidev: 2
pcifn: 1
-
class: SCSI
bus: PCI
detached: 0
driver: aic79xx
desc: "Adaptec AIC-7902B U320"
vendorId: 9005
deviceId: 801d
subVendorId: 9005
subDeviceId: 005e
pciType: 1
pcidom: 0
pcibus: 7
pcidev: 2
pcifn: 0
-
class: CDROM
bus: IDE
detached: 0
device: hda
driver: ignore
desc: "HL-DT-STDVD-ROM GDR8162B"
-
class: VIDEO
bus: PCI
detached: 0
driver: Card:ATI Rage XL
desc: "ATI Technologies Inc Rage XL"
vendorId: 1002
deviceId: 4752
subVendorId: 1002
subDeviceId: 0008
pciType: 1
pcidom: 0
pcibus: 8
pcidev: 1
pcifn: 0
-
class: FLOPPY
bus: MISC
detached: 0
device: fd0
driver: unknown
desc: "3.5" 1.44MB floppy drive"
-
class: HD
bus: SCSI
detached: 0
device: sda
driver: ignore
desc: "Maxtor ATLAS10K4_36SCA"
host: 0
id: 0
channel: 0
lun: 0
generic: sg0
-
class: HD
bus: SCSI
detached: 0
device: sdb
driver: ignore
desc: "Hitachi HUS103014FL3800"
host: 0
id: 1
channel: 0
lun: 0
generic: sg1
-
class: KEYBOARD
bus: PSAUX
detached: 0
driver: ignore
desc: "AT Translated Set 2 keyboard"
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "Intel Corporation 82801CA/CAM USB Controller #3"
vendorId: 8086
deviceId: 2487
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1d
pcifn: 2
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "Intel Corporation 82801CA/CAM USB Controller #2"
vendorId: 8086
deviceId: 2484
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1d
pcifn: 1
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "Intel Corporation 82801CA/CAM USB Controller #1"
vendorId: 8086
deviceId: 2482
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1d
pcifn: 0
-
class: IDE
bus: PCI
detached: 0
driver: ata_piix
desc: "Intel Corporation 82801CA Ultra ATA Storage Controller"
vendorId: 8086
deviceId: 248b
subVendorId: 15d9
subDeviceId: 3480
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1f
pcifn: 1
=============================================================================================
# lspci -v
00:00.0 Host bridge: Intel Corporation E7501 Memory Controller Hub (rev 01)
Subsystem: Super Micro Computer Inc: Unknown device 3480
Flags: bus master, fast devsel, latency 0
Capabilities: [40] Vendor Specific Information
00:00.1 Class ff00: Intel Corporation E7500/E7501 Host RASUM Controller (rev 01)
Subsystem: Super Micro Computer Inc P4DP6
Flags: fast devsel
00:02.0 PCI bridge: Intel Corporation E7500/E7501 Hub Interface B PCI-to-PCI Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=03, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: fc100000-fc2fffff
00:03.0 PCI bridge: Intel Corporation E7500/E7501 Hub Interface C PCI-to-PCI Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=04, subordinate=07, sec-latency=0
I/O behind bridge: 00004000-00005fff
Memory behind bridge: fc300000-fc4fffff
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 2000 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at 2020 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 2040 [size=32]
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 42) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=64
I/O behind bridge: 00006000-00006fff
Memory behind bridge: fc500000-fdffffff
00:1f.0 ISA bridge: Intel Corporation 82801CA LPC Interface Controller (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801CA Ultra ATA Storage Controller (rev 02) (prog-if 8e [Master SecP SecO PriP])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 2060 [size=16]
Memory at f8800000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
Subsystem: Super Micro Computer Inc P4DP6
Flags: medium devsel, IRQ 19
I/O ports at 1100 [size=32]
01:1c.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20 [IO(X)-APIC])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at fc100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] PCI-X non-bridge device.
01:1d.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=01, secondary=02, subordinate=02, sec-latency=64
Capabilities: [50] PCI-X bridge device.
01:1e.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20 [IO(X)-APIC])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at fc101000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] PCI-X non-bridge device.
01:1f.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=01, secondary=03, subordinate=03, sec-latency=64
I/O behind bridge: 00003000-00003fff
Memory behind bridge: fc200000-fc2fffff
Capabilities: [50] PCI-X bridge device.
03:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Subsystem: Intel Corporation PRO/1000 MT Dual Port Server Adapter
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 20
Memory at fc200000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3000 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
03:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Subsystem: Intel Corporation PRO/1000 MT Dual Port Server Adapter
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 21
Memory at fc220000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 3040 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
04:1c.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20 [IO(X)-APIC])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at fc300000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] PCI-X non-bridge device.
04:1d.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=04, secondary=05, subordinate=06, sec-latency=48
I/O behind bridge: 00004000-00004fff
Capabilities: [50] PCI-X bridge device.
04:1e.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) (prog-if 20 [IO(X)-APIC])
Subsystem: Super Micro Computer Inc P4DP6
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at fc301000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] PCI-X non-bridge device.
04:1f.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=04, secondary=07, subordinate=07, sec-latency=64
I/O behind bridge: 00005000-00005fff
Memory behind bridge: fc400000-fc4fffff
Capabilities: [50] PCI-X bridge device.
05:01.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast Back2Back, medium devsel, latency 64
Bus: primary=05, secondary=06, subordinate=06, sec-latency=168
I/O behind bridge: 00004000-00004fff
Capabilities: [dc] Power Management version 2
06:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
Subsystem: D-Link System Inc DFE-580TX
Flags: bus master, medium devsel, latency 80, IRQ 22
I/O ports at 4000 [size=128]
Capabilities: [50] Power Management version 2
06:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
Subsystem: D-Link System Inc DFE-580TX
Flags: bus master, medium devsel, latency 80, IRQ 23
I/O ports at 4080 [size=128]
Capabilities: [50] Power Management version 2
06:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
Subsystem: D-Link System Inc DFE-580TX
Flags: bus master, medium devsel, latency 80, IRQ 24
I/O ports at 4400 [size=128]
Capabilities: [50] Power Management version 2
06:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
Subsystem: D-Link System Inc DFE-580TX
Flags: bus master, medium devsel, latency 80, IRQ 25
I/O ports at 4480 [size=128]
Capabilities: [50] Power Management version 2
07:02.0 SCSI storage controller: Adaptec AIC-7902B U320 (rev 10)
Subsystem: Adaptec: Unknown device 005e
Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 26
I/O ports at 5400 [disabled] [size=256]
Memory at fc400000 (64-bit, non-prefetchable) [size=8K]
I/O ports at 5000 [disabled] [size=256]
Capabilities: [dc] Power Management version 2
Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [94] PCI-X non-bridge device.
07:02.1 SCSI storage controller: Adaptec AIC-7902B U320 (rev 10)
Subsystem: Adaptec: Unknown device 005e
Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 27
I/O ports at 5c00 [disabled] [size=256]
Memory at fc402000 (64-bit, non-prefetchable) [size=8K]
I/O ports at 5800 [disabled] [size=256]
Capabilities: [dc] Power Management version 2
Capabilities: [a0] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [94] PCI-X non-bridge device.
08:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage XL
Flags: bus master, stepping, medium devsel, latency 64, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
I/O ports at 6000 [size=256]
Memory at fc500000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [5c] Power Management version 2
kudzu.txt [^] (6,127 bytes) 2007-08-28 14:33 [Show Content] [Hide Content]-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Intel Corporation 21152 PCI-to-PCI Bridge"
vendorId: 8086
deviceId: b152
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 7
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control"
vendorId: 1022
deviceId: 1103
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 18
pcifn: 3
-
class: OTHER
bus: PCI
detached: 0
driver: k8_edac
desc: "Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller"
vendorId: 1022
deviceId: 1102
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 18
pcifn: 2
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map"
vendorId: 1022
deviceId: 1101
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 18
pcifn: 1
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration"
vendorId: 1022
deviceId: 1100
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 18
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 Ethernet"
vendorId: 10de
deviceId: 03ef
subVendorId: 1458
subDeviceId: e000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 7
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 PCI bridge"
vendorId: 10de
deviceId: 03f3
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 4
pcifn: 0
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 Memory Controller"
vendorId: 10de
deviceId: 03f5
subVendorId: 1458
subDeviceId: 0c11
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1
pcifn: 2
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 SMBus"
vendorId: 10de
deviceId: 03eb
subVendorId: 1458
subDeviceId: 0c11
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1
pcifn: 1
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 LPC Bridge"
vendorId: 10de
deviceId: 03e0
subVendorId: 1458
subDeviceId: 0c11
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 1
pcifn: 0
-
class: OTHER
bus: USB
detached: 0
driver: unknown
desc: "Linux 2.6.9-55.EL.endian19-smp ehci_hcd EHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 1
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.9-55.EL.endian19-smp ehci_hcd
usbprod: EHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
driver: unknown
desc: "Linux 2.6.9-55.EL.endian19-smp ohci_hcd OHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 2
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.9-55.EL.endian19-smp ohci_hcd
usbprod: OHCI Host Controller
-
class: OTHER
bus: PSAUX
detached: 0
driver: pcspkr
desc: "PC Speaker"
-
class: OTHER
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 Memory Controller"
vendorId: 10de
deviceId: 03ea
subVendorId: 1458
subDeviceId: 5001
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 0
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 7
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 5
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 6
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: sundance
desc: "D-Link System Inc DL10050 Sundance Ethernet"
vendorId: 1186
deviceId: 1002
subVendorId: 1186
subDeviceId: 1012
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 4
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: dmfe
desc: "Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet"
vendorId: 1282
deviceId: 9102
subVendorId: 3030
subDeviceId: 5032
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 6
pcifn: 0
-
class: AUDIO
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 High Definition Audio"
vendorId: 10de
deviceId: 03f0
subVendorId: 1458
subDeviceId: a002
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 5
pcifn: 0
-
class: CDROM
bus: IDE
detached: 0
device: hda
driver: ignore
desc: "LITE-ON DVDRW SHM-165H6S"
-
class: VIDEO
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation GeForce 6100 nForce 400"
vendorId: 10de
deviceId: 03d2
subVendorId: 1458
subDeviceId: d000
pciType: 1
pcidom: 0
pcibus: 0
pcidev: d
pcifn: 0
-
class: HD
bus: IDE
detached: 0
device: hdb
driver: ignore
desc: "ST3250820A"
physical: 16383/16/63
logical: 30401/255/63
-
class: KEYBOARD
bus: PSAUX
detached: 0
driver: ignore
desc: "AT Translated Set 2 keyboard"
-
class: USB
bus: PCI
detached: 0
driver: ehci-hcd
desc: "nVidia Corporation MCP61 USB Controller"
vendorId: 10de
deviceId: 03f2
subVendorId: 1458
subDeviceId: 5004
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 2
pcifn: 1
-
class: USB
bus: PCI
detached: 0
driver: ohci-hcd
desc: "nVidia Corporation MCP61 USB Controller"
vendorId: 10de
deviceId: 03f1
subVendorId: 1458
subDeviceId: 5004
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 2
pcifn: 0
-
class: IDE
bus: PCI
detached: 0
driver: sata_nv
desc: "nVidia Corporation MCP61 SATA Controller"
vendorId: 10de
deviceId: 03f6
subVendorId: 1458
subDeviceId: b002
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 8
pcifn: 0
-
class: IDE
bus: PCI
detached: 0
driver: unknown
desc: "nVidia Corporation MCP61 IDE"
vendorId: 10de
deviceId: 03ec
subVendorId: 1458
subDeviceId: 5002
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 6
pcifn: 0
lspci.txt [^] (1,710 bytes) 2007-08-28 14:33 [Show Content] [Hide Content]00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 400 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
01:07.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge
02:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
02:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)
ethconfig-debug [^] (12,110 bytes) 2007-09-04 10:28 [Show Content] [Hide Content]#!/usr/bin/python
#
# +-----------------------------------------------------------------------------+
# | Endian Firewall |
# +-----------------------------------------------------------------------------+
# | Copyright (c) 2005-2006 Endian |
# | Endian GmbH/Srl |
# | Bergweg 41 Via Monte |
# | 39057 Eppan/Appiano |
# | ITALIEN/ITALIA |
# | info@endian.it |
# | |
# | This program is free software; you can redistribute it and/or |
# | modify it under the terms of the GNU General Public License |
# | as published by the Free Software Foundation; either version 2 |
# | of the License, or (at your option) any later version. |
# | |
# | This program is distributed in the hope that it will be useful, |
# | but WITHOUT ANY WARRANTY; without even the implied warranty of |
# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# | GNU General Public License for more details. |
# | |
# | You should have received a copy of the GNU General Public License |
# | along with this program; if not, write to the Free Software |
# | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# | http://www.fsf.org/ |
# +-----------------------------------------------------------------------------+
#
# Author: Raphael Vallazza <raphael@endian.it>
#
import os.path
from os import popen, system
import sys
from pprint import pprint
def findTool(tool):
path = ["/sbin", "/bin", "/usr/sbin", "/usr/bin"]
for p in path:
toolpath = os.path.join(p, tool)
if os.path.exists(toolpath):
return toolpath
print "ERROR: ethconfig doesn't work without the '%s' executable. Aborting."
sys.exit(1)
IP_BIN = findTool("ip")
LSPCI_BIN = findTool("lspci")
ETHTOOL_BIN = findTool("ethtool")
NAMEIF_BIN = findTool("nameif")
def getCards():
output = popen("%s -o link show" % IP_BIN)
lines = output.readlines()
ifaces = {}
for line in lines:
iface = line.split(":", 2)[1].strip()
if iface.startswith("eth"):
mac = line.split("link/ether")[1].strip()[:17]
ifaces[iface] = mac
return ifaces
def getCardInfo():
ifaces = getCards()
print "* IFACES:"
pprint(ifaces)
lspci = popen(LSPCI_BIN).readlines()
print "* LSPCI:"
pprint(lspci)
cardinfo = {}
tabuinterface = {}
for iface, mac in ifaces.iteritems():
# get bus info
ethtool = popen("%s -i %s 2>/dev/null" % (ETHTOOL_BIN, iface)).readlines()
print "* ETHTOOL:"
pprint(ethtool)
# get card name
ethinfo = {}
for line in ethtool:
if not line:
continue
info = line.strip().split(":", 1)
ethinfo[info[0].strip()] = info[1].strip()
print "* ETHINFO:"
pprint(ethinfo)
if "bus-info" in ethinfo.keys():
businfo = ethinfo["bus-info"].split(":", 1)[1]
name = filter(lambda l: l.find(businfo) > -1, lspci)
if len(name):
name = name[0].split(businfo)[1].split(":", 1)[1].strip()
else:
name = "Unknown Network Interface Card"
else:
businfo = 'n/a'
name = 'n/a'
if "driver" in ethinfo.keys():
driver = ethinfo["driver"]
else:
driver = "n/a"
if "version" in ethinfo.keys():
version = ethinfo["version"]
else:
version = "n/a"
if "firmware-version" in ethinfo.keys():
firmware = ethinfo["firmware-version"]
else:
firmware = "n/a"
temp = {"name" : name,
"driver" : driver,
"version" : version,
"firmware" : firmware,
"mac" : mac,
"interface" : iface,
"businfo" : businfo}
if businfo != 'n/a':
cardinfo[businfo] = temp
else:
tabuinterface[iface] = temp
return (cardinfo, tabuinterface)
def getMactab(filename):
if not os.path.exists(filename):
return {}
ifaces = {}
for line in open(filename).readlines():
if not line.startswith("#") and line.strip():
iface, mac = line.strip().split()
ifaces[iface] = mac
return ifaces
def getBusinfotab(filename):
if not os.path.exists(filename):
return {}
ifaces = {}
for line in open(filename).readlines():
line.strip()
if line.startswith("#"):
continue
tok = line.split()
try:
iface = tok[0]
except:
continue
try:
businfo = tok[1]
except:
continue
try:
label = tok[2]
except:
label = ''
ifaces[iface] = {'businfo' : businfo,
'interface' : iface,
'label' : label}
return ifaces
def writeBusinfotab(ifaces, filename):
fd = open(filename, "w")
fd.write("# Generated by ethconfig\n")
iflist = ifaces.keys()
iflist.sort()
for iface in iflist:
info = ifaces[iface]
fd.write("%s\t%s\t%s\n" % (info['interface'], info['businfo'], info['label']))
fd.close()
def updateBusinfotab(filename):
(ifaces, tabuinterface) = getCardInfo()
businfotab = getBusinfotab(filename)
print "* getCardInfo:"
pprint(getCardInfo())
print "* getBusinfotab:"
pprint(getBusinfotab(filename))
# remove unknown cards from businfotab
newbusinfotab = {}
for iface, info in businfotab.iteritems():
if iface in tabuinterface.keys():
if businfotab[iface]['businfo'] != 'n/a':
continue
newbusinfotab[iface] = businfotab[iface]
if info['businfo'] in ifaces.keys():
newbusinfotab[iface] = businfotab[iface]
businfotab = newbusinfotab
# add new tabu interfaces
for iface, cardinfo in tabuinterface.iteritems():
if iface in businfotab.keys():
continue
businfotab[iface] = {'businfo' : cardinfo['businfo'],
'interface' : cardinfo['interface'],
'label' : ''}
# add new interfaces
for businfo, cardinfo in ifaces.iteritems():
if getNICbyPCIid(businfo, businfotab):
continue
iface = cardinfo['interface']
if iface in businfotab.keys():
# get next free ethX
for i in range(0, 100):
iface = "eth%s" % i
if iface not in businfotab.keys():
break
businfotab[iface] = {'businfo' : cardinfo['businfo'],
'interface' : iface,
'label' : ''}
print "* businfotab before write:"
pprint(businfotab)
#writeBusinfotab(businfotab, filename)
def showCards(filename, dump=False):
mactab = getBusinfotab(filename)
(ifaces, tabuifaces) = getCardInfo()
if not dump:
print "* Number of NICs found: %s" % (len(ifaces.keys())+len(tabuifaces.keys()))
iflist = mactab.keys()
iflist.sort()
if not iflist and not dump:
print "* No cards found in current configuration please run ethconfig -u"
for iface in iflist:
tabinfo = mactab[iface]
businfo = tabinfo['businfo']
label = tabinfo['label']
if businfo in ifaces.keys():
info = ifaces[businfo]
if iface in tabuifaces.keys():
info = tabuifaces[iface]
if not dump:
print "> Device: %s (%s) %s" % (iface, info['mac'], label)
print " Businfo: %s" % (info["businfo"])
print " Model: %s" % (info["name"])
print " Driver: %s %s" % (info["driver"], info["version"])
else:
print "---"
print "device: %s" % iface
print "label: %s" % label
print "businfo: %s " % info["businfo"]
print "hwaddress: %s" % info['mac']
print "model: %s" % info["name"]
print "firmware-version: %s" % info["firmware"]
print "driver: %s" % info["driver"]
print "driver-version: %s" % info["version"]
def shutdownCards():
cards = getCards()
for iface in cards.keys():
system("%s link set %s down" % (IP_BIN, iface))
def setup(filename):
print "* Setting up network interfaces"
updateBusinfotab(filename)
mactab = getBusinfotab(filename)
(cardinfo, tabuifaces) = getCardInfo()
# change the offsets of cards to 1000+ to avoid conflicts
cards = getCards()
for i in range(len(cards.keys())):
system("%s eth%s %s" % (NAMEIF_BIN, i+1000, cards[cards.keys()[i]]))
for iface, tabinfo in mactab.iteritems():
businfo = tabinfo['businfo']
if businfo in cardinfo.keys():
info = cardinfo[businfo]
if iface in tabuifaces.keys():
info = tabuifaces[iface]
system("%s %s %s" % (NAMEIF_BIN, iface, info['mac']))
system("%s link set %s up" % (IP_BIN, iface))
def getNICbyMAC(mac, cardinfo, tabuifaces=None):
for key, value in tabuifaces.iteritems():
if value['mac'] == mac:
return value
for key, value in cardinfo.iteritems():
if value['mac'] == mac:
return value
return None
def getNICbyPCIid(pciid, cardinfo):
for key, value in cardinfo.iteritems():
if value['businfo'] == pciid:
return value
return None
def convertMactab(mactabfile, businfotabfile):
mactab = getMactab(mactabfile)
(cardinfo, tabuifaces) = getCardInfo()
businfotab = {}
for iface, mac in mactab.iteritems():
info = getNICbyMAC(mac, cardinfo, tabuifaces)
if not info:
continue
businfotab[iface] = {'businfo' : info['businfo'],
'interface' : info['interface'],
'label' : ''}
writeBusinfotab(businfotab, businfotabfile)
if __name__ == "__main__":
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-c", "--config", default="/etc/businfotab", dest="config",
help="Config file location")
parser.add_option("-s", "--show", default=False, dest="show", action="store_true",
help="Show current configuration")
parser.add_option("-d", "--dump", default=False, dest="dump", action="store_true",
help="Dump current configuration (parser friendly)")
parser.add_option("-u", "--update", default=False, dest="update", action="store_true",
help="Check cards and update current configuration")
parser.add_option("-f", "--force", default=False, dest="force", action="store_true",
help="Shutdown cards before applying configuration")
parser.add_option("-a", "--apply", default=False, dest="apply", action="store_true",
help="Apply current configuration")
parser.add_option("-m", "--convertmac", dest="mactab",
help="Convert specified mactab to businfotab which specified by --config")
(options, args) = parser.parse_args()
noaction = True
CONFIG = options.config
updateBusinfotab(CONFIG)
sys.exit(0)
if options.mactab:
print "* Converting mactab to businfotab"
convertMactab(options.mactab, options.config)
noaction = False
if options.update:
print "* Updating network card configuration"
updateBusinfotab(CONFIG)
noaction = False
if options.show:
showCards(CONFIG)
noaction = False
if options.dump:
showCards(CONFIG, dump=True)
noaction = False
if options.apply:
if options.force:
"* Shutting down network cards"
shutdownCards()
"* Applying network card configuration"
setup(CONFIG)
noaction = False
if noaction:
print parser.format_help()
ethconfig-debug-output [^] (8,533 bytes) 2007-09-04 11:04 [Show Content] [Hide Content]* IFACES:
{'eth0': '00:80:ad:77:3a:03',
'eth1': '00:0d:88:68:a1:d8',
'eth2': '00:0d:88:68:a1:d9',
'eth3': '00:0d:88:68:a1:da',
'eth4': '00:0d:88:68:a1:db'}
* LSPCI:
['00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)\n',
'00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)\n',
'00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)\n',
'00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)\n',
'00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)\n',
'00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)\n',
'00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)\n',
'00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)\n',
'00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)\n',
'00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)\n',
'00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)\n',
'00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 400 (rev a2)\n',
'00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration\n',
'00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map\n',
'00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller\n',
'00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control\n',
'01:06.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)\n',
'01:07.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge\n',
'02:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n']
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:07.0\n']
* ETHINFO:
{'bus-info': '0000:02:07.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:06.0\n']
* ETHINFO:
{'bus-info': '0000:02:06.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:05.0\n']
* ETHINFO:
{'bus-info': '0000:02:05.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:04.0\n']
* ETHINFO:
{'bus-info': '0000:02:04.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: dmfe\n',
'version: 1.36.4\n',
'firmware-version: \n',
'bus-info: 0000:01:06.0\n']
* ETHINFO:
{'bus-info': '0000:01:06.0',
'driver': 'dmfe',
'firmware-version': '',
'version': '1.36.4'}
* getCardInfo:
* IFACES:
{'eth0': '00:80:ad:77:3a:03',
'eth1': '00:0d:88:68:a1:d8',
'eth2': '00:0d:88:68:a1:d9',
'eth3': '00:0d:88:68:a1:da',
'eth4': '00:0d:88:68:a1:db'}
* LSPCI:
['00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)\n',
'00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)\n',
'00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)\n',
'00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)\n',
'00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)\n',
'00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)\n',
'00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)\n',
'00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)\n',
'00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)\n',
'00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)\n',
'00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)\n',
'00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 400 (rev a2)\n',
'00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration\n',
'00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map\n',
'00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller\n',
'00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control\n',
'01:06.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)\n',
'01:07.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge\n',
'02:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n',
'02:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 15)\n']
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:07.0\n']
* ETHINFO:
{'bus-info': '0000:02:07.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:06.0\n']
* ETHINFO:
{'bus-info': '0000:02:06.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:05.0\n']
* ETHINFO:
{'bus-info': '0000:02:05.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: sundance\n',
'version: 1.01+LK1.09a\n',
'firmware-version: \n',
'bus-info: 0000:02:04.0\n']
* ETHINFO:
{'bus-info': '0000:02:04.0',
'driver': 'sundance',
'firmware-version': '',
'version': '1.01+LK1.09a'}
* ETHTOOL:
['driver: dmfe\n',
'version: 1.36.4\n',
'firmware-version: \n',
'bus-info: 0000:01:06.0\n']
* ETHINFO:
{'bus-info': '0000:01:06.0',
'driver': 'dmfe',
'firmware-version': '',
'version': '1.36.4'}
({'01:06.0': {'businfo': '01:06.0',
'driver': 'dmfe',
'firmware': '',
'interface': 'eth0',
'mac': '00:80:ad:77:3a:03',
'name': 'Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)',
'version': '1.36.4'},
'02:04.0': {'businfo': '02:04.0',
'driver': 'sundance',
'firmware': '',
'interface': 'eth1',
'mac': '00:0d:88:68:a1:d8',
'name': 'D-Link System Inc DL10050 Sundance Ethernet (rev 15)',
'version': '1.01+LK1.09a'},
'02:05.0': {'businfo': '02:05.0',
'driver': 'sundance',
'firmware': '',
'interface': 'eth2',
'mac': '00:0d:88:68:a1:d9',
'name': 'D-Link System Inc DL10050 Sundance Ethernet (rev 15)',
'version': '1.01+LK1.09a'},
'02:06.0': {'businfo': '02:06.0',
'driver': 'sundance',
'firmware': '',
'interface': 'eth3',
'mac': '00:0d:88:68:a1:da',
'name': 'D-Link System Inc DL10050 Sundance Ethernet (rev 15)',
'version': '1.01+LK1.09a'},
'02:07.0': {'businfo': '02:07.0',
'driver': 'sundance',
'firmware': '',
'interface': 'eth4',
'mac': '00:0d:88:68:a1:db',
'name': 'D-Link System Inc DL10050 Sundance Ethernet (rev 15)',
'version': '1.01+LK1.09a'}},
{})
* getBusinfotab:
{'eth0': {'interface': 'eth0', 'businfo': '01:06.0', 'label': ''},
'eth1': {'interface': 'eth1', 'businfo': 'n/a', 'label': ''},
'eth2': {'interface': 'eth2', 'businfo': 'n/a', 'label': ''},
'eth3': {'interface': 'eth3', 'businfo': 'n/a', 'label': ''},
'eth4': {'interface': 'eth4', 'businfo': 'n/a', 'label': ''}}
* businfotab before write:
{'eth0': {'interface': 'eth0', 'businfo': '01:06.0', 'label': ''},
'eth1': {'interface': 'eth1', 'businfo': '02:04.0', 'label': ''},
'eth2': {'interface': 'eth2', 'businfo': '02:05.0', 'label': ''},
'eth3': {'interface': 'eth3', 'businfo': '02:06.0', 'label': ''},
'eth4': {'interface': 'eth4', 'businfo': '02:07.0', 'label': ''}}
ethconfig.patch [^] (314 bytes) 2007-09-06 14:33 [Show Content] [Hide Content]--- ./ethconfig.save 2007-09-06 12:53:24.000000000 +0200
+++ ./ethconfig 2007-09-06 16:23:33.000000000 +0200
@@ -257,7 +257,6 @@
def setup(filename):
print "* Setting up network interfaces"
- updateBusinfotab(filename)
mactab = getBusinfotab(filename)
(cardinfo, tabuifaces) = getCardInfo()
ethconfig-0.7-1.endian4.i386.rpm [^] (6,624 bytes) 2007-09-07 09:23 |