From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 15:33:13 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41E1410656AA for ; Tue, 15 Dec 2009 15:33:13 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id EED568FC65 for ; Tue, 15 Dec 2009 15:33:12 +0000 (UTC) Received: by ywh2 with SMTP id 2so4266857ywh.27 for ; Tue, 15 Dec 2009 07:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9zpTZJKhNfJu9KF1WGAodoY5fOK6xLuYEmVhDM5He+g=; b=FdQyC1IuAMVT7XbO9fAaWsjny21dpyoEVzeMMmbVefSZ9hOR1eE9Q9fIGpLGb/7wNa BsObTtJGZmOa5SSQYWvlx8Y1weMmKGwpLA/LogVgcYfxolMkzHEMY2Vt9II/BxVuMSjd 9IVfAppYaVFdjLqFOpjMqUCZ/sEdUOnu71Peo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=q1yYpUrRuWAlwC67vFxKwlbx4Bf6l3GWuyeVB/dQv8XrCWS8ORu6veW+kCCGs+524A 1RziCwj0Ct3mk7h1Rwcpy3tsX4G6WJsXAJ5TmTFbl5Q0zbV6BTGfUxox2ohzuRuAs2y2 MGHgOuEdemml2o8Fp9j5oIFgUSRQpbQOhJMDc= MIME-Version: 1.0 Received: by 10.101.15.11 with SMTP id s11mr9913207ani.29.1260891192048; Tue, 15 Dec 2009 07:33:12 -0800 (PST) In-Reply-To: <5fbf03c20912110917q7d41db01rc2d34b93b484d419@mail.gmail.com> References: <5fbf03c20912100108p72de71a8t95937304510c9a9a@mail.gmail.com> <5fbf03c20912100808w5606ef45i988d20c7171454a5@mail.gmail.com> <200912111037.05348.hselasky@c2i.net> <5fbf03c20912110917q7d41db01rc2d34b93b484d419@mail.gmail.com> Date: Tue, 15 Dec 2009 16:33:12 +0100 Message-ID: <5fbf03c20912150733o48f6bc59s5e42b478ebc8dbfd@mail.gmail.com> From: Spil Oss To: freebsd-usb@freebsd.org, Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Problem with 2.5" USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spil.oss@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 15:33:13 -0000 On Fri, Dec 11, 2009 at 6:17 PM, Spil Oss wrote: > On Fri, Dec 11, 2009 at 10:37 AM, Hans Petter Selasky = wrote: >> On Thursday 10 December 2009 17:08:53 Spil Oss wrote: >>> On Thu, Dec 10, 2009 at 10:08 AM, Spil Oss wr= ote: >>> > Hello all, >>> > >>> > Can't get my 2.5" USB drive to work reliably. The device has a ALI >>> > M5642 Chip and connects 2.5" PATA disks. Vendor 0x0402 is >>> > USB_VENDOR_ACERLABS /* Acer Labs */ which ALi is afaik. >>> > >>> > When I connect it: >>> > Dec =A08 16:11:20 gw root: Unknown USB device: vendor 0x0402 product >>> > 0x5642 bus uhub3 >>> > Dec =A08 16:11:20 gw kernel: ugen3.2: at usbus3 >>> > Dec =A08 16:11:20 gw kernel: umass0: >> > Device, class 0/0, rev 2.00/1.00, addr 2> on usbus3 >>> > Dec =A08 16:11:20 gw kernel: umass0: =A0SCSI over Bulk-Only; quirks = =3D 0x0000 >>> > Dec =A08 16:11:21 gw kernel: umass0:0:0:-1: Attached to scbus0 >>> > Dec =A08 16:11:21 gw kernel: da0 at umass-sim0 bus 0 target 0 lun 0 >>> > Dec =A08 16:11:21 gw kernel: da0: Fixed >>> > Direct Access SCSI-0 device >>> > Dec =A08 16:11:21 gw kernel: da0: 40.000MB/s transfers >>> > Dec =A08 16:11:21 gw kernel: da0: 38154MB (78140160 512 byte sectors: >>> > 255H 63S/T 4864C) >>> > >>> > When I try to dd/fdisk/bsdlabel the disk I tend to get >>> > Dec =A09 12:47:49 gw kernel: (da0:umass-sim0:0:0:0): AutoSense Failed >>> > Sometimes the LED on the cage stays red until I reconnect it. >>> > When I first `usbconfig -u 3 -a 2 reset` and then reconnect the disk >>> > it is recognized again. Tried both on an Intel GM855 and a nVidia >>> > nForce4 system. >>> > >>> > Errors that pop up when transferring data: >>> > Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE >>> > CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 >>> > Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION >>> > asc:28,0 Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): Not rea= dy to >>> > ready change, medium may have changed >>> > >>> > Strangely it seems that this device was recognized on a previous >>> > version of FreeBSD see http://takaq1.plala.jp/freebsd/usb/index.html >>> > (not that I've tried!) Not quite clear what version of FreeBSD that >>> > is. >>> > >>> > Ultimately FreeBSD crashes when I play around too long.. >>> > >>> > Can anyone assist? >>> >>> Saw on the list that usbconfig dump_device_desc is helpful, >>> problematic device is ugen3.2: >>> >>> ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH >>> (480Mbps) pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0200 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0001 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen3.2: at usbus3, cfg=3D0 >>> md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0200 >>> =A0 bDeviceClass =3D 0x0000 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0402 >>> =A0 idProduct =3D 0x5642 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0000 =A0 >>> =A0 iProduct =3D 0x0001 =A0 >>> =A0 iSerialNumber =3D 0x0002 =A0<12345678901234567890> >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> Thanks! >>> >> >> Have you tried a 9-current kernel? >> >> --HPS >> > Haven't tried a -CURRENT kernel. Guess that a kernel wouldn't be a big > change, but world..... > Have usbdevs.h and/or usbdevs_data.h changed considerably? > Hello all, Tried a GENERIC 9.0-CURRENT kernel csup-ped today just about 2 hours ago. Same problem. I seem to have been able to fdisk the disk, when bsdlabel-ing I get kernel: (da0:umass-sim0:0:0:0) AutoSense Failed The light on the USB cage stays red until I unplug it. Can anyone assist? Kind regards, Spil. PS from uname 9.0-CURRENT Tue Dec 15 15:09:49 CET 2009 /usr/obj/usr/src/sys/GENERIC i386