LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-23-2003, 09:27 PM   #1
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Rep: Reputation: 0
networking not working after upgrade


Hi,

I'm running Redhat8.0 and
I've just built the 2.4.20 kernel and upgraded from 2.4.18.
I believe that I must have missed something in the config
for the build of the kernel (hopefully not).

Here's the problem:
When the system boots with the new kernel, I get this:
Bringing up interface eth0
Determining IP information for eth0... failed
[FAILED]

When the system comes up and I try to activate the device,
I get "Cannot activate network device eth0"

Luckily, I have the old kernel around and can boot it up
and the networking works just fine (using DHCP).

Where should I start looking to find my problem?

Thanks a bunch,
Don
 
Old 01-23-2003, 09:48 PM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

Rep: Reputation: 30
What kind of network card are you using? You might need to enable it in make menuconfig (or xconfig). I know I have to enable mine whenver I compile a new kernel.
 
Old 01-23-2003, 10:03 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,310
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
Also, does your usual setup require you to have for instance some "append" line in LILO? Some cards need extra initialization parameters like Base I/O addr and/or Irq.
 
Old 01-23-2003, 11:33 PM   #4
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the responses .. though its still not working

The machine is an IBM ThinkPad T30 with an Intel EtherExpress Pro 100B.

So, when I do 'make xconfig', I go to Network device support,
then to Ethernet (10 or 100Mbit) and both EtherExpressPro/100
support buttons are on ('y')

As for LILO .. I'm using the same lilo entry for the new kernel
(just a different label) as I did for the old kernel .. so, I don't
believe the card needs extra init params
 
Old 01-23-2003, 11:40 PM   #5
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

Rep: Reputation: 30
type lsmod at the prompt and see if the module for your card is loaded. You'll have to be su to do this.
 
Old 01-23-2003, 11:52 PM   #6
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
ok .. this is weird, when I do an lsmod there is nothing

though, when I boot into my old kernel, there is a long list

What did I do wrong?
 
Old 01-23-2003, 11:56 PM   #7
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

Rep: Reputation: 30
when you compiled the kernel, did you do a
'make modules'
and
'make modules_install'
?
 
Old 01-23-2003, 11:57 PM   #8
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
yep .. did both
 
Old 01-23-2003, 11:59 PM   #9
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
where do the modules come from?

Should I have specified in 'make xconfig' that some
of the choices are modules rather than just clicking
the 'y' button?
 
Old 01-24-2003, 12:02 AM   #10
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

Rep: Reputation: 30
what kind of messages are you getting related to eth0 when you type the command 'dmesg'
 
Old 01-24-2003, 12:05 AM   #11
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
# dmesg | grep eth

eth0: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller, <MAC ADDR>, IRQ 11

where <MAC ADDR> is my ethernet address
 
Old 01-24-2003, 12:15 AM   #12
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

Rep: Reputation: 30
Okay, It seems that the support for your card is being loaded, but it's running into trouble when it tries to get it's ip address from dhcp. DHCP is still enabled right? You could boot in to your old kernel and type 'ifconfig' to find out your relevant information (write it down), and then boot in to the other kernel and enter it manual with 'ifconfig someipaddress' 'netmask somenetmast' and 'broadcast someaddress'
I don't know if that will work, but it's the best I've got to offer. Somebody with a better idea of how to fix it will probably come along. Sorry.
 
Old 01-24-2003, 12:18 AM   #13
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
thanks very much for the help

Anyone else want to take a stab at it?

Last edited by dontest; 01-24-2003 at 12:29 AM.
 
Old 01-24-2003, 10:41 AM   #14
dontest
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Original Poster
Rep: Reputation: 0
anyone have any thoughts on this?
 
Old 01-24-2003, 11:01 AM   #15
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
When you clicked "y" for the devices on your recompile, you compiled everything into the kernel instead of making modular support. That makes for a really big kernel.

Have you tried running "netconfig" to get the card going?

What does /etc/sysconfig/network-scripts/ifcfg-eth0 look like?

-KevinJ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel upgrade kills networking swede Linux - Networking 2 07-28-2005 08:34 AM
networking and sound failures after apt-get upgrade JediGuy_bob Debian 3 06-05-2004 09:18 PM
Networking is not working jonlake Linux - Networking 14 04-26-2004 02:43 PM
Networking not Working aeb105 Linux - Newbie 5 11-07-2003 11:12 AM
networking problem after kernel upgrade dt' Linux - Networking 9 01-23-2003 05:47 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration