11s on openwrt
Leonardo Maccari
leonardo.maccari at unifi.it
Fri Oct 16 09:06:54 EDT 2009
Javier Cardona wrote:
> Ciao Leonardo,
>
>> This doen't work as expected. Actually it doesn't work at all :-)
>> at least for avila (ixp4XX processor) it doesn't compile, you have to
>> patch it to do it. Even after the patch, I see that stable kamikaze
>> (8.09.1) is equipped with kernel 2.6.26 and compat-wireless-2008-08-06.
>> This should include at least release 0.2.1 of 11s right?
>> I was unable to make it work yet.
>
> We found that the easiest way to bring o11s to openwrt was to generate
> a compat-wireless package from a newer kernel. We used 2.6.30 that
> was the newest kernel supported by openwrt at the time.
> We have not tested the configuration you describe, but I would expect
> it to work.
ok, so you took openwrt from trunk, cross-compiled compat-wireless for
2.6.30 (that was the lates kernel for your platform), substituted the
modules and it worked. What modules did you exactly recompiled? I'm just
doing insmod of cfg80211, mac80211 ieee80211 (and crypto modules) and
finaly ath5k.
I'm trying to make this work with 2.6.26 from kamikaze but some modules
hopelessy segfault.. [1]
>> Or,
>> whatever kernel I use (>2.6.22), if I get any compat-wireless[-old] I
>> can make ath5k and 11s work?
>
> Yes
ok, so I suppose that my segfaults are due to the fact that openwrt
kernel is patched enough from openwrt people so that compat-wireless-old
makes unusable modules?
thanks,
leonardo.
[1]
pgd = c3fbc000
[00000000] *pgd=03f26031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
Modules linked in: tg3 nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_iri
CPU: 0 Not tainted (2.6.26.8 #26)
PC is at __bug+0x20/0x2c
LR is at check_preempt_wakeup+0xd0/0xf4
pc : [<c0026318>] lr : [<c00329c0>] psr: 60000013
sp : c3f73b94 ip : c02983a8 fp : c3f73ba0
r10: c3f73c0a r9 : 00000002 r8 : 00000000
r7 : c3ea0b60 r6 : c3f73c0a r5 : 00000001 r4 : fffffdf4
r3 : 00000000 r2 : 20000013 r1 : 00000001 r0 : 00000092
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 000039ff Table: 03fbc000 DAC: 00000015
Process iw (pid: 2516, stack limit = 0xc3f72260)
Stack: (0xc3f73b94 to 0xc3f74000)
3b80: c3f73bbc c3f73ba4
bf05ee44
3ba0: c0026304 fffffdf4 c3e9c000 c3deebc0 c3f73c38 c3f73bc0 bf04a428
bf05ee0c
3bc0: c3f73c04 c3f73be8 c3f73bd4 c0078a0c c3e62000 c3e9c01c 00000001
00000000
3be0: 00000000 00000000 c0184b80 c3f73c20 c3f73bfc c018928c c01892a0
c3d69200
3c00: 00000000 c3deebc0 000009d4 c3c36c00 c3e62000 c3d69200 c3deebc0
000009d4
3c20: c3c36c00 00000004 c3e62300 c3f73c60 c3f73c3c c01a0498 bf04a33c
c0078420
3c40: c3d69208 c3d69200 c3deebc0 000009d4 c3c36c00 c3f73c84 c3f73c64
c01a28c8
3c60: c01a0450 00000014 c3d69c00 bf04cf98 bf04cd3c c3d69c10 c3f73ccc
c3f73c88
3c80: c01a43b0 c01a2780 00000000 c00300ec c002ff5c c3c1b200 c3c1b200
c3c1b200
3ca0: 00000000 c3d69c00 c3e62300 c01a42f0 00000000 000000d0 00000000
c3d69200
3cc0: c3f73ce8 c3f73cd0 c01a169c c01a42fc c3e62300 c02a3ab8 c3c36c00
c3f73d00
3ce0: c3f73cec c01a38b8 c01a1654 0000001c c3e62300 c3f73d38 c3f73d04
c01a1434
3d00: c01a389c c3d69c00 00000000 7fffffff c3e62300 00000000 c3d69200
00000000
3d20: c3f73f58 c3f73e0c c392eb40 c3f73d84 c3f73d3c c01a1eb4 c01a121c
c3f73d9c
3d40: 0000001c 00000000 000009d4 00000000 00000000 00000000 00000000
c3f73d88
3d60: c3c7cf00 c3f73f58 0000001c 00000000 00000000 c3f73ef8 c3f73e70
c3f73d88
3d80: c018280c c01a1c60 00000000 c3f73db4 00000000 00000001 ffffffff
00000000
3da0: 00000000 00000000 00000000 00000000 c3c7cf00 00000000 00000000
00000000
3dc0: c3c7cf00 c00485dc c3f73dc8 c3f73dc8 0000000a c3f73df0 c3f73e0c
c0068410
3de0: c010c434 c3f73e34 c3f73df4 c0028b1c c00683c8 c3fc8708 00000008
00000000
3e00: 00000000 c3941c30 0000000a c032a820 00000000 c3f73e34 0000001c
c392eb40
3e20: c3f73e78 c3f73d48 c3f73f58 c3f73e78 0000000c c3f73ef8 c3f73e78
00000128
3e40: c0022c24 c3f73ef8 00000008 00000000 00000003 c392eb40 0000001c
c3f73f38
3e60: 00000008 c3f73fa4 c3f73e74 c01829f0 c0182764 00000000 00100000
00000000
3e80: 00000000 c3941c30 00000004 c032a800 00000000 c3f73eb4 c3f73ea4
c005c71c
3ea0: c0048584 0374005f c3f73f00 c3f73eb8 c006a518 c005c6d8 c3fbc000
c3cda780
3ec0: 00000000 00000000 00000000 00000004 0000c000 c032a800 00000000
00000000
3ee0: c3c7cf00 c3fc86e4 0000c000 00000000 c3fbc000 c3f73f4c 0001f12c
00000000
3f00: c006a1c8 00000004 00000000 00000000 c3f73f1c c3cda780 c0109e08
c3fbc000
3f20: 00000030 ffffffff 00000200 c3fc86e4 c3f73f4c c3f73f40 c004c114
c010e180
3f40: c3f73f84 c3f73f50 c0028358 c004c110 c007ccb8 c007c91c c3f73e78
0000000c
3f60: c3f73ef8 00000001 00000000 00000000 00000000 00000000 ffffff97
0001f0d0
3f80: 0001f078 bebc5d44 00000128 c0022c24 c3f72000 00000003 00000000
c3f73fa8
3fa0: c0022a80 c0182844 0001f0d0 0001f078 00000003 bebc5d44 00000000
00000000
3fc0: 0001f0d0 0001f078 bebc5d44 0001f0d0 00000002 00000000 00000003
bebc5f71
3fe0: 400361f8 bebc5d24 4002aa90 40089ca4 60000010 00000003 642a6263
2a73632a
Backtrace:
[<c00262f8>] (__bug+0x0/0x2c) from [<bf05ee44>]
(ieee80211_aes_ccm_decrypt+0x29)
[<bf05ee00>] (ieee80211_aes_ccm_decrypt+0x254/0x1818 [mac80211]) from
[<bf04a42)
r6:c3deebc0 r5:c3e9c000 r4:fffffdf4
[<bf04a330>] (nl80211_notify_dev_rename+0x3fc/0x1ae0 [cfg80211]) from
[<c01a049)
[<c01a0444>] (netlink_dump+0x0/0x1b0) from [<c01a28c8>]
(netlink_dump_start+0x1)
r8:c3c36c00 r7:000009d4 r6:c3deebc0 r5:c3d69200 r4:c3d69208
[<c01a2774>] (netlink_dump_start+0x0/0x19c) from [<c01a43b0>]
(genl_rcv_msg+0xc)
r8:c3d69c10 r7:bf04cd3c r6:bf04cf98 r5:c3d69c00 r4:00000014
[<c01a42f0>] (genl_rcv_msg+0x0/0x180) from [<c01a169c>]
(netlink_rcv_skb+0x54/0)
[<c01a1648>] (netlink_rcv_skb+0x0/0xb8) from [<c01a38b8>]
(genl_rcv+0x28/0x3c)
r6:c3c36c00 r5:c02a3ab8 r4:c3e62300
[<c01a3890>] (genl_rcv+0x0/0x3c) from [<c01a1434>]
(netlink_unicast+0x224/0x2cc)
r5:c3e62300 r4:0000001c
[<c01a1210>] (netlink_unicast+0x0/0x2cc) from [<c01a1eb4>]
(netlink_sendmsg+0x2)
[<c01a1c54>] (netlink_sendmsg+0x0/0x274) from [<c018280c>]
(sock_sendmsg+0xb4/0)
[<c0182758>] (sock_sendmsg+0x0/0xe0) from [<c01829f0>]
(sys_sendmsg+0x1b8/0x214)
r9:00000008 r8:c3f73f38 r7:0000001c r6:c392eb40 r5:00000003
r4:00000000
[<c0182838>] (sys_sendmsg+0x0/0x214) from [<c0022a80>]
(ret_fast_syscall+0x0/0x)
Code: e1a01000 e59f000c eb003ec9 e3a03000 (e5833000)
---[ end trace 1e708797216b2d24 ]---
--
Leonardo Maccari, Telecommunication Network Lab,
Department of Electronics and Telecommunications, University of Florence
http://lart.det.unifi.it/Members/maccari/ Lab Tel:+39 055 4796467
Key fingerprint = 3129 C583 F03B 2E73 0115 C040 3489 0185 B592 19FE
More information about the Devel
mailing list