Date: Fri, 27 Apr 2007 14:32:41 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Sam Leffler <sam@errno.com> Cc: freebsd-stable@freebsd.org Subject: Re: ath0 induced panic additional info Message-ID: <20070427213241.GA941@troutmask.apl.washington.edu> In-Reply-To: <46326A77.4060607@errno.com> References: <20070426234153.GA50866@troutmask.apl.washington.edu> <46326A77.4060607@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 27, 2007 at 02:26:15PM -0700, Sam Leffler wrote: > Steve Kargl wrote: > > By increasing the kernel message buffer, I was able to > > get the previous "Unread portion" im my last email. > > > > Unread portion of the kernel message buffer: > > lock order reversal: (sleepable after non-sleepable) > > 1st 0xc34caec0 ath0 (ath0) @ /usr/src/sys/dev/ath/if_ath.c:5210 > > 2nd 0xc32cbe24 user map (user map) @ /usr/src/sys/vm/vm_map.c:3074 > > --- trap 0xc, eip = 0xc06e8056, esp = 0xd9753b74, ebp = 0xd9753bac --- > > generic_copyout(c34c8c00,c3726400,c34cab30,,...) at generic_copyout+0x36 > > ieee80211_ioctl(c34ca230,c0286938,c3726400) at ieee80211_ioctl+0xc1 > > ath_ioctl(c34c8c00,c0286938,c3726400) at ath_ioctl+0x190 > > Age old issue: the driver calls into the net80211 layer holding it's > softc lock but net80211 calls copyout and if that faults copying data to > user mode then you'll blow up. I've proposed a solution but noone's > responded so it remains. > That's unfortunate. :( OTOH, I've since updated the laptop to -current and ath0 is working great. Thanks for your effort on this driver and other parts of FreeBSD. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070427213241.GA941>