LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 07-13-2003, 07:43 PM   #1
gyrus
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
e1000 kills me


Hi all,

First, I thank everyone who writes on this forum, it is a great source of information.

Don't even know for sure if it is a hardware issue. Anyway, recently I bought a new mobo Gigabyte GA-8KNXP and installed RH9. Everything was good and setup passed without any troubles. I compiled a last official stable kernel 2.4.21 in order to have a support for ICH5 chipset Serial ATA. After that I began to configure NIC, this Gigabyte mobo has an Intel® PRO/1000 integrated card (82547EI) and I enabled support for it as a kernel module (e1000).

Now everytime I try to modprobe e1000 system freezes completely and nothing can be done except resetting the system. Sometimes for some unexplainable reason it goes through but when I try to ifup eth0 (modules.conf contains alias eth0 e1000) it freezes again. I tried different approaches recompiled kernel for about 20 times tried two other e1000 drivers from Intel 5.0.43 and 5.1.11 result stays absolutely the same system hangs right after device is being initialized. There are few lines in /var/log/messages after modprobe e1000 but nothing informative and it ends with /etc/hotplug/net.agent: invoke ifup eth0.

When all my desperate attempts failed I added another NIC to the system and it worked like it should. Got eth0 up and pinged it OK. So, I guess after all it is a hardware issue.

How can I determine the source of that problem? Can it be NIC malfunction and how can I check this?

BTW when I searched Internet for the answer I've found out that many people have problems with that type of NICs, ehh, wish I knew that before purchasing that mobo.

Adding lspci, /var/log/messages and ifcfg-eth0 also I forgot to mention that kermel built with SMP and I tried non SMP kernel too with no luck .

Any advices and help are greatly appreciated.

================================
#lspci -v

00:00.0 Host bridge: Intel Corp.: Unknown device 2578 (rev 02)
Subsystem: Giga-byte Technology: Unknown device 2578
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [2106]
Capabilities: [a0] AGP version 3.0

00:01.0 PCI bridge: Intel Corp.: Unknown device 2579 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: f2000000-f3ffffff
Prefetchable memory behind bridge: f0000000-f1ffffff

00:03.0 PCI bridge: Intel Corp.: Unknown device 257b (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 32
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: f6000000-f60fffff

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev c2) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 00008000-00009fff
Memory behind bridge: f4000000-f5ffffff

