From owner-freebsd-current@FreeBSD.ORG Wed Jul 24 18:36:15 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6E7EC9DF; Wed, 24 Jul 2013 18:36:15 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA028249C; Wed, 24 Jul 2013 18:36:14 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hq4so821480wib.14 for ; Wed, 24 Jul 2013 11:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=HYxCk9daYSmGWi0oQErNWY76eJFXbS7rf8ViRoGrVfA=; b=qy3qfHAkP9kqb5PFYQJwEPU93o3HJMrXzEd1yxWwqC1FrgUb7/dcgT7yokCIsQwUOS P2mharT54qRDzNmum/nn2q7oSxh947/lDIqkm1SZxGjOW4n+u1wJSgdqyoOgx+mOyxki uQciTAJaiWUGBjTwNLceMN5uihaiX5xSQhb4JNQk6WXcZMh8cejuiPEzbqPTRuKVx1Gf PLce+GZWM5tRw6M2y3gk9MV2ChI+I1W4YLV/IC3MTuCWahoxc+PwxFVXYF7IJ2iiV0Sy Nf0+6W1LELSDjDRWyBitSLFVdpFvM4WwcgY04ShC60zk46JugtRCgkrtWD6uX5kvj6C8 I+kw== X-Received: by 10.194.8.163 with SMTP id s3mr28157375wja.41.1374690973076; Wed, 24 Jul 2013 11:36:13 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id fb2sm7226338wic.4.2013.07.24.11.36.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Jul 2013 11:36:12 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 24 Jul 2013 20:36:10 +0200 From: Baptiste Daroussin To: Alexander Panyushkin Subject: Re: FUSE not work. Message-ID: <20130724183610.GI63694@ithaqua.etoilebsd.net> References: <51E94F09.4020109@FreeBSD.org> <51E95B4D.4030104@gmail.com> <51E96C84.3000209@FreeBSD.org> <51E97265.8040507@gmail.com> <51E9E669.3090500@FreeBSD.org> <20130724152216.GE63694@ithaqua.etoilebsd.net> <51F01A0C.2070808@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Az4VpBrmI9+OyhK/" Content-Disposition: inline In-Reply-To: <51F01A0C.2070808@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Kevin Oberman , FreeBSD Current , Pedro Giffuni X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 24 Jul 2013 18:36:15 -0000 --Az4VpBrmI9+OyhK/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 24, 2013 at 09:16:44PM +0300, Alexander Panyushkin wrote: > 24.07.2013 18:22, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Fri, Jul 19, 2013 at 09:42:41PM -0700, Kevin Oberman wrote: > >> On Fri, Jul 19, 2013 at 6:22 PM, Pedro Giffuni wrote: > >> > >>> On 19.07.2013 12:07, Alexander Panyushkin wrote: > >>> > >>>> 19.07.2013 19:42, Pedro Giffuni =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>> > >>>>> (re-posting since the original response didn't make it through) > >>>>> > >>>>> On 19.07.2013 10:29, Alexander Panyushkin wrote: > >>>>> > >>>>>> 19.07.2013 17:36, Pedro Giffuni =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>>>> > >>>>>>> Hello; > >>>>>>> > >>>>>>> The internal data structures in the FUSE kernel module have been > >>>>>>> updated to be more compatible with MacFUSE and the linux FUSE. > >>>>>>> > >>>>>>> This basically means you have to rebuild your fuse modules > >>>>>>> (including NTFS). > >>>>>>> > >>>>>>> We should not really update the FUSE_KERNEL_MINOR_VERSION yet. > >>>>>>> I will add a note to UPDATING. > >>>>>>> > >>>>>>> Pedro. > >>>>>>> > >>>>>> > >>>>>> > >>>>>> Unfortunately the port is not build in FreeBSD 10 > >>>>>> > >>>>>> > >>>>>> =3D=3D=3D>>> Starting build for sysutils/fusefs-kmod <<<=3D=3D=3D > >>>>>> > >>>>>> > >>>>> fusefs-kmod is not needed on -current. I meant you have to rebuild > >>>>> and reinstall fusefs-* ; in particular fusesfs-libs and ntfs. > >>>>> > >>>>> Since this is a ports issue I will not update the UPDATING file. > >>>>> > >>>>> Developers that need to know should use __FreeBSD_version > >>>>> 1000038 as a reference. > >>>>> > >>>>> > >>>> I rebuild sysutils/fusefs-ntfs with Clang and GCC, but this has no e= ffect. > >>>> > >>>> sysctl kern.osreldate > >>>> kern.osreldate: 1000037 > >>>> > >>>> ntfs-3g /dev/ad10s1 /mnt/ntfs_0 > >>>> mount > >>>> ... > >>>> /dev/fuse on /mnt/ntfs_0 (fusefs, local, synchronous) > >>>> > >>>> ls -la /mnt/ntfs_0 > >>>> unique: 18, opcode: GETATTR (3), nodeid: 1, insize: 40, pid: 47053 > >>>> getattr / > >>>> unique: 18, success, outsize: 112 > >>>> fuse: writing device: Invalid argument > >>>> ls: /mnt/ntfs_0: Input/output error > >>>> > >>>> fuse is at least partly broken in -current. I discovered that if you > >> mount two devices that use fuse, when you umount any of them, ll are m= arked > >> as not mounted and disappear from df(1) or mount(8) output, but only o= ne is > >> actually cleanly unmounted and, if it has been written to, will likely= be > >> corrupt. This applies to at least ntfs. > >> > >> ATM no one is supporting fuse in current, so this may become a serious > >> issue before long. > > This is fixed now. > > > > btw this problem is/was not related to fuse on current but rather to > > fusefs-libs. > > > > Bapt > I am rebuilding now world > uname -a > FreeBSD scorpion.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jul=20 > 24 20:34:19 EEST 2013 root@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel = =20 > amd64 >=20 > and ports fusefs-libs-2.9.3 and fusefs-ntfs-2012.1.15 > Problem not fixed. >=20 Yes fuse in base is broken since r248084 downgrade sys/fs/fuse to that vers= ion and it will work, I'm investigating. What I fix is the umount umounting all the FS. regards, Bapt --Az4VpBrmI9+OyhK/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHwHpoACgkQ8kTtMUmk6Exg9wCfTOz3hxM6DzQ/yswvv50Qk8V2 rCIAn1bqBTJVNVvHiR/aVa9eRih5mlRh =YeI1 -----END PGP SIGNATURE----- --Az4VpBrmI9+OyhK/--