From owner-freebsd-current@FreeBSD.ORG Wed Aug 23 18:09:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDA4116A4DD for ; Wed, 23 Aug 2006 18:09:11 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE5543D49 for ; Wed, 23 Aug 2006 18:09:10 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.177]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7NI8qIR075422; Wed, 23 Aug 2006 22:09:02 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GFx8d-0000BN-SI; Wed, 23 Aug 2006 22:07:39 +0400 To: Divacky Roman References: <1156096970.19717.12.camel@zappa.Chelsea-Ct.Org> <20060820204338.GA76869@stud.fit.vutbr.cz> <1156121912.32130.22.camel@zappa.Chelsea-Ct.Org> <20060821080748.GA14037@stud.fit.vutbr.cz> <20060821134635.GA27362@stud.fit.vutbr.cz> <1156348193.1499.11.camel@zappa.Chelsea-Ct.Org> <20060823174741.GA83282@stud.fit.vutbr.cz> From: Boris Samorodov Date: Wed, 23 Aug 2006 22:07:39 +0400 In-Reply-To: <20060823174741.GA83282@stud.fit.vutbr.cz> (Divacky Roman's message of "Wed, 23 Aug 2006 19:47:41 +0200") Message-ID: <37796436@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: Paul Mather , freebsd-current@freebsd.org Subject: Re: Linuxulator: syscall statfs64 not implemented? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 18:09:11 -0000 On Wed, 23 Aug 2006 19:47:41 +0200 Divacky Roman wrote: > On Wed, Aug 23, 2006 at 11:49:53AM -0400, Paul Mather wrote: > > On Mon, 2006-08-21 at 15:46 +0200, Divacky Roman wrote: > > > > > > it seems like very trivial so expect patch today ;) > > > > > > www.stud.fit.vutbr.cz/~xdivac02/statfs64.patch > > > > > > pls tell me if this works, thnx > > > > The patch applied and built on i386. However, when I run the resultant > > kernel, the problem of the "syscall statfs64 not implemented" messages > > goes away but my Tivoli backup still fails (in a different way). (The > > same Tivoli client and setup worked on i386 -CURRENT prior to > > mid-August, and currently is working on an i386 6.1-STABLE system.) > > > > Now, when the scheduled backup runs, I get things like this in my > > dsmerror.log: > > > > 08/23/06 02:58:37 TransErrno: Unexpected error from GetFSInfo:statfs, errno = 14 > > 08/23/06 02:58:38 ANS1228E Sending of object '/backup' failed > > 08/23/06 02:58:38 ANS1063E The specified path is not a valid file system or logical volume name. > > > > 08/23/06 02:58:38 ANS1228E Sending of object '/backup/var' failed > > 08/23/06 02:58:38 ANS1063E The specified path is not a valid file system or logical volume name. > > > > 08/23/06 02:58:38 ANS1228E Sending of object '/backup/usr' failed > > 08/23/06 02:58:38 ANS1063E The specified path is not a valid file system or logical volume name. > > > > 08/23/06 02:58:40 ANS1512E Scheduled event 'DESKTOP_DAILY_BACKUP' failed. Return code = 12. > > > > > > I don't know if this indicates that there is a problem with the > > implementation of statfs64/statfs, now. (I don't know if it complicates > > matters, but I'm backing up mounted snapshots.) > pls, can you build -DDEBUG version of linuxolator and show me what it prints? For me just -DDEBUG at command line doesn't work. I do it by changing /sys/modules/linux/Makefile (add -DDEBUG to CFLAFS). And then compile and install the module: #cd /sys/modules/linux #make clean && make && make install To use a new version you just do: #kldunload linux.ko #kldload linux.ko WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve