hot swapping USB drives and install packages or ports from
theCD
Cecil
ceco108 at gimail.af.mil
Tue Jul 31 21:26:21 UTC 2007
Hello Peter,
Please bear with me, the mail system is at fault nothing I can do about format.
>2. I would like to install Apache 2.2.4, PHP 5.2.3, and PHP-mysql
>5.2.3 from my cdrom but I dont really understand the port system and
>the dependicies, whether I should download the Distfiles to a CD
You have two options for ports:
a) Compile the ports yourself - which will automatically download distfiles.
b) Download pre-compiled binary packages and just install them.
A number of packages are available on the installation CDs or can
be downloaded from various FTP servers.
I found, download, and installed the packages a couple of times to get the config right for the packages to work
together.
Here are the results:
>3. I have a USB stick drives that I would like to hotswap in and out
>--- when I boot they are there as /dev/da1s1 but will not return when
>I reinsert the drive in the usb port.
This should work. If I understand you correctly, when you boot with
the stick inserted, it is detected correctly but if you remove it and
then re-insert it, it's not detected. Could you please post the
relevant sections of /var/log/messages showing the initial da1 probe
messages, when you remove it and when you re-insert it.
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)
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
Re-attached and open termand tried to rescan with the camcontrol rescan all command but was not detected. I
noticed that the drive is being cognized as "removable, self powered" which wrong-did not power up when
reinserted.
What is needed to be done for the umass1 to use system power
Thanks,
Cecil
More information about the freebsd-mobile
mailing list