From nobody@FreeBSD.org  Tue Jan 15 17:27:26 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 405D09C0
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jan 2013 17:27:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 18EC8A59
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jan 2013 17:27:26 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0FHRPJc095462
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jan 2013 17:27:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0FHRPVj095461;
	Tue, 15 Jan 2013 17:27:25 GMT
	(envelope-from nobody)
Message-Id: <201301151727.r0FHRPVj095461@red.freebsd.org>
Date: Tue, 15 Jan 2013 17:27:25 GMT
From: Darrell <denns@cknw.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fusefs kernel page fault
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175328
>Category:       kern
>Synopsis:       [fusefs] [panic] fusefs kernel page fault
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 15 17:30:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Mon May  5 18:30:00 UTC 2014
>Originator:     Darrell
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD crvnas.corusent.intra 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
With fusefs and and an ntfs-3g filesystem in use, page faults are
experienced at random. It takes a few hours between occurrences,
possibly related to activity on the ntfs-3g filesystem. A kgdb trace
is included below. I've already ensured that the fusefs module has
been compiled against the correct kernel source. I've also checked
the system with "freebsd-update IDS" and found no problems there.

fusefs is the latest version from the ports tree:
fusefs-kmod-0.3.9.p1.20080208_11
fusefs-libs-2.9.2
fusefs-ntfs-2012.1.15


#1  0xffffffff808ea3a1 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xffffffff808ea897 in panic (fmt=0x1 <Address 0x1 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xffffffff80bd8240 in trap_fatal (frame=0xc, eva=Variable "eva" is not available.
) at /usr/src/sys/amd64/amd64/trap.c:857
#4  0xffffffff80bd857d in trap_pfault (frame=0xffffff822c0946e0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:773
#5  0xffffffff80bd8b9e in trap (frame=0xffffff822c0946e0) at /usr/src/sys/amd64/amd64/trap.c:456
#6  0xffffffff80bc315f in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228
#7  0xffffffff8174ab17 in fiov_adjust () from /usr/local/modules/fuse.ko
#8  0xffffffff8174b574 in fdisp_make_vp () from /usr/local/modules/fuse.ko
#9  0xffffffff8174c04e in fuse_statfs () from /usr/local/modules/fuse.ko
#10 0xfffffe000819ad20 in ?? ()
#11 0xffffff822c094870 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0x0000ffffffff5386 in ?? ()
#14 0x000000000000ac7a in ?? ()
#15 0x000005069ba426e8 in ?? ()
#16 0x00000018409a2548 in ?? ()
#17 0xfffffe0008a490c0 in ?? ()
#18 0xfffffe0008a49000 in ?? ()
#19 0xfffffe0008a490c0 in ?? ()
#20 0xfffffe016fc2b000 in ?? ()
#21 0xffffff822c0948a0 in ?? ()
#22 0xffffffff809763f8 in __vfs_statfs (mp=Variable "mp" is not available.
) at /usr/src/sys/kern/vfs_mount.c:1770
Previous frame inner to this frame (corrupt stack?)
(kgdb)

>How-To-Repeat:
portmaster fusefs-kmod fusefs-libs fusefs-ntfs
kldload /usr/local/modules/fuse.ko
ntfs-3g /dev/xxx /mnt/ntfs
cause some activity on /mnt/ntfs (not sure if required to cause fault
or not)
wait several hours
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jan 15 22:48:47 UTC 2013 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175328 
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun May 4 05:17:10 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175328 

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org,
 denns@cknw.com
Cc: mirror176@cox.net
Subject: Re: kern/175328: [fusefs] [panic] fusefs kernel page fault
Date: Mon, 5 May 2014 14:15:02 -0400

 Please try applying the patch at 
 http://people.freebsd.org/~jhb/patches/fuse_port.patch  It fixed a similar 
 panic for me.
 
 -- 
 John Baldwin
>Unformatted:
