Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 00:07:05 +0100
From:      Christian Brueffer <chris@unixpages.org>
To:        stable@freebsd.org
Subject:   panic: lock (sleep mutex) inp not locked
Message-ID:  <20041128230705.GC16796@unixpages.org>

next in thread | raw e-mail | index | archive | help

--bKyqfOwhbdpXa4YI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

got this panic today on an SMP system.  Modifications to the kernel are
polling and altq support for the sf driver and removed SMP ifdefs from
sys/kern/kern_poll.c.

FreeBSD haakonia.hitnet.RWTH-Aachen.DE 5.3-STABLE FreeBSD 5.3-STABLE #61: S=
at Nov 27 02:59:01 CET 2004
chris@haakonia.hitnet.RWTH-Aachen.DE:/usr/home/build/usr/home/build/src/sys=
/LORIEN i386

Sources are from November 22nd.

Crashdump and debug kernel are available for further investigation.

panic: lock (sleep mutex) inp not locked @ /usr/home/build/src/sys/netinet/=
tcp_input.c:2521
cpuid =3D 1
KDB: enter: panic
[thread 100034]
Stopped at      kdb_enter+0x2b: nop
db> tr
kdb_enter(c06c6c54) at kdb_enter+0x2b
panic(c06caa02,c06db3d0,c06d57ce,c06d2493,9d9) at panic+0x127
witness_unlock(c3f4d57c,8,c06d2493,9d9) at witness_unlock+0xbc
_mtx_unlock_flags(c3f4d57c,0,c06d2493,9d9,0) at _mtx_unlock_flags+0x5b
tcp_input(c44bb000,14,5cb5e289,0,0) at tcp_input+0x2fb0
ip_input(c44bb000) at ip_input+0x52d
netisr_dispatch(2,c44bb000,0,c44b0800,c1a93c00) at netisr_dispatch+0x58
ether_demux(c1a93c00,c44bb000,297,96,d74f6400) at ether_demux+0x292
ether_input(c1a93c00,c44bb000,c1a93e84,0,c0833d13) at ether_input+0x269
sf_rxeof(c1a93c00,c1a93c00,c1a93e84,c07276c0,d543ecbc) at sf_rxeof+0x183
sf_poll_locked(c1a93c00,0,5,c1a93e84,0) at sf_poll_locked+0x6b
sf_poll(c1a93c00,0,5) at sf_poll+0x2e
netisr_poll(0) at netisr_poll+0x188
swi_net(0) at swi_net+0x81
ithread_loop(c19e1080,d543ed48,c19e1080,c051aa34,0) at
ithread_loop+0x124
fork_exit(c051aa34,c19e1080,d543ed48) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip =3D 0, esp =3D 0xd543ed7c, ebp =3D 0 ---
db> show locks
exclusive sleep mutex tcp r =3D 0 (0xc0755dac) locked @
/usr/home/build/src/sys/netinet/tcp_input.c:617
exclusive sleep mutex Giant r =3D 1 (0xc0728320) locked @
/usr/home/build/src/sys/kern/kern_poll.c:332
db> show pcpu
cpuid        =3D 1
curthread    =3D 0xc19e3640: pid 38 "swi1: net"
curpcb       =3D 0xd543eda0
fpcurthread  =3D none
idlethread   =3D 0xc19a84b0: pid 11 "idle: cpu1"
APIC ID      =3D 1
currentldt   =3D 0x28
spin locks held:
db>


- Christian

--=20
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--bKyqfOwhbdpXa4YI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBqloZbHYXjKDtmC0RAleAAKDR55gjQBmEcQQdf73bpcN1HfaGWgCg1Nj9
BKmdZkKpkheK/PXejeRrigk=
=yzeR
-----END PGP SIGNATURE-----

--bKyqfOwhbdpXa4YI--



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