00:1f.0 ISA bridge: Intel Corp. 82801EB ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.2 IDE interface: Intel Corp.: Unknown device 24d1 (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24d1
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at f000 [size=16]

00:1f.3 SMBus: Intel Corp. 82801EB SMBus (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: medium devsel, IRQ 17
I/O ports at 1400 [size=32]

01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11) (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc. AGP-V3800 SGRAM
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 16
Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=32M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 2.0

02:01.0 Ethernet controller: Intel Corp.: Unknown device 1019
Subsystem: Intel Corp.: Unknown device 1019
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 18
Memory at f6000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at a000 [size=32]
Capabilities: [dc] Power Management version 2

=======================================
/var/log/messages


Jul 13 21:06:36 localhost kernel: Intel(R) PRO/1000 Network Driver - version 5.1.11
Jul 13 21:06:36 localhost kernel: Copyright (c) 1999-2003 Intel Corporation.
Jul 13 21:06:36 localhost kernel: eth0: Intel(R) PRO/1000 Network Connection
Jul 13 21:06:36 localhost kernel: AutoNeg advertising 10/HD
Jul 13 21:06:36 localhost /etc/hotplug/net.agent: invoke ifup eth0

or just

Jul 14 00:16:29 localhost kernel: Intel(R) PRO/1000 Network Driver - version 5.0.43-k1
Jul 14 00:16:29 localhost kernel: Copyright (c) 1999-2003 Intel Corporation.
Jul 14 00:16:29 localhost kernel: eth0: Intel(R) PRO/1000 Network Connection

=======================================

I tried some passing some parameters to e1000 module.

=======================================
/etc/sysconfig/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.1.1.1
NETMASK=255.255.255.0
GATEWAY=10.255.255.254

========================================

It has been couple of days since I started to wage against e1000 and now I ask local hardware gurus to help me. What can I do to make that beast work or at least how can I get more information about the problem ? Thank you.
 
Old 07-19-2003, 03:29 PM   #2
jbgreer
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
gyrus,
How about we go for the obvious: have you recompiled your kernel with the e1000 support in the kernel rather than as a module?
 
Old 07-19-2003, 03:42 PM   #3
jbgreer
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Oops. Just checked and I see that, due to licensing, the e1000 is not able to be compiled into the kernel. Bummer.
But there due appear to be several forums where folks talk about e1000 support. I googled for "linux e1000 intel network card" and found refs, though on RH 7.3, not 9.X.
Interesting that a vanilla 2.4.21 also has problems; rules out RH specific patches. I'll snoop around as well and see if I find anything; I am considering buying the same MoBo.
 
Old 07-19-2003, 03:48 PM   #4
jbgreer
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
gyrus,

I note that on Intel's official page regarding support for this card under Linux, they mention kernel support upto and including 2.4.18:

http://www.intel.com/support/network...inux/e1000.htm

So perhaps your kernel version is problematic after all.
 
Old 07-20-2003, 06:29 AM   #5
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Here's a couple of places from your lspci output which I suspect could cause you problems:
Quote:
00:1f.2 IDE interface: Intel Corp.: Unknown device 24d1 (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24d1
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 18
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at f000 [size=16]

00:1f.3 SMBus: Intel Corp. 82801EB SMBus (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: medium devsel, IRQ 17
I/O ports at 1400 [size=32]
AFAIK, Linux has problems with IRQs above 16. Try disabling APIC in the BIOS, or if that is not possible, include 'noapic' in the 'append =' line in lilo.conf. If, for example, your /etc/lilo.conf file has a line that says:

append = "quiet devfs=mount hdc=ide-scsi acpi=off"

then edit to read:

append = "quiet noapic devfs=mount hdc=ide-scsi acpi=off"

Then, in a console, as root, run the command:

lilo

This will make the changes to your bootloader that turns off APIC in the hardware configuration. Then re-boot your computer. Your lspci output should then see no IRQs above 16. Hopefully, this will make your hardware behave correctly and maybe fix your problem.

<Edit> For correct hardware detection, you also need to make sure that Plug N Play OS is disabled in the BIOS.

Last edited by geoff_f; 07-20-2003 at 06:35 AM.
 
Old 11-16-2006, 04:10 PM   #6
etcute
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Talking e1000 kills me

Great answer ... it helps me solve my problem, with
e1000 card not working.

got everything in order, insmod driver installed,
/sbin/route looks good, /sbin/ifconfig show eth0 eth1 eth2
active with correct IP, /etc/modules.conf show all aliases,
/etc/sysconfig/network-scripts/ifcfg-eth_ all seems inorder,
/sbin/ip -s neigh looks normal. 'ethereal' detect cable
connect and disconnect correctly. 'neat' work just fine.
All firewall off.

All of that, and I couldn't ping anything beyond the local
address. Just kills me !!!!

I read geoff_f's post and double check IRQ. Sure enough
lspci -vv show the card is using IRQ 42/43. So I stick in
the noapic boot option in /etc/grub.conf and hard reset the
machine ... boom ... it works.

Thanks geoff_f, you're king !!!!!

ETcute :-)
 
Old 11-16-2006, 07:50 PM   #7
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
Ignore... I didn't realize this thread is three years old.

Last edited by osor; 11-16-2006 at 10:41 PM.
 
Old 11-16-2006, 08:26 PM   #8
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
You're welcome etcute. It's gratifying to know that even after three years, someone can still benefit from the help given here on LQ. Many thanks for the feedback.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
e1000 device does not seem to be present sysengr Linux - Networking 5 02-04-2009 01:22 PM
e1000 redhat and kernel 2.6.9 scotoma Linux - Newbie 7 11-25-2004 11:15 AM
e1000 woes hakcenter Linux - Networking 1 06-09-2004 07:25 PM
Backport e1000 driver mikewelter Linux - Hardware 1 05-14-2004 11:26 PM
Debian & E1000 ScooterB Linux - Networking 2 04-06-2004 02:14 PM


All times are GMT -5. The time now is 07:06 AM.

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