Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 10:25:28 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        attilio@freebsd.org
Cc:        Marcelo Gondim <gondim@bsdinfo.com.br>, freebsd-stable@freebsd.org
Subject:   Re: Panic with fusefs-ntfs on FreeBSD 9 RC1 amd64
Message-ID:  <CAN6yY1uA9fQqUuxxLrsKs%2B04oeX_Yq9qY8c85ZYnJSURgLrFhA@mail.gmail.com>
In-Reply-To: <CAJ-FndA=wFzTBSh8%2BYndGPgPBsF0eYaPngFevjwLNqRe6xfNHQ@mail.gmail.com>
References:  <50589DE6.4090107@bsdinfo.com.br> <CAJ-FndA=wFzTBSh8%2BYndGPgPBsF0eYaPngFevjwLNqRe6xfNHQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2012 at 7:55 PM, Attilio Rao <attilio@freebsd.org> wrote:
> On Tue, Sep 18, 2012 at 5:14 PM, Marcelo Gondim <gondim@bsdinfo.com.br> wrote:
>> I installed the package ntfs-fusefs on two different servers and both causes
>> kernel panic when trying to copy anything.
>> A server using FreeBSD 9.0 STABLE amd64 and the other using FreeBSD 9 RC1
>> amd64.
>> Someone is having the same problem?
>
> Hello Marcelo,
> Do you think you can try fuse import explained here:
> http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036677.html
>
> The proposed patch is for HEAD@240684 but I'm sure it should apply
> cleanly to RELENG_9_1 too.
>
> Please let me know if you have further questions.

I tried patching 9-Stable with fuse_240684.patch. It applied cleanly,
but the kernel build failed:
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
-I/usr/obj/usr/src/sys/GENERIC  -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option   -c
/usr/src/sys/modules/fuse/../../fs/fuse/fuse_ipc.c
cc1: warnings being treated as errors
/usr/src/sys/modules/fuse/../../fs/fuse/fuse_node.c: In function
'fuse_vnode_setsize':
/usr/src/sys/modules/fuse/../../fs/fuse/fuse_node.c:378: warning:
passing argument 3 of 'vtruncbuf' makes pointer from integer without a
cast
/usr/src/sys/modules/fuse/../../fs/fuse/fuse_node.c:378: error: too
few arguments to function 'vtruncbuf'
*** [fuse_node.o] Error code 1

Looks like something has changed between stable and current that won't
work. Any suggestions for a quick fix?

It's a ThinkPad T520 running amd64, but I doubt that this is relevant
to the error reported.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uA9fQqUuxxLrsKs%2B04oeX_Yq9qY8c85ZYnJSURgLrFhA>