[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian + hostapd + pptp = pptp random disconnect



Похоже проблема была не в карточке 3Com или не только в карточке 3Com.
Сегодня после 3-х дней стабильной работы pptp с картой Realtek на моём
роутере опять начались проблемы, правда теперь pptp не отключается, а
"падает" wifi сеть. При этом наблюдается следующее:

$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:60:97:d8:dd:ea
          inet addr:192.168.120.184  Bcast:192.168.120.255  Mask:255.255.255.0
          inet6 addr: fe80::260:97ff:fed8:ddea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12337789 errors:41 dropped:236 overruns:32 frame:0
          TX packets:10504103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3014012007 (2.8 GiB)  TX bytes:3729509028 (3.4 GiB)
          Interrupt:10 Base address:0xd800

eth2      Link encap:Ethernet  HWaddr 14:da:e9:a7:21:33
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::16da:e9ff:fea7:2133/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9238340 errors:0 dropped:59 overruns:0 frame:0
          TX packets:8264413 errors:1 dropped:30 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3287755996 (3.0 GiB)  TX bytes:643438599 (613.6 MiB)
          Interrupt:11 Base address:0xdc00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:588 (588.0 B)  TX bytes:588 (588.0 B)

mon.wlan0 Link encap:UNSPEC  HWaddr
B0-48-7A-E3-AE-0F-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:93.190.180.221  P-t-P:195.66.139.22  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:2170289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2566669 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1698063924 (1.5 GiB)  TX bytes:2336947509 (2.1 GiB)

wlan0     Link encap:Ethernet  HWaddr b0:48:7a:e3:ae:0f
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::b248:7aff:fee3:ae0f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1197072 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1729950 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:143929456 (137.2 MiB)  TX bytes:1956722531 (1.8 GiB)

В /var/log/messages появляется такое:

May 25 17:32:33 debian kernel: [519404.008050] ------------[ cut here
]------------
May 25 17:32:33 debian kernel: [519404.008099] WARNING: at
/build/buildd-linux-2.6_3.2.16-1-i386-xAlW9F/linux-2.6-3.2.16/debian/build/s
ource_i386_none/net/sched/sch_generic.c:255 dev_watchdog+0xb1/0x104()
May 25 17:32:33 debian kernel: [519404.008114] Hardware name:
May 25 17:32:33 debian kernel: [519404.008123] NETDEV WATCHDOG: eth2
(sundance): transmit queue 0 timed out
May 25 17:32:33 debian kernel: [519404.008134] Modules linked in:
cryptd aes_i586 aes_generic ppp_async crc_ccitt ppp_generic slhc ipt_
MASQUERADE xt_TCPMSS xt_limit xt_pkttype ipt_REJECT xt_tcpudp xt_state
ipt_LOG iptable_mangle iptable_nat iptable_filter nf_conntrack_i
rc nf_nat_ftp nf_conntrack_ftp nf_nat nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack ip_tables x_tables loop arc4 ath9k ath9k_common ath
9k_hw ath snd_ens1371 mac80211 snd_ac97_codec snd_rawmidi
snd_seq_device snd_pcm cfg80211 snd_page_alloc snd_timer snd rfkill
soundcore
 ac97_bus evdev serio_raw joydev pcspkr i2c_i801 gameport i2c_core
iTCO_wdt iTCO_vendor_support rng_core shpchp parport_pc parport proc
essor thermal_sys button ext4 crc16 jbd2 mbcache dm_mod hid_microsoft
usbhid hid sr_mod sd_mod cdrom crc_t10dif ata_generic 8139too ata_piix
libata uhci_hcd ehci_hcd usbcore scsi_mod floppy 3c59x 8139cp
usb_common sundance mii [last unloaded: scsi_wait_scan]
May 25 17:32:33 debian kernel: [519404.008432] Pid: 0, comm: swapper/0
Not tainted 3.2.0-2-686-pae #1
May 25 17:32:33 debian kernel: [519404.008441] Call Trace:
May 25 17:32:33 debian kernel: [519404.008471]  [<c10384b8>] ?
warn_slowpath_common+0x68/0x79
May 25 17:32:33 debian kernel: [519404.008514]  [<c12313b4>] ?
dev_watchdog+0xb1/0x104
May 25 17:32:33 debian kernel: [519404.008531]  [<c1038531>] ?
warn_slowpath_fmt+0x29/0x2d
May 25 17:32:33 debian kernel: [519404.008546]  [<c12313b4>] ?
dev_watchdog+0xb1/0x104
May 25 17:32:33 debian kernel: [519404.008596]  [<c103ceed>] ?
local_bh_enable+0x2/0x2
May 25 17:32:33 debian kernel: [519404.008628]  [<c10420a0>] ?
run_timer_softirq+0x150/0x1f3
May 25 17:32:33 debian kernel: [519404.008644]  [<c1231303>] ?
netif_tx_unlock+0x3a/0x3a
May 25 17:32:33 debian kernel: [519404.008660]  [<c103ceed>] ?
local_bh_enable+0x2/0x2
May 25 17:32:33 debian kernel: [519404.008676]  [<c103cf81>] ?
__do_softirq+0x94/0x12f
May 25 17:32:33 debian kernel: [519404.008692]  [<c103ceed>] ?
local_bh_enable+0x2/0x2
May 25 17:32:33 debian kernel: [519404.008701]  <IRQ>  [<c103d172>] ?
irq_exit+0x32/0x80
May 25 17:32:33 debian kernel: [519404.008754]  [<c100ce06>] ? do_IRQ+0x65/0x76
May 25 17:32:33 debian kernel: [519404.008783]  [<c12c5af0>] ?
common_interrupt+0x30/0x38
May 25 17:32:33 debian kernel: [519404.008824]  [<c12000d8>] ?
ps2_handle_ack+0x4d/0xb5
May 25 17:32:33 debian kernel: [519404.008844]  [<c10246c0>] ?
native_safe_halt+0x2/0x3
May 25 17:32:33 debian kernel: [519404.008875]  [<c1010d9c>] ?
default_idle+0x52/0x87
May 25 17:32:33 debian kernel: [519404.008890]  [<c100b22f>] ?
cpu_idle+0x95/0xaf
May 25 17:32:33 debian kernel: [519404.008908]  [<c141e708>] ?
start_kernel+0x32a/0x32f
May 25 17:32:33 debian kernel: [519404.008919] ---[ end trace
0eca4f263b7396e0 ]---
May 25 17:32:33 debian kernel: [519404.008937] eth2: Transmit timed
out, TxStatus 00 TxFrameId bc, resetting...

В /var/log/syslog такое:

May 25 17:37:11 debian kernel: [519681.697490] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:11 debian kernel: [519682.051741] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
May 25 17:37:11 debian kernel: [519682.051848] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:12 debian kernel: [519682.406204] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
May 25 17:37:12 debian kernel: [519682.406309] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:12 debian kernel: [519682.760577] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
May 25 17:37:12 debian kernel: [519682.760681] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:12 debian kernel: [519683.114930] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
May 25 17:37:12 debian kernel: [519683.115028] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:13 debian kernel: [519683.469333] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040
May 25 17:37:13 debian kernel: [519683.469435] ath: Could not stop RX,
we could be confusing the DMA engine when we start RX up
May 25 17:37:13 debian kernel: [519683.823692] ath: DMA failed to stop
in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00008040

Видимо всё-таки баг в ath9k?

-- 
Best Regards,
Gary Trotcko


Reply to: