From owner-freebsd-stable@FreeBSD.ORG Tue Feb 5 03:32:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A0A16A468 for ; Tue, 5 Feb 2008 03:32:00 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id DF30213C442 for ; Tue, 5 Feb 2008 03:31:59 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JMEXM-0002xe-DI for freebsd-stable@freebsd.org; Tue, 05 Feb 2008 11:31:57 +0800 Message-ID: <47A7D8AC.7030104@micom.mng.net> Date: Tue, 05 Feb 2008 11:31:56 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.9 (X11/20071225) MIME-Version: 1.0 To: FreeBSD Stable Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: fusefs-ntfs makes fatal trap/page fault in FreeBSD-7.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 03:32:00 -0000 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@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: on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: 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.