LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-12-2007, 03:35 PM   #1
unclestoner
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
How Linux loads modules and a problem with my integrated network device


I am running Fedora 7 (2.6.21) on a Dell Optiplex 755, which has an Intel 82566DM-2 integrated network device. I believe the e1000 driver is supposed to work for this. But, upon booting I have no eth0. For now I've installed another network card which works fine, but I'd like to troubleshoot the Gigabyte card.

Firstly, can someone explain to me how/when Linux decides to load modules? Does it match up the devices PCI identity (for instance) to a particular module that can drive the device? I know you can use modprobe/insmod to manually load modules in the kernel but I'd also like to understand how the kernel decides what to load when it boots up or at other times.

Secondly, if someone could help me troubleshoot the problem with my Intel 82566DM-2 integrated network device that would be great. lspci can see the device (output below), but there is no eth0 when I do an ifconfig. However I noticed when I booted up with the other (working) NIC, it was assigned eth1 so the non-working network device is occupying eth0 somehow. I tried manually loading the e1000 module with modprobe and it didn't complain, but I still have no eth0. When I used the "system-config-network" GUI, I added manually specified the an "Intel EtherExpress/1000 gigabit" device, but when I tried to Activate it I got the message: "e1000 device does not seem to be present, delaying initialization"

Thanks,
Dave

Here's the output of lspci, with both the working

00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation PCI Express Root Port (rev 02)
00:03.0 Communication controller: Intel Corporation MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation Serial KT Controller (rev 02)
##### Below is the non-working network device #####
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 94c3
##### Below is the working NIC #####
03:00.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
 
Old 11-13-2007, 09:17 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
Visit: http://sourceforge.net/projects/e1000

Download the latest driver: e1000-7.6.9.2.tar.gz

As root extract and build:
The downloaded e1000-7.6.9.2.tar.gz goes into the /usr/src/redhat/SOURCES directory.
Extract the files: tar zxf e1000-x.x.x.tar.gz
Copy the extracted e1000.spec file to /usr/src/redhat/SPECS
From /usr/src/redhat/SPECS build the driver: rpmbuild -bb e1000.spec
Watch the screen output it will tell you where the built rpm package resides, install this package which will be found in the /usr/src/redhat/RPMS directory tree(i386 or x86_64) when built.

You may need if not already installed the kernel-devel, kenel-headers and rpm-build packages;

yum install kernel-devel kernel-headers rpm-build

.
 
Old 04-07-2008, 07:20 AM   #3
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Further Question on this topic

Quote:
Originally Posted by Lenard View Post

Download the latest driver: e1000-7.6.9.2.tar.gz

As root extract and build:
The downloaded e1000-7.6.9.2.tar.gz goes into the /usr/src/redhat/SOURCES directory.
Extract the files: tar zxf e1000-x.x.x.tar.gz
Copy the extracted e1000.spec file to /usr/src/redhat/SPECS
From /usr/src/redhat/SPECS build the driver: rpmbuild -bb e1000.spec
Watch the screen output it will tell you where the built rpm package resides, install this package which will be found in the /usr/src/redhat/RPMS directory tree(i386 or x86_64) when built.

You may need if not already installed the kernel-devel, kenel-headers and rpm-build packages;

yum install kernel-devel kernel-headers rpm-build

.
I am running CentOS as a terminal server on a basic Fujitsu Siemens Primergy Econel 100 Server. This system comes with an integrated Intel Ethernet Controller. I have a Realtek Gigabit NIC running, but for this setup to run correctly, I need a second NIC, and am hoping to use the integrated one. Having great difficulty getting CentOS to see the integrated card. here is the output of

# lspci -v

00:00.0 Host bridge: Intel Corporation Server DRAM Controller (rev 01)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 1101
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at d8300000 (32-bit, non-prefetchable) [size=128K]
Memory at d8320000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 1820 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [e0] #13 [0306]

00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at 1840 [size=32]
Capabilities: [50] #13 [0306]

00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at 1860 [size=32]
Capabilities: [50] #13 [0306]

00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at 1880 [size=32]
Capabilities: [50] #13 [0306]

00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 169
Memory at d8321800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
Capabilities: [98] #13 [0306]

00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at 18a0 [size=32]
Capabilities: [50] #13 [0306]

00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at 18c0 [size=32]
Capabilities: [50] #13 [0306]

00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at 18e0 [size=32]
Capabilities: [50] #13 [0306]

