Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 19:45:51 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        current@FreeBSD.org
Cc:        delphij@FreeBSD.org
Subject:   tmpfs on contemporary -current: panic: locked against myself
Message-ID:  <20070917194009.W84177@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
Dear colleagues,

on contemporary HEAD/i386, ports tinderbox on tmpfs I got

panic: lockmgr: locking against myself
cpuid = 0
KDB: enter: panic
[thread pid 17317 tid 100062 ]
Stopped at      kdb_enter+0x32: leave
db> ps 17317
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
17317 17275   990     0  R+      CPU 0               sh
17316 17275   990     0  SE+     tmpfs    0xcca5e388 grep
17275 17219   990     0  S+      wait     0xcd77a558 sh
17220 17218   990     0  S+      nanslp   0xc0705ea4 pnohang
17219 17218   990     0  S+      wait     0xcd0f6000 make
17218  5809   990     0  S+      wait     0xcd77e2ac pnohang
 5809  5077   990     0  S+      wait     0xc9eb6000 sh
 5077  5076   990     0  S+      wait     0xcd77e804 sh
 5076 13601   990     0  S+      wait     0xcd16d804 sh
62811 60266 62811   268  Ss      piperd   0xc95aa630 sendmail
60268 60267 60267   268  S       select   0xc070bf78 cvsup
60267 60266 60267   268  Ss      wait     0xc6c95ab0 sh
60266   720   720     0  S       piperd   0xce1f718c cron
41708 41406 41708   268  S+      pause    0xc6c9630c screen
41406 41405 41406   268  Ss+     pause    0xc6c105b8 tcsh
41405 41389 41389   268  S       select   0xc070bf78 sshd
41389   702 41389     0  Ss      sbwait   0xcb9b7560 sshd
47447   911 47447   268  S+      select   0xc070bf78 boinc_curses
86227 86226 54003  1001  S+      nanslp   0xc0705ea4 wcg_hpf2_rosetta_5.
86226 86225 54003  1001  S+      select   0xc070bf78 wcg_hpf2_rosetta_5.
86225 54003 54003  1001  R+      CPU 1               wcg_hpf2_rosetta_5.
86224 86223 54003  1001  S+      nanslp   0xc0705ea4 wcg_hpf2_rosetta_5.
86223 86222 54003  1001  S+      select   0xc070bf78 wcg_hpf2_rosetta_5.
86222 54003 54003  1001  R+                          wcg_hpf2_rosetta_5.
54003  7364 54003  1001  S+      select   0xc070bf78 boinc
 7364 92713  7364  1001  S+      pause    0xcc3b730c tcsh
92713   790 92713   268  Ss+     pause    0xc6c0c30c tcsh
71602     1 71602     0  Ss+     ttyin    0xc69e3c10 getty
10819  7980 10819     0  S+      ttyin    0xc69ca410 tcsh
 7980   790  7980   268  Ss+     pause    0xcaa8eb10 tcsh
75146 75140 75146   268  Ss+     ttyin    0xc68af410 tcsh
75140 75096 75096   268  S       select   0xc070bf78 sshd
75096   702 75096     0  Ss      sbwait   0xcaaccea8 sshd
72145   860 72145     0  S+      kqread   0xc94cfa80 tail
13601   990   990     0  S+      select   0xc070bf78 make
12321   932 12321   268  S+      select   0xc070bf78 top
  990   860   990     0  S+      wait     0xc6e7a2ac sh
  976   962   976     0  S+      ttyin    0xc6999810 tcsh
  962   790   962   268  Ss+     pause    0xc6c11b10 tcsh
db> bt 17317
Tracing pid 17317 tid 100062 td 0xc6c12600
kdb_enter(c06a421c,0,c06a2861,e95739cc,0,...) at kdb_enter+0x32
panic(c06a2861,e95739dc,c05845e7,e9573ac0,cca5e330,...) at panic+0x124
_lockmgr(cca5e388,3002,cca5e3b8,c6c12600,c06aa49a,...) at _lockmgr+0x401
vop_stdlock(e9573a5c,c6c12600,3002,cca5e330,e9573a80,...) at vop_stdlock+0x40
VOP_LOCK1_APV(c70ccb20,e9573a5c,e9573bc0,0,c72e1770,...) at VOP_LOCK1_APV+0x46
_vn_lock(cca5e330,3002,c6c12600,c06aa49a,7f3,...) at _vn_lock+0x166
vget(cca5e330,1000,c6c12600,0,c6c12600,...) at vget+0x114
vm_object_reference(ca97d780,e9573b30,c067238d,c1071000,e3ce6000,...) at 
vm_object_reference+0x12a
kern_execve(c6c12600,e9573c5c,0,8068ce0,8068dd8,e3ce6000,e3ce6000,e3ce6024,e3ce6549,e3d26000,3fab7,4,39) 
at kern_execve+0x312
execve(c6c12600,e9573cfc,c,c6c12600,e9573d2c,...) at execve+0x4c
syscall(e9573d38) at syscall+0x345
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (59, FreeBSD ELF32, execve), eip = 0x8813d4df, esp = 0xbfbfda8c, 
ebp = 0xbfbfdab8 ---
db> show lockedvnods
Locked vnodes

0xcca5e330: tag tmpfs, type VREG
    usecount 1, writecount 0, refcount 4 mountedhere 0
    flags (VI_OWEINACT)
    v_object 0xca97d780 ref 1 pages 18
     lock type tmpfs: EXCL (count 1) by thread 0xc6c12600 (pid 17317) with 1 
pending
tag VT_TMPFS, tmpfs_node 0xcb0d2094, flags 0x0, links 9
        mode 0555, owner 0, group 0, size 73800, status 0x0

db> 

I saved panic core, so I hope I can answer additional questions...

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:				     marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



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