找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 33514|回复: 66

mt7620n trunk上的无线驱动bug

[复制链接]
发表于 2014-8-18 10:55 | 显示全部楼层 |阅读模式
使用最新openwrt trunk上编译出的ZBT-WA05.bin, 跑起来之后长时间运行会出现以下dmesg,这个时候STA无法和AP建立连接。
有没有人遇到过同样的问题呢?

[ 3702.380000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 3702.390000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 3702.400000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 3702.410000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 3702.420000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[97845.440000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[97845.450000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[97845.460000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[97845.470000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[97845.480000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[101808.120000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[101808.130000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[101808.140000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[101808.150000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[101808.160000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[102318.680000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[102318.690000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[102318.700000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[102318.710000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[102318.720000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

执行wifi restart后,依然无法建立连接。
[106572.440000] br-lan2: port 2(wlan0-1) entered disabled state
[106572.450000] device wlan0-1 left promiscuous mode
[106572.450000] br-lan2: port 2(wlan0-1) entered disabled state
[106572.490000] device wlan0 left promiscuous mode
[106572.490000] br-lan: port 2(wlan0) entered disabled state
[106572.720000] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[106572.930000] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[106573.440000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[106573.440000] device wlan0 entered promiscuous mode
[106573.450000] br-lan: port 2(wlan0) entered forwarding state
[106573.460000] br-lan: port 2(wlan0) entered forwarding state
[106573.470000] br-lan: port 2(wlan0) entered disabled state
[106580.750000] br-lan: port 2(wlan0) entered forwarding state
[106580.750000] br-lan: port 2(wlan0) entered forwarding state
[106580.760000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[106580.780000] device wlan0-1 entered promiscuous mode
[106580.790000] br-lan2: port 2(wlan0-1) entered forwarding state
[106580.790000] br-lan2: port 2(wlan0-1) entered forwarding state
[106580.800000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[106581.040000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[106582.750000] br-lan: port 2(wlan0) entered forwarding state
[106582.790000] br-lan2: port 2(wlan0-1) entered forwarding state
[106591.120000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 2
[106591.120000] Please file bug report to http://rt2x00.serialmonkey.com
[106591.220000] br-lan2: port 2(wlan0-1) entered disabled state
[106591.220000] device wlan0-1 left promiscuous mode
[106591.230000] br-lan2: port 2(wlan0-1) entered disabled state
[106591.280000] device wlan0 left promiscuous mode
[106591.280000] br-lan: port 2(wlan0) entered disabled state
[106591.750000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[106591.750000] device wlan0 entered promiscuous mode
[106591.760000] br-lan: port 2(wlan0) entered forwarding state
[106591.770000] br-lan: port 2(wlan0) entered forwarding state
[106592.260000] br-lan: port 2(wlan0) entered disabled state
[106599.060000] br-lan: port 2(wlan0) entered forwarding state
[106599.060000] br-lan: port 2(wlan0) entered forwarding state
[106599.070000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[106599.090000] device wlan0-1 entered promiscuous mode
[106599.100000] br-lan2: port 2(wlan0-1) entered forwarding state
[106599.100000] br-lan2: port 2(wlan0-1) entered forwarding state
[106599.110000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[106599.340000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[106601.060000] br-lan: port 2(wlan0) entered forwarding state
[106601.100000] br-lan2: port 2(wlan0-1) entered forwarding state
[106655.040000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 2
[106655.040000] Please file bug report to http://rt2x00.serialmonkey.com


只有重启才恢复正常。



我的恩山、我的无线 The best wifi forum is right here.
发表于 2014-8-18 12:15 | 显示全部楼层
wifi 设置的高级设置,HT Mode是不是选择了40MHZ?

点评

不是,设置的值是HT20  详情 回复 发表于 2014-8-18 19:27
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-18 14:50 | 显示全部楼层
打上这个补丁试试.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

同样的问题出现,无线无法建立网络连接, 看来这个补丁,没有起到应有的作用啊。  详情 回复 发表于 2014-8-19 14:19
打上补丁后,会出现 ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2 这样的dmesg, 有两次大量出现。 且后来路由器有重启。  详情 回复 发表于 2014-8-19 11:19
恩,补丁已打,准备测试下。 这个文件里 compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2x00queue.c 要不要做相同的修改?  详情 回复 发表于 2014-8-18 19:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-18 19:27 | 显示全部楼层
shellcode 发表于 2014-8-18 12:15
wifi 设置的高级设置,HT Mode是不是选择了40MHZ?

不是,设置的值是HT20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-18 19:38 | 显示全部楼层
lintel 发表于 2014-8-18 14:50
打上这个补丁试试.

恩,补丁已打,准备测试下。
这个文件里 compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2x00queue.c 要不要做相同的修改?

点评

打了你的补丁之后,把这个文件也按照同样的方式做了修改compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2x00queue.c 。 仍然会有 同样的dmesg出现, 但是这次没有上不了网的情况(之前也有过类似的情况  详情 回复 发表于 2014-8-19 09:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-19 09:03 | 显示全部楼层
qianguozheng 发表于 2014-8-18 19:38
恩,补丁已打,准备测试下。
这个文件里 compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2x ...

打了你的补丁之后,把这个文件也按照同样的方式做了修改compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2x00queue.c 。
仍然会有 同样的dmesg出现, 但是这次没有上不了网的情况(之前也有过类似的情况),我会继续摆着跑长期测试看看。
dmesg
[    0.000000] Linux version 3.10.49 (weeds@weeds-Lenovo) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r16) ) #40 Mon Aug 18 07:47:56 EDT 2014
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620N ver:2 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is YSWiFi-WE126 V1.3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802b2990, node_mem_map 81003e00
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0003e35f
[    0.000000] Readback ErrCtl register=0003e35f
[    0.000000] Memory: 61648k/65536k available (2295k kernel code, 3888k reserved, 552k data, 220k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.050000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] pinctrl core: initialized pinctrl subsystem
[    0.070000] NET: Registered protocol family 16
[    0.080000] rt2880-pinmux pinctrl.1: try to register 73 pins ...
[    0.080000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 28 (io28) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 29 (io29) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 30 (io30) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 31 (io31) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 32 (io32) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 33 (io33) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 34 (io34) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 35 (io35) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 36 (io36) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 37 (io37) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 38 (io38) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 39 (io39) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 40 (io40) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 41 (io41) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 42 (io42) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 43 (io43) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 44 (io44) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 45 (io45) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 46 (io46) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 47 (io47) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 48 (io48) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 49 (io49) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 50 (io50) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 51 (io51) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 52 (io52) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 53 (io53) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 54 (io54) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 55 (io55) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 56 (io56) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 57 (io57) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 58 (io58) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 59 (io59) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 60 (io60) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 61 (io61) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 62 (io62) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 63 (io63) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 64 (io64) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 65 (io65) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 66 (io66) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 67 (io67) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 68 (io68) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 69 (io69) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 70 (io70) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 71 (io71) on rt2880-pinmux
[    0.080000] pinctrl core: registered pin 72 (io72) on rt2880-pinmux
[    0.080000] pinctrl core: add 3 pinmux maps
[    0.080000] rt2880-pinmux pinctrl.1: found group selector 0 for i2c
[    0.080000] rt2880-pinmux pinctrl.1: found group selector 7 for spi refclk
[    0.080000] rt2880-pinmux pinctrl.1: found group selector 11 for wled
[    0.080000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: request pin 2 (io2) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: request pin 37 (io37) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: request pin 38 (io38) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: request pin 39 (io39) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: request pin 72 (io72) for pinctrl.1
[    0.080000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state
[    0.090000] bio: create slab <bio-0> at 0
[    0.100000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.100000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.110000] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.110000] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.120000] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.120000] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.130000] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.130000] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.140000] Switching to clocksource MIPS
[    0.150000] NET: Registered protocol family 2
[    0.150000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.150000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.160000] TCP: Hash tables configured (established 512 bind 512)
[    0.160000] TCP: reno registered
[    0.170000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.180000] NET: Registered protocol family 1
[    0.180000] rt-timer 10000100.timer: maximum frequncy is 2441Hz
[    0.190000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.200000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.210000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.220000] msgmni has been set to 120
[    0.220000] io scheduler noop registered
[    0.230000] io scheduler deadline registered (default)
[    0.230000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.240000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.240000] pinctrl core: add 1 pinmux maps
[    0.240000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[    0.240000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[    0.240000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[    0.240000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.250000] console [ttyS0] enabled, bootconsole disabled
[    0.260000] pinctrl core: add 1 pinmux maps
[    0.260000] rt2880-pinmux pinctrl.1: found group selector 2 for spi
[    0.260000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi
[    0.260000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi
[    0.260000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi
[    0.260000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi
[    0.260000] m25p80 spi32766.0: found w25q128, expected w25q64
[    0.270000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.280000] 4 ofpart partitions found on MTD device spi32766.0
[    0.280000] Creating 4 MTD partitions on "spi32766.0":
[    0.290000] 0x000000000000-0x000000030000 : "u-boot"
[    0.290000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.300000] 0x000000040000-0x000000050000 : "factory"
[    0.310000] 0x000000050000-0x000001000000 : "firmware"
[    0.320000] 0x0000001493c9-0x000001000000 : "rootfs"
[    0.320000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.330000] mtd: device 4 (rootfs) set to be root filesystem
[    0.340000] mtd: partition "rootfs_data" created automatically, ofs=0x4f0000, len=0xb10000
[    0.350000] 0x0000004f0000-0x000001000000 : "rootfs_data"
[    0.360000] (unregistered net_device): port 1 link up (100Mbps/Full duplex)
[    0.370000] ralink_soc_eth 10100000.ethernet: loaded mt7530 driver
[    0.370000] eth0: done loading
[    0.380000] rt3xxx-usbphy ubsphy.3: loaded
[    0.380000] rt2880_wdt 10000120.watchdog: Initialized
[    0.390000] eth0: port 0 link up (10Mbps/Full duplex)
[    0.390000] TCP: cubic registered
[    0.400000] NET: Registered protocol family 17
[    0.400000] 8021q: 802.1Q VLAN Support v1.8
[    0.420000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.420000] Freeing unused kernel memory: 220K (802c9000 - 80300000)
[    4.000000] usbcore: registered new interface driver usbfs
[    4.010000] usbcore: registered new interface driver hub
[    4.010000] usbcore: registered new device driver usb
[    4.020000] rt2880-pinmux pinctrl.1: request pin 1 (io1) for pio:1
[    4.030000] leds-gpio gpio-leds.4: pins are not configured from the driver
[    4.030000] rt2880-pinmux pinctrl.1: request pin 38 (io38) for pio:38
[    4.030000] rt2880-pinmux pinctrl.1: request pin 39 (io39) for pio:39
[    4.030000] rt2880-pinmux pinctrl.1: request pin 72 (io72) for pio:72
[    7.930000] jffs2: notice: (276) jffs2_build_xattr_subsystem: complete building xattr subsystem, 24 of xdatum (0 unchecked, 23 orphan) and 37 of xref (0 dead, 23 orphan) found.
[    9.570000] NET: Registered protocol family 10
[    9.600000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[    9.610000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.670000] u32 classifier
[    9.670000]     input device check on
[    9.680000]     Actions configured
[    9.690000] Mirror/redirect action on
[    9.700000] Failed to load ipt action
[    9.750000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[    9.760000] Backport generated by backports.git backports-20140320-37-g5c33da0
[    9.770000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.870000] xt_time: kernel timezone is -0000
[    9.940000] cfg80211: Calling CRDA to update world regulatory domain
[    9.940000] cfg80211: World regulatory domain updated:
[    9.950000] cfg80211:  DFS Master region: unset
[    9.950000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.960000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.970000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.980000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.990000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   10.000000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.000000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.010000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.020000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.050000] PPP generic driver version 2.4.2
[   10.060000] NET: Registered protocol family 24
[   10.100000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[   10.100000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   10.110000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.970000] device eth0.1 entered promiscuous mode
[   16.980000] device eth0 entered promiscuous mode
[   17.000000] br-lan: port 1(eth0.1) entered forwarding state
[   17.000000] br-lan: port 1(eth0.1) entered forwarding state
[   17.060000] device eth0.3 entered promiscuous mode
[   17.060000] br-lan2: port 1(eth0.3) entered forwarding state
[   17.070000] br-lan2: port 1(eth0.3) entered forwarding state
[   19.000000] br-lan: port 1(eth0.1) entered forwarding state
[   19.070000] br-lan2: port 1(eth0.3) entered forwarding state
[   20.430000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.430000] device wlan0 entered promiscuous mode
[   20.440000] br-lan: port 2(wlan0) entered forwarding state
[   20.440000] br-lan: port 2(wlan0) entered forwarding state
[   20.450000] br-lan: port 2(wlan0) entered disabled state
[   22.830000] br-lan: port 1(eth0.1) entered disabled state
[   22.840000] device eth0 left promiscuous mode
[   22.850000] br-lan2: port 1(eth0.3) entered disabled state
[   23.060000] device eth0 entered promiscuous mode
[   23.060000] br-lan: port 1(eth0.1) entered forwarding state
[   23.070000] br-lan: port 1(eth0.1) entered forwarding state
[   23.080000] br-lan2: port 1(eth0.3) entered forwarding state
[   23.080000] br-lan2: port 1(eth0.3) entered forwarding state
[   25.070000] br-lan: port 1(eth0.1) entered forwarding state
[   25.080000] br-lan2: port 1(eth0.3) entered forwarding state
[   27.350000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   28.560000] br-lan: port 2(wlan0) entered forwarding state
[   28.560000] br-lan: port 2(wlan0) entered forwarding state
[   28.570000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.590000] device wlan0-1 entered promiscuous mode
[   28.600000] br-lan2: port 2(wlan0-1) entered forwarding state
[   28.600000] br-lan2: port 2(wlan0-1) entered forwarding state
[   28.610000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[   28.990000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   29.050000] ------------[ cut here ]------------
[   29.060000] WARNING: at /home/weeds/work/mt7620n_new/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620n/compat-wireless-2014-05-22/drivers/net/wireless/rt2x00/rt2800lib.c:1092 rt2800_conf_tx+0x3c8/0x494 [rt2800lib]()
[   29.080000] Modules linked in: rt2800soc rt2800mmio rt2800lib pppoe ppp_async iptable_nat rt2x00soc rt2x00mmio rt2x00lib pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables crc_itu_t crc_ccitt compat sch_teql sch_tbf sch_sfq sch_red sch_prio sch_htb sch_gred sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ifb ipv6 eeprom_93cx6 arc4 crypto_blkcipher leds_gpio dwc2_platform dwc2 gpio_button_hotplug usbcore nls_base usb_common
[   29.190000] CPU: 0 PID: 1742 Comm: readlink Not tainted 3.10.49 #40
[   29.190000] Stack : 00000000 00000000 00000000 00000000 80302eea 00000037 83371698 8323c540
[   29.190000]    80269d1c 802b31fb 000006ce 80302694 83371698 8323c540 00000008 0000001c
[   29.190000]    00000001 8001e1c0 00000003 8001bc2c 831f3bd8 8323c540 8026b5a8 82903cbc
[   29.190000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   29.190000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 82903c48
[   29.190000]    ...
[   29.230000] Call Trace:
[   29.230000] [<800112f4>] show_stack+0x48/0x70
[   29.240000] [<8001bd28>] warn_slowpath_common+0x78/0xa8
[   29.240000] [<8001bde0>] warn_slowpath_null+0x18/0x24
[   29.250000] [<831e4078>] rt2800_conf_tx+0x3c8/0x494 [rt2800lib]
[   29.250000]
[   29.260000] ---[ end trace 3869098970c53c6e ]---
[   30.560000] br-lan: port 2(wlan0) entered forwarding state
[   30.600000] br-lan2: port 2(wlan0-1) entered forwarding state
[  109.500000] raw_sendmsg: wifidog forgot to set AF_INET. Fix it!
[  117.820000] HTB: quantum of class 10001 is big. Consider r2q change.
[  117.850000] HTB: quantum of class 11024 is big. Consider r2q change.
[  117.900000] HTB: quantum of class 10001 is big. Consider r2q change.
[  117.930000] HTB: quantum of class 11024 is big. Consider r2q change.
[ 2408.400000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.410000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.420000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.430000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.440000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.610000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.620000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.630000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
[ 2408.630000] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-19 11:19 | 显示全部楼层
lintel 发表于 2014-8-18 14:50
打上这个补丁试试.

打上补丁后,会出现 ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2 这样的dmesg, 有两次大量出现。 且后来路由器有重启。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-19 14:19 | 显示全部楼层
lintel 发表于 2014-8-18 14:50
打上这个补丁试试.

同样的问题出现,无线无法建立网络连接, 看来这个补丁,没有起到应有的作用啊。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-20 14:59 | 显示全部楼层
各位大神,这是个学习的机会啊,证明你实力的时候到了,快来试试身手吧,类似的问题在很多ralink的芯片上都有,解掉这个bug,我相信,您肯定会有所提升。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-20 16:21 | 显示全部楼层
不太懂,求大神指点。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-20 22:54 | 显示全部楼层
求大神指点啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-9 14:56 | 显示全部楼层
我用的是dlink的615d4,这个问题不定期出现,简直烦透了,似乎ramips无法摆脱这个问题
后来换了ddwrt,似乎还没出现过,但功能少了不少了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-9-9 15:16 来自手机 | 显示全部楼层
ar9344挂rt3070的usb网卡也是刷日志的报错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-12-13 15:08 | 显示全部楼层
我来围观,,,一会儿试试。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2015-1-5 16:50 | 显示全部楼层
这个问题有大神最终解决了吗?

点评

看了代码,应该是网卡发送的queue只有接收队列的一半,导致两个wifi 客户端直接传递东西出现报错。 试试 附件的补丁,放到package/kernel/mac80211/patches 目录下,然后重新编译openwrt  详情 回复 发表于 2015-3-19 13:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-18 23:20

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表