Netdev List
 help / color / mirror / Atom feed
* Re: [PATCH] xircom_cb should return NETDEV_TX_BUSY when there are no descriptors available
From: Jeff Garzik @ 2008-02-04 22:31 UTC (permalink / raw)
  To: Erik Mouw; +Cc: netdev, Waskiewicz Jr, Peter P, jamal
In-Reply-To: <20080204212037.GB11417@gateway.home>

Erik Mouw wrote:
> On Mon, Feb 04, 2008 at 06:56:54PM +0100, Erik Mouw wrote:
>> Changes in other networking paths uncovered a bug in the xircom_cb
>> driver which made the kernel spew lots of the following error messages:
>>
>>   BUG eth1 code -5 qlen 0
>>
>> It turned out that the driver returned -EIO when there was no
>> descriptor available for sending packets. It should return
>> NETDEV_TX_BUSY instead. This was discussed on the netdev list before,
>> see http://thread.gmane.org/gmane.linux.network/84603 .
>>
>> Signed-off-by: Erik Mouw <mouw@nl.linux.org>
> 
> Forgot to tell: the patch is against 2.6.24 but should apply cleanly to
> the latest git kernel. The xircom_cb driver appears to be orphaned so
> I've send the patch to you.

Yep, that's the right thing to do...

	Jeff




^ permalink raw reply

* Re: [Wireless, ath5k] 2.6.24-git13 9135f1901ee6449dfe338adf6e40e9c2025b8150
From: Dan Williams @ 2008-02-04 21:52 UTC (permalink / raw)
  To: Oliver Pinter
  Cc: Jiri Slaby, netdev, ath5k-devel-xDcbHBWguxEUs3QNXV6qNA,
	John W. Linville, Linux Kernel, Bruno Randolf, Andrew Morton,
	Linus Torvalds
In-Reply-To: <6101e8c40802041334o20b2b391la5b0a5f557ee67c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Mon, 2008-02-04 at 22:34 +0100, Oliver Pinter wrote:
> On 2/4/08, Jiri Slaby <jirislaby@gmail.com> wrote:
> > On 02/04/2008 03:00 PM, Oliver Pinter (Pintér Olivér) wrote:
> > > git top: 9135f1901ee6449dfe338adf6e40e9c2025b8150
> > >
> > > [  399.582185] wpa_supplicant[4383]: segfault at 30 ip 080697ca sp
> > > bf87a690 error 4 in wpa_supplicant[8048000+4c000]
> > > [  406.277199] wpa_supplicant[4384]: segfault at 30 ip 080697ca sp
> > > bfc13a30 error 4 in wpa_supplicant[8048000+4c000]
> > > [  407.586375] wpa_supplicant[4385]: segfault at 30 ip 080697ca sp
> > > bf9ed000 error 4 in wpa_supplicant[8048000+4c000]
> > > [  411.671037] wpa_supplicant[4386]: segfault at 30 ip 080697ca sp
> > > bf8f3710 error 4 in wpa_supplicant[8048000+4c000]
> > > [  412.569843] wpa_supplicant[4387]: segfault at 30 ip 080697ca sp
> > > bfc19a30 error 4 in wpa_supplicant[8048000+4c000]
> > > [  413.118874] wpa_supplicant[4388]: segfault at 30 ip 080697ca sp
> > > bfc9cab0 error 4 in wpa_supplicant[8048000+4c000]
> >
> > Seems like wpa_supplicant is broken. Is this a regression?
> 
> yes, but with madwifi is all ok
> >
> > > home:~# wpa_supplicant -Dwext -iath0 -c
> > /etc/wpa_supplicant/wpa_supplicant.conf
> >
> > ath0? udev renamed it?
> 
> yes
> >
> > > ioctl[SIOCSIWAUTH]: Operation not supported
> > > WEXT auth param 4 value 0x0 - bind(PF_UNIX): Address already in use
> >
> > 4 - 0x0 is TKIP, nothing we should worry about.
> >
> > > ctrl_iface exists and seems to be in use - cannot override it
> > > Delete '/var/run/wpa_supplicant/ath0' manually if it is not used anymore
> > > Failed to initialize control interface '/var/run/wpa_supplicant'.
> > > You may have another wpa_supplicant process already running or the file
> > was
> > > left by an unclean termination of wpa_supplicant in which case you will
> > need
> > > to manually remove this file before starting wpa_supplicant again.
> >
> > Have you?
> 
> yes
> >
> > I guess ltrace would help here. And maybe strace...
> >
> 
> strace attached and wpa_supplicant more verbose output

It doesn't look like the driver is returning _any_ scan results.  What
does '/sbin/iwlist wlan0 scan' show from the command line.  If the
driver isn't returning scan results to the supplicant, there's not much
the supplicant can do.  You may need to ensure the interface is up
before scanning.

Note that the specific behavior of the process requesting scan results
can sometimes interact badly with the driver.  The driver most likely
needs to cope with this (by caching the BSS list internally for example)
and handle whatever behavior userspace programs throw at it.

Dan

_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

^ permalink raw reply

* Re: [Wireless, ath5k] 2.6.24-git13 9135f1901ee6449dfe338adf6e40e9c2025b8150
From: Oliver Pinter @ 2008-02-04 21:40 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: netdev, ath5k-devel-xDcbHBWguxEUs3QNXV6qNA, John W. Linville,
	Linux Kernel, Bruno Randolf, Andrew Morton
In-Reply-To: <6101e8c40802041334o20b2b391la5b0a5f557ee67c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 2/4/08, Oliver Pinter <oliver.pntr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On 2/4/08, Jiri Slaby <jirislaby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > On 02/04/2008 03:00 PM, Oliver Pinter (Pintér Olivér) wrote:
> > > git top: 9135f1901ee6449dfe338adf6e40e9c2025b8150
> > >
> > > [  399.582185] wpa_supplicant[4383]: segfault at 30 ip 080697ca sp
> > > bf87a690 error 4 in wpa_supplicant[8048000+4c000]
> > > [  406.277199] wpa_supplicant[4384]: segfault at 30 ip 080697ca sp
> > > bfc13a30 error 4 in wpa_supplicant[8048000+4c000]
> > > [  407.586375] wpa_supplicant[4385]: segfault at 30 ip 080697ca sp
> > > bf9ed000 error 4 in wpa_supplicant[8048000+4c000]
> > > [  411.671037] wpa_supplicant[4386]: segfault at 30 ip 080697ca sp
> > > bf8f3710 error 4 in wpa_supplicant[8048000+4c000]
> > > [  412.569843] wpa_supplicant[4387]: segfault at 30 ip 080697ca sp
> > > bfc19a30 error 4 in wpa_supplicant[8048000+4c000]
> > > [  413.118874] wpa_supplicant[4388]: segfault at 30 ip 080697ca sp
> > > bfc9cab0 error 4 in wpa_supplicant[8048000+4c000]
> >
> > Seems like wpa_supplicant is broken. Is this a regression?
>
> yes, but with madwifi is all ok
> >
> > > home:~# wpa_supplicant -Dwext -iath0 -c
> > /etc/wpa_supplicant/wpa_supplicant.conf
> >
> > ath0? udev renamed it?
>
> yes
> >
> > > ioctl[SIOCSIWAUTH]: Operation not supported
> > > WEXT auth param 4 value 0x0 - bind(PF_UNIX): Address already in use
> >
> > 4 - 0x0 is TKIP, nothing we should worry about.
> >
> > > ctrl_iface exists and seems to be in use - cannot override it
> > > Delete '/var/run/wpa_supplicant/ath0' manually if it is not used
> anymore
> > > Failed to initialize control interface '/var/run/wpa_supplicant'.
> > > You may have another wpa_supplicant process already running or the file
> > was
> > > left by an unclean termination of wpa_supplicant in which case you will
> > need
> > > to manually remove this file before starting wpa_supplicant again.
> >
> > Have you?
>
> yes
> >
> > I guess ltrace would help here. And maybe strace...
> >
>
> strace attached and wpa_supplicant more verbose output
> --
> Thanks,
> Oliver
>
02:01.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
        Subsystem: D-Link System Inc D-Link AirPlus DWL-G520 Wireless
PCI Adapter(rev.B)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

02:01.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
00: 8c 16 13 00 06 00 90 02 01 00 00 02 08 a8 00 00
10: 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 86 11 13 3a
30: 00 00 00 00 44 00 00 00 00 00 00 00 0b 01 0a 1c
40: 00 00 00 00 01 00 c2 01 00 40 00 c6 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


-- 
Thanks,
Oliver

^ permalink raw reply

* Re: [Wireless, ath5k] 2.6.24-git13 9135f1901ee6449dfe338adf6e40e9c2025b8150
From: Oliver Pinter @ 2008-02-04 21:34 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: John W. Linville, Bruno Randolf, netdev, Andrew Morton,
	Linus Torvalds, Linux Kernel, ath5k-devel
In-Reply-To: <47A774AB.5060008@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

On 2/4/08, Jiri Slaby <jirislaby@gmail.com> wrote:
> On 02/04/2008 03:00 PM, Oliver Pinter (Pintér Olivér) wrote:
> > git top: 9135f1901ee6449dfe338adf6e40e9c2025b8150
> >
> > [  399.582185] wpa_supplicant[4383]: segfault at 30 ip 080697ca sp
> > bf87a690 error 4 in wpa_supplicant[8048000+4c000]
> > [  406.277199] wpa_supplicant[4384]: segfault at 30 ip 080697ca sp
> > bfc13a30 error 4 in wpa_supplicant[8048000+4c000]
> > [  407.586375] wpa_supplicant[4385]: segfault at 30 ip 080697ca sp
> > bf9ed000 error 4 in wpa_supplicant[8048000+4c000]
> > [  411.671037] wpa_supplicant[4386]: segfault at 30 ip 080697ca sp
> > bf8f3710 error 4 in wpa_supplicant[8048000+4c000]
> > [  412.569843] wpa_supplicant[4387]: segfault at 30 ip 080697ca sp
> > bfc19a30 error 4 in wpa_supplicant[8048000+4c000]
> > [  413.118874] wpa_supplicant[4388]: segfault at 30 ip 080697ca sp
> > bfc9cab0 error 4 in wpa_supplicant[8048000+4c000]
>
> Seems like wpa_supplicant is broken. Is this a regression?

yes, but with madwifi is all ok
>
> > home:~# wpa_supplicant -Dwext -iath0 -c
> /etc/wpa_supplicant/wpa_supplicant.conf
>
> ath0? udev renamed it?

yes
>
> > ioctl[SIOCSIWAUTH]: Operation not supported
> > WEXT auth param 4 value 0x0 - bind(PF_UNIX): Address already in use
>
> 4 - 0x0 is TKIP, nothing we should worry about.
>
> > ctrl_iface exists and seems to be in use - cannot override it
> > Delete '/var/run/wpa_supplicant/ath0' manually if it is not used anymore
> > Failed to initialize control interface '/var/run/wpa_supplicant'.
> > You may have another wpa_supplicant process already running or the file
> was
> > left by an unclean termination of wpa_supplicant in which case you will
> need
> > to manually remove this file before starting wpa_supplicant again.
>
> Have you?

yes
>
> I guess ltrace would help here. And maybe strace...
>

strace attached and wpa_supplicant more verbose output
-- 
Thanks,
Oliver

