Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2006 22:38:48 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        current@freebsd.org
Subject:   calcru-triggered panic?
Message-ID:  <45622068.2050705@student.tue.nl>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAB27ED82C48C71D4BC2B36C6
Content-Type: multipart/mixed; boundary="------------070301070201050808080807"

This is a multi-part message in MIME format.
--------------070301070201050808080807
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

I got the attached panic on CURRENT 2006-11-17.

It was preceded by a lot of 'calcru' messages.

Regards,
Rene
--=20
GPG fingerprint =3D 6793 FA71 C4E8 3BAD 5954  9552 F3DA D315 B8DB 03F5
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001

--------------070301070201050808080807
Content-Type: text/plain;
 name="kgdb.6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="kgdb.6"

Script started on Mon Nov 20 22:33:01 2006
root@s000655:/var/crash#kgdb -n 6

kgdb: kvm_nlist(_stopped_cpus):=20
kgdb: kvm_nlist(_stoppcbs):=20
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.s=
o: 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 conditi=
ons.
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".

Unread portion of the kernel message buffer:
calcru: runtime went backwards from 20147907 usec to 15519843 usec for pi=
d 808 (setiathome-5.13.i38)panic: blockable sleep lock (sleep mutex) tty =
@ /usr/src-current/sys/kern/kern_event.c:1670
KDB: enter: panic
Physical memory: 1015 MB
Dumping 57 MB: 42 26 10

#0  doadump () at pcpu.h:166
166	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt f
#0  doadump () at pcpu.h:166
No locals.
#1  0xc0443791 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999,=20
    dummy4=3D0xe64a260c "") at /usr/src-current/sys/ddb/db_command.c:486
	fn_addr =3D -1068631716
	args =3D {-1066884352, -431348264, -1066699136, -431348248, -1069272590,=
=20
  -1066699136, -1066884352, -431348216, -431348264, 0}
	nargs =3D 0
	retval =3D -1011749888
	t =3D 0
#2  0xc0443560 in db_command (last_cmdp=3D0xc06b6e04, cmd_table=3D0x0)
    at /usr/src-current/sys/ddb/db_command.c:401
	cmd =3D (struct command *) 0xc068a300
	t =3D 0
	modif =3D "\000\000\000\000\200\003=AB=C3=ED=E5\222=C0\000Vr=C0=A0\221l=C0=
\r\000\000\000\001\000\000\000H&J=E6 GG=C0\000=EC=B1=C3\aK\004 $\222l=C0 =
bq=C0\000wk=C0x\000\000\000\000wk=C0@=BC\034=C4l&J=E6WYD=C0@$f=C0lVD=C0\0=
00\000\000\000\n\000\000\000@=BC\034=C4\000wk=C0<MD=C0\000wk=C00ok=C0x\00=
0\000\000=C8&J=E6"
	addr =3D 0
	count =3D 1999
	have_addr =3D 0
	result =3D 0
#3  0xc0443627 in db_command_loop ()
    at /usr/src-current/sys/ddb/db_command.c:453
---Type <return> to continue, or q <return> to quit---
No locals.
#4  0xc0445595 in db_trap (type=3D3, code=3D0)
    at /usr/src-current/sys/ddb/db_main.c:222
	jb =3D {{_jb =3D {-431348024, -431348052, -431347972, 3, -1004749760,=20
      -1069263564, 0, 542143148, 0, 0, -431347972, -1068481939}}}
	prev_jb =3D (void *) 0x0
	bkpt =3D 0
#5  0xc05042f0 in kdb_trap (type=3D0, code=3D0, tf=3D0x0)
    at /usr/src-current/sys/kern/subr_kdb.c:502
	handled =3D 0
#6  0xc0636b61 in trap (frame=3D
      {tf_fs =3D -1067057144, tf_es =3D -1068498904, tf_ds =3D -431357912=
, tf_edi =3D 1, tf_esi =3D -1067029894, tf_ebp =3D -431347736, tf_isp =3D=
 -431347764, tf_ebx =3D -431347680, tf_edx =3D 0, tf_ecx =3D -1056878592,=
 tf_eax =3D 18, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D -1068482456, tf=
_cs =3D 32, tf_eflags =3D 134, tf_esp =3D -1067037488, tf_ss =3D -1067048=
187}) at /usr/src-current/sys/i386/i386/trap.c:622
	td =3D (struct thread *) 0xc41cbc40
	p =3D (struct proc *) 0xc4262690
	i =3D 0
	ucode =3D 0
	type =3D 3
	code =3D 0
	addr =3D 0
	eva =3D 0
