Re: ZFS panic: System call unlink returning with 1 locks held



In the last episode (Jul 21), Thierry Herbelot said:
with a recent -current -built yesterday), I just got a panic while
rebuilding -j4 the world and portupgrading firefox.

the machine is pretty much memory limited (only 320 MB of RAM), with
two CPUs, running a straight GENERIC kernel, including WITNESS and
INVARIANTS.
[..]
the panic message is :

panic: System call unlink returning with 1 locks held
cpuid = 0
KDB: enter: panic
[thread pid 42789 tid 100102 ]
Stopped at kdb_enter+0x32: leave
db> where
Tracing pid 42789 tid 100102 td 0xc2ce3200
kdb_enter(c0a92bc5,0,c0ac0a31,d5457c8c,0,...) at kdb_enter+0x32
panic(c0ac0a31,c0a98f5c,1,c0a98f5c,c0b3f030,...) at panic+0x124
syscall(d5457d38) at syscall+0x46e
Xint0x80_syscall() at Xint0x80_syscall+0x20

I've been seeing this, as late as on a Jul 24 kernel. Happened once
during the cleandir stage of a buildworld, and few more times when the
system was relatively idle (although it is an mrtg server so lots of
files are constantly created and rm'd). My system is i386 with 1GB of
RAM, has a ZFS root, and is SMP. I've also gotten a similar "System
call rename returning with 1 locks held" panic. Is there any way to
find out what lock is being held? I've got a couple crashdumps.

(kgdb) (kgdb) #0 doadump () at pcpu.h:195
#1 0xc05e4032 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2 0xc05e43b9 in panic (fmt=0xc0845a19 "System call %s returning with %d locks held") at ../../../kern/kern_shutdown.c:563
#3 0xc07c203b in syscall (frame=0xe76dfd38) at ../../../i386/i386/trap.c:1060
#4 0xc07a6a00 in Xint0x80_syscall () at ../../../i386/i386/exception.s:196

--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Application Not Responding
    ... networked HP printer (a laserjet 4600, ... is all text and still it locks up. ... The laptop is a 2.0mhz Compaq EVO with 1 gb RAM, ...
    (microsoft.public.word.printingfonts)
  • Re: hang during startup
    ... Have you tested the RAM? ... you can get pretty good diagnostic software for such ... but if it resets or locks up, then there's usually something going on ... or something in the hardware that fails once the OS "switches ...
    (microsoft.public.windowsxp.general)
  • Windows locks up
    ... have alreadu posted my problem on this, and i am greatful for the advice i ... I have a gigabyte motherboard and 512 ddr 400 kingston ram, ... It locks up when booting occassionally at the welcome screen, ...
    (microsoft.public.windowsxp.general)
  • Machine Lockes up at startup
    ... >I have a Athlon 2000 with XP Pro that locks up either ... Could I have a power supply prob. ... >try a ram test,you may have some bad ram.If you have 2 ... have a Ram test somewhere in there.(and yes it could be ...
    (microsoft.public.windowsxp.perform_maintain)