LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2009, 01:30 PM   #1
ashtrayba
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: Disabled
Unhappy device eth0 does not seems to be present, delaying initialisation-error!


installing driver for NIC in linux.


Hi, i have a small network. connected to an adsl router. i use windows xp in all pc's. they get dhcp assigned ip address & i get access to internet in all three pc's.

i have installed redhat enterprise linux 5 in two pc's. now i wanted internet in both of them when i boot in linux.

i have on board Realtek RTL8168/8111 PCI-E Gigabit ethernet NIC.

i configured the /etc/sysconfig/network-scripts/ifcfg-eth0 & change bootproto=dhcp

when i did 'service network restart' i got this error in one of the lines

"device eth0 does not seems to be present, delaying initialisation"

i did loopback pinging & my NIC responded so NIC is working.

i went to realtek website & download the driver for realtek but i dont know how to apply it. its not in .rpm format & i am a newbie how dont know how to use it. it shows these files

src(folder)
makefile(file)
readme(file)


how to install the driver?

i have read upgrading kernel may solve the problem. i am having kernel version "kernel-2.6.18-53.el5.i686.rpm"

i am not able to get the .rpm file for new kernel version.

can anyone ple help me troubleshoot this problem? pls, its for official work as i have technical interview in coming few days.

pls help me. i am newbie with not much technical knowhow in linux will willing to work in as it for my bread n butter

tnx.
 
Old 02-24-2009, 01:44 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
the loopback interface is separate from your physical nic (eth0).

use the command 'ifconfig eth0' to output which interfaces are actually recognized and 'up' by the kernel. Post results here.

I've had that error before and it's been related to the udev not accurately guessing the hardware correctly.

It might be worth it to post the output of 'lspci -v' as well.
 
Old 02-24-2009, 02:04 AM   #3
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
The downloaded driver appears to be in source code format (src directory and Makefile present).
Run 'make' from a console within the directory where the Makefile is located, and see what happens. If the source code is for Linux, then it should build the driver. Make sure to read the Readme file, it might have the relevant building and installation infos.

linux

Last edited by gergely89; 02-27-2009 at 11:57 PM.
 
Old 02-24-2009, 02:37 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
lets not try and build a driver from source just yet... it udev is incorrectly guessing a driver, it's not working, but there is another existing driver that will work, lets try and identify that first. post the output of the commands mentioned above.
 
Old 02-24-2009, 06:57 AM   #5
ashtrayba
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Admiral Beotch View Post
the loopback interface is separate from your physical nic (eth0).

use the command 'ifconfig eth0' to output which interfaces are actually recognized and 'up' by the kernel. Post results here.

I've had that error before and it's been related to the udev not accurately guessing the hardware correctly.

It might be worth it to post the output of 'lspci -v' as well.
tnx u.

it is a office computer & i cant post the result as of now due some reasons. but i tried few things.

i trieds lspci -v & shows the realtek card. also did ifconfig -a & it showed some 'lo' & 'sit0' information which i dont know what it about. no information about eth0 shown.

i will try the things said by senior members but wont be able to post results as of now. so pls let know the commands to be run & related results to be posted. tnx u.

i m thinking of adding an external NIC card. will that work? hopefully kernel 2.6.18 will recognise it.

can i anywhere get the latest kernel 2.6.19 or 2.6.21 in a simple .rpm format? a file where i only have to double click it

tnx u.
 
Old 02-24-2009, 11:33 AM   #6
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Without seeing the output from the lspci command, it's hard to help... can you use a USB drive to copy the information off the computer?

And by all means, if you have an extra NIC available, use it to try and get the machine online so we can debug the onboard nic problem.
 
Old 02-24-2009, 12:08 PM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Probably nothing to do with it but my computer insists on calling the ethernet device eth1 it will not call it eth0.
 
Old 02-24-2009, 07:13 PM   #8
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
device name doesn't matter as long as it's recognized... need the output of those commands.
 
Old 02-24-2009, 10:22 PM   #9
ashtrayba
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Admiral Beotch View Post
device name doesn't matter as long as it's recognized... need the output of those commands.
tnx u admiral for the interest u've shown.

my problem is been solved. i went to this site http://centos.toracat.org/ajb/CentOS-5/r8168/ & applied the files. rebooted my macine & eth0 was (ok) got the dhcp working & got connected to internet.

i m posting the output of lspci -v. i have no idea what went wrong & how it got corrected using those rpm. but still would like to know what can be made out from the output & what might have been the problem. pls put forward ur point of view & everyone who would like to


00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: fa000000-fc0fffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dff00000
Capabilities: [88] #0d [0000]
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [a0] Express Root Port (Slot+) IRQ 0

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Unknown device d608
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at fc200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fc100000-fc1fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1
Flags: bus master, medium devsel, latency 0, IRQ 217
I/O ports at f080 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2
Flags: bus master, medium devsel, latency 0, IRQ 225
I/O ports at f060 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3
Flags: bus master, medium devsel, latency 0, IRQ 233
I/O ports at f040 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at f020 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller
Flags: bus master, medium devsel, latency 0, IRQ 217
Memory at fc204000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Intel Corporation DeskTop Board D945GTP
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation 82801G (ICH7 Family) IDE Controller
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at f0f0 [size=16]

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 177
I/O ports at f0e0 [size=8]
I/O ports at f0d0 [size=4]
I/O ports at f0c0 [size=8]
I/O ports at f0b0 [size=4]
I/O ports at f0a0 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
Subsystem: Intel Corporation Unknown device d608
Flags: medium devsel, IRQ 177
I/O ports at f000 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE] (rev a1) (prog-if 00 [VGA])
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fa000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at fc000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Subsystem: Intel Corporation Unknown device d608
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at e000 [size=256]
Memory at fc120000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at fc100000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information
 
  


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
tg3 device eth0 does not seem to be present, delaying initialization!!! sandeeprana Linux - Networking 3 03-02-2010 08:22 PM
the device eth0 does not seem to be present delaying initialization Simrinder Linux - Networking 11 09-19-2008 09:59 PM
3c501 device eth0 does not seem to be present, delaying initialization moon_nader Linux - Networking 12 02-19-2008 08:18 PM
ERROR MSG:device eth0 does not seem to be present delaying initialization mmanickaraj Linux - Enterprise 1 11-20-2007 11:02 AM
xirc2ps_cs device eth0 does not seem to be present, delaying initialization Donic Linux - Laptop and Netbook 7 08-26-2004 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 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