00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0, IRQ 193
Memory at d8321c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
Capabilities: [98] #13 [0306]

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d8000000-d80fffff
Prefetchable memory behind bridge: 00000000d0000000-00000000d7f00000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation Unknown device 2916 (rev 02)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.2 SATA controller: Intel Corporation 6 port SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 225
I/O ports at 1c70 [size=8]
I/O ports at 1c64 [size=4]
I/O ports at 1c68 [size=8]
I/O ports at 1c60 [size=4]
I/O ports at 1c00 [size=32]
Memory at d8321000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/4 Enable+
Capabilities: [70] Power Management version 3
Capabilities: [a8] #12 [0010]
Capabilities: [b0] #13 [0306]

00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10e0
Flags: medium devsel, IRQ 11
Memory at d8322000 (64-bit, non-prefetchable) [size=256]
I/O ports at 1c20 [size=32]

01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 201
I/O ports at 2000 [size=256]
Memory at d8010000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at d8020000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

01:07.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02) (prog-if 00 [VGA])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 1122
Flags: bus master, stepping, fast Back2Back, medium devsel, latency 66, IRQ 11
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 2400 [size=256]
Memory at d8000000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at d8040000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2



Obviously, the relevant section is

00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at d8300000 (32-bit, non-prefetchable) [size=128K]
Memory at d8320000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 1820 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [e0] #13 [0306]

How would I go about enabling this, or getting system-config-network to recognise it as a valid ethernet card?

BTW, I'm somewhere between a NooB and an intermediate user, so be gentle!

Thanks for your time.
 
Old 05-24-2008, 01:00 PM   #4
praveenjayak
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (

Hi Lenard,

I am a newbie to linux and was breaking my head with this Intel ether express gigabit NIC. Thank god I got the apt answer in your reply to the above query.Thank you soo much.
Would you mind sending me the step by step like how to build and kernel-devel kernel-headers. it will be of great help to me . for me some of the things you mentioned are really tough , but I want to learn how make it work i am sorry if ask for very silly configuration.

Thanks for helping me.
Praveen.

==========================================================================
Quote:
Originally Posted by Lenard View Post
Visit: http://sourceforge.net/projects/e1000

Download the latest driver: e1000-7.6.9.2.tar.gz

As root extract and build:
The downloaded e1000-7.6.9.2.tar.gz goes into the /usr/src/redhat/SOURCES directory.
Extract the files: tar zxf e1000-x.x.x.tar.gz
Copy the extracted e1000.spec file to /usr/src/redhat/SPECS
From /usr/src/redhat/SPECS build the driver: rpmbuild -bb e1000.spec
Watch the screen output it will tell you where the built rpm package resides, install this package which will be found in the /usr/src/redhat/RPMS directory tree(i386 or x86_64) when built.

You may need if not already installed the kernel-devel, kenel-headers and rpm-build packages;

yum install kernel-devel kernel-headers rpm-build

.
 
Old 05-25-2008, 06:31 PM   #5
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Wink

Hi Praveen,

I posted to this thread a couple of months ago, and got this working. Can you give us details of your machine, make, model, etc., and what version of linux you are running? It would be most helpful. Also, if you can copy and paste the result of

# lspci -v

run as root, that would help. Hopefully, I may be able to help!

irishbitte.
 
Old 05-28-2008, 01:28 PM   #6
praveenjayak
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
Hi irishbitte,

Thanks a ton for helping me.

I have dell optiplex 755 with the Intel(R) 82566DM-2 gigabit Ethernet connection, i have downloaded drivers for the same with you guys help. Now want the steps how to make it to work in redhat 3.0. Later on i might have to install 4.0 and 5.0. basically working on a testing environment.

irishbitte , iam so sorry i donot know how to paste the output of #lspci -v onto this site .

Please help me.

Thanks to you & all in advance.
 
Old 06-10-2008, 11:03 AM   #7
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Smile

Hi Praveen,

Sorry for not getting back to you, how did you fare out?

The way to post the output from lspci is as follows:

Code:
dave@dave$: su
password:

root@dave#: lspci -v
After this, select the output with your mouse, and use the EDIT menu at the top of the shell. I'm presuming you are opening a shell inside X windows.
 
Old 06-11-2008, 02:48 PM   #8
praveenjayak
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
Hi Sir,

Good that i have completed that task.
Thanks ALOT for all your help....

Talk to you again ...


Thanks
PraveenJaya.P
 
  


Reply

Tags
integrated, network


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
loading usb modules before/when lilo loads. djgerbavore Slackware 2 10-17-2006 10:46 PM
what loads the bootup modules? Ed_999 Slackware 2 12-12-2004 09:20 PM
stat of /dev files loads modules! karlg Linux - Security 3 12-03-2004 03:04 PM
Poor device support after kernel recompile - possible problem with modules? Dag Linux - General 1 08-04-2004 03:42 PM
Slack+kernel2.6.4 modules don't load ? how to start integrated kernel driver? elfenoir Slackware - Installation 1 03-23-2004 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 AM.

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