intel 82540EM и работа на ядре linux 2.6.32

В данном форуме предлагается обсуждать темы связанные с любым "железом", а также его работой под Linux
Yuriy
Заглянувший
Сообщения: 4
Зарегистрирован: 08 ноя 2008, 23:53

intel 82540EM и работа на ядре linux 2.6.32

Сообщение Yuriy »

Доброго всем времени суток! Так получилось, что пришлось перенести систему (lenny) роутера на новое железо... Ядро пересобранное.
Неприятным сюрпризом оказалась не только работа udev (не генерится 70-persistent-net.rules даже при переустановке udev, аналогичная ситуация здесь http://forums.fedoraforum.org/showthread.php?t=201551 ...ну да ладно:-) ), но и странная работа сетевого интерфейса
Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
-время от времени просто "падает". в dmesg при этом что-то вроде
[ 3480.000646] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[ 3480.000649] Tx Queue <0>
[ 3480.000650] TDH <2e>
[ 3480.000652] TDT <2e>
[ 3480.000653] next_to_use <2e>
[ 3480.000654] next_to_clean <42>
[ 3480.000655] buffer_info[next_to_clean]
[ 3480.000657] time_stamp <e8d04>
[ 3480.000658] next_to_watch <42>
[ 3480.000659] jiffies <e8e90>
[ 3480.000660] next_to_watch.status <0>
[ 3482.000665] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[ 3482.000668] Tx Queue <0>
[ 3482.000669] TDH <2e>
[ 3482.000671] TDT <2e>
[ 3482.000672] next_to_use <2e>
[ 3482.000673] next_to_clean <42>
[ 3482.000674] buffer_info[next_to_clean]
[ 3482.000676] time_stamp <e8d04>
[ 3482.000677] next_to_watch <42>
[ 3482.000678] jiffies <e90e8>
[ 3482.000679] next_to_watch.status <0>
[ 3484.000653] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[ 3484.000656] Tx Queue <0>
[ 3484.000657] TDH <2e>
[ 3484.000658] TDT <2e>
[ 3484.000660] next_to_use <2e>
[ 3484.000661] next_to_clean <42>
[ 3484.000662] buffer_info[next_to_clean]
[ 3484.000663] time_stamp <e8d04>
[ 3484.000665] next_to_watch <42>
[ 3484.000666] jiffies <e9340>
[ 3484.000667] next_to_watch.status <0>
[ 3488.826711] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
пинги при этом пропадают. с другой стороны интерфейса 3com с гигабитным портом. Физически между ними пока патчкорд с 4 жилами, поэтому линк в 100 мбитах.
lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:09.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 02)
00:0a.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 02)
00:0b.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:0c.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)
*-network:2
description: Ethernet interface
product: 82540EM Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: b
bus info: pci@0000:00:0b.0
logical name: eth0
version: 02
serial: 00:07:e9:0f:68:a8
size: 100MB/s
capacity: 1GB/s
width: 32 bits
clock: 66MHz
capabilities: pm pcix msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k5-NAPI duplex=full firmware=N/A ip=10.168.22.2 latency=32 link=yes mingnt=255 module=e1000 multicast=yes port=twisted pair speed=100MB/s
ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
uname -a
Linux kira 2.6.32.9-amdk7 #1 Thu Feb 25 04:29:19 EET 2010 i686 GNU/Linux
Что посоветуете уважаемые гуру?

Аватара пользователя
IceMan
Неотъемлемая часть форума
Сообщения: 377
Зарегистрирован: 22 июл 2007, 10:12
Откуда: Минск
Контактная информация:

Re: intel 82540EM и работа на ядре linux 2.6.32

Сообщение IceMan »

А чем пересобранное от дистрибутивного отличается?

Аватара пользователя
Nyshtyak
Неотъемлемая часть форума
Сообщения: 235
Зарегистрирован: 22 ноя 2005, 18:23

Re: intel 82540EM и работа на ядре linux 2.6.32

Сообщение Nyshtyak »

http://linux.derkeiler.com/Mailing-List ... 00401.html
Вот это не может помочь?
This is a known issue and there are several discussions and bugs filed on this. Please read this one where most is documented, and also the netdev

Ответить