From owner-freebsd-stable@FreeBSD.ORG Sat May 6 16:24:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A720916A400 for ; Sat, 6 May 2006 16:24:16 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C19E43D53 for ; Sat, 6 May 2006 16:24:14 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FcPZe-0000nW-G8 for freebsd-stable@freebsd.org; Sat, 06 May 2006 18:24:06 +0200 Received: from p5086ce78.dip.t-dialin.net ([80.134.206.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 18:24:06 +0200 Received: from HM-Gerhards by p5086ce78.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 May 2006 18:24:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Michael Gerhards Date: Sat, 6 May 2006 18:13:38 +0200 Lines: 62 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5086ce78.dip.t-dialin.net User-Agent: tin/1.8.1-20060215 ("Mealasta") (UNIX) (FreeBSD/6.1-RC2 (i386)) Sender: news Subject: usb-stick causes g_vfs_done error 5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 16:24:16 -0000 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: port 0xa000-0xa01f irq 9 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xa400-0xa41f irq 11 at device 9.0 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xa800-0xa81f irq 9 at device 9.1 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: 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: 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 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