fusefs-ntfs makes fatal trap/page fault in FreeBSD-7.0

Ganbold ganbold at micom.mng.net
Tue Feb 5 03:32:00 UTC 2008


Hi,

I'm having trouble mounting external NTFS hard drive using fusefs-ntfs 
port on Dell Latitude D620.

devil# uname -an
FreeBSD devil.micom.mng.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: 
Tue Feb  5 10:29:24 ULAT 2008     
tsgan at devil.micom.mng.net:/usr/obj/usr/src/sys/DEVIL  i386

devil# pkg_info | grep fuse
fusefs-kmod-0.3.9.p1_3 Kernel module for fuse
fusefs-libs-2.7.2   FUSE allows filesystem implementation in userspace
fusefs-ntfs-1.1120  Mount NTFS partitions (read/write) and disk images
devil# kldload /usr/local/modules/fuse.ko
devil# kldstat
Id Refs Address    Size     Name
 1   23 0xc0400000 6df8b4   kernel
 2    1 0xc0ae0000 14324    snd_hda.ko
 3    2 0xc0af5000 52a08    sound.ko
 4    2 0xc0b48000 10ebc    drm.ko
 5    1 0xc0b59000 7184     i915.ko
 6    1 0xc0b61000 6b314    acpi.ko
 7    2 0xc4005000 c000     ipfw.ko
 8    1 0xc4035000 4000     ipdivert.ko
 9    1 0xc406d000 22000    linux.ko
11    3 0xc43dd000 3000     ucom.ko
12    1 0xc43e0000 3000     uftdi.ko
13    1 0xc43e5000 4000     uplcom.ko
14    1 0xc59aa000 e000     fuse.ko


When I try to mount it, on serial console I see:
...
umass0: <Seagate FreeAgent Go, class 0/0, rev 2.00/0.00, addr 2> on uhub4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Seagate FreeAgent Go 100F> Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 3f 0 0 1 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): ABORTED COMMAND asc:0,0
(da0:umass-sim0:0:0:0): No additional sense information
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 3f 0 0 1 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): ABORTED COMMAND asc:0,0
(da0:umass-sim0:0:0:0): No additional sense information
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
GEOM_LABEL: Label for provider da0s1 is ntfs/FreeAgent Drive.
GEOM_LABEL: Label ntfs/FreeAgent Drive removed.


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address    = 0x746e756f
fault code        = supervisor read, page not present
instruction pointer    = 0x20:0xc06d8f36
stack pointer            = 0x28:0xe63d09b0
frame pointer            = 0x28:0xe63d09b4
code segment        = base 0x0, limit 0xfffff, type 0x1b
            = DPL 0, pres 1, def32 1, gran 1
processor eflags    = interrupt enabled, resume, IOPL = 0
current process        = 19197 (mount_fusefs)
[thread pid 19197 tid 100099 ]
Stopped at      strcmp+0x26:    movzbl  0(%ecx),%eax
db> bt
Tracing pid 19197 tid 100099 td 0xc4312210
strcmp(c59b644f,746e756f,c3e43934,2d,e63d0a8c,...) at strcmp+0x26
vfs_getopt(c09bb6c0,c59b644f,0,0,c4312210,...) at vfs_getopt+0x35
fuse_mount(c3e438b8,c4312210,c08d0185,3e9,0,...) at fuse_mount+0x70
vfs_donmount(48217080,c,e63d0c70,c48e4000,bfbfebb4,...) at 
vfs_donmount+0x13ad
nmount(c4312210,e63d0cfc,c,e63d0d38,c095e6d0,...) at nmount+0xb2
syscall(e63d0d38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (378, FreeBSD ELF32, nmount), eip = 0x480ccb4b, esp = 
0xbfbfe64c, ebp = 0xbfbfebc8 ---
db> trace
Tracing pid 19197 tid 100099 td 0xc4312210
strcmp(c59b644f,746e756f,c3e43934,2d,e63d0a8c,...) at strcmp+0x26
vfs_getopt(c09bb6c0,c59b644f,0,0,c4312210,...) at vfs_getopt+0x35
fuse_mount(c3e438b8,c4312210,c08d0185,3e9,0,...) at fuse_mount+0x70
vfs_donmount(48217080,c,e63d0c70,c48e4000,bfbfebb4,...) at 
vfs_donmount+0x13ad
nmount(c4312210,e63d0cfc,c,e63d0d38,c095e6d0,...) at nmount+0xb2
syscall(e63d0d38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (378, FreeBSD ELF32, nmount), eip = 0x480ccb4b, esp = 
0xbfbfe64c, ebp = 0xbfbfebc8 ---
db>

Any idea how to solve this problem?

thanks,

Ganbold

-- 
Real computer scientists don't program in assembler. They don't write in 
anything less portable than a number two pencil.



More information about the freebsd-stable mailing list