Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2007 21:49:09 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Cecil <ceco108@gimail.af.mil>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Re: hot swapping USB drives and install packages or ports from theCD
Message-ID:  <20070801114909.GL1152@turion.vk2pj.dyndns.org>
In-Reply-To: <4629e9c48f9b44ca98fcabe5747fd8c2.ceco108@gimail.af.mil>
References:  <4629e9c48f9b44ca98fcabe5747fd8c2.ceco108@gimail.af.mil>

next in thread | previous in thread | raw e-mail | index | archive | help

--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Jul-31 17:27:01 -0400, Cecil <ceco108@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 contr=
oller> 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.1=
0, 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=20
>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 w=
ell.
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.

--=20
Peter Jeremy

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGsHM1/opHv/APuIcRAtVIAKCza7Oc3E4hC9sjP6T5E4acI+z+WACdFshy
xDzY44b5V20uBX1WPD8bgOY=
=0wES
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--



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