From owner-freebsd-hardware Wed May 10 8:47:42 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 7C11737B6D4; Wed, 10 May 2000 08:47:18 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA10689; Wed, 10 May 2000 10:47:13 -0500 (CDT) (envelope-from dan) Date: Wed, 10 May 2000 10:47:13 -0500 From: Dan Nelson To: Ian Cartwright Cc: "FreeBSD Hardware (E-mail)" , "FreeBSD Questions (E-mail)" Subject: Re: USB Zip drive Message-ID: <20000510104713.A4587@dan.emsphone.com> References: <6D5097D4B56AD31190D50008C7B1579B91201D@EXLAN5> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.14i In-Reply-To: <6D5097D4B56AD31190D50008C7B1579B91201D@EXLAN5>; from "Ian Cartwright" on Wed May 10 11:27:54 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In the last episode (May 10), Ian Cartwright said: > Hello All! > > I have a USB 250 MB Zip drive that I would like to use with my > FreeBSD workstation. But there is a problem when I hook it up: it is > detected before my SCSI devices are. It therefore becomes da0 which > is a Bad Thing since that is where my root partition is supposed to > be. Therefore I would like to be able to either a) have it detected > _after_ my SCSI devices or b) be able to hot plug it. Does anyone > know how I might go about accomplishing either a or b? You have a couple choices for a) 1. wire down your devices in your kernel config so each physical device (bus 1, id 1, lun 0) always appears as the same logical device (da0, etc). see LINT for examples. 2. shuffle the SCSI IDs so your ZIP has a higher ID 3. edit /etc/fstab and change the mountpoints to reflect the fact that your drives have moved. for b), make sure your scsi bus is idle, plug ZIP thing in and run "camcontrol rescan". This is dangerous, since you have a chance of zapping hardware. I've done it successfully a number of times, but don't recommend others do it :) Alternatively, you can hook the ZIP drive up but just leave it off until the system is booted. Then turn it on and run "camcontrol rescan". -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message