---Type <return> to continue, or q <return> to quit---
	ksi =3D {ksi_link =3D {tqe_next =3D 0x0, tqe_prev =3D 0xc06624eb}, ksi_i=
nfo =3D {
    si_signo =3D -1066615852, si_errno =3D 10, si_code =3D 1670, si_pid =3D=
 0,=20
    si_uid =3D 3228349648, si_status =3D -1067029860, si_addr =3D 0xe64a2=
764,=20
    si_value =3D {sival_int =3D 4, sival_ptr =3D 0x4}, _reason =3D {_faul=
t =3D {
        _trapno =3D 909586432}, _timer =3D {_timerid =3D 909586432, _over=
run =3D 49},=20
      _mesgq =3D {_mqd =3D 909586432}, _poll =3D {_band =3D 909586432}, _=
_spare__ =3D {
        __spare1__ =3D 909586432, __spare2__ =3D {49, 12, 61440, 7, -4313=
47692,=20
          -1067176705, -431347730}}}}, ksi_flags =3D 1, ksi_sigq =3D 0xc}=

#7  0xc0621b9a in calltrap () at /usr/src-current/sys/i386/i386/exception=
=2Es:138
No locals.
#8  0xc0504068 in kdb_enter (msg=3D0x12 <Address 0x12 out of bounds>)
    at cpufunc.h:60
No locals.
#9  0xc04e0209 in panic (fmt=3D0xc0666a7a "blockable sleep lock (%s) %s @=
 %s:%d")
    at /usr/src-current/sys/kern/kern_shutdown.c:551
	td =3D (struct thread *) 0xc41cbc40
	bootopt =3D 256
	newpanic =3D 1
	ap =3D 0xe64a2820 "V~g=C0\037\214f=C0-=E9e=C0\206\006"
	buf =3D "blockable sleep lock (sleep mutex) tty @ /usr/src-current/sys/k=
ern/kern_event.c:1670", '\0' <repeats 171 times>
#10 0xc0511947 in witness_checkorder (lock=3D0xc3c1c9ec, flags=3D9,=20
    file=3D0xc065e92d "/usr/src-current/sys/kern/kern_event.c", line=3D16=
70)
    at /usr/src-current/sys/kern/subr_witness.c:844
---Type <return> to continue, or q <return> to quit---
	lock_list =3D (struct lock_list_entry **) 0x1
	lle =3D (struct lock_list_entry *) 0x4cf9bff7
	lock1 =3D (struct lock_instance *) 0xc41cbc40
	lock2 =3D (struct lock_instance *) 0x0
	class =3D (struct lock_class *) 0xc0697364
	w =3D (struct witness *) 0xc06d8948
	w1 =3D (struct witness *) 0x1
	td =3D (struct thread *) 0xc41cbc40
	i =3D 1291436023
	j =3D -1067212103
	__func__ =3D "witness_checkorder"
#11 0xc04d4a85 in _mtx_lock_flags (m=3D0xc3c1c9ec, opts=3D0,=20
    file=3D0xc065e92d "/usr/src-current/sys/kern/kern_event.c", line=3D16=
70)
    at /usr/src-current/sys/kern/kern_mutex.c:134
No locals.
#12 0xc04bf66e in knlist_mtx_lock (arg=3D0x12)
    at /usr/src-current/sys/kern/kern_event.c:1670
No locals.
#13 0xc04bf287 in knote (list=3D0xc3c1c8ac, hint=3D0, islocked=3D0)
    at /usr/src-current/sys/kern/kern_event.c:1561
	kq =3D (struct kqueue *) 0xc3c1c838
	kn =3D (struct knote *) 0xc3c1c800
#14 0xc051e946 in ttwwakeup (tp=3D0xc3c1c800)
    at /usr/src-current/sys/kern/tty.c:2443
---Type <return> to continue, or q <return> to quit---
No locals.
#15 0xc047437e in scstart (tp=3D0xc3c1c800)
    at /usr/src-current/sys/dev/syscons/syscons.c:1475
	rbp =3D (struct clist *) 0xc3c1c838
	len =3D 18
	buf =3D "\200\a\000\000\000p\000\000=A0\221l=C00)J=E6v|a=C0=AC\221l=C0\2=
00\a\000\000c\000\000\000\000p\000\000=B0E\000\000\000=C0=A7=C3X\206a=C0`=
[=A8=C30)c\000=AC\221l=C0=A0\221l=C0@=BC\034=C4<)J=E6`=BDb=C0\000=C3r=C0X=
)J=E6\021NM=C0\000=C3r=C0\001\000\000\000=CF\017f=C0=C9\000\000\000=A0\22=
1l=C0x)J=E6\226^G=C0\000=C3r=C0\000\000\000\000\177\202e=C0"
	scp =3D (scr_stat *) 0xc06c91a0
