LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-22-2010, 09:57 AM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
New Server install, no NIC cards, CentOS


I only had disk 2 with me (no biggie as this is all I needed in the past), but installed CentOS 5.2 on a new Dell R610 Server. I have both patch cords going into their respective switches, and the keyboard on a remote KVM at our co-lo. The install finished, so now I am on the machine and can't get the network cards to start. lspci shows the following;

01:00.0 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)

I did setup a local ifcfg-eth0 and eth1 files, but when I start I get a msg saying those IP's are in use already (which there not and I did try others). But looking at the 1st part, by unknown, is it really at this day and age telling me it doesn't have network drivers for this hardware (yet the older servers with the same chipset did work)?

Thanks.
 
Old 03-22-2010, 01:56 PM   #2
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Nic problem

Can you do Setup in CLI? If so what does the network config show you?
If that's a mess try deleting all files from the machine... well not all..
Do service network stop.
Go to /etc/sysconfig/networking/devices/ and delete the ifcfg-eth0 and ifcfg-eth1 if they exist. Or every file except ifcfg-lo but that's probably not there.
Then to /etc/sysconfig/networking/profiles/default/ and delete ifcfg-eth0 and 1 there if exist. Actually the only files you need there are hosts, network and resolv.conf.
Then to /etc/sysconfig/network-scripts and take a look at your ifcfg-eth0 and ifcfg-eth1 they should look something like this
Code:
# Here you might see a line with the name of your nic vendor
DEVICE=eth0  # remember to change this according to your file, i.e. eth0 or eth1
BOOTPROTO=none
HWADDR=00:00:00:00:00:00  #the mac address of the card if you know it
ONBOOT=yes
DHCP_HOSTNAME=your.hostname #not required
IPADDR=your ip
NETMASK=255.255.255.0 or your subnet mask
GATEWAY=your gateway # should only be on one nic
TYPE=Ethernet
If you don't know your MAC addresses it might be OK to skip it but then you might not know which nic is which...
Make sure these files are OK and then do service network start.
Try this and let us know.

Last edited by OdinnBurkni; 03-22-2010 at 02:14 PM.
 
Old 03-22-2010, 02:44 PM   #3
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
ok, 1st error was my fault, seems Device throws an error where DEVICE doesn't. So with that, the config is still the same, but DEVICE=eth0 and a network start gives me;
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.

Looking at the rest of the reply, there was nothing in the /devices folder and nothing in the profiles/default folder. So it really seems that CentOS 5 didn't come with drivers for the broadcom. As I said, lcpci shows it, but the unkown is really the thing that is making me think that.

The conf file is similar and since I can't get the MAC, I do have that omitted. As for 'setup', that doesn't seem to be installed with the bare minimum and no X either so everything is CLI.

Anyway, I will look around for that model and drivers.

Thanks.
 
Old 03-22-2010, 02:56 PM   #4
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS, Manjaro
Posts: 179

Rep: Reputation: 27
Hi,

Check if /etc/modprobe.conf has below entries
Code:
alias eth0 bnx2
alias eth1 bnx2
Also open /etc/sysconfig/hwconf and search for
Code:
Broadcom:
What is the output of
Code:
lspci  | grep net
 
Old 03-23-2010, 03:28 AM   #5
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
NIC problem

Good point Mario Almeida.
Just to clear things up for sir-lancealot. The thing you should see in /etc/sysconfig/hwconf should look something like this:
Code:
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: e1000 # this will probably be bnx2
desc: "Broadcom something..."
network.hwaddr: 00:00:00:00:00:00  # here you should see your MAC address
vendorId: 8086
deviceId: 100f
subVendorId: 15ad
subDeviceId: 0750
pciType: 1
pcidom:    0
pcibus:  2
pcidev:  0
pcifn:  0
Of course all other numbers can be different from this but this should give you an idea of what you should see.
 
Old 03-24-2010, 09:19 AM   #6
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
Sorry was out yesterday, but here are the responses;

Quote:
/etc/modprobe.conf
Neither alias entry

Quote:
/etc/sysconfig/hwconf
No Broadcom

Quote:
lcpci |grep net
I did show that in the first post, but shows;

01:00.0 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)

