Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Feb 2002 21:23:17 -0600
From:      "Mike Meyer" <mwm-dated-1013656997.8f8b1f@mired.org>
To:        Brian T.Schellenberger <bts@babbleon.org>
Cc:        questions@freebsd.org
Subject:   Re: USB drive -- problems
Message-ID:  <15460.38437.93783.37935@guru.mired.org>
In-Reply-To: <101833893@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

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

	<mike
--
Mike Meyer <mwm@mired.org>			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




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