Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Redetect PCI ethernet adaptor using redhat kudzu

Gregory Lee
Advisor

Redetect PCI ethernet adaptor using redhat kudzu

I added a 2nd NIC card to my Redhat 7.1 netserver & used KUDZU to detect it. It seems that the dectection was successful because in /etc/sysconfig/hwconf, I have 2 entries for the NIC cards:

---------------------------
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: eepro100
desc: "Intel Corporation|82557 [Ethernet Pro 100]"
vendorId: 8086
deviceId: 1229
subVendorId: 103c
subDeviceId: 10cb
pciType: 1
-
class: NETWORK
bus: PCI
detached: 1
device: eth
driver: eepro100
desc: "Intel Corporation|82557 [Ethernet Pro 100]"
vendorId: 8086
deviceId: 1229
subVendorId: 103c
subDeviceId: 10c3
pciType: 1
---------------------------

My first NIC is working & uses the eepro100 module. The 2nd card also uses the same drivers (it's working in another setup).

My problem is now:
- I can't see the 2nd PCI card at /proc/pci or when using "lspci -v".
- Following that I can't configure my eth1 interface, redhat complains that there is no such interface.

How can I force the OS to redetect the 2nd card? Running KUDZU again does nothing since it was already detected. There is still no sign of the 2nd NIC in /proc/pci

Any pointers is appreciated.

Thanks,
If you're not living on the edge, you're taking up too much space! Anonymous
4 REPLIES
Kodjo Agbenu
Honored Contributor

Re: Redetect PCI ethernet adaptor using redhat kudzu

Hi,

It may be a hardware pb. Try to unplug the 2nd card and re-plug it again.

Good luck.

Kodjo
Learn and explain...
Steven Mertens
Trusted Contributor

Re: Redetect PCI ethernet adaptor using redhat kudzu

hi,

Do you have the following
lines in your /etc/modules.conf ?

alias eth0 eepro100
alias eth1 eepro100

rgds.

Steven
Stuart Browne
Honored Contributor

Re: Redetect PCI ethernet adaptor using redhat kudzu

Umm, as to the simple part of this, to get kudzu to re-detect the device, just remove the associated details from that 'hwconf' file, then re-run kudzu.

That file is it's 'Database' of devices.
One long-haired git at your service...
Gregory Lee
Advisor

Re: Redetect PCI ethernet adaptor using redhat kudzu

1- Yes, I've checked /etc/modules.conf to ensure I have both entries:
alias eth0 eepro100
alias eth1 eepro100

2- I did try to remove the associated entries in /etc/sysconfig/hwconf. The "new hardware" screen showed up and asked if I wanted to configure it. But when I added the config for my 2nd NIC card, it changed the config for my 1st card (ie. /etc/sysconfig/network-scripts/ifcfg-eth0)!!

Did this a few times & everytime KUDZU said a card was detected with 2 entries in the database but my eth1 was still elusive.

3- Hardware check : I read somewhere that the best way to do it was to unplug it out, startup the server to let KUDZU remove the 2nd NIC from the database - then put the NIC card back in hopefully to a new slot. As this is a production server, this would be my last option.

Hmmm....
If you're not living on the edge, you're taking up too much space! Anonymous