Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 95 8:06:44 EDT
From:      fcawth@squid.umd.edu (Fred Cawthorne)
To:        dufault@hda.com (Peter Dufault)
Cc:        obrien@leonardo.net, freebsd-hackers@freebsd.org
Subject:   Re: IOMega ZIP drive experiences
Message-ID:  <9506091206.AA21934@squid.umd.edu>
In-Reply-To: <199506090907.FAA14343@hda.com>; from "Peter Dufault" at Jun 9, 95 5:07 am

next in thread | previous in thread | raw e-mail | index | archive | help
I have the drive working pretty well under 2.0.5

There is one problem with the dos zip disks that come with it though.
You can't mount them unless you move the dos slice from partition 4 to
partition #1 (The first one).
Perhaps there is a bug in the slice code somewhere.  If I reformat the
disk using MS-DOS 6.2, then it mounts even with the partition in the
last entry... So the format these things come with must be wierd
somehow...
I am using an NCR scsi controller, so maybe there is some translation
problem or somehing, but I doubt it since fdisk gives me the same
geometry I used to get.  

My machine is a Pentium-90 with an NCR 810 scsi controller.
I have 32 megs of ram.
Here's some info from iozone:
Writing the 32 Megabyte file, 'iozone.tmp'...42.492188 seconds
Reading the file...40.554688 seconds

IOZONE performance measurements:
        789661 bytes/second for writing the file
        827387 bytes/second for reading the file



Here are some of the messages the scsi code spits out:

The probe of the drive gives:
(ncr0:6:0): "IOMEGA ZIP 100 L.27" type 0 removable SCSI 2
sd1(ncr0:6:0): Direct-Access 
sd1(ncr0:6:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd1 could not mode sense (4). Using ficticious geometry
96MB (196608 512 byte sectors)

I get the ILLEGAL REQUEST whenever I change disks.
(As well as this message of course):
sd1(ncr0:6:0): UNIT ATTENTION asc:28,0
sd1(ncr0:6:0):  Not ready to ready transition, medium may have changed

When I try to use the NCR scsiformat program under DOS, I also get an 
"invalid field in CDB" type message.

Also, when I fdisk it under FreeBSD, I get:
ioctl DIOCWLABEL: Operation not supported by device

Here's the disktab entry I use for the 100 meg zip disks:
zip|Iomega Zip drive 100MB:\ 
        :dt=SCSI:ty=winchester:se#512:nt#32:ns#64:nc#96:\
        :pa#196576:oa#0:ba#4096:fa#512:ta=4.2BSD:\
        :pc#196576:oc#0:

Here's the fdisk table of one of my FreeBSD zip disks:
jjarray# fdisk /dev/sd1
******* Working on device /dev/sd1 *******
parameters extracted from in-core disklabel are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=96 heads=64 sectors/track=32 (2048 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 196576 (95 Meg), flag 80
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 95/ sector 32/ head 63

And here's the disklabel:
jjarray# disklabel sd1       
# /dev/rsd1c:
type: SCSI
disk: zip
label: 
flags: bytes/sector: 512
sectors/track: 64
tracks/cylinder: 32
sectors/cylinder: 2048
cylinders: 95
sectors/unit: 196576
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   196576        0    4.2BSD      512  4096     0   # (Cyl.    0 - 95*)
  c:   196576        0    unused        0     0         # (Cyl.    0 - 95*)
 



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