Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 12:29:22 -0800
From:      Sam Leffler <sam@errno.com>
To:        hartzell@alerce.com
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: 6-STABLE, ath, wpa_supplicant/dhcp and suspend/resume problem.
Message-ID:  <43A1D222.6080905@errno.com>
In-Reply-To: <17312.52673.193551.922590@satchel.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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