#16 0xc0474560 in sc_cnputc (cd=3D0xc068db20, c=3D18)
    at /usr/src-current/sys/dev/syscons/syscons.c:1559
	buf =3D ""
	scp =3D (scr_stat *) 0xc06c91a0
	save =3D (void *) 0xc0716220
	tp =3D (struct tty *) 0x0
#17 0xc0521b76 in cnputc (c=3D99) at /usr/src-current/sys/kern/tty_cons.c=
:632
	cnd =3D (struct cn_device *) 0xc0716220
	cn =3D (struct consdev *) 0xc068db20
	cp =3D 0xc068db20 "\213CG=C0\nDG=C0kDG=C0=A6EG=C0"
#18 0xc0521c6c in cnputs (p=3D0xc0728935 "DB: enter: panic\r\n")
    at /usr/src-current/sys/kern/tty_cons.c:659
	c =3D 18
	unlock_reqd =3D 1
---Type <return> to continue, or q <return> to quit---
#19 0xc050630e in putcons (c=3D-1056878592, ap=3D0xe64a2afc)
    at /usr/src-current/sys/kern/subr_prf.c:374
No locals.
#20 0xc0506387 in putchar (c=3D10, arg=3D0xe64a2afc)
    at /usr/src-current/sys/kern/subr_prf.c:400
	ap =3D (struct putchar_arg *) 0xe64a2afc
	tp =3D (struct tty *) 0xc1015000
	flags =3D 5
#21 0xc0506699 in kvprintf (fmt=3D0xc0661f38 "", func=3D0xc0506323 <putch=
ar>,=20
    arg=3D0xe64a2afc, radix=3D10, ap=3D0xe64a2b44 "\0177n]")
    at /usr/src-current/sys/kern/subr_prf.c:586
	cc =3D 18
	nbuf =3D "\00080891551\000\000\000\000=F8=D3=C1=AC*J=E6=BC*J=E6=C8*J=E6c=
=D0=EC", '\0' <repeats 11 times>, "=EC\000c=D0=FFE\000\000\000\000\000\00=
0\000\000\000\000=D3=C1=BA\020=F6A"
	d =3D 0x0
	p =3D 0xc426283f ""
	percent =3D 0xc0661f34 "%s)\n"
	q =3D 0xffffffff <Address 0xffffffff out of bounds>
	up =3D (u_char *) 0xe046d9e9 <Address 0xe046d9e9 out of bounds>
	ch =3D 0
	n =3D -1
	num =3D 808
	base =3D 10
	lflag =3D 0
---Type <return> to continue, or q <return> to quit---
	qflag =3D -1056878592
	tmp =3D 3
	width =3D 0
	ladjust =3D 0
	sharpflag =3D 0
	neg =3D 0
	sign =3D 0
	dot =3D 0
	cflag =3D 0
	hflag =3D 0
	jflag =3D 0
	tflag =3D 0
	zflag =3D 0
	dwidth =3D 0
	upper =3D 0
	padc =3D 32 ' '
	stop =3D 0
	retval =3D 100
#22 0xc05061cd in printf (fmt=3D0x12 <Address 0x12 out of bounds>)
    at /usr/src-current/sys/kern/subr_prf.c:307
	ap =3D 0x0
	pca =3D {flags =3D 5, pri =3D -1, tty =3D 0x0, p_bufr =3D 0xc0728934 "",=
=20
  n_bufr =3D 128, p_next =3D 0xc072899a "", remain =3D 26}
	retval =3D 0
---Type <return> to continue, or q <return> to quit---
#23 0xc04dddb3 in calcru1 (p=3D0xc4262690, ruxp=3D0xe64a2ba0, up=3D0xe64a=
2c24,=20
    sp=3D0xe64a2c2c) at /usr/src-current/sys/kern/kern_resource.c:996
	ut =3D 1622
	uu =3D 13856817467273915264
	st =3D 62
	su =3D Unhandled dwarf expression opcode 0x93
(kgdb) q
root@s000655:/var/crash#^D=08=08exit

Script done on Mon Nov 20 22:33:13 2006

--------------070301070201050808080807--

--------------enigAB27ED82C48C71D4BC2B36C6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFYiB2PB1vgxLhhPYRAvoaAKCHYybcUml2UNLXQYML0iRFU4/e3gCeJnGa
xMBHzW+hkjTZpjDbeqwHXx8=
=uAsY
-----END PGP SIGNATURE-----

--------------enigAB27ED82C48C71D4BC2B36C6--



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