Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 14:32:42 -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:  <CAN6yY1sMiF%2Bm7_68R0SE_m4xPQSsGVmmEJ4jWRmuEP=KHr_LtA@mail.gmail.com>
In-Reply-To: <CAJ-FndB5TO4otMwFXXmnmQHVtJe0p7g=p578jmf3j6yneBjy5A@mail.gmail.com>
References:  <50589DE6.4090107@bsdinfo.com.br> <CAJ-FndA=wFzTBSh8%2BYndGPgPBsF0eYaPngFevjwLNqRe6xfNHQ@mail.gmail.com> <CAN6yY1uA9fQqUuxxLrsKs%2B04oeX_Yq9qY8c85ZYnJSURgLrFhA@mail.gmail.com> <CAJ-FndB5TO4otMwFXXmnmQHVtJe0p7g=p578jmf3j6yneBjy5A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 28, 2012 at 7:20 AM, Attilio Rao <attilio@freebsd.org> wrote:
> On Mon, Sep 24, 2012 at 6:25 PM, Kevin Oberman <kob6558@gmail.com> wrote:
>> 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?
>
> Please check this out:
> http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036862.html

Attilio,

stable/9 (r239879) patched and lightly tested. Seems to be working
fine at this time. I still need to further study mount_fusefs and I am
still using the old mount-fuse script until I can look at how HAL and
Gnome will handle things.

I'll try my rsync test, which reliably crashed the system with the old
fusefs stuff, this weekend.

Thanks for your work on this.
-- 
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?CAN6yY1sMiF%2Bm7_68R0SE_m4xPQSsGVmmEJ4jWRmuEP=KHr_LtA>