FastNetMon

Показаны сообщения с ярлыком e1000. Показать все сообщения
Показаны сообщения с ярлыком e1000. Показать все сообщения

четверг, 24 июня 2010 г.

e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang

Вот вылезла такая радость на машинке сильно нагруженной по сети:


[399393.714927] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[399393.714929] Tx Queue <0>
[399393.714930] TDH
[399393.714931] TDT <91>
[399393.714932] next_to_use <91>
[399393.714933] next_to_clean
[399393.714934] buffer_info[next_to_clean]
[399393.714935] time_stamp <105f49deb>
[399393.714936] next_to_watch
[399393.714937] jiffies <105f49f85>
[399393.714938] next_to_watch.status <0>
[399395.715956] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[399395.715957] Tx Queue <0>
[399395.715958] TDH
[399395.715958] TDT <91>
[399395.715959] next_to_use <91>
[399395.715959] next_to_clean
[399395.715960] buffer_info[next_to_clean]
[399395.715960] time_stamp <105f49deb>
[399395.715961] next_to_watch
[399395.715961] jiffies <105f4a179>
[399395.715962] next_to_watch.status <0>
[399397.709166] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[399397.709167] Tx Queue <0>
[399397.709168] TDH
[399397.709168] TDT <91>
[399397.709169] next_to_use <91>
[399397.709169] next_to_clean
[399397.709170] buffer_info[next_to_clean]
[399397.709170] time_stamp <105f49deb>
[399397.709171] next_to_watch
[399397.709171] jiffies <105f4a36d>
[399397.709172] next_to_watch.status <0>
[399399.706064] e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang
[399399.706065] Tx Queue <0>
[399399.706066] TDH
[399399.706066] TDT <91>
[399399.706066] next_to_use <91>
[399399.706067] next_to_clean
[399399.706067] buffer_info[next_to_clean]
[399399.706068] time_stamp <105f49deb>
[399399.706068] next_to_watch
[399399.706069] jiffies <105f4a561>
[399399.706069] next_to_watch.status <0>
[399400.704517] ------------[ cut here ]------------
[399400.704547] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0xd2/0x16c()
[399400.704587] Hardware name: MS-7522
[399400.704608] NETDEV WATCHDOG: eth0 (e1000): transmit queue 0 timed out
[399400.704634] Modules linked in: xt_multiport acpi_cpufreq cpufreq_stats cpufreq_powersave cpufreq_userspace cpufreq_conservative ip6table_filter ip6_tables xt_recent xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state xt_owner iptable_filter ip_tables x_tables quota_v2 quota_tree fuse nf_conntrack_ftp nf_conntrack loop snd_pcm snd_timer snd soundcore wmi i2c_i801 snd_page_alloc tpm_tis tpm tpm_bios i2c_core usbhid evdev hid pcspkr button ext3 jbd mbcache dm_mirror dm_region_hash dm_log dm_snapshot dm_mod sd_mod crc_t10dif e1000 uhci_hcd ehci_hcd thermal fan processor thermal_sys raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 md_mod atiixp ahci sata_nv sata_sil sata_via libata via82cxxx ide_core 3w_9xxx 3w_xxxx scsi_mod [last unloaded: scsi_wait_scan]
[399400.705068] Pid: 0, comm: swapper Not tainted 2.6.33.4-fastvps-2-4 #1
[399400.705095] Call Trace:
[399400.705114] [] ? dev_watchdog+0xd2/0x16c
[399400.705146] [] ? dev_watchdog+0xd2/0x16c
[399400.705173] [] ? warn_slowpath_common+0x77/0xa3
[399400.705201] [] ? dev_watchdog+0x0/0x16c
[399400.705227] [] ? warn_slowpath_fmt+0x51/0x59
[399400.705254] [] ? try_to_wake_up+0x248/0x256
[399400.705282] [] ? autoremove_wake_function+0x9/0x2e
[399400.705310] [] ? netif_tx_lock+0x3d/0x69
[399400.705337] [] ? netdev_drivername+0x3b/0x40
[399400.705364] [] ? dev_watchdog+0xd2/0x16c
[399400.705392] [] ? blk_rq_timed_out_timer+0x2a/0x103
[399400.705421] [] ? run_timer_softirq+0x1c4/0x263
[399400.705450] [] ? __do_softirq+0xdd/0x1a2
[399400.705476] [] ? lapic_next_event+0x18/0x1d
[399400.705503] [] ? call_softirq+0x1c/0x30
[399400.705529] [] ? do_softirq+0x3f/0x79
[399400.705555] [] ? irq_exit+0x36/0x76
[399400.705580] [] ? smp_apic_timer_interrupt+0x87/0x95
[399400.705608] [] ? apic_timer_interrupt+0x13/0x20
[399400.705633] [] ? acpi_idle_enter_bm+0x273/0x2a5 [processor]
[399400.705685] [] ? acpi_idle_enter_bm+0x26c/0x2a5 [processor]
[399400.705729] [] ? cpuidle_idle_call+0x94/0xee
[399400.705757] [] ? cpu_idle+0x59/0x91
[399400.705782] ---[ end trace e53d97746b1a3cdf ]---
[399402.758125] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX



Юзаем фикс аналогичный http://phpsuxx.blogspot.com/2009/11/e1000-centos-netdev-watchdog-eth0.html

Источник: https://bugzilla.redhat.com/show_bug.cgi?id=398921

вторник, 9 февраля 2010 г.

Замена сетевой карты Realtek 8169 на Intel e1000 в Debian 5 Lenny на fastvps.ru

После установки новой карты необходимо скорректировать правила udev.

Узнаем новый mac адрес:
ifconfig eth0 | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:24:21:b4:31:0a


Вносим коррективы в конфиг:
vi /etc/udev/rules.d/70-persistent-net.rules


И также меняем комментарий на корректный:
PCI device 0x8086:0x107c (e1000)


Ну и после этого перезагружаемся и сеть поднимется корректно :)

среда, 4 ноября 2009 г.

e1000 + Centos + NETDEV WATCHDOG: eth0: transmit timed out

Смотрим настройки:

ethtool -k eth0
Offload parameters for eth0:
Cannot get device flags: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on

tcp segmentation offload: on

udp fragmentation offload: off
generic segmentation offload: on
large receive offload: off



Отключаем TSO (tcp segmentation offload):
ethtool -K eth0 tso off


После этого необходимо добавить эту команду в автозагрузку:

vi /etc/rc.local


И вписываем:

ethtool -K eth0 tso off



Решение взято с: http://lkml.org/lkml/2004/1/26/44

Если не поможет, то есть еще вариант: pci=noacpi in grub.conf