On Mon, Dec 17, 2001 at 01:41:28PM -0800, Matthew Dillon wrote:
>     If it is a vnode deadlock you have to find which process or
>     processes it is deadlocking against.
> 
>     Do a ps -axl -M vmcore.X -N kernel.X  on the kernel core,
>     pick out all the processes blocked on inode or whatever,
>     then from gdb go to each process (proc N) and do a backtrace
>     (back).

I've a similar problem with -current from recent (within the last week
or two).

genius# ps -axl -M vmcore.15 -N kernel.15 
(attached file)

The back traces for the processes locked in inode is also attached.

Being green to debugging this kind of thing what should I do next?

Joe
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
    0   274     1   0   8  0   840    0 wait   D+   #C:-   0:00.01  (sh)
   88   317   274   0  96  0 26064    0 select D+   #C:-   0:00.37  (mysqld)
    0   328     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   329     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   330     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   331     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   332     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   334     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   333     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
    0   335     1   0   5  0  1080    0 ttyin  Ds+  #C:    0:00.00  (getty)
  100  4345  4344   0  96  0 22772    0 select Ds+  #C:    0:05.88  (slrn)
  100  1618  1617   0 -12  0  3452    0 inode  Ds+  #C:    0:01.90  (mutt)
    0     0     0   0 -16  0     0    0 sched  DLs   ??    0:00.11  (swapper)
    0     1     0   0   8  0   664    0 wait   DLs   ??    0:00.01  (init)
    0     2     0   0 -16  0     0    0 psleep DL    ??    0:00.04  (pagedaemon
    0     3     0   0  20  0     0    0 psleep DL    ??    0:00.00  (vmdaemon)
    0     4     0   0  20  0     0    0 pgzero DL    ??    0:00.00  (pagezero)
    0     5     0   0 -16  0     0    0 psleep DL    ??    0:00.18  (bufdaemon)
    0     6     0   0  20  0     0    0 syncer DL    ??    0:06.43  (syncer)
    0    10     0  16 -16  0     0    0 -      RL    ??  659:48.43  (idle)
    0    11     0   0 -44  0     0    0 -      WL    ??    0:01.34  (swi1: net)
    0    12     0   0 -48  0     0    0 -      WL    ??   37:12.86  (swi6: tty:
    0    13     0   0 -32  0     0    0 -      WL    ??    0:00.00  (swi4: vm)
    0    14     0   0  76  0     0    0 sleep  DL    ??    0:01.55  (random)
    0    15     0   0   0  0     0    0 -      WL    ??    0:09.37  (swi5: task
    0    16     0   0 -40  0     0    0 -      WL    ??    0:00.00  (swi2: camn
    0    17     0   0 -36  0     0    0 -      WL    ??    0:00.00  (swi3: camb
    0    18     0   0 -21  0     0    0 -      WL    ??    0:00.00  (irq13:)
    0    19     0   0 -21  0     0    0 -      WL    ??    0:03.93  (irq9:)
    0    20     0   0 -80  0     0    0 -      WL    ??    0:00.00  (irq11: pci
    0    21     0   0 -64  0     0    0 -      WL    ??    0:19.25  (irq14: ata
    0    22     0   0 -64  0     0    0 -      WL    ??    0:00.00  (irq15: ata
    0    23     0   0 -64  0     0    0 -      WL    ??    0:01.20  (irq5: uhci
    0    24     0   0 -60  0     0    0 -      RL    ??    0:00.23  (irq1: atkb
    0    25     0   0 -60  0     0    0 -      WL    ??    0:00.05  (irq12: psm
    0    26     0   0 -64  0     0    0 -      WL    ??    0:00.00  (irq6: fdc0
    0    27     0   0 -48  0     0    0 -      WL    ??    0:00.00  (swi0: tty:
    0    28     0   0 -60  0     0    0 -      WL    ??    0:00.00  (irq4: sio0
    0    29     0   0 -60  0     0    0 -      WL    ??    0:00.00  (irq7: ppc0
    0    30     0   0 -84  0     0    0 -      WL    ??    0:00.00  (irq0: clk)
    0    31     0   0 -84  0     0    0 -      WL    ??    0:00.00  (irq8: rtc)
    0   150     1   0 -12  0  1084    0 inode  Ds    ??    0:00.36  (syslogd)
    0   156     1   0 -12  0  1432    0 inode  Ds    ??    0:00.81  (ntpd)
    0   162     1   0  96  0  1208    0 select Ds    ??    0:00.02  (inetd)
    0   164     1   0 -12  0  1124    0 inode  Ds    ??    0:00.07  (cron)
    0   167     1   0  96  0  1092    0 select Ds    ??    0:00.01  (lpd)
    0   169     1   0  96  0  2380    0 select Ds    ??    0:00.05  (sshd)
    0   171     0   0   8  0     0    0 usbevt DL    ??    0:00.37  (usb0)
    0   172     1   0  96  0  1040    0 select Ds    ??    0:00.06  (usbd)
    0   229     1   0  96  0  1036    0 select Ds    ??    0:15.30  (moused)
    0   259     1   0  96  0  2236    0 select Ds    ??    0:00.94  (httpd)
65534   265   259   0   4  0  2260    0 accept D     ??    0:00.00  (httpd)
65534   266   259   0   4  0  2260    0 accept D     ??    0:00.00  (httpd)
65534   267   259   0   4  0  2260    0 accept D     ??    0:00.00  (httpd)
65534   268   259   0   4  0  2260    0 accept D     ??    0:00.00  (httpd)
65534   269   259   0   4  0  2260    0 accept D     ??    0:00.00  (httpd)
 1001   271     1   0  96  0  3248    0 select Ds    ??    0:00.01  (cvsupd)
    0   336     1   0  20  0  2892    0 pause  D     ??    0:00.07  (xdm)
    0   342   336   0  96  0 33168    0 select Ds    ??    1:59.86  (XFree86)
    0   343   336   0   8  0  3096    0 wait   Ds    ??    0:00.04  (xdm)
    0   376     1   0 -12  0  1136    0 inode  Ds    ??    0:00.38  (master)
 1003   378   376   0 -12  0  1256    0 inode  D     ??    0:03.75  (qmgr)
    0   389     1   0  96  0  3024    0 select D     ??    0:00.03  (xconsole)
  100   427   343   0   8  0   820    0 wait   Ds    ??    0:00.01  (sh)
  100   431   427   0 -12  0  4320    0 inode  D     ??    0:04.76  (wmaker)
  100   432   431   0  96  0  1844    0 select Ds    ??    0:00.34  (ssh-agent)
  100   438   431   0  96  0  9124    0 select D     ??    0:01.44  (gimp)
  100   439   431   0   8  0  2640    0 nanslp D     ??    0:47.38  (wmCalClock
  100   440   431   0 -12  0  2092    0 inode  D     ??    0:51.70  (wmtop)
  100   441   431   0 -12  0  2104    0 inode  D     ??    0:35.55  (wmapm)
  100   442   431   0 -12  0  2140    0 inode  D     ??    0:02.89  (wmbiff)
  100   458   438   0  96  0  5740    0 select D     ??    0:00.41  (script-fu)
    0   484     1   0   8  0   712    0 wait   Ds    ??    0:00.01  (dhclient)
  100  1616   442   0   8  0   824    0 wait   D     ??    0:00.00  (sh)
  100  1617  1616   0  96  0  2476    0 select D     ??    0:01.59  (rxvt)
  100  4344   431   0  96  0  2372    0 select D     ??    0:00.24  (rxvt)
 1003  4863   376   0 -12  0  1176    0 inode  D     ??    0:00.01  (cleanup)
 1003  4887   376   0  96  0  1584    0 select D     ??    0:00.03  (trivial-re
 1003  4911   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  4944   376   0  96  0     0    0 -      Z     ??    0:00.00  (pickup)
 1003  4956   376   0  96  0     0    0 -      Z     ??    0:00.00  (local)
 1003  4960   376   0  96  0     0    0 -      Z     ??    0:00.00  (local)
  100  4961     1   0 -12  0  1412    0 inode  Ds    ??    0:00.97  (procmail)
 1003  5015   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5016   376   0 -12  0  1160    0 inode  D     ??    0:00.01  (cleanup)
 1003  5017   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5018   376   1  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5019   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5020   376   0 -12  0  1160    0 inode  D     ??    0:00.01  (cleanup)
 1003  5021   376   0 -12  0  1160    0 inode  D     ??    0:00.01  (cleanup)
 1003  5022   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5023   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5024   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5025   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5026   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5027   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5028   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5032   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5033   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5034   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5035   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5036   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5037   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5038   376   0  96  0     0    0 -      Z     ??    0:00.00  (smtpd)
 1003  5039   376   0 -18  0  1160    0 vfscac D     ??    0:00.01  (cleanup)
 1003  5040   376   0 -12  0  1160    0 inode  D     ??    0:00.01  (cleanup)
 1003  5041   376   0 -12  0  1160    0 inode  D     ??    0:00.01  (cleanup)
    0  5042   164   0  -8  0  1140    0 piperd D     ??    0:00.00  (cron)
    2  5044  5042   0   8  0   824    0 wait   Ds    ??    0:00.00  (sh)
    2  5046  5044   0 -18  0   864    0 vfscac D     ??    0:00.01  (sh)
    0  5050   164   0  -8  0  1140    0 piperd D     ??    0:00.00  (cron)
    0  5051  5050   0   8  0   824    0 wait   Ds    ??    0:00.00  (sh)
    0  5052  5051   0 -18  0   824    0 vfscac D     ??    0:00.00  (sh)
    0  5053   484   0 -12  0   712    0 inode  D     ??    0:00.00  (dhclient)
Script started on Tue Dec 18 10:51:21 2001
genius# kldload /boot/kernel/if_aue.koexitpwdroupwqdexec 
zshls -ltrexec zshroupwqdpwdexitkldload 
/boot/kernel/if_aue.kogdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 
vmcore.15
GNU gdb 4.18
Copyright 1998 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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00493000
initial pcb at physical address 0x00357120
panicstr: bwrite: buffer is not busy???
panic messages:
---
panic: from debugger

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 11h46m15s
pfs_vncache_unload(): 156 entries remaining
/dev/vmmon: Module vmmon: unloaded

dumping to dev ad0s2b, offset 128
dump ata0: resetting devices .. done
511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 
490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 
469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 
448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 
427 426 425 424 423 422 421 420 419 418 417 416 415 414 413 412 411 410 409 408 407 
406 405 404 403 402 401 400 399 398 397 396 395 394 393 392 391 390 389 388 387 386 
385 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 
364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 
343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 
322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 
301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 
280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 
259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 
238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 
217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 
196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 
175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 
154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 
133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 
112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 
88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 
59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 
30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492
492             if (!dodump)
(kgdb) proc 1618
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe2f27e1c, mtx=0xc0356970, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe2f27e1c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe2f27e1c, flags=16973826, 
    interlkp=0xe2f27dec, td=0xe4564d04) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe461cb74)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe461cb74)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe2f27d80, flags=131074, td=0xe4564d04)
    at vnode_if.h:693
#7  0xc020e7ac in lookup (ndp=0xe461cc44) at /usr/src/sys/kern/vfs_lookup.c:315
#8  0xc020e4a4 in namei (ndp=0xe461cc44) at /usr/src/sys/kern/vfs_lookup.c:168
#9  0xc0215d55 in stat (td=0xe4564d04, uap=0xe461cd20)
    at /usr/src/sys/kern/vfs_syscalls.c:1976
#10 0xc02b1c88 in syscall (frame={tf_fs = 47, tf_es = 674365487, 
      tf_ds = -1078001617, tf_edi = 0, tf_esi = 9, tf_ebp = -1077940696, 
      tf_isp = -463352460, tf_ebx = 0, tf_edx = 134984064, 
      tf_ecx = 1008661449, tf_eax = 188, tf_trapno = 0, tf_err = 2, 
      tf_eip = 673929315, tf_cs = 31, tf_eflags = 647, tf_esp = -1077941188, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#11 0xc02a52ed in syscall_with_err_pushed ()
#12 0x80599d0 in ?? ()
#13 0x806b735 in ?? ()
#14 0x804b699 in ?? ()
(kgdb) proc 150
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe2f27e1c, mtx=0xc0356970, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe2f27e1c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe2f27e1c, flags=16973826, 
    interlkp=0xe2f27dec, td=0xe07fa404) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe42cca54)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe42cca54)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe2f27d80, flags=131074, td=0xe07fa404)
    at vnode_if.h:693
#7  0xc020e7ac in lookup (ndp=0xe42ccc2c) at /usr/src/sys/kern/vfs_lookup.c:315
#8  0xc020e4a4 in namei (ndp=0xe42ccc2c) at /usr/src/sys/kern/vfs_lookup.c:168
#9  0xc02193d8 in vn_open_cred (ndp=0xe42ccc2c, flagp=0xe42ccbf8, cmode=420, 
    cred=0xc6933600) at /usr/src/sys/kern/vfs_vnops.c:162
#10 0xc021919e in vn_open (ndp=0xe42ccc2c, flagp=0xe42ccbf8, cmode=420)
    at /usr/src/sys/kern/vfs_vnops.c:85
#11 0xc02147ca in open (td=0xe07fa404, uap=0xe42ccd20)
    at /usr/src/sys/kern/vfs_syscalls.c:1115
#12 0xc02b1c88 in syscall (frame={tf_fs = 134545455, tf_es = 47, 
      tf_ds = -1078001617, tf_edi = 4, tf_esi = 672274624, 
      tf_ebp = -1077942300, tf_isp = -466825868, tf_ebx = 672197864, 
      tf_edx = 672274624, tf_ecx = 16, tf_eax = 5, tf_trapno = 0, tf_err = 2, 
      tf_eip = 671798595, tf_cs = 31, tf_eflags = 659, tf_esp = -1077942344, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#13 0xc02a52ed in syscall_with_err_pushed ()
#14 0x804b3cd in ?? ()
#15 0x804b36a in ?? ()
#16 0x804ac39 in ?? ()
#17 0x804a59c in ?? ()
#18 0x804a36a in ?? ()
#19 0x8049709 in ?? ()
(kgdb) proc 156
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe2f27e1c, mtx=0xc0356970, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe2f27e1c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe2f27e1c, flags=16973826, 
    interlkp=0xe2f27dec, td=0xe07f9b04) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe42e8a54)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe42e8a54)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe2f27d80, flags=131074, td=0xe07f9b04)
    at vnode_if.h:693
#7  0xc020e7ac in lookup (ndp=0xe42e8c2c) at /usr/src/sys/kern/vfs_lookup.c:315
#8  0xc020e4a4 in namei (ndp=0xe42e8c2c) at /usr/src/sys/kern/vfs_lookup.c:168
#9  0xc0219202 in vn_open_cred (ndp=0xe42e8c2c, flagp=0xe42e8bf8, cmode=420, 
    cred=0xc6939d00) at /usr/src/sys/kern/vfs_vnops.c:116
#10 0xc021919e in vn_open (ndp=0xe42e8c2c, flagp=0xe42e8bf8, cmode=420)
    at /usr/src/sys/kern/vfs_vnops.c:85
#11 0xc02147ca in open (td=0xe07f9b04, uap=0xe42e8d20)
    at /usr/src/sys/kern/vfs_syscalls.c:1115
#12 0xc02b1c88 in syscall (frame={tf_fs = -1078001617, tf_es = 134742063, 
      tf_ds = -1078001617, tf_edi = 8, tf_esi = 672569536, 
      tf_ebp = -1077937204, tf_isp = -466711180, tf_ebx = 672492776, 
      tf_edx = 672569536, tf_ecx = 16, tf_eax = 5, tf_trapno = 22, tf_err = 2, 
      tf_eip = 672093507, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937248, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#13 0xc02a52ed in syscall_with_err_pushed ()
#14 0x805ed48 in ?? ()
#15 0x805eaa0 in ?? ()
#16 0x805fa53 in ?? ()
#17 0x805f61a in ?? ()
#18 0x8049ba9 in ?? ()
(kgdb) proc 164
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe2f2741c, mtx=0xc0356c40, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe2f2741c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe2f2741c, flags=16842754, 
    interlkp=0xe2f273ec, td=0xe07f9804) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe4319b08)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe4319b08)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe2f27380, flags=65538, td=0xe07f9804)
    at vnode_if.h:693