[-- Attachment #2: wpa_supplicant-log --]
[-- Type: text/plain, Size: 7242 bytes --]

Initializing interface 'ath0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=19): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='inet@home'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - =21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:17:9a:d1:ee:f4
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface ath0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group

[-- Attachment #3: wpa_supplicant-log-strace --]
[-- Type: text/plain, Size: 40498 bytes --]

execve("/sbin/wpa_supplicant", ["wpa_supplicant", "-Dwext", "-iath0", "-c", "/etc/wpa_supplicant/wpa_supplica"..., "-dd"], [/* 15 vars */]) = 0
uname({sys="Linux", node="home", ...})  = 0
brk(0)                                  = 0x9a5d000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa6000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=77517, ...}) = 0
mmap2(NULL, 77517, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f93000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\255"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=252768, ...}) = 0
mmap2(NULL, 255732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f54000
mmap2(0xb7f8f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xb7f8f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\3"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1270520, ...}) = 0
mmap2(NULL, 1282904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e1a000
mmap2(0xb7f3c000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb7f3c000
mmap2(0xb7f50000, 13144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f50000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e19000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e15000
mmap2(0xb7e17000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e17000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libdbus-1.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220K\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=203740, ...}) = 0
mmap2(NULL, 203036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7de3000
mmap2(0xb7e14000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31) = 0xb7e14000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cb2000
mmap2(0xb7dd9000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7dd9000
mmap2(0xb7de0000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7de0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c9e000
mmap2(0xb7cb1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7cb1000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c9d000
mprotect(0xb7dd9000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7c9d940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f93000, 77517)               = 0
brk(0)                                  = 0x9a5d000
brk(0x9a7e000)                          = 0x9a7e000
open("/dev/null", O_RDWR)               = 3
close(3)                                = 0
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa5000
open("/etc/wpa_supplicant/wpa_supplicant.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=183, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa4000
read(3, "# WPA-PSK/TKIP\n\nctrl_interface=/"..., 4096) = 183
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fa4000, 4096)                = 0
gettimeofday({1202160232, 545053}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000001}, 12) = 0
ioctl(3, 0x8b36, 0xbffbc0cc)            = -1 EOPNOTSUPP (Operation not supported)
ioctl(3, SIOCSIWMODE, 0xbffbc0d0)       = 0
ioctl(3, SIOCGIFFLAGS, {ifr_name="ath0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(3, SIOCSIFFLAGS, 0xbffbc0d0)      = 0
ioctl(3, SIOCGIWRANGE, 0xbffbc138)      = 0
write(1, "Initializing interface \'ath0\' co"..., 1024Initializing interface 'ath0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 5 - start of a new network block
ssid - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=19): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='inet@home'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)) = 1024
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
close(5)                                = 0
send(4, "-\0\0\0\23\0\1\0\1\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 45, 0) = 45
socket(PF_PACKET, SOCK_DGRAM, 36488)    = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
bind(5, {sa_family=AF_PACKET, proto=0x888e, if4, pkttype=PACKET_HOST, addr(0)={0, }, 20) = 0
ioctl(5, SIOCGIFHWADDR, {ifr_name="ath0", ifr_hwaddr=00:17:9a:d1:ee:f4}) = 0
ioctl(3, 0x8b32, 0xbffbc10c)            = 0
ioctl(3, 0x8b34, 0xbffbc0ac)            = 0
ioctl(3, 0x8b34, 0xbffbc0ac)            = 0
ioctl(3, 0x8b34, 0xbffbc0ac)            = 0
ioctl(3, 0x8b34, 0xbffbc0ac)            = 0
ioctl(3, 0x8b32, 0xbffbc10c)            = -1 EOPNOTSUPP (Operation not supported)
dup(2)                                  = 6
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
close(6)                                = 0
write(2, "ioctl[SIOCSIWAUTH]: Operation no"..., 44ioctl[SIOCSIWAUTH]: Operation not supported
) = 44
write(2, "WEXT auth param 4 value 0x0 - ", 30WEXT auth param 4 value 0x0 - ) = 30
ioctl(3, 0x8b32, 0xbffbc10c)            = 0
gettimeofday({1202160232, 553652}, NULL) = 0
mkdir("/var/run/wpa_supplicant", 0770)  = -1 EEXIST (File exists)
socket(PF_FILE, SOCK_DGRAM, 0)          = 6
bind(6, {sa_family=AF_FILE, path="/var/run/wpa_supplicant/ath0"}, 110) = -1 EADDRINUSE (Address already in use)
write(2, "bind(PF_UNIX): Address already i"..., 38bind(PF_UNIX): Address already in use
) = 38
connect(6, {sa_family=AF_FILE, path="/var/run/wpa_supplicant/ath0"}, 110) = -1 ECONNREFUSED (Connection refused)
unlink("/var/run/wpa_supplicant/ath0")  = 0
bind(6, {sa_family=AF_FILE, path="/var/run/wpa_supplicant/ath0"}, 110) = 0
chmod("/var/run/wpa_supplicant/ath0", 0770) = 0
rt_sigaction(SIGINT, {0x80503c0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x80503c0, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x80503c0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
gettimeofday({1202160232, 554720}, NULL) = 0
select(7, [4 5 6], [], [], {0, 98932})  = 1 (in [4], left {0, 98932})
gettimeofday({1202160232, 554856}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160232, 555119}, NULL) = 0
select(7, [4 5 6], [], [], {0, 98533})  = 0 (Timeout)
gettimeofday({1202160232, 653186}, NULL) = 0
gettimeofday({1202160232, 653234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 418})    = 0 (Timeout)
gettimeofday({1202160232, 654422}, NULL) = 0
write(1, "=21 enc_capa=0xf\n  capabilities:"..., 1024=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:17:9a:d1:ee:f4
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/ath0'
Added interface ath0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65           ) = 1024
ioctl(3, SIOCGIWSCAN, 0xbffbbf40)       = 0
gettimeofday({1202160232, 654649}, NULL) = 0
gettimeofday({1202160232, 654697}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160232, 654806}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160232, 654916}, NULL) = 0
gettimeofday({1202160232, 654963}, NULL) = 0
select(7, [4 5 6], [], [], {0, 890090}) = 0 (Timeout)
gettimeofday({1202160233, 545406}, NULL) = 0
gettimeofday({1202160233, 545463}, NULL) = 0
gettimeofday({1202160233, 545724}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999739}) = 1 (in [4], left {0, 849000})
gettimeofday({1202160233, 697156}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160233, 697818}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160233, 697936}, NULL) = 0
select(7, [4 5 6], [], [], {0, 847527}) = 0 (Timeout)
gettimeofday({1202160234, 545181}, NULL) = 0
gettimeofday({1202160234, 545233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 230})    = 0 (Timeout)
gettimeofday({1202160234, 546427}, NULL) = 0
gettimeofday({1202160234, 546479}, NULL) = 0
gettimeofday({1202160234, 546547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160235, 546189}, NULL) = 0
gettimeofday({1202160235, 546241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 238})    = 0 (Timeout)
gettimeofday({1202160235, 547426}, NULL) = 0
gettimeofday({1202160235, 547479}, NULL) = 0
gettimeofday({1202160235, 547547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160236, 547187}, NULL) = 0
gettimeofday({1202160236, 547239}, NULL) = 0
select(7, [4 5 6], [], [], {0, 240})    = 0 (Timeout)
gettimeofday({1202160236, 548427}, NULL) = 0
gettimeofday({1202160236, 548479}, NULL) = 0
gettimeofday({1202160236, 548550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160237, 548189}, NULL) = 0
gettimeofday({1202160237, 548241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 238})    = 0 (Timeout)
gettimeofday({1202160237, 549427}, NULL) = 0
gettimeofday({1202160237, 549479}, NULL) = 0
gettimeofday({1202160237, 549550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160238, 549180}, NULL) = 0
gettimeofday({1202160238, 549232}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160238, 550427}, NULL) = 0
gettimeofday({1202160238, 550479}, NULL) = 0
gettimeofday({1202160238, 550550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 147268}) = 0 (Timeout)
gettimeofday({1202160238, 698182}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160238, 698299}, NULL) = 0
gettimeofday({1202160238, 698351}, NULL) = 0
select(7, [4 5 6], [], [], {0, 852128}) = 0 (Timeout)
gettimeofday({1202160239, 551668}, NULL) = 0
gettimeofday({1202160239, 551945}, NULL) = 0
gettimeofday({1202160239, 552238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999707}) = 1 (in [4], left {0, 839000})
gettimeofday({1202160239, 713640}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160239, 714578}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160239, 715191}, NULL) = 0
select(7, [4 5 6], [], [], {0, 836754}) = 0 (Timeout)
gettimeofday({1202160240, 552342}, NULL) = 0
gettimeofday({1202160240, 552614}, NULL) = 0
gettimeofday({1202160240, 552682}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160241, 552429}, NULL) = 0
gettimeofday({1202160241, 552482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 132})    = 0 (Timeout)
gettimeofday({1202160241, 553427}, NULL) = 0
gettimeofday({1202160241, 553479}, NULL) = 0
gettimeofday({1202160241, 553547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160242, 553181}, NULL) = 0
gettimeofday({1202160242, 553233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160242, 554427}, NULL) = 0
gettimeofday({1202160242, 554480}, NULL) = 0
gettimeofday({1202160242, 554547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160243, 554186}, NULL) = 0
gettimeofday({1202160243, 554238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160243, 555427}, NULL) = 0
gettimeofday({1202160243, 555479}, NULL) = 0
gettimeofday({1202160243, 555547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160244, 555186}, NULL) = 0
gettimeofday({1202160244, 555239}, NULL) = 0
select(7, [4 5 6], [], [], {0, 240})    = 0 (Timeout)
gettimeofday({1202160244, 556427}, NULL) = 0
gettimeofday({1202160244, 556479}, NULL) = 0
gettimeofday({1202160244, 556547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 158031}) = 0 (Timeout)
gettimeofday({1202160244, 715190}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160244, 715303}, NULL) = 0
gettimeofday({1202160244, 715356}, NULL) = 0
select(7, [4 5 6], [], [], {0, 841123}) = 0 (Timeout)
gettimeofday({1202160245, 557433}, NULL) = 0
gettimeofday({1202160245, 557488}, NULL) = 0
gettimeofday({1202160245, 557558}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 1 (in [4], left {0, 812000})
gettimeofday({1202160245, 745454}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
write(1, "             inet@home       \nTr"..., 1024             inet@home       
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event:) = 1024
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160245, 745806}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160245, 745926}, NULL) = 0
select(7, [4 5 6], [], [], {0, 811562}) = 0 (Timeout)
gettimeofday({1202160246, 557184}, NULL) = 0
gettimeofday({1202160246, 557237}, NULL) = 0
select(7, [4 5 6], [], [], {0, 251})    = 0 (Timeout)
gettimeofday({1202160246, 558428}, NULL) = 0
gettimeofday({1202160246, 558482}, NULL) = 0
gettimeofday({1202160246, 558551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160247, 558183}, NULL) = 0
gettimeofday({1202160247, 558236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160247, 559427}, NULL) = 0
gettimeofday({1202160247, 559480}, NULL) = 0
gettimeofday({1202160247, 559547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160248, 559187}, NULL) = 0
gettimeofday({1202160248, 559239}, NULL) = 0
select(7, [4 5 6], [], [], {0, 241})    = 0 (Timeout)
gettimeofday({1202160248, 560438}, NULL) = 0
gettimeofday({1202160248, 560491}, NULL) = 0
gettimeofday({1202160248, 560559}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160249, 560189}, NULL) = 0
gettimeofday({1202160249, 560241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 250})    = 0 (Timeout)
gettimeofday({1202160249, 561427}, NULL) = 0
gettimeofday({1202160249, 561480}, NULL) = 0
gettimeofday({1202160249, 561547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160250, 561188}, NULL) = 0
gettimeofday({1202160250, 561241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 239})    = 0 (Timeout)
gettimeofday({1202160250, 562427}, NULL) = 0
gettimeofday({1202160250, 562480}, NULL) = 0
gettimeofday({1202160250, 562548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 183258}) = 0 (Timeout)
gettimeofday({1202160250, 746180}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160250, 746302}, NULL) = 0
gettimeofday({1202160250, 746355}, NULL) = 0
select(7, [4 5 6], [], [], {0, 816125}) = 0 (Timeout)
gettimeofday({1202160251, 563182}, NULL) = 0
gettimeofday({1202160251, 563235}, NULL) = 0
gettimeofday({1202160251, 563303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 1 (in [4], left {0, 802000})
gettimeofday({1202160251, 761461}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160251, 761738}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160251, 761856}, NULL) = 0
select(7, [4 5 6], [], [], {0, 801379}) = 0 (Timeout)
gettimeofday({1202160252, 563181}, NULL) = 0
gettimeofday({1202160252, 563234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 1})      = 0 (Timeout)
gettimeofday({1202160252, 564427}, NULL) = 0
gettimeofday({1202160252, 564480}, NULL) = 0
gettimeofday({1202160252, 564548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160253, 564181}, NULL) = 0
gettimeofday({1202160253, 564233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160253, 565426}, NULL) = 0
gettimeofday({1202160253, 565478}, NULL) = 0
gettimeofday({1202160253, 565546}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160254, 565181}, NULL) = 0
gettimeofday({1202160254, 565234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 244})    = 0 (Timeout)
gettimeofday({1202160254, 566427}, NULL) = 0
gettimeofday({1202160254, 566480}, NULL) = 0
gettimeofday({1202160254, 566547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160255, 566467}, NULL) = 0
gettimeofday({1202160255, 566552}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160255, 566737}, NULL) = 0
gettimeofday({1202160255, 566821}, NULL) = 0
gettimeofday({1202160255, 566921}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999900}) = 0 (Timeout)
gettimeofday({1202160256, 566216}, NULL) = 0
gettimeofday({1202160256, 566301}, NULL) = 0
select(7, [4 5 6], [], [], {0, 520})    = 0 (Timeout)
gettimeofday({1202160256, 567445}, NULL) = 0
gettimeofday({1202160256, 567531}, NULL) = 0
gettimeofday({1202160256, 567633}, NULL) = 0
select(7, [4 5 6], [], [], {0, 194105}) = 0 (Timeout)
gettimeofday({1202160256, 762447}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160256, 762629}, NULL) = 0
gettimeofday({1202160256, 762716}, NULL) = 0
select(7, [4 5 6], [], [], {0, 804815}) = 0 (Timeout)
gettimeofday({1202160257, 567203}, NULL) = 0
gettimeofday({1202160257, 567289}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160257, 568445}, NULL) = 0
gettimeofday({1202160257, 568531}, NULL) = 0
gettimeofday({1202160257, 568632}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 1 (in [4], left {0, 791000})
gettimeofday({1202160257, 777476}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160257, 777862}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160257, 778053}, NULL) = 0
select(7, [4 5 6], [], [], {0, 790478}) = 0 (Timeout)
gettimeofday({1202160258, 569211}, NULL) = 0
gettimeofday({1202160258, 569298}, NULL) = 0
gettimeofday({1202160258, 569408}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999890}) = 0 (Timeout)
gettimeofday({1202160259, 569210}, NULL) = 0
gettimeofday({1202160259, 569296}, NULL) = 0
select(7, [4 5 6], [], [], {0, 2})      = 0 (Timeout)
gettimeofday({1202160259, 570446}, NULL) = 0
gettimeofday({1202160259, 570532}, NULL) = 0
gettimeofday({1202160259, 570633}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 0 (Timeout)
gettimeofday({1202160260, 570201}, NULL) = 0
gettimeofday({1202160260, 570288}, NULL) = 0
select(7, [4 5 6], [], [], {0, 244})    = 0 (Timeout)
gettimeofday({1202160260, 571446}, NULL) = 0
gettimeofday({1202160260, 571532}, NULL) = 0
gettimeofday({1202160260, 571634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160261, 571202}, NULL) = 0
gettimeofday({1202160261, 571290}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160261, 572446}, NULL) = 0
gettimeofday({1202160261, 572532}, NULL) = 0
gettimeofday({1202160261, 572634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160262, 572219}, NULL) = 0
gettimeofday({1202160262, 572305}, NULL) = 0
select(7, [4 5 6], [], [], {0, 227})    = 0 (Timeout)
gettimeofday({1202160262, 573444}, NULL) = 0
gettimeofday({1202160262, 573548}, NULL) = 0
gettimeofday({1202160262, 573651}, NULL) = 0
select(7, [4 5 6], [], [], {0, 204211}) = 0 (Timeout)
gettimeofday({1202160262, 778208}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160262, 778407}, NULL) = 0
gettimeofday({1202160262, 778494}, NULL) = 0
select(7, [4 5 6], [], [], {0, 795054}) = 0 (Timeout)
gettimeofday({1202160263, 574209}, NULL) = 0
gettimeofday({1202160263, 574298}, NULL) = 0
gettimeofday({1202160263, 574412}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999886}) = 1 (in [4], left {0, 781000})
gettimeofday({1202160263, 793478}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
write(1, " cmd=0x8b19 len=8\nReceived 0 byt"..., 1024 cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1) = 1024
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160263, 794102}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160263, 794297}, NULL) = 0
select(7, [4 5 6], [], [], {0, 780001}) = 0 (Timeout)
gettimeofday({1202160264, 575204}, NULL) = 0
gettimeofday({1202160264, 575293}, NULL) = 0
gettimeofday({1202160264, 575404}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999889}) = 0 (Timeout)
gettimeofday({1202160265, 576950}, NULL) = 0
gettimeofday({1202160265, 577040}, NULL) = 0
gettimeofday({1202160265, 578320}, NULL) = 0
select(7, [4 5 6], [], [], {0, 998720}) = 0 (Timeout)
gettimeofday({1202160266, 577219}, NULL) = 0
gettimeofday({1202160266, 577309}, NULL) = 0
gettimeofday({1202160266, 577420}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999889}) = 0 (Timeout)
gettimeofday({1202160267, 577455}, NULL) = 0
gettimeofday({1202160267, 577544}, NULL) = 0
gettimeofday({1202160267, 577647}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999897}) = 0 (Timeout)
gettimeofday({1202160268, 577203}, NULL) = 0
gettimeofday({1202160268, 577291}, NULL) = 0
select(7, [4 5 6], [], [], {0, 253})    = 0 (Timeout)
gettimeofday({1202160268, 578447}, NULL) = 0
gettimeofday({1202160268, 578534}, NULL) = 0
gettimeofday({1202160268, 578637}, NULL) = 0
select(7, [4 5 6], [], [], {0, 215465}) = 0 (Timeout)
gettimeofday({1202160268, 794200}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160268, 794393}, NULL) = 0
gettimeofday({1202160268, 794481}, NULL) = 0
select(7, [4 5 6], [], [], {0, 784053}) = 0 (Timeout)
gettimeofday({1202160269, 579206}, NULL) = 0
gettimeofday({1202160269, 579295}, NULL) = 0
gettimeofday({1202160269, 579406}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999889}) = 1 (in [4], left {0, 768000})
gettimeofday({1202160269, 811477}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160269, 811871}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160269, 812065}, NULL) = 0
select(7, [4 5 6], [], [], {0, 767230}) = 0 (Timeout)
gettimeofday({1202160270, 580452}, NULL) = 0
gettimeofday({1202160270, 580541}, NULL) = 0
gettimeofday({1202160270, 580645}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999896}) = 0 (Timeout)
gettimeofday({1202160271, 580204}, NULL) = 0
gettimeofday({1202160271, 580291}, NULL) = 0
select(7, [4 5 6], [], [], {0, 250})    = 0 (Timeout)
gettimeofday({1202160271, 581445}, NULL) = 0
gettimeofday({1202160271, 581531}, NULL) = 0
gettimeofday({1202160271, 581633}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160272, 581202}, NULL) = 0
gettimeofday({1202160272, 581289}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160272, 582445}, NULL) = 0
gettimeofday({1202160272, 582532}, NULL) = 0
gettimeofday({1202160272, 582634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160273, 582203}, NULL) = 0
gettimeofday({1202160273, 582290}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160273, 583446}, NULL) = 0
gettimeofday({1202160273, 583532}, NULL) = 0
gettimeofday({1202160273, 583633}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 0 (Timeout)
gettimeofday({1202160274, 583203}, NULL) = 0
gettimeofday({1202160274, 583290}, NULL) = 0
select(7, [4 5 6], [], [], {0, 242})    = 0 (Timeout)
gettimeofday({1202160274, 584446}, NULL) = 0
gettimeofday({1202160274, 584532}, NULL) = 0
gettimeofday({1202160274, 584634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 227237}) = 0 (Timeout)
gettimeofday({1202160274, 812198}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160274, 812395}, NULL) = 0
gettimeofday({1202160274, 812482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 772050}) = 0 (Timeout)
gettimeofday({1202160275, 585460}, NULL) = 0
gettimeofday({1202160275, 585548}, NULL) = 0
gettimeofday({1202160275, 585650}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 1 (in [4], left {0, 748000})
gettimeofday({1202160275, 837472}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160275, 837858}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160275, 838049}, NULL) = 0
select(7, [4 5 6], [], [], {0, 747499}) = 0 (Timeout)
gettimeofday({1202160276, 586453}, NULL) = 0
gettimeofday({1202160276, 586541}, NULL) = 0
gettimeofday({1202160276, 586644}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999897}) = 0 (Timeout)
gettimeofday({1202160277, 586202}, NULL) = 0
gettimeofday({1202160277, 586289}, NULL) = 0
select(7, [4 5 6], [], [], {0, 252})    = 0 (Timeout)
gettimeofday({1202160277, 587446}, NULL) = 0
gettimeofday({1202160277, 587532}, NULL) = 0
gettimeofday({1202160277, 587634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160278, 587201}, NULL) = 0
gettimeofday({1202160278, 587287}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160278, 588446}, NULL) = 0
gettimeofday({1202160278, 588533}, NULL) = 0
gettimeofday({1202160278, 588634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 0 (Timeout)
gettimeofday({1202160279, 588202}, NULL) = 0
gettimeofday({1202160279, 588290}, NULL) = 0
select(7, [4 5 6], [], [], {0, 243})    = 0 (Timeout)
gettimeofday({1202160279, 589446}, NULL) = 0
gettimeofday({1202160279, 589532}, NULL) = 0
gettimeofday({1202160279, 589634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160280, 589205}, NULL) = 0
gettimeofday({1202160280, 589292}, NULL) = 0
select(7, [4 5 6], [], [], {0, 240})    = 0 (Timeout)
gettimeofday({1202160280, 590446}, NULL) = 0
gettimeofday({1202160280, 590533}, NULL) = 0
gettimeofday({1202160280, 590634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247224}) = 0 (Timeout)
gettimeofday({1202160280, 838198}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160280, 838406}, NULL) = 0
gettimeofday({1202160280, 838493}, NULL) = 0
select(7, [4 5 6], [], [], {0, 752040}) = 0 (Timeout)
gettimeofday({1202160281, 591453}, NULL) = 0
gettimeofday({1202160281, 591542}, NULL) = 0
gettimeofday({1202160281, 591644}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 1 (in [4], left {0, 738000})
gettimeofday({1202160281, 853480}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
write(1, "9 len=8\nReceived 0 bytes of scan"..., 10249 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
     69 6e 65 74 40 68 6f 6d 65                        inet@home       
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
No suitable ) = 1024
gettimeofday({1202160281, 854102}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160281, 854294}, NULL) = 0
select(7, [4 5 6], [], [], {0, 737248}) = 0 (Timeout)
gettimeofday({1202160282, 592202}, NULL) = 0
gettimeofday({1202160282, 592290}, NULL) = 0
gettimeofday({1202160282, 592402}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999888}) = 0 (Timeout)
gettimeofday({1202160283, 592210}, NULL) = 0
gettimeofday({1202160283, 592297}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160283, 592491}, NULL) = 0
gettimeofday({1202160283, 592577}, NULL) = 0
gettimeofday({1202160283, 592679}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160284, 592210}, NULL) = 0
gettimeofday({1202160284, 592297}, NULL) = 0
select(7, [4 5 6], [], [], {0, 280})    = 0 (Timeout)
gettimeofday({1202160284, 593445}, NULL) = 0
gettimeofday({1202160284, 593532}, NULL) = 0
gettimeofday({1202160284, 593634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160285, 593451}, NULL) = 0
gettimeofday({1202160285, 593538}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160285, 593725}, NULL) = 0
gettimeofday({1202160285, 593810}, NULL) = 0
gettimeofday({1202160285, 593912}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160286, 593452}, NULL) = 0
gettimeofday({1202160286, 593539}, NULL) = 0
select(7, [4 5 6], [], [], {0, 271})    = 0 (Timeout)
gettimeofday({1202160286, 594445}, NULL) = 0
gettimeofday({1202160286, 594531}, NULL) = 0
gettimeofday({1202160286, 594633}, NULL) = 0
select(7, [4 5 6], [], [], {0, 259469}) = 0 (Timeout)
gettimeofday({1202160286, 854199}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160286, 854396}, NULL) = 0
gettimeofday({1202160286, 854482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 740049}) = 0 (Timeout)
gettimeofday({1202160287, 595455}, NULL) = 0
gettimeofday({1202160287, 595542}, NULL) = 0
gettimeofday({1202160287, 595643}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 1 (in [4], left {0, 726000})
gettimeofday({1202160287, 869612}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160287, 870626}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160287, 871239}, NULL) = 0
select(7, [4 5 6], [], [], {0, 724303}) = 0 (Timeout)
gettimeofday({1202160288, 596339}, NULL) = 0
gettimeofday({1202160288, 596611}, NULL) = 0
gettimeofday({1202160288, 596680}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160289, 596182}, NULL) = 0
gettimeofday({1202160289, 596234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 377})    = 0 (Timeout)
gettimeofday({1202160289, 597428}, NULL) = 0
gettimeofday({1202160289, 597480}, NULL) = 0
gettimeofday({1202160289, 597547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160290, 597181}, NULL) = 0
gettimeofday({1202160290, 597233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160290, 598427}, NULL) = 0
gettimeofday({1202160290, 598480}, NULL) = 0
gettimeofday({1202160290, 598547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160291, 598187}, NULL) = 0
gettimeofday({1202160291, 598240}, NULL) = 0
select(7, [4 5 6], [], [], {0, 240})    = 0 (Timeout)
gettimeofday({1202160291, 600191}, NULL) = 0
gettimeofday({1202160291, 600243}, NULL) = 0
gettimeofday({1202160291, 600311}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160292, 600429}, NULL) = 0
gettimeofday({1202160292, 600482}, NULL) = 0
gettimeofday({1202160292, 600549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 270077}) = 0 (Timeout)
gettimeofday({1202160292, 871179}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbffbc0ac)       = 0
gettimeofday({1202160292, 871292}, NULL) = 0
gettimeofday({1202160292, 871345}, NULL) = 0
select(7, [4 5 6], [], [], {0, 729137}) = 0 (Timeout)
gettimeofday({1202160293, 601185}, NULL) = 0
gettimeofday({1202160293, 601239}, NULL) = 0
gettimeofday({1202160293, 601308}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 1 (in [4], left {0, 715000})
gettimeofday({1202160293, 886456}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbffb9d70)       = 0
gettimeofday({1202160293, 886735}, NULL) = 0
recvfrom(4, 0xbffb9f78, 8192, 64, 0xbffbc12c, 0xbffbc138) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160293, 886854}, NULL) = 0
select(7, [4 5 6], [], [], {0, 714385}) = 0 (Timeout)
gettimeofday({1202160294, 601183}, NULL) = 0
gettimeofday({1202160294, 601237}, NULL) = 0
select(7, [4 5 6], [], [], {0, 2})      = 0 (Timeout)
gettimeofday({1202160294, 602440}, NULL) = 0
gettimeofday({1202160294, 602494}, NULL) = 0
gettimeofday({1202160294, 602563}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160295, 602190}, NULL) = 0
gettimeofday({1202160295, 602243}, NULL) = 0
select(7, [4 5 6], [], [], {0, 251})    = 0 (Timeout)
gettimeofday({1202160295, 603439}, NULL) = 0
gettimeofday({1202160295, 603491}, NULL) = 0
gettimeofday({1202160295, 603559}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160296, 603183}, NULL) = 0
gettimeofday({1202160296, 603236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 255})    = 0 (Timeout)
gettimeofday({1202160296, 604427}, NULL) = 0
gettimeofday({1202160296, 604480}, NULL) = 0
gettimeofday({1202160296, 604549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}

[-- Attachment #4: wpa_supplicant-strace --]
[-- Type: text/plain, Size: 28821 bytes --]

execve("/sbin/wpa_supplicant", ["wpa_supplicant", "-Dwext", "-iath0", "-c", "/etc/wpa_supplicant/wpa_supplica"...], [/* 15 vars */]) = 0
uname({sys="Linux", node="home", ...})  = 0
brk(0)                                  = 0x9400000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f11000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=77517, ...}) = 0
mmap2(NULL, 77517, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7efe000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\255"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=252768, ...}) = 0
mmap2(NULL, 255732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ebf000
mmap2(0xb7efa000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xb7efa000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\3"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1270520, ...}) = 0
mmap2(NULL, 1282904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d85000
mmap2(0xb7ea7000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb7ea7000
mmap2(0xb7ebb000, 13144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ebb000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d84000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d80000
mmap2(0xb7d82000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7d82000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libdbus-1.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220K\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=203740, ...}) = 0
mmap2(NULL, 203036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d4e000
mmap2(0xb7d7f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31) = 0xb7d7f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c1d000
mmap2(0xb7d44000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7d44000
mmap2(0xb7d4b000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d4b000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c09000
mmap2(0xb7c1c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7c1c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c08000
mprotect(0xb7d44000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7c08940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7efe000, 77517)               = 0
brk(0)                                  = 0x9400000
brk(0x9421000)                          = 0x9421000
open("/dev/null", O_RDWR)               = 3
close(3)                                = 0
open("/etc/wpa_supplicant/wpa_supplicant.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=183, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f10000
read(3, "# WPA-PSK/TKIP\n\nctrl_interface=/"..., 4096) = 183
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f10000, 4096)                = 0
gettimeofday({1202160306, 209689}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000001}, 12) = 0
ioctl(3, 0x8b36, 0xbfb2943c)            = -1 EOPNOTSUPP (Operation not supported)
ioctl(3, SIOCSIWMODE, 0xbfb29440)       = 0
ioctl(3, SIOCGIFFLAGS, {ifr_name="ath0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(3, SIOCSIFFLAGS, 0xbfb29440)      = 0
ioctl(3, SIOCGIWRANGE, 0xbfb294a8)      = 0
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
close(5)                                = 0
send(4, "-\0\0\0\23\0\1\0\1\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 45, 0) = 45
socket(PF_PACKET, SOCK_DGRAM, 36488)    = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
bind(5, {sa_family=AF_PACKET, proto=0x888e, if4, pkttype=PACKET_HOST, addr(0)={0, }, 20) = 0
ioctl(5, SIOCGIFHWADDR, {ifr_name="ath0", ifr_hwaddr=00:17:9a:d1:ee:f4}) = 0
ioctl(3, 0x8b32, 0xbfb2947c)            = 0
ioctl(3, 0x8b34, 0xbfb2941c)            = 0
ioctl(3, 0x8b34, 0xbfb2941c)            = 0
ioctl(3, 0x8b34, 0xbfb2941c)            = 0
ioctl(3, 0x8b34, 0xbfb2941c)            = 0
ioctl(3, 0x8b32, 0xbfb2947c)            = -1 EOPNOTSUPP (Operation not supported)
dup(2)                                  = 6
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
close(6)                                = 0
write(2, "ioctl[SIOCSIWAUTH]: Operation no"..., 44ioctl[SIOCSIWAUTH]: Operation not supported
) = 44
write(2, "WEXT auth param 4 value 0x0 - ", 30WEXT auth param 4 value 0x0 - ) = 30
ioctl(3, 0x8b32, 0xbfb2947c)            = 0
gettimeofday({1202160306, 273212}, NULL) = 0
mkdir("/var/run/wpa_supplicant", 0770)  = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 6
bind(6, {sa_family=AF_FILE, path="/var/run/wpa_supplicant/ath0"}, 110) = 0
chmod("/var/run/wpa_supplicant/ath0", 0770) = 0
rt_sigaction(SIGINT, {0x80503c0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x80503c0, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x80503c0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
gettimeofday({1202160306, 273930}, NULL) = 0
select(7, [4 5 6], [], [], {0, 99282})  = 1 (in [4], left {0, 99282})
gettimeofday({1202160306, 274076}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\2\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
recvfrom(4, "\370\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0!\3\3\0\0\0C\20"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 248
recvfrom(4, "\364\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 244
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160306, 274665}, NULL) = 0
select(7, [4 5 6], [], [], {0, 98547})  = 0 (Timeout)
gettimeofday({1202160306, 373199}, NULL) = 0
gettimeofday({1202160306, 373253}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160306, 373392}, NULL) = 0
ioctl(3, SIOCGIWSCAN, 0xbfb292b0)       = 0
gettimeofday({1202160306, 374445}, NULL) = 0
gettimeofday({1202160306, 374691}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160306, 375201}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160306, 375707}, NULL) = 0
gettimeofday({1202160306, 375951}, NULL) = 0
select(7, [4 5 6], [], [], {0, 833738}) = 0 (Timeout)
gettimeofday({1202160307, 219209}, NULL) = 0
gettimeofday({1202160307, 219268}, NULL) = 0
gettimeofday({1202160307, 219342}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999926}) = 1 (in [4], left {0, 829000})
gettimeofday({1202160307, 390427}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160307, 390729}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160307, 390852}, NULL) = 0
select(7, [4 5 6], [], [], {0, 828416}) = 0 (Timeout)
gettimeofday({1202160308, 219185}, NULL) = 0
gettimeofday({1202160308, 219240}, NULL) = 0
select(7, [4 5 6], [], [], {0, 28})     = 0 (Timeout)
gettimeofday({1202160308, 220180}, NULL) = 0
gettimeofday({1202160308, 220234}, NULL) = 0
gettimeofday({1202160308, 220304}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160309, 220184}, NULL) = 0
gettimeofday({1202160309, 220238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160309, 220361}, NULL) = 0
gettimeofday({1202160309, 220415}, NULL) = 0
gettimeofday({1202160309, 220484}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160310, 220186}, NULL) = 0
gettimeofday({1202160310, 220240}, NULL) = 0
select(7, [4 5 6], [], [], {0, 175})    = 0 (Timeout)
gettimeofday({1202160310, 221179}, NULL) = 0
gettimeofday({1202160310, 221233}, NULL) = 0
gettimeofday({1202160310, 221303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160311, 221184}, NULL) = 0
gettimeofday({1202160311, 221238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160311, 221360}, NULL) = 0
gettimeofday({1202160311, 221413}, NULL) = 0
gettimeofday({1202160311, 221482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160312, 221184}, NULL) = 0
gettimeofday({1202160312, 221239}, NULL) = 0
select(7, [4 5 6], [], [], {0, 174})    = 0 (Timeout)
gettimeofday({1202160312, 222180}, NULL) = 0
gettimeofday({1202160312, 222234}, NULL) = 0
gettimeofday({1202160312, 222303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 168426}) = 0 (Timeout)
gettimeofday({1202160312, 391182}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160312, 391300}, NULL) = 0
gettimeofday({1202160312, 391354}, NULL) = 0
select(7, [4 5 6], [], [], {0, 830880}) = 0 (Timeout)
gettimeofday({1202160313, 222183}, NULL) = 0
gettimeofday({1202160313, 222237}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160313, 222357}, NULL) = 0
gettimeofday({1202160313, 222409}, NULL) = 0
gettimeofday({1202160313, 222478}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 1 (in [4], left {0, 789000})
gettimeofday({1202160313, 434057}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160313, 434339}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160313, 434463}, NULL) = 0
select(7, [4 5 6], [], [], {0, 787946}) = 0 (Timeout)
gettimeofday({1202160314, 222186}, NULL) = 0
gettimeofday({1202160314, 222241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 168})    = 0 (Timeout)
gettimeofday({1202160314, 223181}, NULL) = 0
gettimeofday({1202160314, 223235}, NULL) = 0
gettimeofday({1202160314, 223306}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160315, 223182}, NULL) = 0
gettimeofday({1202160315, 223235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160315, 223356}, NULL) = 0
gettimeofday({1202160315, 223409}, NULL) = 0
gettimeofday({1202160315, 223476}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160316, 223185}, NULL) = 0
gettimeofday({1202160316, 223240}, NULL) = 0
select(7, [4 5 6], [], [], {0, 169})    = 0 (Timeout)
gettimeofday({1202160316, 224180}, NULL) = 0
gettimeofday({1202160316, 224234}, NULL) = 0
gettimeofday({1202160316, 224304}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160317, 224184}, NULL) = 0
gettimeofday({1202160317, 224238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160317, 224359}, NULL) = 0
gettimeofday({1202160317, 224412}, NULL) = 0
gettimeofday({1202160317, 224482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160318, 224186}, NULL) = 0
gettimeofday({1202160318, 224241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 171})    = 0 (Timeout)
gettimeofday({1202160318, 225179}, NULL) = 0
gettimeofday({1202160318, 225233}, NULL) = 0
gettimeofday({1202160318, 225303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 209036}) = 0 (Timeout)
gettimeofday({1202160318, 435182}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160318, 435295}, NULL) = 0
gettimeofday({1202160318, 435349}, NULL) = 0
select(7, [4 5 6], [], [], {0, 789884}) = 0 (Timeout)
gettimeofday({1202160319, 225396}, NULL) = 0
gettimeofday({1202160319, 225660}, NULL) = 0
gettimeofday({1202160319, 225938}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999722}) = 1 (in [4], left {0, 774000})
gettimeofday({1202160319, 452419}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160319, 452956}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160319, 455258}, NULL) = 0
select(7, [4 5 6], [], [], {0, 770402}) = 0 (Timeout)
gettimeofday({1202160320, 226189}, NULL) = 0
gettimeofday({1202160320, 226243}, NULL) = 0
gettimeofday({1202160320, 226312}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160321, 226188}, NULL) = 0
gettimeofday({1202160321, 226241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 2})      = 0 (Timeout)
gettimeofday({1202160321, 227427}, NULL) = 0
gettimeofday({1202160321, 227480}, NULL) = 0
gettimeofday({1202160321, 227547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160322, 227429}, NULL) = 0
gettimeofday({1202160322, 227483}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160322, 227602}, NULL) = 0
gettimeofday({1202160322, 227655}, NULL) = 0
gettimeofday({1202160322, 227722}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160323, 227179}, NULL) = 0
gettimeofday({1202160323, 227231}, NULL) = 0
select(7, [4 5 6], [], [], {0, 424})    = 0 (Timeout)
gettimeofday({1202160323, 228427}, NULL) = 0
gettimeofday({1202160323, 228479}, NULL) = 0
gettimeofday({1202160323, 228550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160324, 228179}, NULL) = 0
gettimeofday({1202160324, 228232}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160324, 229427}, NULL) = 0
gettimeofday({1202160324, 229479}, NULL) = 0
gettimeofday({1202160324, 229550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 223406}) = 0 (Timeout)
gettimeofday({1202160324, 453179}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160324, 453292}, NULL) = 0
gettimeofday({1202160324, 453345}, NULL) = 0
select(7, [4 5 6], [], [], {0, 776134}) = 0 (Timeout)
gettimeofday({1202160325, 230182}, NULL) = 0
gettimeofday({1202160325, 230236}, NULL) = 0
gettimeofday({1202160325, 230303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 1 (in [4], left {0, 762000})
gettimeofday({1202160325, 468453}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160325, 468724}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160325, 468843}, NULL) = 0
select(7, [4 5 6], [], [], {0, 761393}) = 0 (Timeout)
gettimeofday({1202160326, 230181}, NULL) = 0
gettimeofday({1202160326, 230234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 2})      = 0 (Timeout)
gettimeofday({1202160326, 231428}, NULL) = 0
gettimeofday({1202160326, 231481}, NULL) = 0
gettimeofday({1202160326, 231549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160327, 231181}, NULL) = 0
gettimeofday({1202160327, 231234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160327, 232427}, NULL) = 0
gettimeofday({1202160327, 232480}, NULL) = 0
gettimeofday({1202160327, 232547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160328, 232180}, NULL) = 0
gettimeofday({1202160328, 232233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160328, 233439}, NULL) = 0
gettimeofday({1202160328, 233492}, NULL) = 0
gettimeofday({1202160328, 233562}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160329, 233189}, NULL) = 0
gettimeofday({1202160329, 233241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 251})    = 0 (Timeout)
gettimeofday({1202160329, 234427}, NULL) = 0
gettimeofday({1202160329, 234480}, NULL) = 0
gettimeofday({1202160329, 234551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160330, 234428}, NULL) = 0
gettimeofday({1202160330, 234481}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160330, 234601}, NULL) = 0
gettimeofday({1202160330, 234653}, NULL) = 0
gettimeofday({1202160330, 234723}, NULL) = 0
select(7, [4 5 6], [], [], {0, 234001}) = 0 (Timeout)
gettimeofday({1202160330, 469179}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160330, 469291}, NULL) = 0
gettimeofday({1202160330, 469344}, NULL) = 0
select(7, [4 5 6], [], [], {0, 765309}) = 0 (Timeout)
gettimeofday({1202160331, 235427}, NULL) = 0
gettimeofday({1202160331, 235481}, NULL) = 0
gettimeofday({1202160331, 235552}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 1 (in [4], left {0, 751000})
gettimeofday({1202160331, 484455}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160331, 484726}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160331, 484845}, NULL) = 0
select(7, [4 5 6], [], [], {0, 750636}) = 0 (Timeout)
gettimeofday({1202160332, 235191}, NULL) = 0
gettimeofday({1202160332, 235245}, NULL) = 0
select(7, [4 5 6], [], [], {0, 236})    = 0 (Timeout)
gettimeofday({1202160332, 236428}, NULL) = 0
gettimeofday({1202160332, 236482}, NULL) = 0
gettimeofday({1202160332, 236553}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999929}) = 0 (Timeout)
gettimeofday({1202160333, 236183}, NULL) = 0
gettimeofday({1202160333, 236237}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160333, 237428}, NULL) = 0
gettimeofday({1202160333, 237481}, NULL) = 0
gettimeofday({1202160333, 237548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160334, 237183}, NULL) = 0
gettimeofday({1202160334, 237236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160334, 238428}, NULL) = 0
gettimeofday({1202160334, 238481}, NULL) = 0
gettimeofday({1202160334, 238548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160335, 238220}, NULL) = 0
gettimeofday({1202160335, 238305}, NULL) = 0
select(7, [4 5 6], [], [], {0, 176})    = 0 (Timeout)
gettimeofday({1202160335, 239445}, NULL) = 0
gettimeofday({1202160335, 239532}, NULL) = 0
gettimeofday({1202160335, 239635}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999897}) = 0 (Timeout)
gettimeofday({1202160336, 239208}, NULL) = 0
gettimeofday({1202160336, 239295}, NULL) = 0
select(7, [4 5 6], [], [], {0, 237})    = 0 (Timeout)
gettimeofday({1202160336, 240447}, NULL) = 0
gettimeofday({1202160336, 240534}, NULL) = 0
gettimeofday({1202160336, 240635}, NULL) = 0
select(7, [4 5 6], [], [], {0, 244091}) = 0 (Timeout)
gettimeofday({1202160336, 485208}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160336, 485401}, NULL) = 0
gettimeofday({1202160336, 485489}, NULL) = 0
select(7, [4 5 6], [], [], {0, 755045}) = 0 (Timeout)
gettimeofday({1202160337, 241451}, NULL) = 0
gettimeofday({1202160337, 241540}, NULL) = 0
gettimeofday({1202160337, 241645}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999895}) = 1 (in [4], left {0, 741000})
gettimeofday({1202160337, 500481}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160337, 500866}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160337, 501059}, NULL) = 0
select(7, [4 5 6], [], [], {0, 740481}) = 0 (Timeout)
gettimeofday({1202160338, 242210}, NULL) = 0
gettimeofday({1202160338, 242297}, NULL) = 0
gettimeofday({1202160338, 242407}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999890}) = 0 (Timeout)
gettimeofday({1202160339, 242210}, NULL) = 0
gettimeofday({1202160339, 242297}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160339, 242493}, NULL) = 0
gettimeofday({1202160339, 242579}, NULL) = 0
gettimeofday({1202160339, 242680}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999899}) = 0 (Timeout)
gettimeofday({1202160340, 242452}, NULL) = 0
gettimeofday({1202160340, 242539}, NULL) = 0
select(7, [4 5 6], [], [], {0, 40})     = 0 (Timeout)
gettimeofday({1202160340, 243445}, NULL) = 0
gettimeofday({1202160340, 243532}, NULL) = 0
gettimeofday({1202160340, 243634}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999898}) = 0 (Timeout)
gettimeofday({1202160341, 243340}, NULL) = 0
gettimeofday({1202160341, 243611}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160341, 244153}, NULL) = 0
gettimeofday({1202160341, 244206}, NULL) = 0
gettimeofday({1202160341, 244578}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999628}) = 0 (Timeout)
gettimeofday({1202160342, 244182}, NULL) = 0
gettimeofday({1202160342, 244235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160342, 244354}, NULL) = 0
gettimeofday({1202160342, 244414}, NULL) = 0
gettimeofday({1202160342, 244483}, NULL) = 0
select(7, [4 5 6], [], [], {0, 256383}) = 0 (Timeout)
gettimeofday({1202160342, 501188}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160342, 501301}, NULL) = 0
gettimeofday({1202160342, 501353}, NULL) = 0
select(7, [4 5 6], [], [], {0, 743061}) = 0 (Timeout)
gettimeofday({1202160343, 245428}, NULL) = 0
gettimeofday({1202160343, 245481}, NULL) = 0
gettimeofday({1202160343, 245549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 1 (in [4], left {0, 729000})
gettimeofday({1202160343, 516452}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160343, 516721}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160343, 516841}, NULL) = 0
select(7, [4 5 6], [], [], {0, 728640}) = 0 (Timeout)
gettimeofday({1202160344, 245181}, NULL) = 0
gettimeofday({1202160344, 245234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160344, 246428}, NULL) = 0
gettimeofday({1202160344, 246481}, NULL) = 0
gettimeofday({1202160344, 246548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160345, 246180}, NULL) = 0
gettimeofday({1202160345, 246233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 248})    = 0 (Timeout)
gettimeofday({1202160345, 247427}, NULL) = 0
gettimeofday({1202160345, 247480}, NULL) = 0
gettimeofday({1202160345, 247546}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999934}) = 0 (Timeout)
gettimeofday({1202160346, 247181}, NULL) = 0
gettimeofday({1202160346, 247234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160346, 248428}, NULL) = 0
gettimeofday({1202160346, 248480}, NULL) = 0
gettimeofday({1202160346, 248547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160347, 248182}, NULL) = 0
gettimeofday({1202160347, 248235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160347, 249427}, NULL) = 0
gettimeofday({1202160347, 249480}, NULL) = 0
gettimeofday({1202160347, 249549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160348, 249181}, NULL) = 0
gettimeofday({1202160348, 249234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160348, 250438}, NULL) = 0
gettimeofday({1202160348, 250490}, NULL) = 0
gettimeofday({1202160348, 250557}, NULL) = 0
select(7, [4 5 6], [], [], {0, 266164}) = 0 (Timeout)
gettimeofday({1202160348, 517428}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb2941c)       = 0
gettimeofday({1202160348, 517541}, NULL) = 0
gettimeofday({1202160348, 517593}, NULL) = 0
select(7, [4 5 6], [], [], {0, 732897}) = 0 (Timeout)
gettimeofday({1202160349, 250189}, NULL) = 0
gettimeofday({1202160349, 250242}, NULL) = 0
select(7, [4 5 6], [], [], {0, 248})    = 0 (Timeout)
gettimeofday({1202160349, 251427}, NULL) = 0
gettimeofday({1202160349, 251480}, NULL) = 0
gettimeofday({1202160349, 251546}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999934}) = 1 (in [4], left {0, 719000})
gettimeofday({1202160349, 532458}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\20\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb270e0)       = 0
gettimeofday({1202160349, 532728}, NULL) = 0
recvfrom(4, 0xbfb272e8, 8192, 64, 0xbfb2949c, 0xbfb294a8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160349, 532846}, NULL) = 0
select(7, [4 5 6], [], [], {0, 718634}) = 0 (Timeout)
gettimeofday({1202160350, 251428}, NULL) = 0
gettimeofday({1202160350, 251481}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160350, 251600}, NULL) = 0
gettimeofday({1202160350, 251652}, NULL) = 0
gettimeofday({1202160350, 251720}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160351, 251428}, NULL) = 0
gettimeofday({1202160351, 251481}, NULL) = 0
select(7, [4 5 6], [], [], {0, 171})    = 0 (Timeout)
gettimeofday({1202160351, 252427}, NULL) = 0
gettimeofday({1202160351, 252479}, NULL) = 0
gettimeofday({1202160351, 252546}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160352, 252183}, NULL) = 0
gettimeofday({1202160352, 252236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 243})    = 0 (Timeout)
gettimeofday({1202160352, 253427}, NULL) = 0
gettimeofday({1202160352, 253480}, NULL) = 0
gettimeofday({1202160352, 253549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160353, 253180}, NULL) = 0
gettimeofday({1202160353, 253233}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160353, 254427}, NULL) = 0
gettimeofday({1202160353, 254479}, NULL) = 0
gettimeofday({1202160353, 254546}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}

