[pkg-wpa-devel] Bug#573048: hostapd incompatible with 2.6.33 kernel

Kel Modderman kel at otaku42.de
Tue Mar 16 10:40:58 UTC 2010


severity 573048 important
thanks

On Tuesday 09 March 2010 00:17:55 Daniel wrote:
> Package: hostapd
> Version: 1:0.6.10-2
> Severity: grave
> Justification: renders package unusable

Bull.

> 
> Running kernel 2.6.32.8 together with the above hostapd version worked 
> just fine

That's why the submitted severity is bull.

> but after I've updated the kernel from 2.6.32.8 to 2.6.33 
> (both from kernel.org) hostapd does not start any more.

That's a problem that could be fixed, but I aint looked into it myself.
Thanks for the extra info.

Thanks, Kel.

> 
> Output of "/etc/init.d/hostapd":
> Starting advanced IEEE 802.11 management: hostapdioctl[SIOCGIWRANGE]: 
> Invalid argument
> ioctl[SIOCSIWRTS]: Invalid argument
> rmdir[ctrl_interface]: No such file or directory
>  (warning).
> 
> 
> Manually starting hostapd using the cmd "hostapd -t -P 
> /var/run/hostapd.pid -dd /etc/hostapd/hostapd.conf" reports:
> 1267968202.414304: Configuration file: /etc/hostapd/hostapd.conf
> 1267968202.416436: ctrl_interface_group=0
> 1267968202.445810: Opening raw packet socket for ifindex 0
> 1267968202.445896: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
> ioctl[SIOCGIWRANGE]: Invalid argument
> 1267968202.446733: nl80211: Added 802.11b mode based on 802.11g information
> 1267968202.446768: Allowed channel: mode=1 chan=1 freq=2412 MHz 
> max_tx_power=20 dBm
> 1267968202.446867: Allowed channel: mode=1 chan=2 freq=2417 MHz 
> max_tx_power=20 dBm
> 1267968202.446900: Allowed channel: mode=1 chan=3 freq=2422 MHz 
> max_tx_power=20 dBm
> 1267968202.446929: Allowed channel: mode=1 chan=4 freq=2427 MHz 
> max_tx_power=20 dBm
> 1267968202.446959: Allowed channel: mode=1 chan=5 freq=2432 MHz 
> max_tx_power=20 dBm
> 1267968202.446988: Allowed channel: mode=1 chan=6 freq=2437 MHz 
> max_tx_power=20 dBm
> 1267968202.447016: Allowed channel: mode=1 chan=7 freq=2442 MHz 
> max_tx_power=20 dBm
> 1267968202.447046: Allowed channel: mode=1 chan=8 freq=2447 MHz 
> max_tx_power=20 dBm
> 1267968202.447075: Allowed channel: mode=1 chan=9 freq=2452 MHz 
> max_tx_power=20 dBm
> 1267968202.447103: Allowed channel: mode=1 chan=10 freq=2457 MHz 
> max_tx_power=20 dBm
> 1267968202.447133: Allowed channel: mode=1 chan=11 freq=2462 MHz 
> max_tx_power=20 dBm
> 1267968202.447163: Allowed channel: mode=0 chan=1 freq=2412 MHz 
> max_tx_power=20 dBm
> 1267968202.447192: Allowed channel: mode=0 chan=2 freq=2417 MHz 
> max_tx_power=20 dBm
> 1267968202.447221: Allowed channel: mode=0 chan=3 freq=2422 MHz 
> max_tx_power=20 dBm
> 1267968202.447250: Allowed channel: mode=0 chan=4 freq=2427 MHz 
> max_tx_power=20 dBm
> 1267968202.447278: Allowed channel: mode=0 chan=5 freq=2432 MHz 
> max_tx_power=20 dBm
> 1267968202.447307: Allowed channel: mode=0 chan=6 freq=2437 MHz 
> max_tx_power=20 dBm
> 1267968202.447336: Allowed channel: mode=0 chan=7 freq=2442 MHz 
> max_tx_power=20 dBm
> 1267968202.447365: Allowed channel: mode=0 chan=8 freq=2447 MHz 
> max_tx_power=20 dBm
> 1267968202.447393: Allowed channel: mode=0 chan=9 freq=2452 MHz 
> max_tx_power=20 dBm
> 1267968202.447422: Allowed channel: mode=0 chan=10 freq=2457 MHz 
> max_tx_power=20 dBm
> 1267968202.447451: Allowed channel: mode=0 chan=11 freq=2462 MHz 
> max_tx_power=20 dBm
> 1267968202.447587: RATE[0] rate=10 flags=0x2
> 1267968202.447619: RATE[1] rate=20 flags=0x6
> 1267968202.447644: RATE[2] rate=55 flags=0x6
> 1267968202.447668: RATE[3] rate=110 flags=0x6
> 1267968202.447694: RATE[4] rate=60 flags=0x0
> 1267968202.447718: RATE[5] rate=90 flags=0x0
> 1267968202.447742: RATE[6] rate=120 flags=0x0
> 1267968202.447767: RATE[7] rate=180 flags=0x0
> 1267968202.447791: RATE[8] rate=240 flags=0x0
> 1267968202.447816: RATE[9] rate=360 flags=0x0
> 1267968202.447840: RATE[10] rate=480 flags=0x0
> 1267968202.447865: RATE[11] rate=540 flags=0x0
> 1267968202.447890: Passive scanning not supported
> 1267968202.447913: Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz
> ioctl[SIOCSIWRTS]: Invalid argument
> 1267968202.460912: Could not set RTS threshold for kernel driver
> 1267968202.460947: wlan0: Unable to setup interface.
> rmdir[ctrl_interface]: No such file or directory
> 
> 
> The last error msg "rmdir[...]" does not appear in case I run "mkdir 
> /var/run/hostapd" before starting hostapd, nevertheless hostapd does not 
> start:
> 
> root at router:~# mkdir /var/run/hostapd
> root at router:~# hostapd -t -P /var/run/hostapd.pid -dd 
> /etc/hostapd/hostapd.conf
> 1267968532.506341: Configuration file: /etc/hostapd/hostapd.conf
> 1267968532.508508: ctrl_interface_group=0
> 1267968532.537844: Opening raw packet socket for ifindex 0
> 1267968532.537929: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
> ioctl[SIOCGIWRANGE]: Invalid argument
> 1267968532.538839: nl80211: Added 802.11b mode based on 802.11g information
> 1267968532.538877: Allowed channel: mode=1 chan=1 freq=2412 MHz 
> max_tx_power=20 dBm
> 1267968532.538909: Allowed channel: mode=1 chan=2 freq=2417 MHz 
> max_tx_power=20 dBm
> 1267968532.538939: Allowed channel: mode=1 chan=3 freq=2422 MHz 
> max_tx_power=20 dBm
> 1267968532.538969: Allowed channel: mode=1 chan=4 freq=2427 MHz 
> max_tx_power=20 dBm
> 1267968532.538998: Allowed channel: mode=1 chan=5 freq=2432 MHz 
> max_tx_power=20 dBm
> 1267968532.539027: Allowed channel: mode=1 chan=6 freq=2437 MHz 
> max_tx_power=20 dBm
> 1267968532.539056: Allowed channel: mode=1 chan=7 freq=2442 MHz 
> max_tx_power=20 dBm
> 1267968532.539085: Allowed channel: mode=1 chan=8 freq=2447 MHz 
> max_tx_power=20 dBm
> 1267968532.539114: Allowed channel: mode=1 chan=9 freq=2452 MHz 
> max_tx_power=20 dBm
> 1267968532.539144: Allowed channel: mode=1 chan=10 freq=2457 MHz 
> max_tx_power=20 dBm
> 1267968532.539173: Allowed channel: mode=1 chan=11 freq=2462 MHz 
> max_tx_power=20 dBm
> 1267968532.539203: Allowed channel: mode=0 chan=1 freq=2412 MHz 
> max_tx_power=20 dBm
> 1267968532.539232: Allowed channel: mode=0 chan=2 freq=2417 MHz 
> max_tx_power=20 dBm
> 1267968532.539261: Allowed channel: mode=0 chan=3 freq=2422 MHz 
> max_tx_power=20 dBm
> 1267968532.539290: Allowed channel: mode=0 chan=4 freq=2427 MHz 
> max_tx_power=20 dBm
> 1267968532.539319: Allowed channel: mode=0 chan=5 freq=2432 MHz 
> max_tx_power=20 dBm
> 1267968532.539347: Allowed channel: mode=0 chan=6 freq=2437 MHz 
> max_tx_power=20 dBm
> 1267968532.539376: Allowed channel: mode=0 chan=7 freq=2442 MHz 
> max_tx_power=20 dBm
> 1267968532.539405: Allowed channel: mode=0 chan=8 freq=2447 MHz 
> max_tx_power=20 dBm
> 1267968532.539434: Allowed channel: mode=0 chan=9 freq=2452 MHz 
> max_tx_power=20 dBm
> 1267968532.539463: Allowed channel: mode=0 chan=10 freq=2457 MHz 
> max_tx_power=20 dBm
> 1267968532.539493: Allowed channel: mode=0 chan=11 freq=2462 MHz 
> max_tx_power=20 dBm
> 1267968532.539631: RATE[0] rate=10 flags=0x2
> 1267968532.539661: RATE[1] rate=20 flags=0x6
> 1267968532.539687: RATE[2] rate=55 flags=0x6
> 1267968532.539712: RATE[3] rate=110 flags=0x6
> 1267968532.539736: RATE[4] rate=60 flags=0x0
> 1267968532.539760: RATE[5] rate=90 flags=0x0
> 1267968532.539785: RATE[6] rate=120 flags=0x0
> 1267968532.539810: RATE[7] rate=180 flags=0x0
> 1267968532.539835: RATE[8] rate=240 flags=0x0
> 1267968532.539859: RATE[9] rate=360 flags=0x0
> 1267968532.539884: RATE[10] rate=480 flags=0x0
> 1267968532.539908: RATE[11] rate=540 flags=0x0
> 1267968532.539934: Passive scanning not supported
> 1267968532.539957: Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz
> ioctl[SIOCSIWRTS]: Invalid argument
> 1267968532.552914: Could not set RTS threshold for kernel driver
> 1267968532.552950: wlan0: Unable to setup interface.
> 
> The following configuration is in use:
> root at router:~# cat /etc/hostapd/hostapd.conf | grep -v -e "^#" | grep -v 
> "^$"
> interface=wlan0
> driver=nl80211
> logger_syslog=-1
> logger_syslog_level=2
> logger_stdout=-1
> logger_stdout_level=2
> dump_file=/tmp/hostapd.dump
> ctrl_interface=/var/run/hostapd
> ctrl_interface_group=0
> ssid=xxxxxx
> country_code=DE
> ieee80211d=1
> hw_mode=g
> channel=6
> beacon_int=100
> dtim_period=2
> max_num_sta=255
> rts_threshold=2347
> fragm_threshold=2346
> macaddr_acl=0
> auth_algs=3
> ignore_broadcast_ssid=0
> wme_enabled=1
> wme_ac_bk_cwmin=4
> wme_ac_bk_cwmax=10
> wme_ac_bk_aifs=7
> wme_ac_bk_txop_limit=0
> wme_ac_bk_acm=0
> wme_ac_be_aifs=3
> wme_ac_be_cwmin=4
> wme_ac_be_cwmax=10
> wme_ac_be_txop_limit=0
> wme_ac_be_acm=0
> wme_ac_vi_aifs=2
> wme_ac_vi_cwmin=3
> wme_ac_vi_cwmax=4
> wme_ac_vi_txop_limit=94
> wme_ac_vi_acm=0
> wme_ac_vo_aifs=2
> wme_ac_vo_cwmin=2
> wme_ac_vo_cwmax=3
> wme_ac_vo_txop_limit=47
> wme_ac_vo_acm=0
> eapol_key_index_workaround=0
> eap_server=0
> own_ip_addr=10.112.3.251
> wpa=2
> wpa_passphrase=xxxxxx
> wpa_key_mgmt=WPA-PSK
> rsn_pairwise=CCMP
> passive_scan_mode=1
> 
> The following hardware is in use:
> 00:0c.0 Ethernet controller: Atheros Communications Inc. Atheros 
> AR5001X+ Wireless Network Adapter (rev 01)
>         Subsystem: Wistron NeWeb Corp. CM9 Wireless a/b/g MiniPCI Adapter
>         Flags: bus master, medium devsel, latency 168, IRQ 9
>         Memory at e00c0000 (32-bit, non-prefetchable) [size=64K]
>         Capabilities: [44] Power Management version 2
>         Kernel driver in use: ath5k
> 
> lsmod reports:
> root at router:~# lsmod | grep ath5
> ath5k                 123037  0
> mac80211              100520  1 ath5k
> ath                     6076  1 ath5k
> cfg80211               72129  3 ath5k,mac80211,ath
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: i386 (i586)
> 
> Kernel: Linux 2.6.33-router
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages hostapd depends on:
> ii  libc6                         2.10.2-6   Embedded GNU C Library: 
> Shared lib
> ii  libnl1                        1.1-5      library for dealing with 
> netlink s
> ii  libssl0.9.8                   0.9.8k-8   SSL shared libraries
> ii  lsb-base                      3.2-23     Linux Standard Base 3.2 
> init scrip
> 
> hostapd recommends no packages.
> 
> hostapd suggests no packages.
> 
> -- no debconf information
> 
> 
> 
> 





More information about the Pkg-wpa-devel mailing list