From owner-freebsd-questions@FreeBSD.ORG Mon Mar 26 20:03:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E39D16A408 for ; Mon, 26 Mar 2007 20:03:32 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5D613C4EB for ; Mon, 26 Mar 2007 20:03:31 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu ([151.77.236.62]) (authenticated bits=128) by parrot.aev.net (8.14.0/8.13.8) with ESMTP id l2QKBRFH054404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Mar 2007 22:11:33 +0200 (CEST) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.0/8.13.8) with ESMTP id l2QK3o1g033813 for ; Mon, 26 Mar 2007 22:03:51 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <46082707.9010307@netfence.it> Date: Mon, 26 Mar 2007 22:03:19 +0200 From: Andrea Venturoli User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.61 on 212.31.247.179 Subject: USB HD Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 20:03:32 -0000 Hello. I've attached an USB HD to my 6.2/i386 box and I'm having troubles. At boot I get: > uhci0: port 0xd800-0xd81f irq 21 at device 16.0 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xdc00-0xdc1f irq 21 at device 16.1 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 0xe000-0xe01f irq 21 at device 16.2 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 > uhci3: port 0xe400-0xe41f irq 21 at device 16.3 on pci0 > uhci3: [GIANT-LOCKED] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub3: 2 ports with 2 removable, self powered > ehci0: mem 0xe5012000-0xe50120ff irq 21 at device 16.4 on pci0 > ehci0: [GIANT-LOCKED] > usb4: EHCI version 1.0 > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 > usb4: on ehci0 > usb4: USB revision 2.0 > uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub4: 8 ports with 8 removable, self powered > umass0: JMicron USB to ATA/ATAPI Bridge, rev 2.00/1.00, addr 2 > ... > da2 at umass-sim0 bus 0 target 0 lun 0 > da2: Fixed Direct Access SCSI-2 device > da2: 40.000MB/s transfers > da2: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) I can mount this HD right and use it for a while, but then I'll get: > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > g_vfs_done():da2s1d[READ(offset=8165818368, length=131072)]error = 5 > ... and so on. Here's usbdevs -v: > alamar# usbdevs -v > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 addr 2: low speed, power 100 mA, config 1, Logitech USB Keyboard(0xc30a), Logitech(0x046d), rev 15.00 > port 2 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 addr 2: low speed, self powered, config 1, Smart-UPS 1500 FW:653.13.I USB FW:7.3(0x0002), American Power Conversion(0x051d), rev 0.06 > port 2 powered > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 addr 2: low speed, power 100 mA, config 1, Trackball(0xc404), Logitech(0x046d), rev 2.20 > port 2 powered > Controller /dev/usb3: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 powered > port 2 powered > Controller /dev/usb4: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: high speed, power 2 mA, config 1, product 0x2338(0x2338), vendor 0x152d(0x152d), rev 1.00 > port 3 powered > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered camcontrol devlist: > at scbus0 target 0 lun 0 (pass0,da0) > at scbus0 target 4 lun 0 (pass1,cd0) > at scbus0 target 5 lun 0 (pass2,da1) > at scbus0 target 6 lun 0 (pass3,cd1) > at scbus1 target 0 lun 0 (pass4,da2) > at scbus2 target 0 lun 0 (pass5,cd2) Where do I start? Any hint? Are USB controllers/external HDs fully supported in 6.2? bye & Thanks av.