[-- Attachment #5: wpa_supplicant-strace2 --]
[-- Type: text/plain, Size: 20747 bytes --]

execve("/sbin/wpa_supplicant", ["wpa_supplicant", "-Dwext", "-iath0", "-c", "/etc/wpa_supplicant/wpa_supplica"...], [/* 15 vars */]) = 0
uname({sys="Linux", node="home", ...})  = 0
brk(0)                                  = 0x80e5000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f57000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=77517, ...}) = 0
mmap2(NULL, 77517, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f44000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libssl.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\255"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=252768, ...}) = 0
mmap2(NULL, 255732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f05000
mmap2(0xb7f40000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xb7f40000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.8", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\3"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1270520, ...}) = 0
mmap2(NULL, 1282904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dcb000
mmap2(0xb7eed000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb7eed000
mmap2(0xb7f01000, 13144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f01000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dca000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc6000
mmap2(0xb7dc8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7dc8000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libdbus-1.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220K\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=203740, ...}) = 0
mmap2(NULL, 203036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d94000
mmap2(0xb7dc5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31) = 0xb7dc5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c63000
mmap2(0xb7d8a000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7d8a000
mmap2(0xb7d91000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d91000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7c4f000
mmap2(0xb7c62000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7c62000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c4e000
mprotect(0xb7d8a000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7c4e940, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f44000, 77517)               = 0
brk(0)                                  = 0x80e5000
brk(0x8106000)                          = 0x8106000
open("/dev/null", O_RDWR)               = 3
close(3)                                = 0
open("/etc/wpa_supplicant/wpa_supplicant.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=183, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f56000
read(3, "# WPA-PSK/TKIP\n\nctrl_interface=/"..., 4096) = 183
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f56000, 4096)                = 0
gettimeofday({1202160452, 570860}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000001}, 12) = 0
ioctl(3, 0x8b36, 0xbfb6cc7c)            = -1 EOPNOTSUPP (Operation not supported)
ioctl(3, SIOCSIWMODE, 0xbfb6cc80)       = 0
ioctl(3, SIOCGIFFLAGS, {ifr_name="ath0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_PROMISC|IFF_MULTICAST}) = 0
ioctl(3, SIOCSIFFLAGS, 0xbfb6cc80)      = 0
ioctl(3, SIOCGIWRANGE, 0xbfb6cce8)      = 0
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
close(5)                                = 0
send(4, "-\0\0\0\23\0\1\0\1\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0"..., 45, 0) = 45
socket(PF_PACKET, SOCK_DGRAM, 36488)    = 5
ioctl(5, SIOCGIFINDEX, {ifr_name="ath0", ifr_index=4}) = 0
bind(5, {sa_family=AF_PACKET, proto=0x888e, if4, pkttype=PACKET_HOST, addr(0)={0, }, 20) = 0
ioctl(5, SIOCGIFHWADDR, {ifr_name="ath0", ifr_hwaddr=00:17:9a:d1:ee:f4}) = 0
ioctl(3, 0x8b32, 0xbfb6ccbc)            = 0
ioctl(3, 0x8b34, 0xbfb6cc5c)            = 0
ioctl(3, 0x8b34, 0xbfb6cc5c)            = 0
ioctl(3, 0x8b34, 0xbfb6cc5c)            = 0
ioctl(3, 0x8b34, 0xbfb6cc5c)            = 0
ioctl(3, 0x8b32, 0xbfb6ccbc)            = -1 EOPNOTSUPP (Operation not supported)
dup(2)                                  = 6
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
close(6)                                = 0
write(2, "ioctl[SIOCSIWAUTH]: Operation no"..., 44ioctl[SIOCSIWAUTH]: Operation not supported
) = 44
write(2, "WEXT auth param 4 value 0x0 - ", 30WEXT auth param 4 value 0x0 - ) = 30
ioctl(3, 0x8b32, 0xbfb6ccbc)            = 0
gettimeofday({1202160452, 576111}, NULL) = 0
mkdir("/var/run/wpa_supplicant", 0770)  = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 6
bind(6, {sa_family=AF_FILE, path="/var/run/wpa_supplicant/ath0"}, 110) = 0
chmod("/var/run/wpa_supplicant/ath0", 0770) = 0
rt_sigaction(SIGINT, {0x80503c0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x80503c0, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x80503c0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
gettimeofday({1202160452, 576925}, NULL) = 0
select(7, [4 5 6], [], [], {0, 99186})  = 1 (in [4], left {0, 99186})
gettimeofday({1202160452, 577072}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160452, 577346}, NULL) = 0
select(7, [4 5 6], [], [], {0, 98765})  = 0 (Timeout)
gettimeofday({1202160452, 676429}, NULL) = 0
ioctl(3, SIOCGIWSCAN, 0xbfb6caf0)       = 0
gettimeofday({1202160452, 676589}, NULL) = 0
gettimeofday({1202160452, 676642}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160452, 676762}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb6cc5c)       = 0
gettimeofday({1202160452, 676873}, NULL) = 0
gettimeofday({1202160452, 676926}, NULL) = 0
select(7, [4 5 6], [], [], {0, 893934}) = 0 (Timeout)
gettimeofday({1202160453, 570187}, NULL) = 0
gettimeofday({1202160453, 570241}, NULL) = 0
select(7, [4 5 6], [], [], {0, 619})    = 0 (Timeout)
gettimeofday({1202160453, 571428}, NULL) = 0
gettimeofday({1202160453, 571482}, NULL) = 0
gettimeofday({1202160453, 571552}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 1 (in [4], left {0, 880000})
gettimeofday({1202160453, 691461}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb6a920)       = 0
gettimeofday({1202160453, 691739}, NULL) = 0
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160453, 691859}, NULL) = 0
select(7, [4 5 6], [], [], {0, 879623}) = 0 (Timeout)
gettimeofday({1202160454, 571185}, NULL) = 0
gettimeofday({1202160454, 571238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 244})    = 0 (Timeout)
gettimeofday({1202160454, 572429}, NULL) = 0
gettimeofday({1202160454, 572482}, NULL) = 0
gettimeofday({1202160454, 572551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160455, 572183}, NULL) = 0
gettimeofday({1202160455, 572236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160455, 573428}, NULL) = 0
gettimeofday({1202160455, 573480}, NULL) = 0
gettimeofday({1202160455, 573547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160456, 573182}, NULL) = 0
gettimeofday({1202160456, 573235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160456, 574428}, NULL) = 0
gettimeofday({1202160456, 574480}, NULL) = 0
gettimeofday({1202160456, 574547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160457, 574182}, NULL) = 0
gettimeofday({1202160457, 574235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160457, 575439}, NULL) = 0
gettimeofday({1202160457, 575491}, NULL) = 0
gettimeofday({1202160457, 575559}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160458, 575190}, NULL) = 0
gettimeofday({1202160458, 575242}, NULL) = 0
select(7, [4 5 6], [], [], {0, 249})    = 0 (Timeout)
gettimeofday({1202160458, 576428}, NULL) = 0
gettimeofday({1202160458, 576480}, NULL) = 0
gettimeofday({1202160458, 576547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 115192}) = 0 (Timeout)
gettimeofday({1202160458, 692179}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb6cc5c)       = 0
gettimeofday({1202160458, 692292}, NULL) = 0
gettimeofday({1202160458, 692344}, NULL) = 0
select(7, [4 5 6], [], [], {0, 884136}) = 0 (Timeout)
gettimeofday({1202160459, 577182}, NULL) = 0
gettimeofday({1202160459, 577235}, NULL) = 0
gettimeofday({1202160459, 577303}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 1 (in [4], left {0, 870000})
gettimeofday({1202160459, 707452}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb6a920)       = 0
gettimeofday({1202160459, 707726}, NULL) = 0
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160459, 707844}, NULL) = 0
select(7, [4 5 6], [], [], {0, 869391}) = 0 (Timeout)
gettimeofday({1202160460, 577196}, NULL) = 0
gettimeofday({1202160460, 577249}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160460, 577376}, NULL) = 0
gettimeofday({1202160460, 577429}, NULL) = 0
gettimeofday({1202160460, 577498}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160461, 577185}, NULL) = 0
gettimeofday({1202160461, 577238}, NULL) = 0
select(7, [4 5 6], [], [], {0, 191})    = 0 (Timeout)
gettimeofday({1202160461, 578428}, NULL) = 0
gettimeofday({1202160461, 578481}, NULL) = 0
gettimeofday({1202160461, 578548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160462, 578181}, NULL) = 0
gettimeofday({1202160462, 578235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160462, 579428}, NULL) = 0
gettimeofday({1202160462, 579481}, NULL) = 0
gettimeofday({1202160462, 579549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160463, 579187}, NULL) = 0
gettimeofday({1202160463, 579240}, NULL) = 0
select(7, [4 5 6], [], [], {0, 241})    = 0 (Timeout)
gettimeofday({1202160463, 580428}, NULL) = 0
gettimeofday({1202160463, 580481}, NULL) = 0
gettimeofday({1202160463, 580551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999930}) = 0 (Timeout)
gettimeofday({1202160464, 580193}, NULL) = 0
gettimeofday({1202160464, 580246}, NULL) = 0
select(7, [4 5 6], [], [], {0, 235})    = 0 (Timeout)
gettimeofday({1202160464, 581428}, NULL) = 0
gettimeofday({1202160464, 581481}, NULL) = 0
gettimeofday({1202160464, 581552}, NULL) = 0
select(7, [4 5 6], [], [], {0, 126174}) = 0 (Timeout)
gettimeofday({1202160464, 708187}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb6cc5c)       = 0
gettimeofday({1202160464, 708299}, NULL) = 0
gettimeofday({1202160464, 708352}, NULL) = 0
select(7, [4 5 6], [], [], {0, 873129}) = 0 (Timeout)
gettimeofday({1202160465, 582430}, NULL) = 0
gettimeofday({1202160465, 582483}, NULL) = 0
gettimeofday({1202160465, 582552}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 1 (in [4], left {0, 837000})
gettimeofday({1202160465, 745455}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb6a920)       = 0
gettimeofday({1202160465, 745728}, NULL) = 0
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160465, 745846}, NULL) = 0
select(7, [4 5 6], [], [], {0, 836637}) = 0 (Timeout)
gettimeofday({1202160466, 582182}, NULL) = 0
gettimeofday({1202160466, 582235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 248})    = 0 (Timeout)
gettimeofday({1202160466, 583428}, NULL) = 0
gettimeofday({1202160466, 583481}, NULL) = 0
gettimeofday({1202160466, 583549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160467, 583181}, NULL) = 0
gettimeofday({1202160467, 583234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 247})    = 0 (Timeout)
gettimeofday({1202160467, 584428}, NULL) = 0
gettimeofday({1202160467, 584480}, NULL) = 0
gettimeofday({1202160467, 584547}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160468, 584182}, NULL) = 0
gettimeofday({1202160468, 584235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160468, 585439}, NULL) = 0
gettimeofday({1202160468, 585492}, NULL) = 0
gettimeofday({1202160468, 585559}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160469, 585430}, NULL) = 0
gettimeofday({1202160469, 585484}, NULL) = 0
select(7, [4 5 6], [], [], {0, 8})      = 0 (Timeout)
gettimeofday({1202160469, 586428}, NULL) = 0
gettimeofday({1202160469, 586480}, NULL) = 0
gettimeofday({1202160469, 586548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160470, 586181}, NULL) = 0
gettimeofday({1202160470, 586235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160470, 587428}, NULL) = 0
gettimeofday({1202160470, 587481}, NULL) = 0
gettimeofday({1202160470, 587549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 158179}) = 0 (Timeout)
gettimeofday({1202160470, 746180}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb6cc5c)       = 0
gettimeofday({1202160470, 746293}, NULL) = 0
gettimeofday({1202160470, 746345}, NULL) = 0
select(7, [4 5 6], [], [], {0, 841136}) = 0 (Timeout)
gettimeofday({1202160471, 588430}, NULL) = 0
gettimeofday({1202160471, 588484}, NULL) = 0
gettimeofday({1202160471, 588553}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 1 (in [4], left {0, 827000})
gettimeofday({1202160471, 761463}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb6a920)       = 0
gettimeofday({1202160471, 761733}, NULL) = 0
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160471, 761851}, NULL) = 0
select(7, [4 5 6], [], [], {0, 826633}) = 0 (Timeout)
gettimeofday({1202160472, 588182}, NULL) = 0
gettimeofday({1202160472, 588236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 248})    = 0 (Timeout)
gettimeofday({1202160472, 589428}, NULL) = 0
gettimeofday({1202160472, 589481}, NULL) = 0
gettimeofday({1202160472, 589550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999931}) = 0 (Timeout)
gettimeofday({1202160473, 589182}, NULL) = 0
gettimeofday({1202160473, 589235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 246})    = 0 (Timeout)
gettimeofday({1202160473, 590428}, NULL) = 0
gettimeofday({1202160473, 590481}, NULL) = 0
gettimeofday({1202160473, 590548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160474, 590183}, NULL) = 0
gettimeofday({1202160474, 590236}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160474, 591429}, NULL) = 0
gettimeofday({1202160474, 591482}, NULL) = 0
gettimeofday({1202160474, 591549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999933}) = 0 (Timeout)
gettimeofday({1202160475, 591196}, NULL) = 0
gettimeofday({1202160475, 591249}, NULL) = 0
select(7, [4 5 6], [], [], {0, 233})    = 0 (Timeout)
gettimeofday({1202160475, 592428}, NULL) = 0
gettimeofday({1202160475, 592481}, NULL) = 0
gettimeofday({1202160475, 592549}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160476, 592194}, NULL) = 0
gettimeofday({1202160476, 592247}, NULL) = 0
select(7, [4 5 6], [], [], {0, 234})    = 0 (Timeout)
gettimeofday({1202160476, 593428}, NULL) = 0
gettimeofday({1202160476, 593481}, NULL) = 0
gettimeofday({1202160476, 593551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 168182}) = 0 (Timeout)
gettimeofday({1202160476, 762182}, NULL) = 0
ioctl(3, SIOCSIWSCAN, 0xbfb6cc5c)       = 0
gettimeofday({1202160476, 762294}, NULL) = 0
gettimeofday({1202160476, 762347}, NULL) = 0
select(7, [4 5 6], [], [], {0, 831134}) = 0 (Timeout)
gettimeofday({1202160477, 594430}, NULL) = 0
gettimeofday({1202160477, 594483}, NULL) = 0
gettimeofday({1202160477, 594551}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 1 (in [4], left {0, 817000})
gettimeofday({1202160477, 777448}, NULL) = 0
recvfrom(4, ",\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\4\0\0\0\3\21\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 44
ioctl(3, SIOCGIWSCAN, 0xbfb6a920)       = 0
gettimeofday({1202160477, 777720}, NULL) = 0
recvfrom(4, 0xbfb6ab28, 8192, 64, 0xbfb6ccdc, 0xbfb6cce8) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1202160477, 777839}, NULL) = 0
select(7, [4 5 6], [], [], {0, 816644}) = 0 (Timeout)
gettimeofday({1202160478, 594430}, NULL) = 0
gettimeofday({1202160478, 594483}, NULL) = 0
select(7, [4 5 6], [], [], {0, 0})      = 0 (Timeout)
gettimeofday({1202160478, 594603}, NULL) = 0
gettimeofday({1202160478, 594655}, NULL) = 0
gettimeofday({1202160478, 594723}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160479, 594430}, NULL) = 0
gettimeofday({1202160479, 594482}, NULL) = 0
select(7, [4 5 6], [], [], {0, 173})    = 0 (Timeout)
gettimeofday({1202160479, 595434}, NULL) = 0
gettimeofday({1202160479, 595486}, NULL) = 0
gettimeofday({1202160479, 595554}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160480, 595180}, NULL) = 0
gettimeofday({1202160480, 595234}, NULL) = 0
select(7, [4 5 6], [], [], {0, 252})    = 0 (Timeout)
gettimeofday({1202160480, 596428}, NULL) = 0
gettimeofday({1202160480, 596480}, NULL) = 0
gettimeofday({1202160480, 596548}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}) = 0 (Timeout)
gettimeofday({1202160481, 596182}, NULL) = 0
gettimeofday({1202160481, 596235}, NULL) = 0
select(7, [4 5 6], [], [], {0, 245})    = 0 (Timeout)
gettimeofday({1202160481, 597429}, NULL) = 0
gettimeofday({1202160481, 597482}, NULL) = 0
gettimeofday({1202160481, 597550}, NULL) = 0
select(7, [4 5 6], [], [], {0, 999932}

^ permalink raw reply

* Re: [PATCH] xircom_cb should return NETDEV_TX_BUSY when there are no descriptors available
From: Erik Mouw @ 2008-02-04 21:20 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Waskiewicz Jr, Peter P, jamal
In-Reply-To: <20080204175653.GC16952@gateway.home>

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Mon, Feb 04, 2008 at 06:56:54PM +0100, Erik Mouw wrote:
> Changes in other networking paths uncovered a bug in the xircom_cb
> driver which made the kernel spew lots of the following error messages:
> 
>   BUG eth1 code -5 qlen 0
> 
> It turned out that the driver returned -EIO when there was no
> descriptor available for sending packets. It should return
> NETDEV_TX_BUSY instead. This was discussed on the netdev list before,
> see http://thread.gmane.org/gmane.linux.network/84603 .
> 
> Signed-off-by: Erik Mouw <mouw@nl.linux.org>

Forgot to tell: the patch is against 2.6.24 but should apply cleanly to
the latest git kernel. The xircom_cb driver appears to be orphaned so
I've send the patch to you.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply

* Re: [PATCH 2.6.24-mm1] error compiling net driver NE2000/NE1000
From: Andrew Morton @ 2008-02-04 21:10 UTC (permalink / raw)
  To: Pierre Peiffer; +Cc: linux-kernel, netdev, Alan Cox
In-Reply-To: <20080204162921.94984e72.pierre.peiffer@bull.net>

On Mon, 4 Feb 2008 16:29:21 +0100
Pierre Peiffer <pierre.peiffer@bull.net> wrote:

> Hi,
> 
> 	When I compile the kernel 2.6.24-mm1 with:
> CONFIG_NET_ISA=y
> CONFIG_NE2000=y
> 
> I have the following compile error:
> ...
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `ne_block_output':
> linux-2.6.24-mm1/drivers/net/ne.c:797: undefined reference to `NS8390_init'
> drivers/built-in.o: In function `ne_drv_resume':
> linux-2.6.24-mm1/drivers/net/ne.c:858: undefined reference to `NS8390_init'
> drivers/built-in.o: In function `ne_probe1':
> linux-2.6.24-mm1/drivers/net/ne.c:539: undefined reference to `NS8390_init'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [sub-make] Error 2

Thanks for reporting this.

> As I saw that the file 8390p.c is compiled for this driver, but not the file 
> 8390.c which contains this function NS8390_init(), I fixed this error with
> the following patch.

Alan's
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core.patch
would be a prime suspect.  I assume this bug isn't present ing mainline or
in 2.6.24?

> As NS8390p_init() does the same thing than NS8390_init(), I suppose that this is the right fix ?
> 
> Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
> ---
>  drivers/net/ne.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> Index: b/drivers/net/ne.c
> ===================================================================
> --- a/drivers/net/ne.c
> +++ b/drivers/net/ne.c
> @@ -536,7 +536,7 @@ static int __init ne_probe1(struct net_d
>  #ifdef CONFIG_NET_POLL_CONTROLLER
>  	dev->poll_controller = eip_poll;
>  #endif
> -	NS8390_init(dev, 0);
> +	NS8390p_init(dev, 0);
>  
>  	ret = register_netdev(dev);
>  	if (ret)
> @@ -794,7 +794,7 @@ retry:
>  		if (time_after(jiffies, dma_start + 2*HZ/100)) {		/* 20ms */
>  			printk(KERN_WARNING "%s: timeout waiting for Tx RDC.\n", dev->name);
>  			ne_reset_8390(dev);
> -			NS8390_init(dev,1);
> +			NS8390p_init(dev,1);
>  			break;
>  		}
>  
> @@ -855,7 +855,7 @@ static int ne_drv_resume(struct platform
>  
>  	if (netif_running(dev)) {
>  		ne_reset_8390(dev);
> -		NS8390_init(dev, 1);
> +		NS8390p_init(dev, 1);
>  		netif_device_attach(dev);
>  	}
>  	return 0;



^ permalink raw reply

* Re: [Wireless, ath5k] 2.6.24-git13 9135f1901ee6449dfe338adf6e40e9c2025b8150
From: Jiri Slaby @ 2008-02-04 20:25 UTC (permalink / raw)
  To: "Oliver Pinter (Pintér Olivér)"
  Cc: netdev, ath5k-devel-xDcbHBWguxEUs3QNXV6qNA, John W. Linville,
	Linux Kernel, Bruno Randolf, Andrew Morton, Linus Torvalds
In-Reply-To: <6101e8c40802040600q804e40cs97d0031920e58d9d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 02/04/2008 03:00 PM, Oliver Pinter (Pintér Olivér) wrote:
> git top: 9135f1901ee6449dfe338adf6e40e9c2025b8150
> 
> [  399.582185] wpa_supplicant[4383]: segfault at 30 ip 080697ca sp
> bf87a690 error 4 in wpa_supplicant[8048000+4c000]
> [  406.277199] wpa_supplicant[4384]: segfault at 30 ip 080697ca sp
> bfc13a30 error 4 in wpa_supplicant[8048000+4c000]
> [  407.586375] wpa_supplicant[4385]: segfault at 30 ip 080697ca sp
> bf9ed000 error 4 in wpa_supplicant[8048000+4c000]
> [  411.671037] wpa_supplicant[4386]: segfault at 30 ip 080697ca sp
> bf8f3710 error 4 in wpa_supplicant[8048000+4c000]
> [  412.569843] wpa_supplicant[4387]: segfault at 30 ip 080697ca sp
> bfc19a30 error 4 in wpa_supplicant[8048000+4c000]
> [  413.118874] wpa_supplicant[4388]: segfault at 30 ip 080697ca sp
> bfc9cab0 error 4 in wpa_supplicant[8048000+4c000]

Seems like wpa_supplicant is broken. Is this a regression?

> home:~# wpa_supplicant -Dwext -iath0 -c /etc/wpa_supplicant/wpa_supplicant.conf

ath0? udev renamed it?

> ioctl[SIOCSIWAUTH]: Operation not supported
> WEXT auth param 4 value 0x0 - bind(PF_UNIX): Address already in use

4 - 0x0 is TKIP, nothing we should worry about.

> ctrl_iface exists and seems to be in use - cannot override it
> Delete '/var/run/wpa_supplicant/ath0' manually if it is not used anymore
> Failed to initialize control interface '/var/run/wpa_supplicant'.
> You may have another wpa_supplicant process already running or the file was
> left by an unclean termination of wpa_supplicant in which case you will need
> to manually remove this file before starting wpa_supplicant again.

Have you?

I guess ltrace would help here. And maybe strace...

^ permalink raw reply

* Re: why does DCCP SO_REUSEADDR have to be SOL_DCCP?
From: Rick Jones @ 2008-02-04 18:46 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Linux Network Development list
In-Reply-To: <20080202025259.GH17164@ghostprotocols.net>

Arnaldo Carvalho de Melo wrote:
> Em Fri, Feb 01, 2008 at 05:42:23PM -0800, Rick Jones escreveu:
> 
>>Hi -
>>
>>I'm tweaking the netperf omni tests to be able to run over DCCP.  I've run 
>>across a not-unorecedented problem with getaddrinfo() not groking either 
>>SOCK_DCCP or IPPROTO_DCCP in the hints, and that I can more or less live 
>>with - I had to do a kludge for getaddrinfo() for IPPROTO_SCTP under Linux 
>>at one point and I can see how the two are not necessarily going to be in 
>>sync.
> 
> 
> See the ttcp patch where we do a xgetaddrinfo crude hack to handle dccp:
> 
> http://vger.kernel.org/~acme/dccp/ttcp.c

That is basically what netperf ends-up doing presently, although it is 
much more vocal about it :)

>>And I've worked-around no user-level include files (ie without setting 
>>__KERNEL__) define the DCCP stuff, and that is OK too, albeit somewhat 
>>inconvenient.
> 
> 
> Humm, for what? Again, see the ttcp code above:

I see that it too is making a guess for the DCCP defines.  I prefer to 
get those from the "regular" include files because several of them can 
be platform specific and netperf happens on many platforms.  If DCCP is 
still "experimental" I suppose that living with defines not being in 
user-level includes is to be expected.

>>My question though is why on earth does an SO_REUSEADDR setsockopt() 
>>against a DCCP socket have to be SOL_DCCP?  SCTP and TCP are quite happy 
>>with SOL_SOCKET, and it might be foolish consistency, but since the option 
>>_does_ begin with SO_ I'd have expected it to work for SOL_SOCKET, but 
>>(again RHEL5.1, yes, I do plan on getting upstream but have to satisfy 
>>several masters) it doesn't seem to be the case - a subsequent listen() or 
>>connect() call after an SOL_SOCKET SO_REUSEADDR against a DCCP socket 
>>leaves one SOL as it were...
> 
> 
> Strange, lemme check...
> 
>  1. sys_socketcall ->
>  2.  sys_setsockopt ->
>  3.    if (level == SOL_SOCKET) {
>  4.      sock_setsockopt:
>  5.        case SO_REUSEADDR:
>  6.          sk->sk_reuse = valbool;
>  7.    } else
>  8.      sock->ops->setsockopt = inet_dccp_ops->setsockopt =
>  9.        inet_dccp_ops->setsockopt = sock_common_setsockopt ->
> 10.          sk->sk_prot->setsockopt = dccp_v4_prot->setsockopt =
> 11.	    dccp_setsockopt
> 12.              if (level != SOL_DCCP)
> 13.                return inet_csk(sk)->icsk_af_ops->setsockopt() =
> 14.		  ip_setsockopt
> 15.              return do_dccp_setsockopt()
> 
> SO_REUSEADDR is handled in 4, if you pass SOL_SOCKET.
> 
> If instead you pass SOL_DCCP we'll go down the rabbit hole till
> do_dccp_setsockopt() and SO_REUSEADDR, that is equal to 2, will be
> interpreted as DCCP_SOCKOPT_SERVICE, that is also equal to 2, so you'll
> be setting the service, not changing the SO_REUSEADDR setting.

That is completely unexpected.  Particularly based on the implications of:

http://www.linux-foundation.org/en/Net:DCCP

> 
> The problem here is that you need to use:
> 
> setsockopt(fd, SOL_DCCP, DCCP_SOCKOPT_PACKET_SIZE, service,
>            sizeof(service));

I guess since I was going off the URL above and it doesn't mention 
that... :)  I was just blythly ass-u-me-ing that DCCP was usable as a 
"just swap the IPPROTO in your socket() call and go" sort of thing. And 
wasn't expecting to have to make additional setsockopt() calls.

> Look forward for a happy DCCP netperf bencharking session!

Looks like some very basic stuff (whatever one gets passing SOL_DCCP to 
the SO_REUSEADDR setting) is functioning in the top of trunk.  I now 
have to think about what to do wrt DCCP service types.  If I should add 
something to the parsing of -T dccp or if I should add yet another 
command-line option :)

happy benchmarking,

rick jones

^ permalink raw reply

* Re: [NET_SCHED 00/04]: External SFQ classifiers/flow classifier
From: Corey Hickey @ 2008-02-04 18:25 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Linux Netdev List
In-Reply-To: <47A74FEE.6080103@trash.net>

Patrick McHardy wrote:
> You're missing protocol, handle etc. Try something like this:
> 
> tc filter add dev eth0 protocol ip pref 1 parent 1: handle 1 \ 
> 
>          flow hash keys dst divisor 1024

Thanks, the kernel accepts that. I guess I understand tc filter usage
less than I thought I did.... Time to teach myself better.

-Corey

^ permalink raw reply

* Re: [PATCH 4/5] ehea: fix phyp checkpatch complaints
From: Scott Wood @ 2008-02-04 18:06 UTC (permalink / raw)
  To: Doug Maxey
  Cc: Jan-Bernd Themann, netdev, Jeff Garzik, Linux PowerPC List,
	Paul Mackerras
