Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 14:29:42 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        =?utf-8?q?Jos=C3=A9_M=2E?= =?utf-8?q?_Fandi=C3=B1o?= <freebsd4@fadesa.es>
Subject:   Re: ural(4) and panic on sleeping thread (6.1-R)
Message-ID:  <200608011429.42407.jhb@freebsd.org>
In-Reply-To: <44CF7A28.6020704@fadesa.es>
References:  <44CF7A28.6020704@fadesa.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608011429.42407.jhb>