Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 08:55:39 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   panic: lock (uidinfo hash) rw does not match earlier (sleep mutex) lock
Message-ID:  <20080317155539.GC53010@bunrab.catwhisker.org>

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

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

This is with HEAD built today; sources updated from cvsup4.freebsd.org
as of about 0330 hrs. US/Pacific.

It occurred on the first boot after building/installing CURRENT, and it
happens right away -- both on my laptop & my build machine (both i386;
build machine is 2x850MHz PIII; laptop is 1x2.4GHz P4); the following is
from the build machine:

/boot/kernel/acpi.ko text=3D0x540f8 data=3D0x2640+0x186c syms=3D[0x4+0x8b40=
+0x4+0xbdcd]
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #72: Mon Mar 17 07:59:39 PDT 2008
    root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/FREEBEAST
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (846.32-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x683  Stepping =3D 3
  Features=3D0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  =3D 2147418112 (2047 MB)
avail memory =3D 2093940736 (1996 MB)
ACPI APIC Table: <Intel  N440BX  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
panic: lock (uidinfo hash) rw does not match earlier (sleep mutex) lock
cpuid =3D 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> bt
cing pid 0 tid 0 td 0xc0c11470
kdb_enter(c0af1957,c0af1957,c0af64de,c1020c94,0,...) at kdb_enter+0x3a
panic(c0af64de,c0af1159,c0afccb7,c0b13b15,c0c12c8c,...) at panic+0x12c
enroll(c1020cd8,c075ce2a,c146d5a0,0,c0af1159,...) at enroll+0xe1
witness_init(c0c12c8c,c0bca2cc,c1020cf0) at witness_init+0x109
lock_init(c0c12c8c,c0baf888,c0af1159,0,2a0000) at lock_init+0x89
rw_init_flags(c0c12c8c,c0af1159,0,c1020d44,c0763a15,...) at rw_init_flags+0=
xaf
uihashinit(c0af0c88,290,c0763bd0,c0763d00,c0763a20,...) at uihashinit+0x51
procinit(c0c12b30,4,c0aec794,176,1,...) at procinit+0x125
proc0_init(0,101ec00,101ec00,101e000,1025000,...) at proc0_init+0x46
mi_startup() at mi_startup+0x96
begin() at begin+0x2c
db> ps
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
    0     0     0     0
db> show locks
exclusive sleep mutex Giant r =3D 0 (0xc0c12b30) locked @ /usr/src/sys/kern=
/kern_linker.c:295
db>=20


(Laptop's results look the same as the above at first blush.  Note
that the build machine runs headless -- it has neither a monitor
nor a keyboard connected now, and these are only connected during
unusual circumstances.)

As usual, I'm willing to try patches or circumventions.  I have
serial console access to both the laptop & the build machine, and
each has a local private mirror of the FreeBSD CVS repository.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

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

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

iEYEARECAAYFAkfelHsACgkQmprOCmdXAD2WtACeKTFzgRTdi89M09Ymh8LhdN7a
ORMAn0SUXvEkAII2eA+2YKjcaphD/adr
=P4H+
-----END PGP SIGNATURE-----

--N4K9zxasQOfRkoaJ--



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