Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2002 23:07:51 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        "Mike Meyer" <mwm-dated-1013656997.8f8b1f@mired.org>
Cc:        questions@freebsd.org
Subject:   Re: USB drive -- problems
Message-ID:  <20020209040751.ECBA1408A@i8k.babbleon.org>
In-Reply-To: <15460.38437.93783.37935@guru.mired.org>
References:  <15460.38437.93783.37935@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 08 February 2002 10:23 pm, Mike Meyer wrote:
> Brian T.Schellenberger <bts@babbleon.org> 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: <Intel 82801BA/BAM (ICH2) USB
> > controller USB-A> port 0xbce0-0xbcff irq 11 at device 31.2 on pci0
> > Feb  3 04:31:21 i8k /kernel: usb0: <Intel 82801BA/BAM (ICH2) USB
> > controller 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: <Maxtor 4 D080H4 DAH0> 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?

No, it errors out after mere seconds, and if I give a count it errors with 10 
records.

I guess I went too far in trying to simplify the command.

>
> > 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?

Yes, I can't get that to work quite right either.  I'll post more complete 
info shortly.

>
> 	<mike

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                ME -->  http://www.babbleon.org
http://www.eff.org   <-- GOOD GUYS -->  http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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