[РЕШЕНО] пропадает сеть AR8152 (1969:2062 ubuntu 10.10 пропадает с случайный момент времени)

Ethernet card, Wi-Fi, Bluetooth, IrDA, ADSL-модемы, модемы

Модератор: Модераторы разделов

Ответить
reinhard
Сообщения: 86
ОС: Fedora Core, FreeBSD

[РЕШЕНО] пропадает сеть AR8152

Сообщение reinhard »

Всем привет!

Ноут Dell Inspirion N5030, сетевая:

Код: Выделить всё

09:00.0 0200: 1969:2062 (rev c1)
09:00.0 Ethernet controller: Atheros Communications AR8152 v2.0 Fast Ethernet (rev c1)


ОС Ubuntu 10.10 последние обновления накачены. Ядро 2.6.35-25-generic.
Заработала сходу, но через случайный промежуток времени (от минут до часов) сеть перестает работать.
При этом в dmesg:

Код: Выделить всё

[  641.008063] ------------[ cut here ]------------
[  641.008073] WARNING: at /build/buildd/linux-2.6.35/net/sched/sch_generic.c:258 dev_watchdog+0x1fd/0x210()
[  641.008076] Hardware name: Inspiron N5030
[  641.008078] NETDEV WATCHDOG: eth0 (atl1c): transmit queue 0 timed out
[  641.008079] Modules linked in: binfmt_misc parport_pc ppdev snd_hda_codec_realtek snd_hda_intel snd_hda_codec arc4 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi ath9k snd_seq_midi_event snd_seq snd_timer ath9k_common ath9k_hw ath snd_seq_device mac80211 i915 drm_kms_helper cfg80211 drm i2c_algo_bit video uvcvideo psmouse snd intel_agp dell_wmi_aio output serio_raw led_class videodev v4l1_compat soundcore snd_page_alloc dell_laptop dell_wmi agpgart dcdbas lp parport usb_storage ahci atl1c libahci
[  641.008114] Pid: 0, comm: swapper Not tainted 2.6.35-25-generic #44-Ubuntu
[  641.008117] Call Trace:
[  641.008122]  [<c014ad42>] warn_slowpath_common+0x72/0xa0
[  641.008126]  [<c050f67d>] ? dev_watchdog+0x1fd/0x210
[  641.008129]  [<c050f67d>] ? dev_watchdog+0x1fd/0x210
[  641.008132]  [<c014ae13>] warn_slowpath_fmt+0x33/0x40
[  641.008134]  [<c050f67d>] dev_watchdog+0x1fd/0x210
[  641.008139]  [<c0161e46>] ? insert_work+0x66/0xb0
[  641.008143]  [<c012cf18>] ? default_spin_lock_flags+0x8/0x10
[  641.008146]  [<c0162106>] ? __queue_work+0x36/0x50
[  641.008149]  [<c050f480>] ? dev_watchdog+0x0/0x210
[  641.008151]  [<c0157f0f>] call_timer_fn+0x2f/0xf0
[  641.008153]  [<c0156c85>] ? cascade+0x65/0x80
[  641.008156]  [<c0159154>] run_timer_softirq+0x104/0x210
[  641.008159]  [<c01751cc>] ? tick_handle_oneshot_broadcast+0x12c/0x140
[  641.008163]  [<c050f480>] ? dev_watchdog+0x0/0x210
[  641.008166]  [<c015136c>] __do_softirq+0x9c/0x1b0
[  641.008169]  [<c01a7f14>] ? handle_IRQ_event+0x44/0x150
[  641.008172]  [<c01a8084>] ? irq_to_desc+0x14/0x20
[  641.008175]  [<c01ab609>] ? move_native_irq+0x19/0x50
[  641.008178]  [<c01514c5>] do_softirq+0x45/0x50
[  641.008180]  [<c0151635>] irq_exit+0x65/0x70
[  641.008183]  [<c05d0b95>] do_IRQ+0x55/0xc0
[  641.008186]  [<c016c044>] ? sched_clock_local+0xa4/0x180
[  641.008190]  [<c0103630>] common_interrupt+0x30/0x38
[  641.008193]  [<c016007b>] ? sys_setuid+0xab/0xc0
[  641.008197]  [<c03bfaed>] ? acpi_idle_enter_simple+0xf1/0x12d
[  641.008202]  [<c04d356a>] cpuidle_idle_call+0x6a/0x100
[  641.008204]  [<c0101fcc>] cpu_idle+0x8c/0xd0
[  641.008208]  [<c05b3951>] rest_init+0x71/0x80
[  641.008211]  [<c081981a>] start_kernel+0x36e/0x374
[  641.008214]  [<c08199dd>] ? pass_all_bootoptions+0x0/0xa
[  641.008217]  [<c08190d7>] i386_start_kernel+0xd7/0xdf
[  641.008221] ---[ end trace 8db0bd294130d086 ]---
[  641.176716] atl1c 0000:09:00.0: irq 47 for MSI/MSI-X
[  641.176798] atl1c 0000:09:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[  656.184642] atl1c 0000:09:00.0: irq 47 for MSI/MSI-X
[  656.184728] atl1c 0000:09:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[  773.376586] atl1c 0000:09:00.0: irq 47 for MSI/MSI-X
[  773.376672] atl1c 0000:09:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>



Вывод ifconfig при этом:

Код: Выделить всё

eth0      Link encap:Ethernet  HWaddr f0:4d:a2:a0:92:df
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f24d:a2ff:fea0:92df/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16233 errors:0 dropped:360 overruns:360 frame:360
          TX packets:12841 errors:0 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:1000
          RX bytes:19958228 (19.9 MB)  TX bytes:1349349 (1.3 MB)
          Interrupt:47


Под виндой работает нормально.
Нашел похожую проблему в дебиане
Что можно предпринять?

PS проверл сейчас под федорой 14 (ядро 2.6.35.10) точно такая же картина.
Спасибо сказали:
reinhard
Сообщения: 86
ОС: Fedora Core, FreeBSD

Re: [РЕШЕНО] пропадает сеть AR8152

Сообщение reinhard »

С ядром 2.6.38 из 15 Федоры работает нормально.
С 2.6.36, как я понимаю, тоже
Похоже дело в этом коммите
патч для 2.6.35 можно взять, соответственно здесь

Потом выкачать исходники ядра для своего дистра, наложить патч (поправить спек в федоре), пересобрать и поставить.
Если бы пропихнуть этот патч в дистрибутивы было бы совсем хорошо, а то придется это делать после каждого обновления ядра.

PS собрать 2.6.35 с патчем не удалось.
Спасибо сказали:
Ответить