kern/55702: Kernel panic on NTFS

Jonathan Fosburgh syjef at mdanderson.org
Mon Aug 18 10:50:12 PDT 2003


>Number:         55702
>Category:       kern
>Synopsis:       Kernel panic on NTFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 18 10:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Fosburgh
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD jef-nt.mdacc.tmc.edu 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Fri Aug 15 11:13:24 CDT 2003 syjef at jef-nt.mdacc.tmc.edu:/usr/obj/usr/src/sys/vmbsd i386


	
>Description:
	On performing various I/O operations on NTFS, a kernel panic occurs. The filesystems are mounted read only.  I have seen this problem when running commands such as ls or find on the filesystem, and most recently when trying to run the notepad.exe that ships with Windows2000 under Wine. I was not dropped into the kernel debugger, so I don't have an (obvious) instruction pointer.  However, the info file for the dump reads:

Good dump found on device /dev/ad0s1b
  Architecture: i386
  Architecture version: 1
  Dump length: 402587648B (383 MB)
  Blocksize: 512
  Dumptime: Mon Aug 18 11:52:48 2003
  Hostname: jef-nt.mdacc.tmc.edu
  Versionstring: FreeBSD 5.1-CURRENT #3: Fri Aug 15 11:13:24 CDT 2003
    syjef at jef-nt.mdacc.tmc.edu:/usr/obj/usr/src/sys/vmbsd
  Panicstring: filesystem goof: vop_panic[vop_specstrategy]
  Bounds: 7


And from gdb -k:

# gdb -k /boot/kernel/kernel vmcore.7
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...(no debugging symbols found)...
panic: filesystem goof: vop_panic[vop_specstrategy]
panic messages:
---
panic: filesystem goof: vop_panic[vop_specstrategy]

syncing disks, buffers remaining... 3044 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041 3041
giving up on 1304 buffers
Uptime: 4h38m1s
Dumping 383 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368
---
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/acpi/acpi.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/linprocfs/linprocfs.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/linux/linux.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/smbfs/smbfs.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/libiconv/libiconv.ko.debug
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/libmchain/libmchain.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/libmchain/libmchain.ko.debug
---Type <return> to continue, or q <return> to quit---
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
Reading symbols from /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/ntfs/ntfs.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/vmbsd/modules/usr/src/sys/modules/ntfs/ntfs.ko.debug
#0  0xc023157b in doadump ()
(kgdb) where
#0  0xc023157b in doadump ()
#1  0xc0231c09 in boot ()
#2  0xc0231fe8 in panic ()
#3  0xc02851ce in vop_panic ()
#4  0xc02851a8 in vop_defaultop ()
#5  0xc036685a in vnode_pager_input_smlfs ()
#6  0xc03671ec in vnode_pager_generic_getpages ()
#7  0xc0285da9 in vop_stdgetpages ()
#8  0xc02851a8 in vop_defaultop ()
#9  0xc0366ddb in vnode_pager_getpages ()
#10 0xc034c672 in vm_fault ()
#11 0xc039cb05 in trap_pfault ()
#12 0xc039c6a3 in trap ()
#13 0xc038ca88 in calltrap ()
---Can't read userspace from dump, or kernel process---

>How-To-Repeat:
	Mount any NTFS and perform I/O operations on it.  I have never seen it take very long for this panic to manifest itself.
>Fix:

Don't mount NTFS filesystems.

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


More information about the freebsd-bugs mailing list