Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2006 03:00:41 -0500
From:      Anish Mistry <amistry@am-productions.biz>
To:        freebsd-current@freebsd.org
Subject:   dcons kldunload panic
Message-ID:  <200612110300.51432.amistry@am-productions.biz>

next in thread | raw e-mail | index | archive | help
--nextPart1789224.turjmvTa26
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

This is probably one of those "don't do that" problems.  I can=20
reliably panic my -CURRENT system by having dcons setup then doing=20
the following:
kldunload fireware
kldunload dcons
<At this point there is a message on the console that a process is=20
still in use, so I go to kill the process ;) >
kill <dcons getty pid>

And then I get this panic, the message seems corrupt and adding the=20
dcons symbols file doesn't seem to help.
#0  doadump () at pcpu.h:166
#1  0xc0444e2a in db_fncall (dummy1=3D-1068514612, dummy2=3D0, dummy3=3D1,=
=20
    dummy4=3D0xcc82e908 "") at /usr/src/sys/ddb/db_command.c:486
#2  0xc0445105 in db_command_loop ()=20
at /usr/src/sys/ddb/db_command.c:401
#3  0xc0446d13 in db_trap (type=3D3, code=3D0)=20
at /usr/src/sys/ddb/db_main.c:222
#4  0xc04fc6eb in kdb_trap (type=3D3, code=3D0, tf=3D0x0)
    at /usr/src/sys/kern/subr_kdb.c:502
#5  0xc061207c in trap (frame=3D
      {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D -1038531312, tf_=
esi=20
=3D -1067202952, tf_ebp =3D -863835460, tf_isp =3D -863835480, tf_ebx=20
=3D -863835420, tf_edx =3D -1067199496, tf_ecx =3D -1056878592, tf_eax=20
=3D -1067189541, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D -1068514612, tf_=
cs=20
=3D 32, tf_eflags =3D 646, tf_esp =3D -863835432, tf_ss =3D -1068646766})=20
at /usr/src/sys/i386/i386/trap.c:622
#6  0xc060244a in calltrap ()=20
at /usr/src/sys/i386/i386/exception.s:138
#7  0xc04fc2cc in kdb_enter (msg=3D0xc063fadb "KDB: enter: %s\n") at=20
cpufunc.h:60
#8  0xc04dbe92 in panic (
    fmt=3D0xc063c678 "_mtx_lock_sleep: recursed on non-recursive=20
mutex %s @ %s:%d\n") at /usr/src/sys/kern/kern_shutdown.c:551
#9  0xc04d3746 in _mtx_lock_sleep (m=3D0xc06a4284, tid=3D3227783745,=20
opts=3D0,=20
    file=3D0xc0641241 "/usr/src/sys/kern/subr_unit.c", line=3D719)
    at /usr/src/sys/kern/kern_mutex.c:294
#10 0xc04d37c3 in _mtx_lock_flags (m=3D0xc1015000, opts=3D0,=20
    file=3D0xc0641241 "/usr/src/sys/kern/subr_unit.c", line=3D719)
=2D--Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/kern/kern_mutex.c:138
#11 0xc05076e9 in free_unr (uh=3D0xc1c08d00, item=3D31)
    at /usr/src/sys/kern/subr_unit.c:719
#12 0xc0486612 in devfs_free (cdev=3D0xc063fadb)
    at /usr/src/sys/fs/devfs/devfs_devs.c:144
#13 0xc04b4d54 in destroy_devl (dev=3D0xc1c4d800)
    at /usr/src/sys/kern/kern_conf.c:712
#14 0xc04b4db3 in destroy_dev (dev=3D0xc1c4d800)
    at /usr/src/sys/kern/kern_conf.c:721
#15 0xc093d7b3 in ?? ()
#16 0xc1c4d800 in ?? ()
#17 0xc093ed20 in ?? ()
#18 0x00000000 in ?? ()
#19 0x0000005c in ?? ()
#20 0xc093da21 in ?? ()
#21 0x00000019 in ?? ()
#22 0x00000000 in ?? ()
#23 0xc1bfab80 in ?? ()
#24 0xcc82ec04 in ?? ()
#25 0xc093d92a in ?? ()
#26 0xc093eae0 in ?? ()
#27 0xc093ed88 in ?? ()
#28 0x00000000 in ?? ()
=2D--Type <return> to continue, or q <return> to quit---
#29 0xc093da42 in ?? ()
#30 0x00000000 in ?? ()
#31 0xc1bfab80 in ?? ()
#32 0xcc82ec20 in ?? ()
#33 0xc04d2d72 in module_unload (mod=3D0xc1c4d800, flags=3D-1064047224)
    at /usr/src/sys/kern/kern_module.c:244
Previous frame inner to this frame (corrupt stack?)

=2D-=20
Anish Mistry
amistry@am-productions.biz
AM Productions http://am-productions.biz/

--nextPart1789224.turjmvTa26
Content-Type: application/pgp-signature

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

iD8DBQBFfRAzxqA5ziudZT0RAhstAJ9lLpUlGmMIfyiLWc5BkCJTSVY7SQCeL5Ry
chX94suGBx6QaCLYMRAlYaY=
=3Xrt
-----END PGP SIGNATURE-----

--nextPart1789224.turjmvTa26--



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