Panic with fusefs-ntfs on FreeBSD 9 RC1 amd64

Marcelo Gondim gondim at bsdinfo.com.br
Fri Sep 28 18:17:03 UTC 2012


Em 28/09/12 11:20, Attilio Rao escreveu:
> On Mon, Sep 24, 2012 at 6:25 PM, Kevin Oberman <kob6558 at gmail.com> wrote:
>> On Tue, Sep 18, 2012 at 7:55 PM, Attilio Rao <attilio at freebsd.org> wrote:
>>> On Tue, Sep 18, 2012 at 5:14 PM, Marcelo Gondim <gondim at 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 at 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?
> Please check this out:
> http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036862.html
>
> Thanks,
> Attilio
>
>
Hi all,

Problem resolved with FreeBSD 9.1-RC2. I did a svn update, recompiled my 
system for RC2 and did a new test. This time I had no problems with 
kernel panic.

Thanks,

Gondim


More information about the freebsd-stable mailing list