Re: USB Harddrive not recognized (umass appears, da0 not)

From: Tobias Grosser <grosser_at_fim.uni-passau.de>
Date: Sun, 30 Aug 2009 01:20:59 +0200
On Sun, 2009-08-30 at 00:06 +0100, krad wrote:
> 
> 
> 2009/8/29 Tobias Grosser <grosser_at_fim.uni-passau.de>
>         Hi,
>         
>         I just bought two external USB hard drives and tried to use
>         them on
>         
>         http://svn.freebsd.org/base/stable/8_at_196642
>         
>         The drives are: Western Digital My Passport Essential (500 and
>         320 GB)
>         
>         After connecting them I get these log messages:
>         ------------------------------------------------------------------------
>         ugen0.2: <Western Digital> at usbus0
>         umass0: <Western Digital External HDD, class 0/0, rev
>         2.00/1.75, addr 2>
>         on usbus0
>         umass0:  SCSI over Bulk-Only; quirks = 0x0000
>         umass0:0:0:-1: Attached to scbus0
>         ------------------------------------------------------------------------
>         
>         However there is never any 'ad' device created. So I am not
>         able to use
>         the harddisk.
>         
>         
>         "camcontrol devlist" does not return anything.
>         
>         
>         "camcontrol rescan all" blocks in:
>         ------------------------------------------------------------------------
>          1279 root   1  45    0  3472K   828K cbwait  0   0:00  0.00%
>         camcontrol
>         ------------------------------------------------------------------------
>         and returns after removing the usb disk.
>         
>         
>         After removing the disk I always get:
>         ------------------------------------------------------------------------
>         % sudo camcontrol rescan all
>         camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
>         ------------------------------------------------------------------------
>         
>         
>         /var/log/messages output is attached for
>         hw.usb.debug=99999, hw.usb.umass.debug=99999
>         
>         For this log first the drive was attached and afterwords it
>         was detached
>         again.
>         
>         Is there anything useful I can try to debug this problem? I
>         have DTRACE
>         and DDB/KDB installed.
>         
>         Thanks
>         
>         Tobi
>         
>         _______________________________________________
>         freebsd-current_at_freebsd.org mailing list
>         http://lists.freebsd.org/mailman/listinfo/freebsd-current
>         To unsubscribe, send any mail to
>         "freebsd-current-unsubscribe_at_freebsd.org"
> 
> do the drives work when you plug them in via a powered usb hub?
> 
It is the same. Just this:

-------------------------------------------------------------------------
ugen0.2: <vendor 0x04cc> at usbus0
uhub4: <vendor 0x04cc product 0x1122, class 9/0, rev 1.10/1.10, addr 2>
on usbus0
uhub4: 2 ports with 2 removable, self powered
ugen0.3: <Western Digital> at usbus0
umass0: <Western Digital External HDD, class 0/0, rev 2.00/1.75, addr 3>
on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0:-1: Attached to scbus0
-------------------------------------------------------------------------

Thanks for your help

Tobi
Received on Sat Aug 29 2009 - 21:21:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC