Bug 182739 - [fusefs] [panic] sysutils/fusefs-kmod kernel panic on rsync
Summary: [fusefs] [panic] sysutils/fusefs-kmod kernel panic on rsync
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 10:40 UTC by Luke
Modified: 2017-01-15 09:54 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2013-10-06 10:40:00 UTC
There is a problem with fusefs-kmod and FreeBSD 9.1 and rsync. While starting rsync on fuse share, one encounters kernel panic with:

fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.19


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address       = 0x0
fault code                           = supervisor read instruction, page not present
instruction pointer         = 0x20:0x0
stack pointer             = 0x28:0xffffff811b71bac0
frame pointer           = 0x28:0xffffff811b71bb10
code segment                  = base rx0, limit 0xfffff, type 0x1b
                                               = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags              = interrupt enabled, resume, IOPL = 0
current process                               = 16502 (rsync)
trap number                     = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80920bb6 at kdb_backtrace+0x66
#1 0xffffffff808eabce at panic+0x1ce
#2 0xffffffff80bd8640 at trap_fatal+0x290
#3 0xffffffff80bd897d at trap_pfault+0x1ed
#4 0xffffffff80bd8f9e at trap+0x3ce
#5 0xffffffff80bc355f at calltrap+0x8
#6 0xffffffff80bd7ee6 at amd64_syscall+0x546
#7 0xffffffff80bc3847 at Xfast_syscall+0xf7
Uptime: 21h22m6s
Dumping 847 out of 4043 MB:..2%..12%..21%..31%..42%..51%..61%..72%..82%..91%


Same result can be obtained on FreeBSD 9.2

Might be related to http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/175328

How-To-Repeat: rsync on any fuse'd directory
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-05-04 06:17:41 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 John Baldwin freebsd_committer freebsd_triage 2014-05-05 19:15:34 UTC
Please try the patch at http://people.freebsd.org/~jhb/patches/fuse_port.patch

-- 
John Baldwin
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2017-01-15 09:54:38 UTC
Close this PR, this port was only required on FreeBSD < 10.0 which are now all end-of-life.