From owner-freebsd-questions Wed Jan 17 20:10:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA06933 for questions-outgoing; Wed, 17 Jan 1996 20:10:44 -0800 (PST) Received: from bacchus.eng.umd.edu (bacchus.eng.umd.edu [129.2.94.5]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA06917 for ; Wed, 17 Jan 1996 20:10:38 -0800 (PST) Received: from espresso.eng.umd.edu (espresso.eng.umd.edu [129.2.98.13]) by bacchus.eng.umd.edu (8.7.3/8.7) with ESMTP id XAA21198; Wed, 17 Jan 1996 23:10:37 -0500 (EST) Received: (chuckr@localhost) by espresso.eng.umd.edu (8.7.3/8.6.4) id XAA11854; Wed, 17 Jan 1996 23:10:30 -0500 (EST) Date: Wed, 17 Jan 1996 23:10:19 -0500 (EST) From: Chuck Robey X-Sender: chuckr@espresso.eng.umd.edu To: "Adam W. Dace" cc: questions@freebsd.org Subject: Re: Buslogic 946C + Bernouli ZIP Drive == ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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!: