2.6.18-028stab053 doesn't find my NIC. [message #30689] |
Tue, 03 June 2008 12:51 |
januszzz
Messages: 50 Registered: January 2007 Location: Opole, Poland
|
Member |
|
|
Hi,
I compiled kernel from stable sources (Gentoo ebuild: openvz-sources-2.6.18.028.053-r2). The problem is after reboot I don't have my NIC, which is:
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet PCI Express
Subsystem: Dell Unknown device 0225
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at d0200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data <?>
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 90-4a-2a-fe-ff-09-1d-00
Capabilities: [16c] Power Budgeting <?>
I'm not exactly sure which module should I use; I tried tg3, bnx2, and even e1000 - nothing works. Ifconfig -a displays only realtek (true, I had it put inside, its remote machine), sit0, lo and venet0.
The machine is:
Manufacturer: Dell Inc.
Product Name: PowerEdge T105
I wasn't sure on which module the NIC was running (I remotely installed Gentoo with 2.6.24) but I was running there it fine.
I have to stay on this kernel now, as the server is completely unattended now.
Regards,
Janusz.
|
|
|
|
|
|
|
Re: 2.6.18-028stab053 doesn't find my NIC. [message #30735 is a reply to message #30718] |
Thu, 05 June 2008 09:22 |
adobriyan
Messages: 80 Registered: November 2006
|
Member |
|
|
> how can I be sure that after reboot those cards are not switched back?
Well, on the kernel side ordering should stay the same,
assuming you
* aren't physically moving NICs in PCI slots, and
* don't flip between 2.4 and 2.6 kernels (those two enumerate
PCI devices in different order, use pci=bfsort to get 2.4
behaviour)
* and don't change =y/=m settings of NIC modules
Userspace (read: udev) on modern distros will try to rename
NICs back looking at their MACs. You can look at
/etc/udev/rules.d/70-persistent-net.rules (or how it's called).
|
|
|