Active Topics

 


Reply
Thread Tools
Posts: 10 | Thanked: 13 times | Joined on Feb 2010
#1
I've installed the power kernel (v46) on my N900 running PR1.3. I'm running into issues with IPv6 support. I acquire an IPv6 address successfully, and then I can use IPv6 only briefly. If I try to ping say ipv6.google.com, about 8-9 packets will get through and then nothing. It's very similar to the problem described here:

The first eight packets get responded to, and then all other packets get dropped.
Digging deeper, it seems that the neighbour table is never set up correctly. At first, it looks like this (while pinging is successful):

Code:
# ip -6 neigh
2001:388:xxxx:xxxx::1 dev wlan0 lladdr 00:21:29:7e:41:ca DELAY
fe80::24cf:1fff:feea:515f dev wlan0  router FAILED
Then it goes to this briefly (for about a second):
Code:
# ip -6 neigh
2001:388:xxxx:xxxx::1 dev wlan0 lladdr 00:21:29:7e:41:ca PROBE
fe80::24cf:1fff:feea:515f dev wlan0  router FAILED
And then finally this, when the ping no longer works:
Code:
# ip -6 neigh
2001:388:xxxx:xxxx::1 dev wlan0 router FAILED
fe80::24cf:1fff:feea:515f dev wlan0  router FAILED
Both those addresses above are my IPv6 gateway (an OpenWRT 10.03 box). tcpdump (on the N900) shows neighbour solicitations going out asking for the router, the router responds, tcpdump sees them, but it appears to fall on deaf ears:

Code:
09:41:36.532385 IP6 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7 > ff02::1:ffea:515f: ICMP6, neighbor solicitation, who has fe80::24cf:1fff:feea:515f, length 32
09:41:36.541967 IP6 fe80::24cf:1fff:feea:515f > 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7: ICMP6, neighbor advertisement, tgt is fe80::24cf:1fff:feea:515f, length 32
09:41:37.542883 IP6 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7 > ff02::1:ffea:515f: ICMP6, neighbor solicitation, who has fe80::24cf:1fff:feea:515f, length 3209:41:37.592321 IP6 fe80::24cf:1fff:feea:515f > 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7: ICMP6, neighbor advertisement, tgt is fe80::24cf:1fff:feea:515f, length 32
09:41:38.541296 IP6 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7 > ff02::1:ffea:515f: ICMP6, neighbor solicitation, who has fe80::24cf:1fff:feea:515f, length 32
09:41:38.592230 IP6 fe80::24cf:1fff:feea:515f > 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7: ICMP6, neighbor advertisement, tgt is fe80::24cf:1fff:feea:515f, length 32
09:41:39.547949 IP6 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7 > ff02::1:ffea:515f: ICMP6, neighbor solicitation, who has fe80::24cf:1fff:feea:515f, length 32
09:41:39.600042 IP6 fe80::24cf:1fff:feea:515f > 2001:388:xxxx:xxxx:21f:dfff:fe15:60c7: ICMP6, neighbor advertisement, tgt is fe80::24cf:1fff:feea:515f, length 32
I can force it to work by hard-coding my gateway into the neighbour table:

Code:
# ip -6 neigh replace fe80::24cf:1fff:feea:515f dev wlan0 nud permanent lladdr 00:21:29:7E:41:CA
And then I have no problems (until I reconnect).

Has anyone seen issues like this? Perhaps it could be related to some weird behaviour of the wl1251? (I've seen weird behaviour of a similar ilk due to subtle link-layer bugs on an ipw2200 card years ago).

To make matters weirder, the same N900 works fine on a different IPv6 network at work (where the IPv6 gateway and the wireless AP are different devices). However, other v6-enabled devices (both Linux and Mac OS X) work flawlessly on both networks.
 

The Following 2 Users Say Thank You to BernardB For This Useful Post:
Posts: 10 | Thanked: 13 times | Joined on Feb 2010
#2
Figured this one out at last! Description of the issue and a patch is at https://garage.maemo.org/tracker/index.php?aid=6784

I can post a fixed wl12xx.ko module if anyone wants.
 

The Following 4 Users Say Thank You to BernardB For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#3
Originally Posted by BernardB View Post
Figured this one out at last! Description of the issue and a patch is at https://garage.maemo.org/tracker/index.php?aid=6784

I can post a fixed wl12xx.ko module if anyone wants.
I would like to receive the patched module. This issue is biting me a lot lately, now that all WiFi networks I regularly visit are IPv6 enabled.

Edwin
 
Posts: 10 | Thanked: 13 times | Joined on Feb 2010
#4
Here is the patched wl12xx.ko built for this kernel:

Linux eos 2.6.28.10power46 #1 PREEMPT Sun Dec 12 03:11:24 EET 2010 armv7l unknown

Check its contents with:

Code:
$ root
# tar tzf /tmp/patched-wl12xx.tar.gz
lib/modules/2.6.28.10power46/wl12xx.ko
Extract with:

Code:
# cd /
# tar xzf /tmp/patched-wl12xx.tar.gz
Load with:

Code:
# rmmod wl12xx
# modprobe wl12xx
(or just reboot).
Attached Files
File Type: gz patched-wl12xx.tar.gz (33.5 KB, 246 views)
 

The Following 2 Users Say Thank You to BernardB For This Useful Post:
Posts: 31 | Thanked: 16 times | Joined on Mar 2010
#5
I want to thank you for this. I had nearly pulled my hair out trying to figure out what was going on with those neighbor solicitations/advertisiments.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:41.