Re: "recursive lock for object" & "unlocking unheld lock" in smb



On Wednesday 27 September 2006 10:01, Alexander Leidinger wrote:
Hi,

yesterday I rsynced a smb share from a samba-3.0.x server (FreeBSD 4)
via a smb mount (current from Sep 23) "locally" (mount -t smbfs from
the samba server and rsync a/ b/; most easy solution to convert some
ISO-8859-1 filenames to UTF-8 ("dos charset = UTF8" in smb.conf!)
while moving to another system).

Today I noticed the following in the daily mail on the -current system:

If you are willing to panic your box, can you try the patch below and get a
crashdump when it panics? Then, send me the stack trace from the panic (and
keep the crashdump around). Thanks.

Index: smb_conn.c
===================================================================
RCS file: /usr/cvs/src/sys/netsmb/smb_conn.c,v
retrieving revision 1.17
diff -u -r1.17 smb_conn.c
--- smb_conn.c 17 Jul 2006 16:12:59 -0000 1.17
+++ smb_conn.c 27 Sep 2006 15:42:35 -0000
@@ -350,6 +350,7 @@
if (smb_co_lockstatus(cp, td) == LK_EXCLUSIVE &&
(flags & LK_CANRECURSE) == 0) {
SMBERROR("recursive lock for object %d\n", cp->co_level);
+ panic("rescursive lock for object %p", cp);
return 0;
}
return lockmgr(&cp->co_lock, flags, &cp->co_interlock, td);


--
John Baldwin
_______________________________________________
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

  • Kernel panic when moving lots of data over network
    ... Strange problem on a new server we're setting up. ... when moving a large amount of data onto it via the network. ... panics and reboots. ... page fault while in kernel mode ...
    (freebsd-hackers)
  • Re: solaris 10 panics with firewire devices
    ... after some successfull tests of moving some ... I have encountered these panics. ... No, it is not fixed in latest solaris express, it is actually much worse ... I've seen Sun monitors on fire off the side of the multimedia lab. ...
    (comp.unix.solaris)
  • Re: unable to make a crashdump
    ... >> I'm trying to get a crashdump from my kernel when it ... > I reliably get dumps. ... going to work if the filesystem code panics?) ...
    (freebsd-current)
  • Re: unable to make a crashdump
    ... > I'm trying to get a crashdump from my kernel when it ... > panics. ... I have the following in my kernel: ... I reliably get dumps. ...
    (freebsd-current)