From owner-freebsd-questions Wed May 10 8:59:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from exmta1.rjf.com (exmta1.rjf.com [170.12.8.119]) by hub.freebsd.org (Postfix) with ESMTP id 3D37437B70D for ; Wed, 10 May 2000 08:59:38 -0700 (PDT) (envelope-from ICartwright@IT.RJF.com) Received: by exmta1.rjf.com with Internet Mail Service (5.5.2448.0) id ; Wed, 10 May 2000 11:59:36 -0400 Message-ID: <6D5097D4B56AD31190D50008C7B1579B912021@EXLAN5> From: Ian Cartwright To: 'Dan Nelson' , "FreeBSD Questions (E-mail)" Subject: RE: USB Zip drive Date: Wed, 10 May 2000 11:59:35 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sounds great, except for one small problem: my Zip drive is USB. So there is no on/off switch, no ID, etc. Personally, I think that using the dax device names for USB mass storage devises invites problems such as the one I am having, but maybe it will get fixed down the road... BTW: I did try changing fstab, but I ran into a different problem there. My boot drive is actually my second SCSI drive (ID1) so, it would normally show up as da1s1a, da1s1b, etc. When the Zip drive is plugged in, the second SCSI drive (now the third da device) shows up as da2. But my /dev directory has no entries for ufs slices (i.e. there is a da2, da2s1, da2s2, etc. but no da2s1a, da2s1b). Ian Cartwright Senior Engineer Raymond James Associates icartwright@it.rjf.com -----Original Message----- From: Dan Nelson [mailto:dnelson@emsphone.com] Sent: Wednesday, May 10, 2000 11:47 AM To: Ian Cartwright Cc: FreeBSD Hardware (E-mail); FreeBSD Questions (E-mail) Subject: Re: USB Zip drive 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-questions" in the body of the message