In-Reply-To: <19294.1201927197@bebe.enoyolf.org>

Doug Maxey wrote:
> On Fri, 01 Feb 2008 13:23:45 CST, Scott Wood wrote:
>> On Thu, Jan 31, 2008 at 08:20:50PM -0600, Doug Maxey wrote:
>>>  /* input param R5 */
>>> -#define H_ALL_RES_QP_EQPO         EHEA_BMASK_IBM(9, 11)
> ...
>>> +#define H_ALL_RES_QP_EQPO	  EHEA_BMASK_IBM(9, 11)
> ...
>> This was better the way it was (before, it was readable at any tab setting);
>> checkpatch is overeager to complain on tab/space issues (it's a bit hard to
>> distinguish indentation from alignment with a regex).
> 
> In emacs, with no special offsets, the lines appear to still line up.

Are you using a tab size other than 8?

> What did happen was spaces were turned to tabs where applicable.

I disagree about the applicability. :-)

> What editor shows a bad alignment?

Any editor that has been configured to a non-default tab size.

-Scott

^ permalink raw reply

* Re: [PATCH] 2.6.24-mm1 section type conflict cleanup
From: Sam Ravnborg @ 2008-02-04 18:04 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: Andrew Morton, linux-kernel, netdev, apw, balbir
In-Reply-To: <20080204162223.GA6888@linux.vnet.ibm.com>

