[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can't execute svn commands through the network

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 23 May 2012 10:34:52 +0300

Philip Martin wrote on Tue, May 22, 2012 at 16:09:09 +0100:
> Michael Fausten <fausten_at_pw-internet.de> writes:
>
> >> Let me see if I understand:
> >>
> >> - you have a working copy on a Samba network disk
> >>
> >> - the Samba server is FreeBSD 8.2
> >>
> >> - the Samba client is FreeBSD 9.0
> >
> > This is correct.
> >
> >> On Linux I'd run "strace svn st -u" to find out which system call is
> >> failing. Do you have strace installed? Perhaps truss can provide the
> >> information?
> >
> > No I don't. strace is only for i386 while I'm running amd64. DTrace
> > isn't also an option for me, because I would need to rebuild my kernel.
> > But I'm just a beginner, so I don't think this would end well :)
> > I tried truss, but I can't do anything with the results. Maybe
> > they are interesting for you?
> >
> > http://www.file-upload.net/download-4381573/truss.log.html
>
> It's something to do with locking:
>
> open("/usr/home/michael/mount/pw-websites/PW-Websites/baumarkt.de/Website-online
> /.svn/wc.db",O_RDWR|0x100000,00) = 3 (0x3)
>
> [...]
>
> fcntl(3,F_SETLK,0x7fffffffbaf0) = 0 (0x0)
> fcntl(3,F_SETLK,0x7fffffffc2a0) = 0 (0x0)
> fcntl(3,F_SETLK,0x7fffffffc2a0) ERR#11 'Resource deadlock avoid
> ed'
> fcntl(3,F_SETLK,0x7fffffffc2a0) = 0 (0x0)
> write(2,"svn: E200030: sqlite: disk I/O e"...,37) = 37 (0x25)
> write(2,"svn: E200030: sqlite: disk I/O e"...,37) = 37 (0x25)
>
> >> It appears that your Samba setup doesn't support some POSIX sematics.
> >> Perhaps mounting nobrl will help?
> >
> > Unfortunately mount_smbfs doesn't support the nobrl option.
>
> I suspect that sqlite is attempting byte range locking and your server
> doesn't support it. I don't know what to do about that.

Perhaps tell sqlite to use a different locking strategy by default?

(I know the default strategy can be set at compile-time. I don't recall
whether it can also be set later.)
Received on 2012-05-23 09:35:39 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.