Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2007 18:34:32 +0100
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        FreeBSD-stable <freebsd-stable@FreeBSD.org>
Subject:   7.0-BETA4: freeze caused by hostapd / ath0
Message-ID:  <20071222173432.GB4946@graf.pompo.net>

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

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 mod=
e 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=3D8843<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=3D0 (from group name 'wheel')
bsd_set_iface_flags: dev_up=3D0
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=3Dff:ff:ff:ff:ff:ff reason_code=3D3
Deauthenticate all stations
bsd_set_privacy: enabled=3D0
bsd_del_key: addr=3D00:00:00:00:00:00 key_idx=3D0
bsd_del_key: addr=3D00:00:00:00:00:00 key_idx=3D1
bsd_del_key: addr=3D00:00:00:00:00:00 key_idx=3D2
bsd_del_key: addr=3D00:00:00:00:00:00 key_idx=3D3
bsd_get_ssid: ssid=3D"freebsdap"
Using interface ath0 with hwaddr 00:0f:b5:86:ba:73 and ssid 'freebsdap'
SSID - hexdump_ascii(len=3D9):
     66 72 65 65 62 73 64 61 70                        freebsdap      =20
PSK (ASCII passphrase) - hexdump_ascii(len=3D8):
     XX XX XX XX XX XX XX XX                           [removed]
PSK (from passphrase) - hexdump(len=3D32): xx xx xx xx xx [removed]
bsd_set_ieee8021x: enabled=3D1
bsd_configure_wpa: group key cipher=3DTKIP (1)
bsd_configure_wpa: pairwise key ciphers=3D0x2
----------

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,
--=20
Th. Thomas.

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHbUqoc95pjMcUBaIRAnmMAJ0T/4hODi6A8g5CSyLpiWjKZkJDRQCfYoh7
l3qWB1TK5dgjipDvKRT/plA=
=imLk
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--



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