OdinnBurkni - a grep -i network /etc/sysconfig/hwconf comes back with nothing. Odd.... very odd!

Tnx for the help so far, I will keep looking as well as this box is 40 or so miles away, network cables are plugged and I have remove KVM only so would much rather get the network working remotely but might have to make that drive but not sure yet....
 
Old 03-24-2010, 09:26 AM   #7
rock1961
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by sir-lancealot View Post
Sorry was out yesterday, but here are the responses;


Neither alias entry


No Broadcom

I did show that in the first post, but shows;

01:00.0 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)
01:00.1 Ethernet controller: Broadcom Corporation Unknown device 163b (rev 20)

OdinnBurkni - a grep -i network /etc/sysconfig/hwconf comes back with nothing. Odd.... very odd!

Tnx for the help so far, I will keep looking as well as this box is 40 or so miles away, network cables are plugged and I have remove KVM only so would much rather get the network working remotely but might have to make that drive but not sure yet....
i see the same thing with a brand new hp dl360 and centos 5.4. the only diff is my lspci shows my correct broadcom model but other than that i have the same problem and tried the same things. its weird because i loaded an identical machine with the same disk and it worked ok. when i go into the bios broadcom settings it shows the hw address as 6565f9c0e6a5 which seems like an odd address to me. i even reloaded the machine and it did the same thing. any help would be appreciated.
 
Old 03-24-2010, 10:05 AM   #8
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Network problem

Do you have root access to the machine? If not you might have to sudo the commands.
grep -i network /etc/sysconfig/hwconf doesn't show anything if you don't have any network setup.
When I setup CentOS I usually only use CD1. Did you only use CD2? Sounds strange... But it seems like it doesn't recognize the hardware.
 
Old 03-24-2010, 12:25 PM   #9
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
Yep I have root access and the past 4 servers I setup (all dell 1950's) just disk 1 was all that was needed as well. This is a brand new Dell PowerEdge R410 and I am just thinking somehow the broadcom chipset used on that is newer than the CentOS 5.2 installer I am using.

I will have to burn 5.4 and try that install, but wanted to keep things on the same platform.

Thanks for the suggestions
 
Old 03-24-2010, 02:39 PM   #10
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
CentOS

If you setup CentOS 5.2 and do yum update then it goes up to the latest. So it should be 5.4 after update.
I guess you must be right about the chipset, but I'm still surprised, never seen that.
 
Old 03-24-2010, 03:06 PM   #11
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
Me either, and I wasn't sure if a yum update would do the next version, I thought u needed a dist-upgrade or something like that, but will burn the 5.4 and make that drive ...

Thanks again
 
Old 03-24-2010, 05:30 PM   #12
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
CentOS

Damn... Well it would be nice to hear about the progress. Just to know if it's sosmething you figure out or if it's a faulty nic or whatever.
 
Old 03-24-2010, 06:01 PM   #13
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Compatibility list

Just a thought... Did you check the HCL?
http://www.linuxquestions.org/hcl/showcat.php/cat/202
They've got a Broadcom list.
 
Old 03-25-2010, 06:05 AM   #14
rock1961
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by OdinnBurkni View Post
Just a thought... Did you check the HCL?
http://www.linuxquestions.org/hcl/showcat.php/cat/202
They've got a Broadcom list.


just a quick note on my situation with the hp dl360. i had 1 power supply in only and when i completely powered down the unit and powered up on the other supply the nics showed up ok. putting it back to the way i had it and it still worked. not sure what was up with that but my problem is now solved. maybe try a complete power cycle.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot install mysql-server Centos 5.2 sycamorex Linux - Server 5 03-16-2009 07:12 PM
Problems with NIC cards on CentOS 5.2 Install sxa Linux - Hardware 1 12-04-2008 10:03 AM
LXer: Install CentOS 5.X DomU at SNV93 Dom0 on boards with integrated NIC RTL8110SC/R LXer Syndicated Linux News 0 07-17-2008 05:40 PM
Realtek 8169SC NIC install on CentOS 5 stuartornum Linux - Hardware 3 01-07-2008 04:16 PM
problem with install on centos server elrehab Linux - Software 1 10-05-2005 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration