hot swapping USB drives and install packages or ports from theCD

Peter Jeremy peterjeremy at optushome.com.au
Wed Aug 1 11:49:13 UTC 2007


On 2007-Jul-31 17:27:01 -0400, Cecil <ceco108 at gimail.af.mil> wrote:
>I found, download, and installed the packages a couple of times to
>get the config right for the packages to work together.

If you install all the packages at one time, you should get a consistent
set.  If you install different packages at different times, it's possible
that dependencies point to older versions.

>Here are the results:

[missing]

>Initial
>Jul 29 12:29:00 game kernel: usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
>Jul 29 12:29:00 game kernel: usb3: USB revision 2.0
>Jul 29 12:29:00 game kernel: uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>Jul 29 12:29:00 game kernel: uhub3: 6 ports with 6 removable, self powered
>Jul 29 12:29:00 game kernel: umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
>Jul 29 12:29:00 game kernel: umass1: Memorex TD Classic 003B, rev 2.00/1.10, addr 3
>Jul 29 12:29:00 game kernel: da1 at umass-sim1 bus 1 target 0 lun 0
>Jul 29 12:29:00 game kernel: da1: <Memorex TD Classic 003B PMAP> Removable Direct Access SCSI-0 device 
>Jul 29 12:29:00 game kernel: da1: 40.000MB/s transfers
>Jul 29 12:29:00 game kernel: da1: 981MB (2009088 512 byte sectors: 64H 32S/T 981C)

I gather you have some sort of external HDD attached (the umass0 line) as well.
That all looks reasonable.

>Detached
>Jul 29 14:02:27 game kernel: umass1: at uhub3 port 4 (addr 3) disconnected
>Jul 29 14:02:27 game kernel: (da1:umass-sim1:1:0:0): lost device
>Jul 29 14:02:27 game kernel: umass1: detached

Again, that looks reasonable.

>Re-attached

Was anything logged in messages?  What does "usbdevs -v" report after you
re-insert the USB stick.

> and open termand tried to rescan with the camcontrol
>rescan all command but was not detected.

You should not need to use camcontrol - the device should probe
automatically.  (In fact, AFAIK, the USB subsystem needs to
recognize the device to make it available to the SCSI subsystem
before the relevant SCSI bus exists for camcontrol to use).

> I noticed that the drive is
>being cognized as "removable, self powered" which wrong-did not power
>up when reinserted.

The "removable, self powered" refers to the USB ports - the ehci
(USB2) controller reports that there are 6 USB2 ports for removable
devices, all supplying power.  At this stage, I'm puzzled.  It's
possible that it needs some quirks and is hanging the bus but that
should give you error messages and clear when you remove the device.
Does the stick work normally the first time (ie until you disconnect
it)?  Do you get anything different if you try a different port?

>What is needed to be done for the umass1 to use system power

AFAIK, that is totally in the hardware.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20070801/a93b9afe/attachment.pgp


More information about the freebsd-mobile mailing list