#7  0xc0210ec9 in vget (vp=0xe2f27380, flags=2, td=0xe07f9804)
    at /usr/src/sys/kern/vfs_subr.c:1572
#8  0xc020b107 in vfs_cache_lookup (ap=0xe4319bc4)
    at /usr/src/sys/kern/vfs_cache.c:651
#9  0xc027c729 in ufs_vnoperate (ap=0xe4319bc4)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#10 0xc020e9b9 in lookup (ndp=0xe4319c44) at vnode_if.h:45
#11 0xc020e4a4 in namei (ndp=0xe4319c44) at /usr/src/sys/kern/vfs_lookup.c:168
#12 0xc0215d55 in stat (td=0xe07f9804, uap=0xe4319d20)
    at /usr/src/sys/kern/vfs_syscalls.c:1976
#13 0xc02b1c88 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = -1077936680, tf_esi = 1, tf_ebp = -1077936852, 
      tf_isp = -466510476, tf_ebx = -1077936784, tf_edx = -1077936892, 
      tf_ecx = 5, tf_eax = 188, tf_trapno = 12, tf_err = 2, 
      tf_eip = 671832163, tf_cs = 31, tf_eflags = 647, tf_esp = -1077937616, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#14 0xc02a52ed in syscall_with_err_pushed ()
#15 0x8049bd9 in ?? ()
#16 0x804994d in ?? ()
(kgdb) proc 376
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe430a45c, mtx=0xc0356220, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe430a45c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe430a45c, flags=16973826, 
    interlkp=0xe430a42c, td=0xe07f8604) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe4346a54)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe4346a54)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe430a3c0, flags=131074, td=0xe07f8604)
    at vnode_if.h:693
#7  0xc020e7ac in lookup (ndp=0xe4346c2c) at /usr/src/sys/kern/vfs_lookup.c:315
#8  0xc020e4a4 in namei (ndp=0xe4346c2c) at /usr/src/sys/kern/vfs_lookup.c:168
#9  0xc02193d8 in vn_open_cred (ndp=0xe4346c2c, flagp=0xe4346bf8, cmode=0, 
    cred=0xc7141600) at /usr/src/sys/kern/vfs_vnops.c:162
#10 0xc021919e in vn_open (ndp=0xe4346c2c, flagp=0xe4346bf8, cmode=0)
    at /usr/src/sys/kern/vfs_vnops.c:85
#11 0xc02147ca in open (td=0xe07f8604, uap=0xe4346d20)
    at /usr/src/sys/kern/vfs_syscalls.c:1115
#12 0xc02b1c88 in syscall (frame={tf_fs = -1078001617, tf_es = 47, 
      tf_ds = -1078001617, tf_edi = 1, tf_esi = 134611560, 
      tf_ebp = -1077937640, tf_isp = -466326156, tf_ebx = 134608392, 
      tf_edx = 134584716, tf_ecx = 134614644, tf_eax = 5, tf_trapno = 12, 
      tf_err = 2, tf_eip = 671835459, tf_cs = 31, tf_eflags = 647, 
      tf_esp = -1077937684, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#13 0xc02a52ed in syscall_with_err_pushed ()
