Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-27 Thread Jesse Guardiani
Jesse Guardiani wrote:

> This is interesting:
> 
> 
> [17:[EMAIL PROTECTED]:[~]# camcontrol devlist
>   at scbus1 target 0 lun 0 (da0,pass0)
> 
> [17:[EMAIL PROTECTED]:[~]# camcontrol inquiry 1:0:0
> pass0:  Fixed Direct Access SCSI-0 device
> pass0: Serial Number
> pass0: 1.000MB/s transfers
> 
> 
> So it looks like it's just not recognizing the file system on da0.
> Perhaps I should try `camcontrol format`? It would probably take for ever
> to format a 32Gb disk over a 1M link, but I could leave it on over
> night...
> 
> I originally formatted this disk by putting it in my primary drive sled
> in my laptop and running a partitioning program...

I just upgraded to FreeBSD 5.2-BETA and this drive works now! Apparently
something in the umass driver has changed for the better since 5.1-RELEASE
and 4.8-RELEASE (the systems I tested the drive on that didn't work).

Woo hoo!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Barney Wolff
On Mon, Nov 24, 2003 at 03:35:42PM -0700, M. Warner Losh wrote:
> : Why hasn't anything been committed?
> 
> Code freeze?

I understand the concept, but I haven't seen any reports of people
claiming that OHCI works for other than mice/keyboards without
the following patch (from "Brian F. Feldman" <[EMAIL PROTECTED]>):
--- ohci.c  12 Nov 2003 01:40:11 -  1.138
+++ ohci.c  22 Nov 2003 03:28:42 -
@@ -569,7 +569,7 @@
cur->td.td_cbp = htole32(dataphys);
cur->nexttd = next;
cur->td.td_nexttd = htole32(next->physaddr);
-   cur->td.td_be = htole32(DMAADDR(dma, curlen - 1));
+   cur->td.td_be = htole32(DMAADDR(dma, offset + curlen - 1));
cur->len = curlen;
cur->flags = OHCI_ADD_LEN;
cur->xfer = xfer;

It cured my problems with a Sony DSC F707.  Maybe most people with
OHCI controllers haven't had problems, but if so they've been quietly
satisfied.

-- 
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Jesse Guardiani
This is interesting:


[17:[EMAIL PROTECTED]:[~]# camcontrol devlist
  at scbus1 target 0 lun 0 (da0,pass0)

[17:[EMAIL PROTECTED]:[~]# camcontrol inquiry 1:0:0
pass0:  Fixed Direct Access SCSI-0 device
pass0: Serial Number
pass0: 1.000MB/s transfers


So it looks like it's just not recognizing the file system on da0.
Perhaps I should try `camcontrol format`? It would probably take for ever
to format a 32Gb disk over a 1M link, but I could leave it on over night...

I originally formatted this disk by putting it in my primary drive sled
in my laptop and running a partitioning program...

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]>
Barney Wolff <[EMAIL PROTECTED]> writes:
: Why hasn't anything been committed?

Code freeze?

Warner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Jesse Guardiani
Barney Wolff wrote:

> On Mon, Nov 24, 2003 at 04:44:02PM -0500, Jesse Guardiani wrote:
>> 
>> I'm running FreeBSD 5.1-RELEASE. I just bought a generic
>> USB 1.1/2.0/firewire external drive enclosure for my 32gb
>> Travelstar 2.0" 12.5mm hard drive.
>> 
>> The device shows up like this:
>> 
>> Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage
>> Device, rev 2.00/1.03, addr 3 Nov 18 14:06:16 trevarthan kernel: da0 at
>> umass-sim0 bus 0 target 0 lun 0 Nov 18 14:06:17 trevarthan kernel: da0:
>>  Fixed Direct Access SCSI-0 device Nov 18
>> 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers Nov 18 14:06:17
>> trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 63S/T
>> 3890C)
>> 
>> But `ls -al /dev/da*` reveals no slices:
> 
> If you're using an ohci usb controller, perhaps you need a patch.
> Browse the -current archives for the last week or so.

Sorry, I didn't realize that might be important.

Pretty sure it's UHCI:

[17:[EMAIL PROTECTED]:[~]% usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
 addr 2: USB Receiver, Logitech
addr 1: UHCI root hub, Intel


And from dmesg.boot:

uhci0:  port 0x1800-0x181f irq 9 at 
device 29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0x1820-0x183f irq 11 at 
device 29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0x1840-0x185f irq 9 at 
device 29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 1.0 IDE to ATAPI drive enclosure failure

2003-11-24 Thread Barney Wolff
On Mon, Nov 24, 2003 at 04:44:02PM -0500, Jesse Guardiani wrote:
> 
> I'm running FreeBSD 5.1-RELEASE. I just bought a generic
> USB 1.1/2.0/firewire external drive enclosure for my 32gb
> Travelstar 2.0" 12.5mm hard drive.
> 
> The device shows up like this:
> 
> Nov 18 14:06:16 trevarthan kernel: umass0: Acer Labs USB 2.0 Storage Device, rev 
> 2.00/1.03, addr 3
> Nov 18 14:06:16 trevarthan kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Nov 18 14:06:17 trevarthan kernel: da0:  Fixed Direct 
> Access SCSI-0 device
> Nov 18 14:06:17 trevarthan kernel: da0: 1.000MB/s transfers
> Nov 18 14:06:17 trevarthan kernel: da0: 30520MB (62506080 512 byte sectors: 255H 
> 63S/T 3890C)
> 
> But `ls -al /dev/da*` reveals no slices:

If you're using an ohci usb controller, perhaps you need a patch.
Browse the -current archives for the last week or so.

Why hasn't anything been committed?

-- 
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"