ath0 induced panic additional info

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Apr 27 21:35:18 UTC 2007


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


More information about the freebsd-stable mailing list