From owner-freebsd-questions Fri Feb 8 19:23:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 163C937B41C for ; Fri, 8 Feb 2002 19:23:20 -0800 (PST) Received: (qmail 42591 invoked by uid 100); 9 Feb 2002 03:23:17 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15460.38437.93783.37935@guru.mired.org> Date: Fri, 8 Feb 2002 21:23:17 -0600 To: Brian T.Schellenberger Cc: questions@freebsd.org Subject: Re: USB drive -- problems In-Reply-To: <101833893@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian T.Schellenberger types: > Ok, with little confidence it would work, since I could find no very good > info on USB & FreeBSD, and there was no response to my query on the subject, > I decided in a "what the hell" moment to get a USB drive and see what > happened. > > I have a LaCie 80G drive. It was $250 for 80, USB 2, and if it works it > should be pretty darn cool. > > It is recognized by the kernel, so I thought I was doing pretty well, but > when I try to actually do anything with it, I run into trouble. Here are > some messages from /var/log messages, first hte successful boot stuff and > then the failure messages: > > Feb 3 04:31:21 i8k /kernel: uhci0: USB-A> port 0xbce0-0xbcff irq 11 at device 31.2 on pci0 > Feb 3 04:31:21 i8k /kernel: usb0: USB-A> on uhci0 > Feb 3 04:31:21 i8k /kernel: usb0: USB revision 1.0 > Feb 3 04:31:21 i8k /kernel: uhub0: Intel UHCI root hub, class 9/0, rev > 1.00/1.00, addr 1 > Feb 3 04:31:21 i8k /kernel: uhub0: 2 ports with 2 removable, self powered > Feb 3 04:31:21 i8k /kernel: umass0: LaCie LaCie StudioDrive USB2 , > rev 2.00/10.06, addr 2 > : > : > Feb 3 04:31:21 i8k /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Feb 3 04:31:22 i8k /kernel: da0: Fixed Direct Access > SCSI-0 device > Feb 3 04:31:22 i8k /kernel: da0: 650KB/s transfers > Feb 3 04:31:22 i8k /kernel: da0: 78167MB (160086528 512 byte sectors: 64H > 32S/T 12631C) > : > : > Feb 3 05:08:48 i8k /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 > 0 > Feb 3 05:08:48 i8k /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 > Feb 3 05:08:48 i8k /kernel: (da0:umass-sim0:0:0:0): Logical block address > out of range > Feb 3 05:08:57 i8k /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 > 0 > Feb 3 05:08:57 i8k /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0 > Feb 3 05:08:57 i8k /kernel: (da0:umass-sim0:0:0:0): Logical block address > out of range > > The set of error messages above were returned when I did a simple > > dd if=/dev/da0 That looks like it may be dd trying to read past the end f the disk, and the disk not handling it very well. You should have gotten a count of records from the dd. Did it match the length of the drive? > On the other hand, I *can* actually do an fdisk and it will at least tell me > that I have an 80G drive, so clearly *some* level of i/o must be working. Have you tried writing a slice table to the drive with fdisk? http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message