From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 15 20:30:27 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CCC016A41F for ; Thu, 15 Dec 2005 20:30:27 +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 F17F143D45 for ; Thu, 15 Dec 2005 20:30:26 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.192] ([10.0.0.192]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id jBFKUOA8008859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Dec 2005 12:30:24 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <43A1D222.6080905@errno.com> Date: Thu, 15 Dec 2005 12:29:22 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hartzell@alerce.com References: <17307.3792.552944.551108@satchel.alerce.com> <439B1F73.4000804@errno.com> <20051210185945.GD12946@odin.ac.hmc.edu> <17307.11863.508599.269079@satchel.alerce.com> <439B39F0.1040808@errno.com> <17312.52673.193551.922590@satchel.alerce.com> In-Reply-To: <17312.52673.193551.922590@satchel.alerce.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: 6-STABLE, ath, wpa_supplicant/dhcp and suspend/resume problem. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 20:30:27 -0000 George Hartzell wrote: > Sam Leffler writes: > > [...] > > Please send me your wpa_supplicant.conf file offline and I'll see if I > > can recreate what's going on. It may be something specific to WEP > > though I can't imagine why. > > Hi Sam and -mobile, > > I've been poking around looking for clues to my problem [IBM T42p, > 6-Stable, ath0 doesn't work after a suspend/resume cycle] and have an > observation that might be a clue. > > I've been running /etc/rc.d/netif restart ath0 to get the interface > working again. > > I've discovered that if I suspend/resume, then run an > > ifconfig ath0 scan > > as root the already-running wpa_suplicant wakes up. > > Using wpa_supplicant w/ -d flags and watching ktrace/kdump -l output, > it looks like when the machine resumes wpa_supplicant starts a scan > but it blocks. Running a scan elsewhere seems to break it loose. > > Does anything in that observation give you a clue as to where I might > look next? I've had no time to look. You want to see what's going in the net80211 layer in the kerrnel. Use wlandebug (aka 80211debug) to enable things like scan and state debug msgs; that should tell you what's happening. Sam