Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 1996 23:10:19 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        "Adam W. Dace" <thekind@NETural.com>
Cc:        questions@freebsd.org
Subject:   Re: Buslogic 946C + Bernouli ZIP Drive == ?
Message-ID:  <Pine.SUN.3.91.960117230503.11781A-100000@espresso.eng.umd.edu>
In-Reply-To: <Pine.BSF.3.91.960117172924.6005A-100000@stormbringer.netural.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Jan 1996, Adam W. Dace wrote:

> Hi all, sorry to bother you all with yet another stupid question, but I'm 
> still a bit uncertain of how freebsd does it's internal labeling, and a 
> friend from #freebsd told me to send in this error, perhaps that I need a 
> patch for my Buslogic 946C driver:  (this from /var/log/messages)
> 
> Jan 16 09:54:43 stormbringer /kernel: (bt0:5:0): "IOMEGA ZIP 100 N*32" 
> type 0 removable SCSI 2
> Jan 16 09:54:43 stormbringer /kernel: sd1(bt0:5:0): Direct-Access
> Jan 16 09:54:44 stormbringer /kernel: sd1(bt0:5:0): ILLEGAL REQUEST 
> asc:24,0 Invalid field in CDB
> Jan 16 09:54:44 stormbringer /kernel: sd1 could not mode sense (4). Using 
> ficticious geometry
> Jan 16 09:54:44 stormbringer /kernel: 96MB (196608 512 byte sectors)
> 
> I'd very much like to format the disk in the drive, one partition, and be
> able to access it via /mnt/zip (for instance).
> 
> Basically, all I need to know is:  what do I need to do to get this sucker
> going?  I re-fdisk'ed it, but now am at a loss for what to do.
> 
> Any suggestions would be greatly appreciated.  Also, please cc: all 
> replies to thekind@netural.com.  I have procmail filtering freebsd into 
> mail/ folders and don't get much of a chance to look in there regularly.

OK, Put the following entry in your /etc/disktab file:
zip100|Iomega Zip 100: \
        :ty=winchester:dt=SCSI:se#512:nt#64:ns#32:nc#96:rm#3600:\
        :pa#196576:oa#0:ba#4096:fa#512:ta=4.2BSD: \
        :pc#196576:oc#0:

Here's the script I used to prepare a zip disk for mounting:

# /bin/sh
scsiformat -w /dev/sd1 && \
  disklabel -w -r /dev/sd1c zip100 && \
    newfs -Tzip100 /dev/rsd1a

I put that in a file /usr/local/bin/mkzip, you can name it what you want, 
but make it executeable and in the root users execution path.  Then just 
mount the disk:

mount /dev/sd1a /zip

Of course, you're going to have to modify the above to fit your local 
disk setup (my zip is my second disk, or sd1).


============================================================================
Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2
---------------------------------------------------------------------------
The Dilbert Zone is Dilbert's new WWW home! The area
features never-before-seen original sketches of Dilbert, a photo tour
of Scott Adams' studio, Dilbert Trivia and memorabilia, high
school photos and much more!:
<URL:http://www.unitedmedia.com/comics/dilbert/>;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960117230503.11781A-100000>