panic: repeatable panic (probably) related to phk's work

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Tue Nov 2 11:54:43 PST 2004


Hi,

in a fresh current (built a minute ago) I can (reliably) get tihs panic by
mounting /mnt/cdrom twice:
#0  doadump () at pcpu.h:159
#1  0xc0430c97 in db_fncall (dummy1=-718694044, dummy2=0, dummy3=-718694144,
    dummy4=0xd52998fc "") at /usr/src/sys/ddb/db_command.c:531
#2  0xc043100c in db_command_loop () at /usr/src/sys/ddb/db_command.c:349
#3  0xc043283e in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#4  0xc04a1e56 in kdb_trap (type=3, code=0, tf=0xc05f9a60)
        at /usr/src/sys/kern/subr_kdb.c:421
#5  0xc0593872 in trap (frame=
	      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 256, tf_esi =
	      -1067772353, t
	      f_ebp = -718693792, tf_isp = -718693812, tf_ebx = -718693752,
	      tf_edx = 1, tf_ecx
	       = -1067761464, tf_eax = -1067767127, tf_trapno = 3, tf_err = 0,
	       tf_eip = -10688
	       85240, tf_cs = 8, tf_eflags = 646, tf_esp = -718693764, tf_ss =
	       -1068969823})
    at /usr/src/sys/i386/i386/trap.c:576
#6  0xc058850a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0x00000018 in ?? ()
#8  0x00000010 in ?? ()
#9  0x00000010 in ?? ()
#10 0x00000100 in ?? ()
#11 0xc05b163f in ?? ()
#12 0xd5299a60 in ?? ()
#13 0xd5299a4c in ?? ()
#14 0xd5299a88 in ?? ()
#15 0x00000001 in ?? ()
#16 0xc05b40c8 in ?? ()
#17 0xc05b2aa9 in ?? ()
#18 0x00000003 in ?? ()
#19 0x00000000 in ?? ()
#20 0xc04a1b08 in kdb_enter (msg=0x0) at cpufunc.h:56
#21 0xc048d0a1 in panic (fmt=0xc05b163f "lockmgr: locking against myself")
        at /usr/src/sys/kern/kern_shutdown.c:525
#22 0xc0482ac8 in lockmgr (lkp=0xc1c402fc, flags=2, interlkp=0xc1c402fc,
	    td=0xc161cb60) at /usr/src/sys/kern/kern_lock.c:444
#23 0xc04d11e1 in vop_stdlock (ap=0x0) at /usr/src/sys/kern/vfs_default.c:273
#24 0xc04e13b9 in vn_lock (vp=0xc1c40238, flags=2, td=0xc161cb60)
	        at vnode_if.h:1013
#25 0xc04d7e93 in vget (vp=0xc1c40238, flags=65538, td=0xc161cb60)
		    at /usr/src/sys/kern/vfs_subr.c:1958
#26 0xc0463f89 in cd9660_ihashget (dev=0xc1753200, inum=57344, flags=2,
		        vpp=0xd5299bbc) at
			/usr/src/sys/isofs/cd9660/cd9660_node.c:113
#27 0xc04662ec in cd9660_vget_internal (mp=0xc1652000, ino=57344, flags=2,
			    vpp=0xd5299bbc, relocated=1, isodir=0xc19a14a8)
    at /usr/src/sys/isofs/cd9660/cd9660_vfsops.c:726
#28 0xc0466666 in cd9660_root (mp=0xc1652000, vpp=0xd5299bbc, td=0xc161cb60)
        at /usr/src/sys/isofs/cd9660/cd9660_vfsops.c:605
#29 0xc04d440e in vfs_domount (td=0xc161cb60, fstype=0xc18d7300 "cd9660",
	    fspath=0xc190e080 "/mnt/cdrom", fsflags=0, fsdata=0xbfbfec2c,
	    compat=1)
    at /usr/src/sys/kern/vfs_mount.c:917
#30 0xc04d45da in mount (td=0xc161cb60, uap=0xd5299d14)
    at /usr/src/sys/kern/vfs_mount.c:622
#31 0xc0593ba4 in syscall (frame=
          {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi =
	  -1077941004, tf_
	  ebp = -1077941064, tf_isp = -718693004, tf_ebx = -1077940749, tf_edx
	  = -10779407
	  49, tf_ecx = -1077940749, tf_eax = 21, tf_trapno = 12, tf_err = 2,
	  tf_eip = 6718
	  50811, tf_cs = 31, tf_eflags = 582, tf_esp = -1077942256, tf_ss =
	  47})
    at /usr/src/sys/i386/i386/trap.c:1001
#32 0xc058855f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:201
#33 0x0000002f in ?? ()
#34 0x0000002f in ?? ()
#35 0x0000002f in ?? ()
#36 0x00000000 in ?? ()
#37 0xbfbfecf4 in ?? ()
#38 0xbfbfecb8 in ?? ()
#39 0xd5299d74 in ?? ()
#40 0xbfbfedf3 in ?? ()
#41 0xbfbfedf3 in ?? ()
#42 0xbfbfedf3 in ?? ()
#43 0x00000015 in ?? ()
#44 0x0000000c in ?? ()
#45 0x00000002 in ?? ()
#46 0x280ba13b in ?? ()
#47 0x0000001f in ?? ()
#48 0x00000246 in ?? ()
#49 0xbfbfe810 in ?? ()
#50 0x0000002f in ?? ()
#51 0xffffffda in ?? ()
#52 0xaba6ffff in ?? ()
#53 0xfffbfff2 in ?? ()
#54 0xbaaebbff in ?? ()
#55 0x0fe1e000 in ?? ()
#56 0xc157e4e0 in ?? ()
#57 0xc161cb60 in ?? ()
#58 0xd52997b0 in ?? ()
#59 0xd5299798 in ?? ()
#60 0xc161ccb0 in ?? ()
#61 0xc049bae7 in sched_switch (td=0xbfbfecf4, newtd=0x0, flags=Cannot access
    me
    mory at address 0xbfbfecc8
    )
    at /usr/src/sys/kern/sched_ule.c:1312
   

is it ULE related? since I can get it reliably... anyway - worth to look at it
I think ;)

roman


More information about the freebsd-current mailing list