From nobody@FreeBSD.org  Mon Jun 20 21:52:49 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E127716A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Jun 2005 21:52:49 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CE59C43D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Jun 2005 21:52:49 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j5KLqnrR058173
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Jun 2005 21:52:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j5KLqnAb058168;
	Mon, 20 Jun 2005 21:52:49 GMT
	(envelope-from nobody)
Message-Id: <200506202152.j5KLqnAb058168@www.freebsd.org>
Date: Mon, 20 Jun 2005 21:52:49 GMT
From: Pascal Hofstee <caelian@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: WITNESS warning/backtrace in if_ral
X-Send-Pr-Version: www-2.3

>Number:         82456
>Category:       kern
>Synopsis:       [ral] WITNESS warning/backtrace in if_ral
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 20 22:00:37 GMT 2005
>Closed-Date:    
>Last-Modified:  Sun Feb 07 20:24:01 UTC 2010
>Originator:     Pascal Hofstee
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD synergy.charterpipeline.net.lan 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Mon Jun 20 01:00:13 PDT 2005     daeron@synergy.charterpipeline.net.lan:/usr/obj/usr/src/sys/SYNERGY  amd64

>Description:
I used to see the following WITNESS warning/backtrace periodically ... though after last nights update i have only seen the warning at boot time.


malloc(M_WAITOK) of "32", forcing M_NOWAIT with the following non-sleepable locks held:
exclusive sleep mutex ral0 (network driver) r = 0 (0xffffffff80c64de8) locked @ /usr/src/sys/dev/ral/if_ral.c:2167
KDB: stack backtrace:
kdb_backtrace() at kdb_backtrace+0x37
witness_warn() at witness_warn+0x2c1
uma_zalloc_arg() at uma_zalloc_arg+0x69
malloc() at malloc+0xf5
ieee80211_ioctl_setoptie() at ieee80211_ioctl_setoptie+0x4b
ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x64e
ieee80211_ioctl() at ieee80211_ioctl+0x125
ral_ioctl() at ral_ioctl+0xa4
in_control() at in_control+0xc2f
ifioctl() at ifioctl+0x1f6
soo_ioctl() at soo_ioctl+0x38c
ioctl() at ioctl+0x476
syscall() at syscall+0x332
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x8007c2d4c, rsp = 0x7fffffffe038, rbp = 0x18 ---

>How-To-Repeat:
At least the first time my ral0 interface goes UP i get this warning ...
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->damien 
Responsible-Changed-By: arved 
Responsible-Changed-When: Wed Jun 29 12:21:07 GMT 2005 
Responsible-Changed-Why:  
Over to ral(4) Maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82456 
Responsible-Changed-From-To: damien->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Mar 30 08:33:19 UTC 2006 
Responsible-Changed-Why:  
Assignee is no longer working on FreeBSD drivers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82456 
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sun Feb 7 20:23:16 UTC 2010 
State-Changed-Why:  
This is believed to have been fixed quite some time ago.  To submitter: 
have you seen this in the last couple of years? 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Feb 7 20:23:16 UTC 2010 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82456 
>Unformatted:
