ports/149538: fusefs-ntfs panic on writte on 8.1

Domagoj rank1seeker at gmail.com
Thu Aug 12 09:02:33 UTC 2010


>Number:         149538
>Category:       ports
>Synopsis:       fusefs-ntfs panic on writte on 8.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 12 09:02:33 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Domagoj
>Release:        8.1
>Organization:
>Environment:
...
>Description:
As soon as I transfered from 8.0 -> 8.1, ntfs-3g mounted slices, after writting to it, every here and then, kernel panic occurs!

I tried another 8.1 install on clean USB stick..., same thing!

I did upward recursive reinstall of fusefs-ntfs (all ports on which it depends) and nada.
I even did a fresh USB install from zero and same thing occurs.
Sometimes 'cp', causes a panic and sometimes it is a 'vi', the other time it is a 'mv', etc...

Last crash:
-----------
In 'vi' opened file residing at ntfs.
As soon as I've hit: ":w" in order to write changes, panic!

  Panic String: page fault
  Dump Parity: 1080399392
  Bounds: 14
  Dump Status: good

---

panic: page fault

..
Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0x0
stack pointer	        = 0x28:0xea651b84
frame pointer	        = 0x28:0xea651c44
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		= 1358 (vi)
trap number		= 12
panic: page fault
cpuid = 0
Uptime: 10m46s
Physical memory: 3557 MB
Dumping 124 MB: 109 93 77 61 45 29 13

..
#0  doadump () at pcpu.h:246
246	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:246
#1  0xc089e9b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc089ec19 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:590
#3  0xc0bd3adc in trap_fatal (frame=0xea651b44, eva=0)
    at /usr/src/sys/i386/i386/trap.c:938
#4  0xc0bd3d60 in trap_pfault (frame=0xea651b44, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:851
#5  0xc0bd46a5 in trap (frame=0xea651b44) at /usr/src/sys/i386/i386/trap.c:533
#6  0xc0bb67bb in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 

..
iostat

iostat: kvm_read(_tk_nin): invalid address (0x0)
iostat: disabling TTY statistics
iostat: kvm_getcptime: invalid address (0x0)
iostat: disabling CPU time statistics
            ada0              da0              cd0 
  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s 
  8.48 186  1.54   1.65   3  0.01   2.34   0  0.00 

..
fstat

USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
root     ntfs-3g     1135 root /             2 drwxr-xr-x    1024  r
root     ntfs-3g     1135   wd /             2 drwxr-xr-x    1024  r
root     ntfs-3g     1135 text /usr     519130 -r-xr-xr-x   33676  r
root     ntfs-3g     1135    0 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1135    1 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1135    2 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1135    3 /         49754 -rw-r--r--     567  r
root     ntfs-3g     1135    4 /dev        103 crw-r-----  ada0s5 rw
root     ntfs-3g     1135    5 /dev        183 crw-rw----   fuse1 rw
root     ntfs-3g     1135    6* local dgram c8957968 <-> c8956764
root     ntfs-3g     1132 root /             2 drwxr-xr-x    1024  r
root     ntfs-3g     1132   wd /             2 drwxr-xr-x    1024  r
root     ntfs-3g     1132 text /usr     519130 -r-xr-xr-x   33676  r
root     ntfs-3g     1132    0 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1132    1 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1132    2 /dev         31 crw-rw-rw-    null rw
root     ntfs-3g     1132    3 /         49754 -rw-r--r--     567  r
root     ntfs-3g     1132    4 /dev         99 crw-r-----  ada0s1 rw
root     ntfs-3g     1132    5 /dev        182 crw-rw----   fuse0 rw
root     ntfs-3g     1132    6* local dgram c8956408 <-> c8956764

..


>How-To-Repeat:
Try to writte to file, which resides on ntfs slice, in txt editor of choice.
I've used 'vi'
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list