[WLANware] OpenWRT on NanoStation _M_ 5 (note the M)

Thomas Mellenthin thomas at home.mellenthin.de
Sun Dec 19 22:32:56 CET 2010


Hi,

On 18.12.2010 22:22, lynxis wrote:
>> - running olsr on the wan interface (eth1) fails (NLQ is 1, LQ 0). We
>> "fixed" this problem by switching wan (=eth0) and lan (=eth1) in
>> /etc/config/network, but this causes other problems (no dhcp on the
>> lan/eth1 interface, extreme slow wan connections - about 1/10th of the
>> wlan-speed)
 >>
>   .../ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
> +	ar71xx_eth1_data.has_ar7240_switch = 1;
Ok, this fixes the problem partially :)  Now the interface comes up, 
olsrd detects the neighbour on eth1/wan and LQ/NLQ is getting better and 
better... until:

Nov 26 21:03:43 10-22-7-160 user.warn kernel: ------------[ cut here 
]------------
Nov 26 21:03:43 10-22-7-160 user.warn kernel: WARNING: at 
net/sched/sch_generic.c:261 0x801f7e04()
Nov 26 21:03:43 10-22-7-160 user.info kernel: NETDEV WATCHDOG: eth1 
(ag71xx): transmit queue 0 timed out
Nov 26 21:03:43 10-22-7-160 user.warn kernel: Modules linked in: 
ohci_hcd nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc 
nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN xt_CLASSIFY 
xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp
Nov 26 21:03:43 10-22-7-160 user.warn kernel: Call Trace:[<80068374>] 
0x80068374
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<80068374>] 0x80068374
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<8007cf1c>] 0x8007cf1c
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<801f7e04>] 0x801f7e04
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<8007cf9c>] 0x8007cf9c
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<801e3c14>] 0x801e3c14
Nov 26 21:03:43 10-22-7-160 user.warn kernel: [<801f7e04>] 0x801f7e04

now the the interface times out every minute:

Nov 26 21:18:01 10-22-7-160 user.debug kernel: eth1: tx timeout
Nov 26 21:18:01 10-22-7-160 user.info kernel: eth1: link down
Nov 26 21:18:01 10-22-7-160 user.info kernel: eth1: link up 
(1000Mbps/Full duplex)
Nov 26 21:19:01 10-22-7-160 user.debug kernel: eth1: tx timeout
Nov 26 21:19:01 10-22-7-160 user.info kernel: eth1: link down
Nov 26 21:19:01 10-22-7-160 user.info kernel: eth1: link up 
(1000Mbps/Full duplex)
Nov 26 21:20:01 10-22-7-160 user.debug kernel: eth1: tx timeout
Nov 26 21:20:01 10-22-7-160 user.info kernel: eth1: link down
Nov 26 21:20:01 10-22-7-160 user.info kernel: eth1: link up 
(1000Mbps/Full duplex)

It looks like this ticket:
https://dev.openwrt.org/ticket/8438

I'm building a debug-kernel now to get a better stacktrace...


best regards,

// melle

-- 
xmpp: melle at jabber.ccc.de passion: http://mellenthin.de
F489 2C4F E8C2 9A15 DBCB mission: http://freifunk-potsdam.de
127C 81B6 FDC3 7C1A FF85 pubkey: http://mellenthin.de/key.txt



More information about the WLANware mailing list