Hi, I have a lenovo x220 with a Intel 82579LM Gigabit Network Card. I am also stuck with the e1000e driver. I use rtai with a 2.6.35 kernel version on ubuntu 12.04. I remember (not totally sure about this) that when I installed ubuntu on the system, I had to download the ethernet driver from Intel because the one provided by Ubuntu didn't work. Now I would like to use the patched driver from the etherlab project, but I have problems. The patch was provided by Juergen Kunz: http://lists.etherlab.org/pipermail/etherlab-dev/2012/000260.html
This is my dmseg output when I restart the ethercat service with /etc/init.d/ethercat restart [ 9276.587965] EtherCAT: Master module cleaned up. [ 9277.595339] e1000e: Intel(R) PRO/1000 Network Driver - 2.0.0.1-NAPI [ 9277.595341] e1000e: Copyright(c) 1999 - 2012 Intel Corporation. [ 9277.595368] e1000e 0000:00:19.0: found PCI INT A -> IRQ 10 [ 9277.595590] e1000e 0000:00:19.0: setting latency timer to 64 [ 9277.607056] e1000e 0000:00:19.0: irq 21 for MSI/MSI-X [ 9277.751217] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) f0:de:f1:b6:c0:9b [ 9277.751220] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection [ 9277.751265] e1000e 0000:00:19.0: eth0: MAC: 11, PHY: 11, PBA No: 1000FF-0FF [ 9277.858611] e1000e 0000:00:19.0: irq 21 for MSI/MSI-X [ 9277.909374] e1000e 0000:00:19.0: irq 21 for MSI/MSI-X [ 9277.910044] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 9278.770797] EtherCAT: Master driver devel af21f0bdc7c9 [ 9278.771686] EtherCAT: 1 master waiting for devices. [ 9278.915012] ec_e1000e: EtherCAT-capable Intel(R) PRO/1000 Network Driver - 1.0.2-k4 (EtherCAT) [ 9278.915015] ec_e1000e: Copyright (c) 1999 - 2009 Intel Corporation. It seems as if the driver loads well. The lspci -v command gives me: 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) Subsystem: Lenovo Device 21ce Flags: fast devsel, IRQ 10 Memory at f2500000 (32-bit, non-prefetchable) [size=128K] Memory at f252b000 (32-bit, non-prefetchable) [size=4K] I/O ports at 5080 [size=32] Capabilities: [c8] Power Management version 2 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [e0] PCI Advanced Features Kernel modules: e1000e Is it right that is says e1000e in the last line instead of ec_e1000e? With my Beckhoff Ek1100 bus couple module connected to the network card I get the following output for the command: /opt/etherlab/bin/ethercat master Master0 Phase: Waiting for device... Active: no Slaves: 0 Ethernet devices: Main: ff:ff:ff:ff:ff:ff (waiting...) Link: DOWN Tx frames: 0 Rx frames: 0 Lost frames: 0 Tx bytes: 0 Tx errors: 0 Tx frame rate [1/s]: 0 0 0 Tx rate [KByte/s]: 0.0 0.0 0.0 Loss rate [1/s]: 0 0 0 Frame loss [%]: 0.0 0.0 0.0 Backup: None. Distributed clocks: Reference clock: None Application time: 0 2000-01-01 00:00:00.000000000 Interestingly I saw in the lsmod list that the patched driver ec_e1000e has a size of 149498, while the e1000e is bigger by 32%: 198797. Do we need a new driver patch, or does anyone see another issue here? _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users