#14 0x804b7ee in ?? ()
#15 0x804e578 in ?? ()
#16 0x8049bfb in ?? ()
#17 0x8049705 in ?? ()
(kgdb) proc 378
(kgdb) bt
#0  0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781
#1  0xc01dad33 in msleep (ident=0xe430a45c, mtx=0xc0356220, priority=72, 
    wmesg=0xc02f599d "inode", timo=0) at /usr/src/sys/kern/kern_synch.c:496
#2  0xc01cb0b5 in acquire (lkp=0xe430a45c, extflags=16777280, wanted=1536)
    at /usr/src/sys/kern/kern_lock.c:168
#3  0xc01cb460 in lockmgr (lkp=0xe430a45c, flags=16973826, 
    interlkp=0xe430a42c, td=0xe4398404) at /usr/src/sys/kern/kern_lock.c:374
#4  0xc020d161 in vop_stdlock (ap=0xe4415b54)
    at /usr/src/sys/kern/vfs_default.c:252
#5  0xc027c729 in ufs_vnoperate (ap=0xe4415b54)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc021a002 in vn_lock (vp=0xe430a3c0, flags=131074, td=0xe4398404)
    at vnode_if.h:693
#7  0xc020e7ac in lookup (ndp=0xe4415ca4) at /usr/src/sys/kern/vfs_lookup.c:315
#8  0xc020e4a4 in namei (ndp=0xe4415ca4) at /usr/src/sys/kern/vfs_lookup.c:168
#9  0xc0217119 in rename (td=0xe4398404, uap=0xe4415d20)
    at /usr/src/sys/kern/vfs_syscalls.c:2921
#10 0xc02b1c88 in syscall (frame={tf_fs = 134610991, tf_es = -1078001617, 
      tf_ds = -465502161, tf_edi = 134647048, tf_esi = 134647176, 
      tf_ebp = -1077938220, tf_isp = -465478284, tf_ebx = 134701088, 
      tf_edx = 134647068, tf_ecx = -10, tf_eax = 128, tf_trapno = 0, 
      tf_err = 2, tf_eip = 671865731, tf_cs = 31, tf_eflags = 659, 
      tf_esp = -1077938360, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#11 0xc02a52ed in syscall_with_err_pushed ()
#12 0x804f014 in ?? ()
#13 0x8049f24 in ?? ()
#14 0x8049b09 in ?? ()
#15 0x804d478 in ?? ()
#16 0x8049cae in ?? ()
#17 0x8049889 in ?? ()
(kgdb) q
genius# ^Dexit

Script done on Tue Dec 18 10:52:51 2001

Attachment: msg30243/pgp00000.pgp
Description: PGP signature

Reply via email to