From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 17:21:31 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB64816A4CE for ; Tue, 25 Jan 2005 17:21:31 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78DC43D2F for ; Tue, 25 Jan 2005 17:21:31 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0PHLSWi012397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Jan 2005 09:21:29 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41F68038.5070100@errno.com> Date: Tue, 25 Jan 2005 09:22:00 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Emil Mikulic References: <20050125104734.GA1289@dmr.ath.cx> In-Reply-To: <20050125104734.GA1289@dmr.ath.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: mediaopt turbo wedges ath0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 17:21:32 -0000 Emil Mikulic wrote: > I have a Netgear WG311T (ath driver) and trying to get it into "turbo" > mode wedges the card. This is consistently reproducible on my test > machine. > > # kldload if_ath > ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) > ath0: mem 0xe3800000-0xe380ffff irq 7 at device 9.0 on pci0 > ath0: [GIANT-LOCKED] > ath0: Ethernet address: 00:09:5b:c8:19:69 > ath0: mac 5.6 phy 4.1 radio 1.7 > # ifconfig ath0 > ath0: flags=8802 mtu 1500 > ether 00:09:5b:c8:19:69 > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid "" > authmode OPEN privacy OFF txpowmax 100 > # ifconfig ath0 mode 11g mediaopt turbo > # ifconfig ath0 up > ath0: unable to reset hardware; hal status 3 > # > > The card is then unusable until I reboot. Unloading and reloading the > module doesn't bring it back to life. > > I'm running 6-CURRENT as of right after sam@'s commit of: > > src/sys/net80211/ieee80211_node.c 1.42 > src/sys/net80211/ieee80211_output.c 1.18 > > Am I doing something wrong? If this isn't a known problem, is there > anything I can do to provide more information as to what's going wrong? I just noticed you are running turbo in 11g; this isn't really supported yet; it's waiting on some SuperG features that I haven't gotten to yet. If you're not on channel 6 you're going to be in trouble as turbo mode uses channel bonding which'll spread outside the available spectrum in 2.4G (and might be the reason your card wedges). Sam