From owner-freebsd-net@FreeBSD.ORG Sun Feb 26 21:06:45 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6786A16A420 for ; Sun, 26 Feb 2006 21:06:45 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E7143D46 for ; Sun, 26 Feb 2006 21:06:43 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id k1QL6go7086995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Feb 2006 13:06:43 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <44021923.2040606@errno.com> Date: Sun, 26 Feb 2006 13:09:55 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: Andreas Lattka References: <1140469974.1008.23.camel@viggo.lattka.de> <1140956358.90767.2.camel@viggo.lattka.de> In-Reply-To: <1140956358.90767.2.camel@viggo.lattka.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing Liste Subject: Re: Cannot unload if_ath kernel module / machine does not shut down X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 21:06:45 -0000 Andreas Lattka wrote: > Hi there, > > I changed from WEP to WPA encryption, now the laptop is shutting down > correctly. Strange, why it is not working with WEP encryption? The cipher modules fail to unload if there are outstanding references to keys. When you use wpa the supplicant clears all keys before it terminates so it may be that when you were using WEP keys they were still present and somehow caused the shutdown to hang. Please send me the exact steps you use to cause the problem. There should also be console messages printed by the wlan_wep module (or other crypto module) in the event you try to unload the module while there are still references; please check for those. Sam > > Anyway, I am happy now! > > Andreas > > Am Montag, den 20.02.2006, 22:12 +0100 schrieb Andreas Lattka: >> Hello All there, >> >> I have got a shiny new Sony Vaio VGN-FS415E, installed FBSD6, (FreeBSD >> 6.0-RELEASE-p4). For wireless connection there is built in an Atheros >> 5212 chip. I configured the kernel conf file to include all the atheros >> modules according to the man ath: >> >> device ath >> device ath_hal >> device ath_rate_onoe, >> >> all works well until the machine is to be shutdown. When I enter halt >> -p, or reboot, the machine starts to shut down, but stops, after the >> uptime message is displayed. Nothing more happens, I have to manually >> switch off the machine. The next time I switch on the machine, the oss >> sound will crash the machine. >> >> I did remember, that I had no problem to shut down the machine when the >> ath modules were not used, so I cleared the ath modules from the kernel >> conf file and did include if_ath into the loader.conf. Again, all is >> going well until shutdown. Same bad behaviour. Then I tried to manually >> unload the ath modules, only ath_rate module can be unloaded, ath_hal >> gives device busy, and trying to unload the if_ath will freeze the >> machine. I confirmed that the Atheros 5211 is working well, 5212 give >> those problems. >> Does anybody have any idea how to unload the if_ath module? >> >> Thank you! >> >> Andreas >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >