Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2006 18:13:38 +0200
From:      Michael Gerhards <HM-Gerhards@web.de>
To:        freebsd-stable@freebsd.org
Subject:   usb-stick causes g_vfs_done error 5
Message-ID:  <iiuui3-q31.ln1@hmg.homeunix.net>

next in thread | raw e-mail | index | archive | help
Hello!

I've got a Pentium2-300 running FreeBSD 6.1-RC1. I added a PCI card
to the system in order to get USB 1.1/2.0 (the system only had USB 1.0).

When I try to sync data on an usb-stick (SanDisk Cruzer Titanium, USB2.0)
with the hard-disk, I sometimes get error messages like this in
/var/log/messages und rsync seems to lock up completly (kill not possible):

g_vfs_done():da0s1d[WRITE(offset=578486272, length =16384)]error = 5
g_vfs_done():da0s1d[WRITE(offset=770998272, length =16384)]error = 5
_vfs_done():da0s1d[WRITE(offset=771145728, length =16384)]error = 5
g_vfs_done():da0s1d[READ(offset=855392256, length= 81920)]error = 5

(only some of the many lines, but they differ only in the offset and length
values)

I formated this usb-stick with UFS2. But I get the same problem also
with another usb-stick (USB2.0) which is formated with FAT32.

My dmesg output concerning USB:
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xa000-0xa01f irq 9
 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 11 at device
 9.0 on pci0
uhci1: [GIANT-LOCKED]
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
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 9 at device 9.1
 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xeb001000-0xeb0010ff irq 9
 at device 9.2 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 4 ports with 4 removable, self powered

Using Google, I found <news:1138510995.86502.4.camel@localhost> 
of 01-29-2006 where an update to RELENG_6 is described as a possible
solution. But I already have this patched version on my system - so
what might go wrong on my system and how can I make USB2.0 work
correctly?

Many thanks in advance,

Michael





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?iiuui3-q31.ln1>