Openmoko Bug #2277: Wireless does not work with the 2.6.29 kernel

Openmoko Public Trac bugs at docs.openmoko.org
Fri Sep 4 15:41:58 CEST 2009


#2277: Wireless does not work with the 2.6.29 kernel
-----------------------------+----------------------------------------------
 Reporter:  arhuaco          |          Owner:  openmoko-kernel     
     Type:  defect           |         Status:  new                 
 Priority:  normal           |      Milestone:  stable-kernel-2009.1
Component:  System Software  |        Version:                      
 Severity:  normal           |       Keywords:                      
 Haspatch:  0                |      Blockedby:                      
Estimated:                   |    Patchreview:                      
 Blocking:                   |   Reproducible:  always              
-----------------------------+----------------------------------------------

Comment(by lindi):

 Thanks a lot Paul. So far 0001-Revert-AR6000-move-low-level-cleanup-from-
 ar6000_d.patch seems to work fine with d1c828aa7073b356.

 I did some current measurements: it seems unbind is enough to power
 everything down. The script is at

 http://iki.fi/lindi/openmoko/wlan-current-measurement1.pl

 and output is here:

 dhclient: no process found
 eth0: ERROR while getting interface flags: No such device
 ERROR: Module ar6000 does not exist in /proc/modules
 >dbg running echo 0 > /sys/class/i2c-
 adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    44625, mean 44625.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    44625, mean 44625.0000, deviation    0.0000, range
 0.0000
 >dbg current now    45000, mean 44750.0000, deviation  216.5064, range
 375.0000
 >dbg current now    45000, mean 44812.5000, deviation  216.5064, range
 375.0000
 >dbg current now    45000, mean 44850.0000, deviation  205.3960, range
 375.0000
 >dbg current now    44625, mean 44812.5000, deviation  205.3960, range
 375.0000
 >dbg current now    44625, mean 44785.7143, deviation  200.4459, range
 375.0000
 >dbg current now    45000, mean 44812.5000, deviation  200.4459, range
 375.0000
 >dbg current now    45000, mean 44833.3333, deviation  197.6424, range
 375.0000
 >dbg current now    45000, mean 44850.0000, deviation  193.6492, range
 375.0000
 >dbg running modprobe ar6000
 WARNING: All config files need .conf: /etc/modprobe.d/linux-sound-
 base_noOSS, it will be ignored in a future release.
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    44625, mean 44625.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    44812, mean 44718.5000, deviation  132.2290, range
 187.0000
 >dbg current now    44812, mean 44749.6667, deviation  107.9645, range
 187.0000
 >dbg current now    44812, mean 44765.2500, deviation   93.5000, range
 187.0000
 >dbg current now    45000, mean 44812.2000, deviation  132.5828, range
 375.0000
 >dbg current now    45000, mean 44843.5000, deviation  141.2115, range
 375.0000
 >dbg current now    44812, mean 44839.0000, deviation  129.4566, range
 375.0000
 >dbg current now    44812, mean 44835.6250, deviation  120.2330, range
 375.0000
 >dbg current now    44812, mean 44833.0000, deviation  112.7431, range
 375.0000
 >dbg current now    44812, mean 44830.9000, deviation  106.5024, range
 375.0000
 >dbg running echo s3c2440-sdi > /sys/bus/platform/drivers/s3c2440-sdi/bind
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    50437, mean 50437.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    50437, mean 50437.0000, deviation    0.0000, range
 0.0000
 >dbg current now    50437, mean 50437.0000, deviation    0.0000, range
 0.0000
 >dbg current now    50812, mean 50530.7500, deviation  187.5000, range
 375.0000
 >dbg current now    50812, mean 50587.0000, deviation  205.3960, range
 375.0000
 >dbg current now    50812, mean 50624.5000, deviation  205.3960, range
 375.0000
 >dbg current now    50812, mean 50651.2857, deviation  200.4459, range
 375.0000
 >dbg current now    50812, mean 50671.3750, deviation  194.0809, range
 375.0000
 >dbg current now    51000, mean 50707.8889, deviation  212.0339, range
 563.0000
 >dbg current now    51000, mean 50737.1000, deviation  220.2178, range
 563.0000
 >dbg running ifconfig eth0 up
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    50250, mean 50250.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    50250, mean 50250.0000, deviation    0.0000, range
 0.0000
 >dbg current now    52687, mean 51062.3333, deviation 1407.0026, range
 2437.0000
 >dbg current now    52687, mean 51468.5000, deviation 1407.0026, range
 2437.0000
 >dbg current now    52687, mean 51712.2000, deviation 1334.7999, range
 2437.0000
 >dbg current now    50625, mean 51531.0000, deviation 1273.7163, range
 2437.0000
 >dbg current now    50625, mean 51401.5714, deviation 1212.1152, range
 2437.0000
 >dbg current now    50812, mean 51327.8750, deviation 1141.3954, range
 2437.0000
 >dbg current now    50812, mean 51270.5556, deviation 1081.4367, range
 2437.0000
 >dbg current now    50812, mean 51224.7000, deviation 1029.8483, range
 2437.0000
 >dbg running iwconfig eth0 essid aalto
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    55875, mean 55875.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    55125, mean 55500.0000, deviation  530.3301, range
 750.0000
 >dbg current now    55125, mean 55375.0000, deviation  433.0127, range
 750.0000
 >dbg current now    55125, mean 55312.5000, deviation  375.0000, range
 750.0000
 >dbg current now    55125, mean 55275.0000, deviation  335.4102, range
 750.0000
 >dbg current now    55125, mean 55250.0000, deviation  306.1862, range
 750.0000
 >dbg current now    54000, mean 55071.4286, deviation  548.9438, range
 1875.0000
 >dbg current now    54000, mean 54937.5000, deviation  633.8657, range
 1875.0000
 >dbg current now    54000, mean 54833.3333, deviation  670.2378, range
 1875.0000
 >dbg current now    56062, mean 54956.2000, deviation  741.8003, range
 2062.0000
 >dbg running dhclient eth0
 There is already a pid file /var/run/dhclient.pid with pid 4348
 removed stale PID file
 Internet Systems Consortium DHCP Client V3.1.2p1
 Copyright 2004-2009 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/

 Listening on LPF/eth0/00:12:cf:8e:ee:09
 Sending on   LPF/eth0/00:12:cf:8e:ee:09
 Sending on   Socket/fallback
 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
 DHCPOFFER from 130.233.238.254
 DHCPREQUEST on eth0 to 255.255.255.255 port 67
 DHCPACK from 130.233.238.254
 bound to 130.233.238.213 -- renewal in 547 seconds.
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    54187, mean 54187.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    54187, mean 54187.0000, deviation    0.0000, range
 0.0000
 >dbg current now    54937, mean 54437.0000, deviation  433.0127, range
 750.0000
 >dbg current now    54937, mean 54562.0000, deviation  433.0127, range
 750.0000
 >dbg current now    54937, mean 54637.0000, deviation  410.7919, range
 750.0000
 >dbg current now    54187, mean 54562.0000, deviation  410.7919, range
 750.0000
 >dbg current now    54187, mean 54508.4286, deviation  400.8919, range
 750.0000
 >dbg current now    56437, mean 54749.5000, deviation  776.3238, range
 2250.0000
 >dbg current now    56437, mean 54937.0000, deviation  918.5587, range
 2250.0000
 >dbg current now    56437, mean 55087.0000, deviation  987.4209, range
 2250.0000
 PING aallonmurtaja.hut.fi (130.233.230.131) 56(84) bytes of data.
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=1 ttl=64
 time=13.1 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=2 ttl=64
 time=110 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=3 ttl=64
 time=25.3 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=4 ttl=64
 time=40.5 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=5 ttl=64
 time=65.3 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=6 ttl=64
 time=81.8 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=7 ttl=64
 time=205 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=8 ttl=64
 time=120 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=9 ttl=64
 time=36.7 ms
 64 bytes from aallonmurtaja.hut.fi (130.233.230.131): icmp_seq=10 ttl=64
 time=50.1 ms

 --- aallonmurtaja.hut.fi ping statistics ---
 10 packets transmitted, 10 received, 0% packet loss, time 9042ms
 rtt min/avg/max/mdev = 13.187/74.911/205.384/54.752 ms
 >dbg running ifconfig eth0 down
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    56062, mean 56062.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    56437, mean 56249.5000, deviation  265.1650, range
 375.0000
 >dbg current now    56437, mean 56312.0000, deviation  216.5064, range
 375.0000
 >dbg current now    53812, mean 55687.0000, deviation 1262.4381, range
 2625.0000
 >dbg current now    53812, mean 55312.0000, deviation 1377.8380, range
 2625.0000
 >dbg current now    53812, mean 55062.0000, deviation 1376.1359, range
 2625.0000
 >dbg current now    55312, mean 55097.7143, deviation 1259.7831, range
 2625.0000
 >dbg current now    55312, mean 55124.5000, deviation 1168.7906, range
 2625.0000
 >dbg current now    80812, mean 57978.6667, deviation 8632.0171, range
 27000.0000
 >dbg current now    80812, mean 60262.0000, deviation 10879.7403, range
 27000.0000
 >dbg running echo s3c2440-sdi >
 /sys/bus/platform/drivers/s3c2440-sdi/unbind
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    44625, mean 44625.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    44625, mean 44625.0000, deviation    0.0000, range
 0.0000
 >dbg current now    44625, mean 44625.0000, deviation    0.0000, range
 0.0000
 >dbg current now    44625, mean 44625.0000, deviation    0.0000, range
 0.0000
 >dbg current now    44625, mean 44625.0000, deviation    0.0000, range
 0.0000
 >dbg current now    45000, mean 44687.5000, deviation  153.0931, range
 375.0000
 >dbg current now    45000, mean 44732.1429, deviation  182.9813, range
 375.0000
 >dbg current now    44437, mean 44695.2500, deviation  198.9664, range
 563.0000
 >dbg current now    44437, mean 44666.5556, deviation  205.0598, range
 563.0000
 >dbg current now    44437, mean 44643.6000, deviation  206.5113, range
 563.0000
 >dbg running rmmod ar6000
 >dbg sleeping for 60 seconds for current to stabilize
 >dbg taking 10 samples with 10-second delays
 >dbg current now    44437, mean 44437.0000, deviation   -1.0000, range
 0.0000
 >dbg current now    44437, mean 44437.0000, deviation    0.0000, range
 0.0000
 >dbg current now    45187, mean 44687.0000, deviation  433.0127, range
 750.0000
 >dbg current now    45187, mean 44812.0000, deviation  433.0127, range
 750.0000
 >dbg current now    45000, mean 44849.6000, deviation  384.3095, range
 750.0000
 >dbg current now    45000, mean 44874.6667, deviation  349.1777, range
 750.0000
 >dbg current now    45000, mean 44892.5714, deviation  322.2550, range
 750.0000
 >dbg current now    44437, mean 44835.6250, deviation  339.0516, range
 750.0000
 >dbg current now    44437, mean 44791.3333, deviation  343.8637, range
 750.0000
 >dbg current now    45000, mean 44812.2000, deviation  330.8450, range
 750.0000

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2277#comment:23>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list