On Mon, Feb 04, 2008 at 09:52:23PM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
> 
> The 2.6.24-mm1 kernel build fails at many places with section type
> conflict build error.

What arch?
We have troubles with powerpc as pointed out by Al in another thread.

	Sam

^ permalink raw reply

* [PATCH] xircom_cb should return NETDEV_TX_BUSY when there are no descriptors available
From: Erik Mouw @ 2008-02-04 17:56 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Waskiewicz Jr, Peter P, jamal

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

Hi,

Changes in other networking paths uncovered a bug in the xircom_cb
driver which made the kernel spew lots of the following error messages:

  BUG eth1 code -5 qlen 0

It turned out that the driver returned -EIO when there was no
descriptor available for sending packets. It should return
NETDEV_TX_BUSY instead. This was discussed on the netdev list before,
see http://thread.gmane.org/gmane.linux.network/84603 .

Signed-off-by: Erik Mouw <mouw@nl.linux.org>

diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c
index 8fc7274..6b93d01 100644
--- a/drivers/net/tulip/xircom_cb.c
+++ b/drivers/net/tulip/xircom_cb.c
@@ -441,7 +441,7 @@ static int xircom_start_xmit(struct sk_buff *skb, struct net_device *dev)
 	spin_unlock_irqrestore(&card->lock,flags);
 	trigger_transmit(card);
 
-	return -EIO;
+	return NETDEV_TX_BUSY;
 }
 
 


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply related

* Re: [NET_SCHED 00/04]: External SFQ classifiers/flow classifier
From: Patrick McHardy @ 2008-02-04 17:48 UTC (permalink / raw)
  To: Corey Hickey; +Cc: Linux Netdev List
In-Reply-To: <47A4FB81.80700@fatooh.org>

Corey Hickey wrote:
> Patrick McHardy wrote:
>> These patches add support for external classifiers to SFQ and add a
>> new "flow" classifier, which can do hashing based on user-specified
>> keys or deterministic mapping of keys to classes. Additionally there
>> is a patch to make the SFQ queues visisble as classes to verify that
>> the hash is indeed doing something useful and a patch to consifiy
>> struct tcf_ext_map, which I had queued in the same tree.
> 
> Excellent! I'm glad this is applied. I'm having trouble figuring out how
> it works, though. As a test, I'm trying to set up SFQ equivalent to
> ESFQ's "hash dst". Here's what I do, and this is what I get:
> 
> ------------------------------------------------------------------------
> # ./tc qdisc add dev eth0 root handle 1: sfq
> # ./tc filter add dev eth0 parent 1: flow hash keys dst
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> ------------------------------------------------------------------------
> 
> I've tried a few different keys with the same results. I don't know what
> I'm doing wrong, or even where to start figuring it out. Can you point
> me in the right direction?


You're missing protocol, handle etc. Try something like this:

tc filter add dev eth0 protocol ip pref 1 parent 1: handle 1 \ 

         flow hash keys dst divisor 1024


^ permalink raw reply

* Re: [PATCH] 2.6.24-mm1 section type conflict cleanup
From: Kamalesh Babulal @ 2008-02-04 16:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, netdev, sam, apw, balbir
In-Reply-To: <20080203171634.58ab668b.akpm@linux-foundation.org>

Hi Andrew,

The 2.6.24-mm1 kernel build fails at many places with section type
conflict build error.

drivers/net/typhoon.c:181: error: typhoon_card_info causes a section type conflict
make[2]: *** [drivers/net/typhoon.o] Error 1

drivers/net/natsemi.c:245: error: natsemi_pci_info causes a section type conflict
make[2]: *** [drivers/net/natsemi.o] Error 1

drivers/net/bnx2.c:95: error: board_info causes a section type conflict
make[2]: *** [drivers/net/bnx2.o] Error 1

drivers/net/bnx2x.c:112: error: board_info causes a section type conflict
make[2]: *** [drivers/net/bnx2x.o] Error 1

drivers/net/bnx2x.c:112: error: board_info causes a section type conflict
make[2]: *** [drivers/net/bnx2x.o] Error 1

drivers/net/via-velocity.c:453: error: velocity_id_table causes a section type conflict
make[2]: *** [drivers/net/via-velocity.o] Error 1

drivers/net/starfire.c:350: error: netdrv_tbl causes a section type conflict
make[2]: *** [drivers/net/starfire.o] Error 1


