From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 31 21:26:20 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F171A16A417 for ; Tue, 31 Jul 2007 21:26:20 +0000 (UTC) (envelope-from ceco108@gimail.af.mil) Received: from athena.hrdnet.com (athena.hrdnet.com [208.194.177.119]) by mx1.freebsd.org (Postfix) with ESMTP id 98A0813C458 for ; Tue, 31 Jul 2007 21:26:20 +0000 (UTC) (envelope-from ceco108@gimail.af.mil) Received: from gimail.af.mil (unverified [208.194.177.29]) by athena.hrdnet.com (Vircom SMTPRS 4.4.571.23) with ESMTP id ; Tue, 31 Jul 2007 17:31:02 -0400 X-Modus-BlackList: 208.194.177.29=OK;ceco108@gimail.af.mil=OK X-Modus-Trusted: 208.194.177.29=YES X-Modus-Audit: FALSE;0;0;0 Message-ID: <4629e9c48f9b44ca98fcabe5747fd8c2.ceco108@gimail.af.mil> X-EM-APIVersion: 2, 0, 2, 6 X-Priority: 3 (Normal) From: "Cecil" To: peterjeremy@optushome.com.au, ceco108@gimail.af.mil Date: Tue, 31 Jul 2007 17:27:01 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=utf-8 Cc: cwelug@googlegroups.com, freebsd-mobile@freebsd.org Subject: RE: Re: hot swapping USB drives and install packages or ports from theCD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 21:26:21 -0000 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: 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: 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