Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196053

Summary: intel ethernet card ich9 intel [e1000-ich9] not working
Product: Gentoo Linux Reporter: richard Groux <groux+gentoo>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch file for e1000 [ich9 version]
Patch 1 e1000 driver
Patch 2 e1000 driver
napi polling patch

Description richard Groux 2007-10-16 15:03:08 UTC
no driver ethernet card with new e1000 ich9

kernel from kernel.org and gentoo (with patch) don t have the last version of intel e1000 drivers.


ubuntu deliver a patch for this net card

(http://developer.momonga-linux.org/viewvc/branches/TSUPPA4RI/kernel/linux-2.6-e1000-ich9.patch?revision=17209&pathrev=18409)



Reproducible: Always




the patch for gentoo-sources-2.6.23
Comment 1 richard Groux 2007-10-16 15:08:13 UTC
Created attachment 133625 [details, diff]
patch file for e1000 [ich9 version]

add last intel network card in kernel.

needed for Dell Vostro Desktop computer
Comment 2 Mike Pagano gentoo-dev 2007-10-16 19:02:57 UTC
Created attachment 133640 [details, diff]
Patch 1 e1000 driver

Richard,

Can you please apply these three patches to a clean gentoo-sources-2.6.23, rebuild and test? These patches are from the mainline Linux tree.

Thanks
Comment 3 Mike Pagano gentoo-dev 2007-10-16 19:03:29 UTC
Created attachment 133641 [details, diff]
Patch 2 e1000 driver
Comment 4 Mike Pagano gentoo-dev 2007-10-16 19:03:53 UTC
Created attachment 133643 [details, diff]
napi polling patch
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-10-16 19:23:52 UTC
Mike, I'd rather not apply those huge patches if there are other upstream-approved options. Have you investigated to see if the patch in comment #1 is rejected upstream or anything like that?
Comment 6 Mike Pagano gentoo-dev 2007-10-16 19:49:04 UTC
I could not find if that patch was submitted upstream or not but I found Auke Kok's patch to provide a driver for this device here:

[E1000E]: New pci-express e1000 driver (currently for ICH9 devices only)
http://git.kernel.org/?p=linux/kernel/git/jgarzik/netdev-2.6.git;a=commit;h=bc7f75fa97884d41efbfde1397b621fefb2550b4

This patch needed changes provided by the napi polling patch 

Richard, hold off until Daniel advises otherwise.
Comment 7 richard Groux 2007-10-19 13:54:15 UTC
for me all is ok

i install these patch to a clean gento-sources-2.6.23 (without e1000-ich9 patch from me)
i apply:
  Patch 1 e1000 driver
  Patch 2 e1000 driver
  napi polling patch

and all work fine for me for my network card (but no info in lspci, but no info with my patch too)

Comment 8 Daniel Drake (RETIRED) gentoo-dev 2007-10-29 13:33:47 UTC
sent a mail upstream asking what the plans are for e1000
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2007-10-29 15:22:07 UTC
OK. The plan is for e1000 to support PCI cards and e1000e to support PCI-express cards. Right now e1000 supports some PCI-express cards but they will be moved to e1000e in the next few months.

So, we should backport e1000e.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2007-10-30 16:12:10 UTC
http://dev.gentoo.org/~dsd/kernel/e1000e.patch
(sorry -- to large to attach to bugzilla!)

Please could you try this on 2.6.23? It is a backport of e1000e from 2.6.24 as this is the way upstream are headed.

It does not need any of the earlier patches, so please make sure they are *not* applied -- use a clean kernel if in doubt. Thanks!
Comment 11 vltg0903 2007-11-01 12:32:05 UTC
Hi! I've tested the e1000e patch against gentoo-sources-2.6.23 on a intel DQ35JO board with 82566DM-2 ethernet controller, and it seems to work fine (for all of 15 minutes now), here is the dmesg output:

0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:19:d1:9b:75:4c
0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
0000:00:19.0: eth0: MAC: 5, PHY: 6, PBA No: ffffff-0ff
0000:00:19.0: eth0: Unable to allocate MSI interrupt Error: -1
0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:00:19.0: eth0: 10/100 speed: disabling TSO

The MSI interrupt thingy didn't show up with the e1000 though.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2007-11-01 13:06:51 UTC
Thanks a lot. e1000 doesn't support MSI, and this error is nothing to worry about anyway.
Comment 13 Mike Pagano gentoo-dev 2007-11-02 17:29:13 UTC
Please note that genpatches-2.6.23-2 has been released with these patches included, gentoo-sources-2.6.23-r1 is using it.