I have tested the patch for build test only

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
--
--- linux-2.6.24/drivers/net/typhoon.c	2008-01-25 04:28:37.000000000 +0530
+++ linux-2.6.24/drivers/net/~typhoon.c	2008-02-04 16:21:55.000000000 +0530
@@ -178,7 +178,7 @@ enum typhoon_cards {
 };
 
 /* directly indexed by enum typhoon_cards, above */
-static const struct typhoon_card_info typhoon_card_info[] __devinitdata = {
+static const struct typhoon_card_info typhoon_card_info[] __devinitconst = {
 	{ "3Com Typhoon (3C990-TX)",
 		TYPHOON_CRYPTO_NONE},
 	{ "3Com Typhoon (3CR990-TX-95)",
--- linux-2.6.24/drivers/net/natsemi.c	2008-02-04 14:57:00.000000000 +0530
+++ linux-2.6.24/drivers/net/~natsemi.c	2008-02-04 16:36:22.000000000 +0530
@@ -242,7 +242,7 @@ static const struct {
 	const char *name;
 	unsigned long flags;
 	unsigned int eeprom_size;
-} natsemi_pci_info[] __devinitdata = {
+} natsemi_pci_info[] __devinitconst = {
 	{ "Aculab E1/T1 PMXc cPCI carrier card", NATSEMI_FLAG_IGNORE_PHY, 128 },
 	{ "NatSemi DP8381[56]", 0, 24 },
 };
--- linux-2.6.24/drivers/net/bnx2.c	2008-02-04 14:56:59.000000000 +0530
+++ linux-2.6.24/drivers/net/~bnx2.c	2008-02-04 16:44:02.000000000 +0530
@@ -92,7 +92,7 @@ typedef enum {
 /* indexed by board_t, above */
 static const struct {
 	char *name;
-} board_info[] __devinitdata = {
+} board_info[] __devinitconst = {
 	{ "Broadcom NetXtreme II BCM5706 1000Base-T" },
 	{ "HP NC370T Multifunction Gigabit Server Adapter" },
 	{ "HP NC370i Multifunction Gigabit Server Adapter" },
--- linux-2.6.24/drivers/net/bnx2.c	2008-02-04 16:44:47.000000000 +0530
+++ linux-2.6.24/drivers/net/~bnx2.c	2008-02-04 16:47:08.000000000 +0530
@@ -104,7 +104,7 @@ static const struct {
 	{ "Broadcom NetXtreme II BCM5709 1000Base-SX" },
 	};
 
-static struct pci_device_id bnx2_pci_tbl[] = {
+static struct pci_device_id bnx2_pci_tbl[] __devinitconst = {
 	{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5706,
 	  PCI_VENDOR_ID_HP, 0x3101, 0, 0, NC370T },
 	{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5706,
--- linux-2.6.24/drivers/net/bnx2x.c	2008-02-04 14:57:00.000000000 +0530
+++ linux-2.6.24/drivers/net/~bnx2x.c	2008-02-04 18:01:14.000000000 +0530
@@ -109,7 +109,7 @@ enum bnx2x_board_type {
 /* indexed by board_t, above */
 static const struct {
 	char *name;
-} board_info[] __devinitdata = {
+} board_info[] __devinitconst = {
 	{ "Broadcom NetXtreme II BCM57710 XGb" }
 };
 
--- linux-2.6.24/drivers/net/starfire.c	2008-01-25 04:28:37.000000000 +0530
+++ linux-2.6.24/drivers/net/~starfire.c	2008-02-04 18:08:08.000000000 +0530
@@ -347,7 +347,7 @@ MODULE_DEVICE_TABLE(pci, starfire_pci_tb
 static const struct chip_info {
 	const char *name;
 	int drv_flags;
-} netdrv_tbl[] __devinitdata = {
+} netdrv_tbl[] __devinitconst = {
 	{ "Adaptec Starfire 6915", CanHaveMII },
 };
 
--- linux-2.6.24/drivers/net/via-velocity.c	2008-02-04 14:57:00.000000000 +0530
+++ linux-2.6.24/drivers/net/~via-velocity.c	2008-02-04 18:04:21.000000000 +0530
@@ -450,7 +450,7 @@ static const struct velocity_info_tbl ch
  *	device driver. Used for hotplug autoloading.
  */
 
-static const struct pci_device_id velocity_id_table[] __devinitdata = {
+static const struct pci_device_id velocity_id_table[] __devinitconst = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_612X) },
 	{ }
 };
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

^ permalink raw reply

* Re: SCTP NAT module for netfilter
From: Vlad Yasevich @ 2008-02-04 15:40 UTC (permalink / raw)
  To: Sohan Shetty; +Cc: netdev, netfilter-devel-owner
In-Reply-To: <1C6541574A2FC447B53A6B4522B678AFF057C8@moe.nextone.local>

Sohan Shetty wrote:
> Is  anyone aware if there an  NAT module for netfilter being developed for SCTP protocol ?

I don't believe there is one yet.  You are always welcome to write it.

> 
> 
> I have searched the netfilter development tree source code and also mailing list and so far I have not found the NAT module for SCTP . There is SCTP conntrack module and packet match module. 
> 
> If anyone is aware and can point me to  some one who is already working on this or has evaluated this it would be of great help.
> 
> 
> SCTP is defined in [RFC 2960] Stewart, R., Xie, Q., Morneault, K., Sharp, C., Schwarzbauer, H., Taylor, T., Rytina, I., Kalla, M., Zhang, L. and V. Paxson, "Stream Control Transmission Protocol", RFC 2960, October 2000. 
> 

This has been updated.  See RFC 4960.

-vlad

^ permalink raw reply

* [PATCH 2.6.24-mm1] error compiling net driver NE2000/NE1000
From: Pierre Peiffer @ 2008-02-04 15:29 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, netdev

Hi,

	When I compile the kernel 2.6.24-mm1 with:
CONFIG_NET_ISA=y
CONFIG_NE2000=y

I have the following compile error:
...
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `ne_block_output':
linux-2.6.24-mm1/drivers/net/ne.c:797: undefined reference to `NS8390_init'
drivers/built-in.o: In function `ne_drv_resume':
linux-2.6.24-mm1/drivers/net/ne.c:858: undefined reference to `NS8390_init'
drivers/built-in.o: In function `ne_probe1':
linux-2.6.24-mm1/drivers/net/ne.c:539: undefined reference to `NS8390_init'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2

As I saw that the file 8390p.c is compiled for this driver, but not the file 
8390.c which contains this function NS8390_init(), I fixed this error with
the following patch.

As NS8390p_init() does the same thing than NS8390_init(), I suppose that this is the right fix ?

Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
---
 drivers/net/ne.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: b/drivers/net/ne.c
===================================================================
--- a/drivers/net/ne.c
+++ b/drivers/net/ne.c
@@ -536,7 +536,7 @@ static int __init ne_probe1(struct net_d
 #ifdef CONFIG_NET_POLL_CONTROLLER
 	dev->poll_controller = eip_poll;
 #endif
-	NS8390_init(dev, 0);
+	NS8390p_init(dev, 0);
 
 	ret = register_netdev(dev);
 	if (ret)
@@ -794,7 +794,7 @@ retry:
 		if (time_after(jiffies, dma_start + 2*HZ/100)) {		/* 20ms */
 			printk(KERN_WARNING "%s: timeout waiting for Tx RDC.\n", dev->name);
 			ne_reset_8390(dev);
-			NS8390_init(dev,1);
+			NS8390p_init(dev,1);
 			break;
 		}
 
@@ -855,7 +855,7 @@ static int ne_drv_resume(struct platform
 
 	if (netif_running(dev)) {
 		ne_reset_8390(dev);
-		NS8390_init(dev, 1);
+		NS8390p_init(dev, 1);
 		netif_device_attach(dev);
 	}
 	return 0;

-- 
Pierre

^ permalink raw reply

* Re: [PATCH 2/2] ehea: add memory remove hotplug support
From: Jan-Bernd Themann @ 2008-02-04 15:24 UTC (permalink / raw)
  To: michael
  Cc: Jeff Garzik, Thomas Klein, Jan-Bernd Themann, netdev,
	linux-kernel, linux-ppc, Christoph Raisch, Marcus Eder
In-Reply-To: <1202136362.7672.5.camel@concordia>

On Monday 04 February 2008 15:46, Michael Ellerman wrote:
> On Mon, 2008-02-04 at 14:04 +0100, Jan-Bernd Themann wrote:
> > Add memory remove hotplug support

> > @@ -3559,6 +3578,10 @@ int __init ehea_module_init(void)
> >  	if (ret)
> >  		ehea_info("failed registering reboot notifier");
> >  
> > +	ret = register_memory_notifier(&ehea_mem_nb);
> > +	if (ret)
> > +		ehea_info("failed registering memory remove notifier");
> > 
> >  	ret = crash_shutdown_register(&ehea_crash_handler);
> >  	if (ret)
> >  		ehea_info("failed registering crash handler");
> 
> You don't do anything except print a message if the registration fails.
> What happens when someone tries to remove memory but the memory notifier
> wasn't registered properly? Bang?

In case the registration fails and somebody tries to free memory:
- Driver will not remove the affected memory from the eHEA memory region
  --> Firmware (phyp) can not free that memory (as marked as used)
  --> Therefore the removed memory could not be used in an other partition

It makes sense to allow the driver to work anyway. Having no ethernet
would not really be a good alternative.

Regards,
Jan-Bernd

^ permalink raw reply

* Re: Slow OOM in netif_RX function
From: Andi Kleen @ 2008-02-04 15:55 UTC (permalink / raw)
  To: Ivan Dichev; +Cc: Eric Dumazet, Arnaldo Carvalho de Melo, Andi Kleen, netdev
In-Reply-To: <47A72740.9030706@obs.bg>

> Nothing that looks like a struct net_device. All the dumped leaked slab
> look the same until "45 20 05 d8" (the ascii 'E' on the 3rd line).

45 ... is often the start of an IP header (IPv4, 5*4=20 bytes length)

You could dump them to a file (e.g. using a sial script) and then
look at them with tcpdump or similar to get an idea what kinds 
of packets they are.

-Andi


^ permalink raw reply

* Re: What were the reasons of having mandatory IP address at AX.25 interfaces ?
From: Matti Aarnio @ 2008-02-04 15:02 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-hams, netdev
In-Reply-To: <p731w7s4wic.fsf@bingen.suse.de>

On Mon, Feb 04, 2008 at 03:38:35PM +0100, Andi Kleen wrote:
> Matti Aarnio <matti.aarnio@zmailer.org> writes:
> 
> > .. the original reason was apparently that _ifconfig_ blew up
> > when it saw protocols that it didn't understand on network
> > interfaces.  Possibly when there was no IP protocol on an
> > interface.
> 
> It's not only ifconfig, a lot of programs use SIOCGIFCONF
> to query ip addresses.

So ?   My codes do too, and filter away things they are not
interested in.  (When they specifically look for IP addresses.)

Of course I may be in minority by expecting the unexpected,
and handling such "weird" multiprotocol systems...


I found original explanation for that mandatoryness finally.
It was in order to silence bug reports in certain cases when
real fix would have been to really find all interfaces instead
of complaining.

In the end I used same trick that  ifconfig  tool uses to find
all interfaces, and filter away those that AX.25 subsystems
are not interested in - end of  "SIOCGIFCONF problems".


netdev:ish developemnt thing would be, that we ( = myself probably )
make SIOCGIFCONF to return those devices that have addresses
in the protocol family that the socket used for the query has.

For PF_INET we might return also PF_INET6 values to lessen
the spanish-inquisition -impact...

.. or do you know any who looks up interface IP addresses with
PF_FILE ( = AF_UNIX ) socket ?

What do the competitor systems B, S, and W do ?

> -Andi

/Matti Aarnio

^ permalink raw reply

* Re: Slow OOM in netif_RX function
From: Ivan Dichev @ 2008-02-04 14:54 UTC (permalink / raw)
  Cc: Eric Dumazet, Arnaldo Carvalho de Melo, Andi Kleen, netdev
In-Reply-To: <47A33D02.8050503@obs.bg>

Hi,

Thanks again for your help...

Here's more debug info (long email !):

We installed crash, compiled a kernel with debug symbols, dumped all the
allocated size-2048 slabs, waited some time, and re-dumped them. Then we
compared both dumps: we assumed that slab dumps which were not modified
could be considered as leaks (see end of mail for commands we used).

>From the 3c59x driver source, boomerang_rx() has only a "struct
net_device" as argument, so the idea was to take a dumped slab that
looked like a leak, remove any offset, and "apply" a struct net_device
to the dumped slab data. Then we could have a clue on which interface
the problem happens, and dig deeper to find - say - the packet ip header.

Result: none of the "leaked" slabs seem to match struct net_device.
"Valid" slabs are found in the dumps though, but not in the leaked one.

Example:

a valid slab hexdump:

c0 88 56 63 c5 56 41 d8  00 00 00 00 00 00 00 00  |..Vc.VA.........|
00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
65 74 68 32 00 00 00 00  00 00 00 00 00 00 00 00  |eth2............|
00 00 00 00 28 6f 37 c0  00 00 00 00 00 00 00 00  |....(o7.........|
00 20 82 d0 0c 00 00 00  08 00 00 00 06 00 00 00  |. ..............|
[...]

There seems to be a 32 byts slab header, then struct net_device which
begins with a 16 bytes interface name (here eth2). If we "apply" a
struct net_device, we can also find the irq, in this case 12, which is
the correct value on our machine.


Now, with a "leaked" slab:

c0 88 56 63 c5 56 41 d8  5a 5a 5a 5a 5a 5a 5a 5a  |..Vc.VA.ZZZZZZZZ|
5a 5a 5a 5a 5a 5a 5a 5a  5a 5a 00 0a 5e 5d cf 88  |ZZZZZZZZZZ..^]..|
00 11 20 da 91 01 08 00  45 20 05 d8 5e de 00 00  |.. .....E ..^...|
38 32 00 00 d5 5b 97 c2  55 5f 42 32 61 14 cd 3b  |82...[..U_B2a..;|
[...]

Nothing that looks like a struct net_device. All the dumped leaked slab
look the same until "45 20 05 d8" (the ascii 'E' on the 3rd line).


It took quite a bit of time to dig that far (for non kernel experts like
us!), and we're now out of ideas. Is it possible to have something else
than a struct net_device for boomerang_rx() ? Any idea ? Writing a patch
with the ideas mentioned before in this thread is above my level...


Things are also quite weird since we don't seem to have this problem on
two other similar machines (one 100% identical with less traffic, and
another one with the same distro/soft but different hardware).
Also note that all the machines use the out-of-tree openswan ipsec.ko
module, but it doesn't seem to be the problem since the other 2 machines
don't leak, and we didn't find any correlation between plotted IKE
packets / VPN traffic against slab leaks.

Another weird fact is that the leak increase is somewhat correlated to
network traffic - it grows slowly - but there are huge steps (ie. 1000+
more slabs in a few minutes) that are not bound to any traffic peak; if
needed, I can upload the graphs somewhere.

Some other things that might be useful: when we switched from 2.6.16.x
to 2.6.23.14, we began to have "eth1: Too much work in interrupt, status
8401" messages. Playing with 3c59x driver option "max_interrupt_work"
didn't help.

When doing tests with a kernel with slub instead of slab and misc
changes - I think we tried tickless, but not sure - we also got the
following oopses (once):

swapper: page allocation failure. order:1, mode:0x4020
 [<c0136e1a>] __alloc_pages+0x295/0x2a4
 [<c0149a77>] allocate_slab+0x59/0x96
 [<c0149b05>] new_slab+0x32/0x126
 [<c014982a>] alloc_debug_processing+0xcf/0x10c
 [<c0149eee>] __slab_alloc+0x80/0xdb
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c014ada5>] __kmalloc_track_caller+0x44/0x91
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c021ee94>] __alloc_skb+0x46/0xef
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d0886b0d>] boomerang_interrupt+0x11e/0x324 [3c59x]
 [<c011295b>] profile_tick+0x38/0x52
 [<c0131c31>] handle_IRQ_event+0x1a/0x3f
 [<c0132782>] handle_level_irq+0x0/0x85
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c010356e>] do_IRQ+0x7d/0xa3
 [<c010cc7e>] update_stats_wait_end+0xa5/0xc2
 [<c0102547>] common_interrupt+0x23/0x28
 [<c010083c>] default_idle+0x0/0x39
 [<c0100863>] default_idle+0x27/0x39
 [<c01008bc>] cpu_idle+0x44/0x60
 [<c031c7b5>] start_kernel+0x1cd/0x1d1
 [<c031c33f>] unknown_bootoption+0x0/0x139


swapper: page allocation failure. order:1, mode:0x4020
 [<c0136e1a>] __alloc_pages+0x295/0x2a4
 [<c0149a77>] allocate_slab+0x59/0x96
 [<c0149b05>] new_slab+0x32/0x126
 [<c014982a>] alloc_debug_processing+0xcf/0x10c
 [<c0149eee>] __slab_alloc+0x80/0xdb
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c014ada5>] __kmalloc_track_caller+0x44/0x91
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c021ee94>] __alloc_skb+0x46/0xef
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d0886b0d>] boomerang_interrupt+0x11e/0x324 [3c59x]
 [<c0131c31>] handle_IRQ_event+0x1a/0x3f
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c0103579>] do_IRQ+0x88/0xa3
 [<c0102547>] common_interrupt+0x23/0x28
 [<c0131c2d>] handle_IRQ_event+0x16/0x3f
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c0103579>] do_IRQ+0x88/0xa3
 [<c0102547>] common_interrupt+0x23/0x28
 [<c0131c2d>] handle_IRQ_event+0x16/0x3f
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c0103579>] do_IRQ+0x88/0xa3
 [<c0149a77>] allocate_slab+0x59/0x96
 [<c0102547>] common_interrupt+0x23/0x28
 [<c014adb7>] __kmalloc_track_caller+0x56/0x91
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c021ee94>] __alloc_skb+0x46/0xef
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d0886b0d>] boomerang_interrupt+0x11e/0x324 [3c59x]
 [<c011295b>] profile_tick+0x38/0x52
 [<c0131c31>] handle_IRQ_event+0x1a/0x3f
 [<c0132782>] handle_level_irq+0x0/0x85
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c010356e>] do_IRQ+0x7d/0xa3
 [<c010cc7e>] update_stats_wait_end+0xa5/0xc2
 [<c0102547>] common_interrupt+0x23/0x28
 [<c010083c>] default_idle+0x0/0x39
 [<c0100863>] default_idle+0x27/0x39
 [<c01008bc>] cpu_idle+0x44/0x60
 [<c031c7b5>] start_kernel+0x1cd/0x1d1
 [<c031c33f>] unknown_bootoption+0x0/0x139

