From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 1 18:34:54 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E5DF16A4DF for ; Tue, 1 Aug 2006 18:34:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB7743D69 for ; Tue, 1 Aug 2006 18:34:42 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k71IYMKB081390; Tue, 1 Aug 2006 14:34:24 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Tue, 1 Aug 2006 14:29:42 -0400 User-Agent: KMail/1.9.1 References: <44CF7A28.6020704@fadesa.es> In-Reply-To: <44CF7A28.6020704@fadesa.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200608011429.42407.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 01 Aug 2006 14:34:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1630/Tue Aug 1 11:38:56 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: =?utf-8?q?Jos=C3=A9_M=2E?= =?utf-8?q?_Fandi=C3=B1o?= Subject: Re: ural(4) and panic on sleeping thread (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 18:34:54 -0000 On Tuesday 01 August 2006 11:58, Jos=C3=A9 M. Fandi=C3=B1o wrote: > Hello, >=20 > I get a panic each time I try to create an access point > with the ural driver. >=20 > only by running this commands the machine panic: > kldload bridge > sysctl net.link.ether.bridge.enable=3D1 > net.link.ether.bridge_cfg=3D"rl0,ural0" >=20 > I'm not very familiarized with 'kgdb' so if some developper > gets interested in this panic I can execute all commands > they are interested in. >=20 > thank you. >=20 > # kgdb -c /var/crash/vmcore.3 /usr/obj/usr/src/sys/GENERIC/kernel.debug > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.s= o:=20 Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain=20 conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-marcel-freebsd". >=20 > Unread portion of the kernel message buffer: > <6>rl0: promiscuous mode enabled > Sleeping thread (tid 100079, pid 783) owns a non-sleepable lock > panic: sleeping thread In kgdb, do 'proc 783', and then 'where' to get a stack trace of the thread= =20 that did the wrong thing. (The thread that panics is just an innocent=20 victim that bumped into the miscreant.) =2D-=20 John Baldwin