Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 13:22:07 GMT
From:      Erwin Hoffmann <feh@fehcom.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/130820: wpa_supplicant returns 'no space on device'
Message-ID:  <200901211322.n0LDM7wY030665@www.freebsd.org>
Resent-Message-ID: <200901211330.n0LDU13U054025@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130820
>Category:       kern
>Synopsis:       wpa_supplicant returns 'no space on device'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 13:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Hoffmann
>Release:        6.3
>Organization:
FEHCom
>Environment:
artemis# uname -a
FreeBSD artemis.fehnet.de 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Hi,

Conditions: HP Notebook Nx6125 with broadcom Wlan adapter.
Ndis driver installed and working

artemis# ifconfig ndis0
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:14:a5:69:76:9e
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 1
        authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS
        roaming MANUAL

Trying to call wpa_supplicant provides the following error message:

wpa_supplicant -Initializing interface 'ndis0' conf '/etc/wpa_supplicant.conf' driver 'default' 
ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=15):
     XX XX XX XX 5a 42 6f 78 40 46 45 48 43 6f XX      FRITZBox@FEHCom 
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='FRITZBox@FEHCom'
Initializing interface (2) 'ndis0'
Own MAC address: 00:14:a5:69:76:9e
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
ctrl_interface_group=0 (from group name 'wheel')
Added interface ndis0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
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
Cached scan results are empty - not posting
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: disable timer tick
ioctl[SIOCG80211, op 24, len 24576]: No space left on device
Scan results: -1
Failed to get scan results

..

The wpa_supplicant has raised /var/run/wpa_supplicant/ndis0

wpa_supplicant tries it over and over again and restarts (unsuccessfully).

--

>From my preliminary analysis, this problem is due to the failure reporting the status of IEE80211 to the control file. 

"op 24" probably originates from /usr/include/net80211/ieee80211_ioctl.h:

#define IEEE80211_IOC_SCAN_RESULTS      24






>How-To-Repeat:

>Fix:
Currently none.

However the problem is independent of the wpa_supplicant (I tried the port's one 0.3.8 and further 0.3.11 and the most recent one 0.6.7, which compiles (almost without trouble) under FreeBSD.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901211322.n0LDM7wY030665>