From owner-freebsd-stable@FreeBSD.ORG Fri Apr 27 21:35:18 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D42716A400 for ; Fri, 27 Apr 2007 21:35:18 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1F32A13C45E for ; Fri, 27 Apr 2007 21:35:18 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l3RLWfhG014236; Fri, 27 Apr 2007 14:32:41 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l3RLWfgm014235; Fri, 27 Apr 2007 14:32:41 -0700 (PDT) (envelope-from sgk) Date: Fri, 27 Apr 2007 14:32:41 -0700 From: Steve Kargl To: Sam Leffler Message-ID: <20070427213241.GA941@troutmask.apl.washington.edu> References: <20070426234153.GA50866@troutmask.apl.washington.edu> <46326A77.4060607@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46326A77.4060607@errno.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: ath0 induced panic additional info X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 21:35:18 -0000 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