>Number: 154828
>Category: usb
>Synopsis: Unable to create directories on external USB HDD with large
>msdosfs (g_vfs_done():da0s1[WRITE(offset=- ... , length=16384)]error = 5)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible:freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 16 19:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Frank Scheckenbach
>Release:8.2-RC3
>Organization:
>Environment:
FreeBSD FreeBSD.fritz.box 8.2-RC3 FreeBSD 8.2-RC3 #0: Sun Jan 30 06:28:31 UTC
2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
After a binary update from 8.2-RC2 to 8.2-RC3 I can no longer create
directories on my external USB HDD. The filesystem is fat32 and the drive is
manually mounted using "mount_msdosfs -o large". Writing, editing and deleting
files is still possible. But even when I write files to the HDD, dmesg reports
errors "g_vfs_done():da0s1[WRITE(offset=- ... , length=16384)]error = 5",
although, the files are correctly written. It is even possible to delete
directories but creating directories is impossible. The error does not occur on
any fat16/fat32 USB flash disk, nor did it occur before updating to 8.2-RC3.
Once the systems starts reporting these errors, it is impossible to unmount the
HDD, and if I force it to unmount the HDD using "unmount -f" the systems
freezes. Furthermore, these errors are reported continuously, after writing
once to the HDD, and do never stop.
The drive is working fine with other OSs and "fsck_msdosfs" reported a clean
filesystem.
#
dmesg
#
Copyright (c) 1992-2011 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 8.2-RC2 #0: Wed Jan 12 17:02:35 UTC 2011
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU U2300 @ 1.20GHz (1197.01-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x1067a Family = 6 Model = 17 Stepping = 10
Features=0xbfebfbff
Features2=0x400e3bd
AMD Features=0x20100800
AMD Features2=0x1
TSC: P-state invariant
real memory = 2147483648 (2048 MB)
avail memory = 2012815360 (1919 MB)
ACPI APIC Table:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi_hpet0: iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: on acpi0
cpu1: on acpi0
acpi_ec0: port 0x62,0x66 on acpi0
acpi_lid0: on acpi0
acpi_button0: on acpi0
acpi_button1: on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
vgapci0: port 0x1800-0x1807 mem
0xf000-0xf03f,0xd000-0xdfff irq 16 at device 2.0 on pci0
agp0: on vgapci0
agp0: detected 32764k stolen memory
agp0: aperture size is 256M
vgapci1: mem 0xf040-0xf04f at device 2.1 on
pci0
uhci0: port 0x1820-0x183f irq 21 at device
26.0 on pci0
uhci0: [ITHREAD]
usbus0: on uhci0
uhci1: port 0x1840-0x185f irq 21 at device
26.1 on pci0
uhci1: [ITHREAD]
usbus1: on uhci1
ehci0: mem 0xf0805800-0xf0805bff irq
20 at device 26.7 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: on ehci0
hdac0: mem
0xf080-0xf0803fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib1: irq 17 at device 28.0 on pci0
pci2: on pcib1
re0: port 0x2000-0x20ff
mem 0xf0904000-0xf0904fff,0xf090-0xf0903fff irq 16 at device 0.0 on pci2
re0: Using 1 MSI messages
re0: Chip rev. 0x2800
re0: MAC rev. 0x
miibus0: on re0
rgephy0: PHY 1 on miibus0
rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX,
100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX,
1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto,
auto-flow
re0: Ethernet address: 70:5a:b6:54:09:cb
re0: [FILTER]
pcib2: irq 16 at device 28.1 on pci0
pci3: on pcib2
pci3: at device 0.0 (no driver attached)
uhci2: port 0x1860-0x187f irq 23 at device
29.0 on pci0
uhci2: [ITHREAD]
usbus3: on uhci2
uhci3: port 0x1880-0x189f irq 19 at device
29.1 on pci0
uhci3: [ITHREAD]
usbus4: on uhci3
uhci4: port 0x18a0-0x18bf irq 18 at device
29.2 on pci0
uhci4: [ITHREAD]
usbus5: on uhci4
ehci1: mem 0xf0805c00-0xf0805fff irq
23 at device 29.7 on pci0
ehci1: [ITHREAD]
u