7.0-BETA4: freeze caused by hostapd / ath0

Thierry Thomas thierry at FreeBSD.org
Sat Dec 22 10:06:19 PST 2007


Hello,

I have migrated a machine from 6.2-STABLE to 7.0-BETA4; this machine is
configured as an access point, with the following PCI card:

ath0: <Atheros 5212> mem 0xfbed0000-0xfbedffff irq 18 at device 2.0 on pci2

With the same configuration, which used to work without any problem on
6.2-STABLE, the machine freezes when I launch hostapd, since I have
installed a 7.0-BETA4.

The following error is displayed:

ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.

Hereunder is a complete typescript:

----------
# ifconfig ath0 inet 192.168.4.128 netmask 255.255.255.0 ssid freebsdap mode 11g mediaopt hostap

Dec 22 18:02:35 bsdap kernel: ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150)

# ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:0f:b5:86:ba:73
	inet 192.168.4.128 netmask 0xffffff00 broadcast 192.168.4.255
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
	status: associated
	ssid freebsdap channel 1 (2412 Mhz 11g) bssid 00:0f:b5:86:ba:73
	authmode OPEN privacy OFF txpower 31.5 scanvalid 60 bgscan
	bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5
	protmode CTS burst dtimperiod 1

# hostapd -dd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0 (from group name 'wheel')
bsd_set_iface_flags: dev_up=0
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
Flushing old station entries
bsd_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
Deauthenticate all stations
bsd_set_privacy: enabled=0
bsd_del_key: addr=00:00:00:00:00:00 key_idx=0
bsd_del_key: addr=00:00:00:00:00:00 key_idx=1
bsd_del_key: addr=00:00:00:00:00:00 key_idx=2
bsd_del_key: addr=00:00:00:00:00:00 key_idx=3
bsd_get_ssid: ssid="freebsdap"
Using interface ath0 with hwaddr 00:0f:b5:86:ba:73 and ssid 'freebsdap'
SSID - hexdump_ascii(len=9):
     66 72 65 65 62 73 64 61 70                        freebsdap       
PSK (ASCII passphrase) - hexdump_ascii(len=8):
     XX XX XX XX XX XX XX XX                           [removed]
PSK (from passphrase) - hexdump(len=32): xx xx xx xx xx [removed]
bsd_set_ieee8021x: enabled=1
bsd_configure_wpa: group key cipher=TKIP (1)
bsd_configure_wpa: pairwise key ciphers=0x2
----------

and at this point the machine is no more responsive.

Is this a known problem? I have found some similar messages in the
madwifi archives, but no freeze, and nothing related to FreeBSD.

Best regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071222/a19ef77b/attachment.pgp


More information about the freebsd-stable mailing list