swapper: page allocation failure. order:1, mode:0x4020
 [<c0136e1a>] __alloc_pages+0x295/0x2a4
 [<c0149a77>] allocate_slab+0x59/0x96
 [<c0149b05>] new_slab+0x32/0x126
 [<c014982a>] alloc_debug_processing+0xcf/0x10c
 [<c0149eee>] __slab_alloc+0x80/0xdb
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c014ada5>] __kmalloc_track_caller+0x44/0x91
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<c021ee94>] __alloc_skb+0x46/0xef
 [<d088731f>] boomerang_rx+0x30d/0x40d [3c59x]
 [<d0886b0d>] boomerang_interrupt+0x11e/0x324 [3c59x]
 [<c011295b>] profile_tick+0x38/0x52
 [<c0131c31>] handle_IRQ_event+0x1a/0x3f
 [<c0132782>] handle_level_irq+0x0/0x85
 [<c01327d2>] handle_level_irq+0x50/0x85
 [<c010356e>] do_IRQ+0x7d/0xa3
 [<c010cc7e>] update_stats_wait_end+0xa5/0xc2
 [<c0102547>] common_interrupt+0x23/0x28
 [<c010083c>] default_idle+0x0/0x39
 [<c0100863>] default_idle+0x27/0x39
 [<c01008bc>] cpu_idle+0x44/0x60
 [<c031c7b5>] start_kernel+0x1cd/0x1d1
 [<c031c33f>] unknown_bootoption+0x0/0x139


(I'm wondering what's the unknown_bootoption; ours are "ro root=/dev/md1
nousb panic=10").


Slab dump commands:

# in crash:
 kmem -S size-2048 > kmem_S

# in another shell:
 awk -f extract_slabs.awk kmem_S > dump_cmds

# in crash:
 source dump_cmds

then redo a dump later and find the same slabs; these should be leaks:

for i in $(ls memdump/); do
        [ -f memdump1/$i ] || continue
        cmp -s memdump/$i memdump1/$i || continue
        echo $i
done > same_slabs



extract_slabs.awk:
/ *\[[a-f0-9]+\] */ {
        beg_hex = strtonum(gensub(/ *\[([a-f0-9]+)\] */, "0x\\1", "g",
$1));
        printf("dump memory /home/slab_analysis/memdump/memdump-%x 0x%x
0x%x\n", beg_hex, beg_hex, beg_hex + 2072);
}


Ivan Dichev

^ permalink raw reply

* Re: [PATCH 2/2] ehea: add memory remove hotplug support
From: Michael Ellerman @ 2008-02-04 14:46 UTC (permalink / raw)
  To: Jan-Bernd Themann
  Cc: Jeff Garzik, Thomas Klein, Jan-Bernd Themann, netdev,
	linux-kernel, linux-ppc, Christoph Raisch, Marcus Eder
In-Reply-To: <200802041404.49960.ossthema@de.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

On Mon, 2008-02-04 at 14:04 +0100, Jan-Bernd Themann wrote:
> Add memory remove hotplug support
> 
> Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
> 
> ---
>  Comment: This patch depends on the following patch that
>  exports the symbols
>   register_memory_notifier()
>   unregister_memory_notifier()
> 
>  http://lkml.org/lkml/2008/2/1/293
> 
> 
>  drivers/net/ehea/ehea_main.c |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
> index 21af674..b75afcc 100644
> --- a/drivers/net/ehea/ehea_main.c
> +++ b/drivers/net/ehea/ehea_main.c

> @@ -3559,6 +3578,10 @@ int __init ehea_module_init(void)
>  	if (ret)
>  		ehea_info("failed registering reboot notifier");
>  
> +	ret = register_memory_notifier(&ehea_mem_nb);
> +	if (ret)
> +		ehea_info("failed registering memory remove notifier");
> 
>  	ret = crash_shutdown_register(&ehea_crash_handler);
>  	if (ret)
>  		ehea_info("failed registering crash handler");

You don't do anything except print a message if the registration fails.
What happens when someone tries to remove memory but the memory notifier
wasn't registered properly? Bang?

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply

* Re: What were the reasons of having mandatory IP address at AX.25 interfaces ?
From: Andi Kleen @ 2008-02-04 14:38 UTC (permalink / raw)
  To: Matti Aarnio; +Cc: linux-hams, netdev
In-Reply-To: <20080204130252.GA2537@mea-ext.zmailer.org>

Matti Aarnio <matti.aarnio@zmailer.org> writes:

> .. the original reason was apparently that _ifconfig_ blew up
> when it saw protocols that it didn't understand on network
> interfaces.  Possibly when there was no IP protocol on an
> interface.

It's not only ifconfig, a lot of programs use SIOCGIFCONF
to query ip addresses.

-Andi

^ permalink raw reply

* [PATCH][RFC] race in generic address resolution
From: Blaschka @ 2008-02-04 14:27 UTC (permalink / raw)
  To: netdev, davem

I'm running a SMP maschine (2 CPUs) configured as a router. During heavy
traffic kernel dies with following message: 

    <2>kernel BUG at /home/autobuild/BUILD/linux-2.6.23-20080125/net/core/skbuff.c:648!
    <4>illegal operation: 0001 [#1] PREEMPT SMP
    <4>Modules linked in: dm_multipath sunrpc dm_mod qeth_l3 vmur vmcp qeth_l2 qeth ccwgroup
    <4>CPU: 1 Not tainted 2.6.23-26.x.20080125-s390xdefault #1
    <4>Process swapper (pid: 0, task: 000000001ff80bb8, ksp: 000000001ff8dd98)
    <4>Krnl PSW : 0704100180000000 000000000034877e (pskb_expand_head+0x3a/0x210)
    <4>           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:1 PM:0 EA:3
    <4>Krnl GPRS: 0000000000000000 0000000000000100 000000001b2b9200 0000000000000000
    <4>           00000000000022be 0000000000000020 000000001acc0301 00000000000022e0
    <4>           00000000000022e0 0000000000000001 0000000000000000 000000001b2b9200
    <4>           000000001b2b9200 0000000000444e08 000000001ff5fa38 000000001ff5f9e8
    <4>Krnl Code: 0000000000348770: d503d01020cc        clc     16(4,%r13),204(%r2)
    <4>           0000000000348776: a7840004            brc     8,34877e
    <4>           000000000034877a: a7f40001            brc     15,34877c
    <4>          >000000000034877e: 18b1                lr      %r11,%r1
    <4>           0000000000348780: 1aba                ar      %r11,%r10
    <4>           0000000000348782: 1ab4                ar      %r11,%r4
    <4>           0000000000348784: a7ba00ff            ahi     %r11,255
    <4>           0000000000348788: a5b7ff00            nill    %r11,65280
    <4>Call Trace:
    <4>([<070000001fb96000>] 0x70000001fb96000)
    <4> [<0000000000348c08>] __pskb_pull_tail+0x2b4/0x38c
    <4> [<0000000000352e62>] dev_queue_xmit+0x1a6/0x310
    <4> [<0000000000357b98>] neigh_update+0x314/0x524
    <4> [<00000000003a11d6>] arp_process+0x2be/0x6f8
    <4> [<00000000003a1708>] arp_rcv+0xf8/0x184
    <4> [<000000000034f840>] netif_receive_skb+0x244/0x338
    <4> [<0000000000352296>] process_backlog+0xc2/0x1a8
    <4> [<0000000000352416>] net_rx_action+0x9a/0x154
    <4> [<0000000000136ba4>] __do_softirq+0x98/0x12c
    <4> [<00000000001106b0>] do_softirq+0xac/0xb0
    <4> [<0000000000136d94>] irq_exit+0x8c/0x90
    <4> [<00000000002e62dc>] do_IRQ+0x108/0x18c
    <4> [<0000000000113f10>] io_return+0x0/0x10
    <4> [<000000000010a6f0>] cpu_idle+0x21c/0x23c
    <4>([<000000000010a6a4>] cpu_idle+0x1d0/0x23c)
    <4> [<00000000001168e6>] start_secondary+0x9e/0xac
    <4> [<0000000000000000>] 0x0
    <4> [<0000000000000000>] 0x0
    <4>
    <4> <0>Kernel panic - not syncing: Fatal exception in interrupt
    <4>

Following patch fixes the problem but I do not know if it is a good sollution.

From: Frank Blaschka <frank.blaschka@de.ibm.com>

neigh_update sends skb from neigh->arp_queue while
neigh_timer_handler has increased skbs refcount and calls
solicit with the skb. Do not send neighbour skbs
marked for solicit (skb_shared).

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
---
 net/core/neighbour.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: git_linus/net/core/neighbour.c
===================================================================
--- git_linus.orig/net/core/neighbour.c	2008-01-31 12:59:57.000000000 +0100
+++ git_linus/net/core/neighbour.c	2008-01-31 13:00:25.000000000 +0100
@@ -1060,7 +1060,8 @@
 			/* On shaper/eql skb->dst->neighbour != neigh :( */
 			if (skb->dst && skb->dst->neighbour)
 				n1 = skb->dst->neighbour;
-			n1->output(skb);
+			if (!skb_shared(skb))
+				n1->output(skb);
 			write_lock_bh(&neigh->lock);
 		}
 		skb_queue_purge(&neigh->arp_queue);


^ permalink raw reply

* [Wireless, ath5k] 2.6.24-git13 9135f1901ee6449dfe338adf6e40e9c2025b8150
From: Oliver Pinter (Pintér Olivér) @ 2008-02-04 14:00 UTC (permalink / raw)
  To: John W. Linville, Bruno Randolf, netdev
  Cc: Andrew Morton, Linus Torvalds, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

git top: 9135f1901ee6449dfe338adf6e40e9c2025b8150

[  399.582185] wpa_supplicant[4383]: segfault at 30 ip 080697ca sp
bf87a690 error 4 in wpa_supplicant[8048000+4c000]
[  406.277199] wpa_supplicant[4384]: segfault at 30 ip 080697ca sp
bfc13a30 error 4 in wpa_supplicant[8048000+4c000]
[  407.586375] wpa_supplicant[4385]: segfault at 30 ip 080697ca sp
bf9ed000 error 4 in wpa_supplicant[8048000+4c000]
[  411.671037] wpa_supplicant[4386]: segfault at 30 ip 080697ca sp
bf8f3710 error 4 in wpa_supplicant[8048000+4c000]
[  412.569843] wpa_supplicant[4387]: segfault at 30 ip 080697ca sp
bfc19a30 error 4 in wpa_supplicant[8048000+4c000]
[  413.118874] wpa_supplicant[4388]: segfault at 30 ip 080697ca sp
bfc9cab0 error 4 in wpa_supplicant[8048000+4c000]

home:~# wpa_supplicant -Dwext -iath0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - bind(PF_UNIX): Address already in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/ath0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

Szegmens hiba
-- 
Thanks,
Oliver

[-- Attachment #2: clog26250home1.bz2 --]
[-- Type: application/x-bzip2, Size: 16010 bytes --]

[-- Attachment #3: dmesg-pre2.6.25.bz2 --]
[-- Type: application/x-bzip2, Size: 8573 bytes --]

[-- Attachment #4: dotconfig.bz2 --]
[-- Type: application/x-bzip2, Size: 10096 bytes --]

[-- Attachment #5: wpa_supplicant-pre2.6.25.bz2 --]
[-- Type: application/x-bzip2, Size: 429 bytes --]

^ permalink raw reply

* No IPv6 addresses after resume (No buffer space available)
From: Adrian Knoth @ 2008-02-04 13:16 UTC (permalink / raw)
  To: netdev

Hi!

I use suspend-to-RAM on my HP nx6325 laptop. I have three main
locations:

   - place A: IPv4 + IPv6
   - place B: IPv4 + IPv6
   - place C: IPv4 only

Suspending in place A and travelling to place B is no problem, I'm
always getting the local RAs, the right addresses a.s.o.

But once I've been in place C (no IPv6 there at this site), resuming in
A or B doesn't give me IPv6, I don't even get a link local address. Only
the loopback interface is left functional:

adi@chopin:~$ ls /proc/sys/net/ipv6/conf/
all  default  eth1  lo

chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever

eth0 is missing, also in /proc/sys/net/ipv6/conf (as shown above).

When I try to assign my link local address, it fails:

chopin:/home/adi# ip -6 a a fe80::0217:a4ff:fed7:a23e/64 scope link dev eth0
RTNETLINK answers: No buffer space available

It doesn't help to cycle the interface down and up. My current
workaround is to unload the NIC driver (tg3) and modprobe it again: 

[rmmod tg3 ; modprobe tg3]
chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
15: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::217:a4ff:fed7:a23e/64 scope link 
       valid_lft forever preferred_lft forever

[and a few moments later]
chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
15: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:638:906:2:217:a4ff:fed7:a23e/64 scope global dynamic 
       valid_lft 2591987sec preferred_lft 604787sec
    inet6 fe80::217:a4ff:fed7:a23e/64 scope link 
       valid_lft forever preferred_lft forever


Hope you can identify the culprit.


TIA,

Cheerio


-- 
mail: adi@thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox