Re: Network error with Intel E1000 Adapter on update 2.4.25 ==> 2.6.3

From: Martin Bene
Date: Tue Mar 02 2004 - 01:18:36 EST


Hi Scott,

>> Board is an Asus PC-DL, Intel 875P Chipset, one Xeon 2.8Ghz
>> CPU, Onboard e1000 Network interface. Any idea how I can get
>> the onboard NIC to work?
>
>Martin, give 2.6.4-rc1 a try. It removes a patch to e1000 that broke a
>lot of folks with 875/CSA.

Thanks for the hint. Results:

- Network interface works, no more lockups.
- ifconfig still doesn't show the interupt being used.
- /proc/interrupts DOES show the right interrupt.

experimenting with the driver source shows that the interrupt displayed by ifconfig seems to depend on netdev->irq being set; this was removed during the netdev->irq ==> adapter->pdev->irq change. adding the following line corrects ifconfig display:

diff -urN e1000_old/e1000_main.c e1000/e1000_main.c
--- e1000_old/e1000_main.c Mon Mar 1 09:16:29 2004
+++ e1000/e1000_main.c Tue Mar 2 07:09:37 2004
@@ -452,6 +452,8 @@
netdev->poll_controller = e1000_netpoll;
#endif

+ netdev->irq = pdev->irq;
+
netdev->mem_start = mmio_start;
netdev->mem_end = mmio_start + mmio_len;
netdev->base_addr = adapter->hw.io_base;

Bye, Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/