kern/112680: Attempting to move files from NTFS volume to UFS causes panic

Bruce Cran bruce at cran.org.uk
Tue May 15 09:30:04 UTC 2007


>Number:         112680
>Category:       kern
>Synopsis:       Attempting to move files from NTFS volume to UFS causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 15 09:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD neutrino.draftnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1@ Fri May 11 02:23:32 BST 2007 brucec at neutrino.draftnet:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Attempting to move files from an NTFS filesystem to UFS causes a panic.

panic: System call rename returning with 1 locks held
cpuid = 0
KDB: enter: panic
[thread pid 1394 tid 100082]
Stopped at kdb_enter+0x30: leave

Stack trace:
kdb_enter
panic
syscall
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (45, FreeBSD ELF32, ktrace), eip = 0x280d5dc7

dmesg:
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-CURRENT #1: Fri May 11 02:23:32 BST 2007
    brucec at neutrino.draftnet:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2800+ (1668.71-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
real memory  = 1073725440 (1023 MB)
avail memory = 1032949760 (985 MB)
ACPI APIC Table: <ASUS   A7V333  >
ioapic0: Changing APIC ID to 2
ioapic0 <Version 0.2> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <ASUS A7V333> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8367 (KT266/KY266x/KT333) host to PCI bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce 7300 GT> mem 0xde000000-0xdeffffff,0xe0000000-0xefffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
atapci0: <Promise PDC20276 UDMA133 controller> port 0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xb800-0xb803,0xb400-0xb40f mem 0xdc800000-0xdc803fff irq 19 at device 6.0 on pci0
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xdc000000-0xdc0007ff,0xdb800000-0xdb803fff irq 17 at device 7.0 on pci0
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:06:85:c3
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:06:85:c3
fwe0: Ethernet address: 02:e0:18:06:85:c3
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
uhci0: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 19 at device 9.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 16 at device 9.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdb000000-0xdb0000ff irq 17 at device 9.2 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 0.95
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <VIA VT6202 USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2
uhub2: 4 ports with 4 removable, self powered
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0xa400-0xa4ff mem 0xda800000-0xda800fff irq 19 at device 12.0 on pci0
sis0: Silicon Revision: DP83815D
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:40:f4:57:98:71
sis0: [ITHREAD]
fwohci1: <Texas Instruments TSB43AB23> mem 0xda000000-0xda0007ff,0xd9800000-0xd9803fff irq 16 at device 13.0 on pci0
fwohci1: [ITHREAD]
fwohci1: OHCI version 1.10 (ROM=1)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:d0:03:56:00:a6:7c:53
fwohci1: Phy 1394a available S400, 3 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1: <IEEE1394(FireWire) bus> on fwohci1
fwe1: <Ethernet over FireWire> on firewire1
if_fwe1: Fake Ethernet address: 02:d0:03:a6:7c:53
fwe1: Ethernet address: 02:d0:03:a6:7c:53
fwe1: if_start running deferred for Giant
sbp1: <SBP-2/SCSI over FireWire> on firewire1
fwohci1: Initiate bus reset
fwohci1: BUS reset
fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
pcm0: <Creative EMU10K1> port 0xa000-0xa01f irq 17 at device 14.0 on pci0
pcm0: <TriTech TR28602 AC97 Codec>
pcm0: [ITHREAD]
atapci1: <AcerLabs M5281 SATA150 controller> port 0x9400-0x9407,0x9000-0x9003,0x8800-0x8807,0x8400-0x8403,0x8000-0x800f irq 19 at device 16.0 on pci0
atapci1: [ITHREAD]
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci1
ata5: [ITHREAD]
pci0: <mass storage> at device 16.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci2: <VIA 8233A UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6000-0x600f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci2
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci2
ata1: [ITHREAD]
uhci2: <VIA 83C572 USB controller> port 0x5800-0x581f at device 17.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb3: <VIA 83C572 USB controller> on uhci2
usb3: USB revision 1.0
uhub3: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0x5400-0x541f irq 21 at device 17.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: <VIA 83C572 USB controller> on uhci3
usb4: USB revision 1.0
uhub4: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xd0000-0xd3fff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <vendor 0x1241 product 0x1122, class 0/0, rev 1.00/1.00, addr 2> on uhub3
ums0: 5 buttons and Z dir.
ukbd0: <vendor 0x1241 USB Keyboard, class 0/0, rev 1.10/2.80, addr 3> on uhub3
kbd2 at ukbd0
uhid0: <vendor 0x1241 USB Keyboard, class 0/0, rev 1.10/2.80, addr 3> on uhub3
Timecounter "TSC" frequency 1668712249 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76319MB <WDC WD800BB-00CAA1 17.07W17> at ata0-master UDMA100
ad1: 58644MB <IC35L060AVER07 0 ER6OA46A> at ata0-slave UDMA100
ad2: 78167MB <Maxtor 6Y080L0 YAR41BW0> at ata1-master UDMA133
acd0: DVDR <HL-DT-ST DVDRAM GSA-4163B/A104> at ata1-slave UDMA33
ad8: 239372MB <Maxtor 6V250F0 VA111630> at ata4-master SATA150
GEOM_LABEL: Label for provider acd0 is iso9660/FIREFLY_D4.
GEOM_LABEL: Label for provider ad2s1 is ntfs/Stuff.
GEOM_LABEL: Label for provider ad8s1 is ntfs/Data.
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
sis0: Applying short cable fix (reg=f0)
sis0: Applying short cable fix (reg=e8)
sis0: Applying short cable fix (reg=e8)
sis0: Applying short cable fix (reg=e8)


>How-To-Repeat:
kldload ntfs
mount -t ntfs /dev/ad2s1 /mnt
cd /mnt
mv -iv * ~/data
>Fix:
Since it's not possible to remove files from an NTFS volume due to restrictions on writing to NTFS, don't try to move files from the filesystem.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list