Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 11:59:35 -0400
From:      Ian Cartwright <ICartwright@IT.RJF.com>
To:        'Dan Nelson' <dnelson@emsphone.com>, "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: USB Zip drive
Message-ID:  <6D5097D4B56AD31190D50008C7B1579B912021@EXLAN5>

next in thread | raw e-mail | index | archive | help
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




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