Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 1996 09:32:17 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        doc@FreeBSD.ORG
Cc:        FAQ@FreeBSD.ORG
Subject:   Gregory D Moncreaff: Using Bernoulli 230 under FreeBSD 2.1
Message-ID:  <7808.833099537@palmer.demon.co.uk>

next in thread | raw e-mail | index | archive | help

Hi

Someone may like to look at this and put it in the doc somewhere. It
looks like one of these little tit bits of info that we should try and
publish somewhere to save other people hassle/worry/hair loss...

Thanks

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info

------- Forwarded Message

Date:    Fri, 24 May 1996 13:42:00 -0400
From:    Gregory_D_Moncreaff@ccmail.ed.ray.com
To:      gpalmer@FreeBSD.org, info@iomega.com, Robert_Connelly@ccmail.ed.ray.com,
	 Gregory_D_Moncreaff@ccmail.ed.ray.com
Subject: Using Bernoulli 230 under FreeBSD 2.1

     
     I noticed that there wasn't any information about using the 
     Bernoulli 230 (or any removable media) under FreeBSD 2.1 ( a BSD 4.4 
     Lite based unix )
     
     
     The Bernoulli was recognized by the SCSI adapter(with some 
     warning/error messages):
     
     ----------------------------------------------------------------------
     
     ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 15 on 
     pci0:17
     ahc0: aic7870 Ultra Single Channel, SCSI Id=7, aic7870, 255 SCBs
     ahc0 waiting for scsi devices to settle
     
     ...
     
     ahc0:A:6: refuses syncronous negotiation.  Using asyncronous transfers
     (ahc0:6:0): "IOMEGA BETA230 2.02" type 0 removable SCSI 2
     sd1(ahc0:6:0): Direct-Access 
     sd1(ahc0:6:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
     sd1 could not mode sense (4). Using ficticious geometry
     220MB (450566 512 byte sectors)
     
     ----------------------------------------------------------------------
     ---
     
     I had to change the partition sysid from DOS (the disk was originally
     formatted for DOS) to FreeBSD via the 'fdisk' program :
     
     ----------------------------------------------------------------------
     
     # fdisk /dev/sd1
     ******* Working on device /dev/sd1 *******
     parameters extracted from in-core disklabel are:
     cylinders=220 heads=64 sectors/track=32 (2048 blks/cyl)
     
     parameters to be used for BIOS calculations are:
     cylinders=220 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 450528 (219 Meg), flag 80
             beg: cyl 0/ sector 1/ head 1;
             end: cyl 219/ sector 32/ head 63
     
     ----------------------------------------------------------------------
     
     I added the following section to '/etc/disktab'
     
     ----------------------------------------------------------------------
     
     # Bernoulli transportable 230 (a really big floppy)
     
     bern230:\
             :ty=winchester:dt=SCSIse#512:nt#64:ns#32:nc#220:rm#3600:\
             :pa#447280:oa#0:ba#4096:fa#512:ta=4.2BSD: \
             :pb#447280:ob#0:bb#4096:fb#512:tb=4.2BSD: \
             :pc#447280:oc#0:bc#4096:fc#512:tc=4.2BSD: 
     
     ----------------------------------------------------------------------
     
     I the used 'newfs' to format the disk
     
     ----------------------------------------------------------------------
     
     # newfs -T bern230 /dev/sd1s4
     
     ----------------------------------------------------------------------
     
     I then could mount and read/write the disk
     
     ----------------------------------------------------------------------
     
     # mount /dev/sd1s4 /bern
     
     # df /bern
     Filesystem  512-blocks     Used    Avail Capacity  Mounted on
     /dev/sd1s4      422255        1   388473     0%    /bern
     
     
     ----------------------------------------------------------------------
     
     The related man pages refer to a command 'disklabel' whose write
     operations are not supported by the Bernoulli disk/drive.  There will 
     be messages logged to console about the disk not being labeled that 
     can be (safely?) ignored.  The output of 'disklabel', below, would 
     have, for a standard disk, type be 'SCSI', disk be a disk/bios 
     partition name, eg 'sd1', and the interleave should be non-zero.
     
     
     ----------------------------------------------------------------------
     
     # disklabel /dev/sd1
     
     # /dev/sd1:
     type: unknown
     disk: 
     label: 
     flags:
     bytes/sector: 512
     sectors/track: 32
     tracks/cylinder: 64
     sectors/cylinder: 2048
     cylinders: 220
     sectors/unit: 450566
     rpm: 0
     interleave: 0
     trackskew: 0
     cylinderskew: 0
     headswitch: 0           # milliseconds
     track-to-track seek: 0  # milliseconds
     drivedata: 0 
     
     3 partitions:
     #        size   offset    fstype   [fsize bsize bps/cpg]
       c:   450566        0    unused        0     0         # (Cyl.    0 - 
     220*)
     Warning, revolutions/minute 0
     boot block size 0
     super block size 0
     
     ======================================================================
     
     If any of this could be improved, I'd appreciate a response to this 
     message indicating how so.
     
     Feel free to distribute this info (with standard disclaimers!)
     
     dist:
     System Administration: Gary Palmer <gpalmer@FreeBSD.org>
     Iomega Info: <info@iomega.com>
     

------- End of Forwarded Message




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