Panic with fusefs-ntfs on FreeBSD 9 RC1 amd64
Kevin Oberman
kob6558 at gmail.com
Fri Sep 28 21:32:44 UTC 2012
On Fri, Sep 28, 2012 at 7:20 AM, Attilio Rao <attilio at freebsd.org> wrote:
> 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
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 at gmail.com
More information about the freebsd-stable
mailing list