Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Adding a magneto-optical disk to alpha station
  1995-04-28  4:00 Adding a magneto-optical disk to alpha station Dr.F.Mencaraglia
@ 1995-04-28  4:00 ` Michael W. Walker
  0 siblings, 0 replies; 2+ messages in thread
From: Michael W. Walker @ 1995-04-28  4:00 UTC (permalink / raw)


In article <3nqdes$172a@serra.unipi.it>,
Dr.F.Mencaraglia <menca@iroe.iroe.fi.cnr.it> wrote:
>We are trying to add a magneto optical disk to out alpha station; the
>disk a a 1.3G from Sony (sony smo-f521-00). The problem is how to do
>this; I understand that we need some information to put in a disktab
>file so I looked in the ftp.digital.com file suggested in the FAQ but
>I could not finad any entry for the Sony.
>
>Has anybody successfully installed such a device and is willing to share
>the information? Or has anybody sonme helpful suggestion for solving
>the problem?
>

I have done this successfully with an HP C1716T, but I have never seen anyone
post an indication that they had made a Sony drive work.  I am appending here
a complete set of instructions for doing this with the HP drive.  To get this
done for the Sony, you will have to figure out exactly how to get it to 
identify itself as a SCSI device type 0 (= hard disk) instead of type 7 
(= optical).  You may need to get a hardware manual for the Sony drive to find
that out, though perhaps you can get this information from Sony support.  The
tail end of this post has a disklabel setup for the 1.2 GByte cartridges (which
are really ~600 MBytes/side).  Note that you have to use the 512 Byte/sector
format cartridges.

Good luck...and if you succeed, please post here.  Others have asked this same
question, but no one has ever posted a solution for a Sony drive.

==============================================================================


This is a first pass at a set of instructions for making an HP C1716T work on
a DEC Alpha under OSF/1.  It assumes that the reader already knows how to add
a normal third party SCSI disk drive to the system.  What is being described is
how to get the C1716 to identify itself as a winchester drive, not as an optical
device.


First of all, you must have the HP C1716 attached to the SCSI bus.  This example
is based on the C1716 being device 3 on SCSI bus 0.  Having done that, you must
enter superuser mode to use the "scu" facility[man pages section 8].

First, enter "scu".

  # scu

Then set the "nexus" to the appropriate SCSI address:
  scu> set nexus bus 0 target 3 lun 0

Verify that you have it set to what you want:
  scu> show nexus
  Device Nexus: Bus: 0, Target: 3, Lun: 0, Device Type: Optical

Show page # 0x21 of the C1716.  Should look something like this(note this is
more than one screen full unless you have a hugh monitor):
  scu> show page code 0x21
  
  Unknown Page Parameters (Page 21 - current values):
  
  Mode Parameter Header:
  
                   Mode Data Length: 23
                        Medium Type: 0x3
          Device Specific Parameter: 0x10
            Block Descriptor Length: 8
  
  Mode Parameter Block Descriptor:
  
                       Density Code: 0xa
           Number of Logical Blocks: 1163336
               Logical Block Length: 512
  
  Page Header:
                          Page Code: 0x21
                 Parameters Savable: Yes
                        Page Length: 10
                             Byte 2: 0x42
                             Byte 3: 0x8
                             Byte 4: 0
                             Byte 5: 0
                             Byte 6: 0x3
                             Byte 7: 0xe8
                             Byte 8: 0x2
                             Byte 9: 0x96
                            Byte 10: 0x5
                            Byte 11: 0
  

What has to be changed is the least significant bit of "byte 2" of page 0x21.
This is done as follows.  Note that the bytes are displayed one at a time.  If
you just hit return, the byte is unchanged, otherwise enter a new value.:
  scu> change pages code 0x21
  
  Changing Unknown Page Parameters (Page 21 - current values):
  
  Byte 2 [R:0-0xff D:0x42]: 0x43
  Byte 3 [R:0-0xff D:0x8]:
  Byte 4 [R:0-0xff D:0]:
  Byte 5 [R:0-0xff D:0]:
  Byte 6 [R:0-0xff D:0x3]:
  Byte 7 [R:0-0xff D:0xe8]:
  Byte 8 [R:0-0xff D:0x2]:
  Byte 9 [R:0-0xff D:0x96]:
  Byte 10 [R:0-0xff D:0x5]:


Now double check that you changed byte 2:
  scu> show pages code 0x21
  
  Unknown Page Parameters (Page 21 - current values):
  
  Mode Parameter Header:
  
                   Mode Data Length: 23
                        Medium Type: 0x3
          Device Specific Parameter: 0x10
            Block Descriptor Length: 8
  
  Mode Parameter Block Descriptor:
  
                       Density Code: 0xa
           Number of Logical Blocks: 1163336
               Logical Block Length: 512
  
  Page Header:
                          Page Code: 0x21
                 Parameters Savable: Yes
                        Page Length: 10
                             Byte 2: 0x43
                             Byte 3: 0x8
                             Byte 4: 0
                             Byte 5: 0
                             Byte 6: 0x3
                             Byte 7: 0xe8
                             Byte 8: 0x2
                             Byte 9: 0x96
                            Byte 10: 0x5
                            Byte 11: 0
  

Verify that the c1716 is now identifying as a direct access device:
  scu> show nexus
  Device Nexus: Bus: 0, Target: 3, Lun: 0, Device Type: Direct access


Leave "scu":
  scu> exit
  #
  

At this point, when you reboot the machine, the firmware resident should see
the C1716 as a disk rather than as an optical drive.  Adding it into service is
the same as adding any third party SCSI drive, although I did find that 
disklabel was not able to ascertain the geometry directly.  I use the following
as a prototype file for the disklabel:



type: SCSI
disk: rzHP
label: 
flags:
bytes/sector: 512
sectors/track: 62
tracks/cylinder: 10
sectors/cylinder: 620
cylinders: 1876
sectors/unit: 1163120
rpm: 2400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   131072        0    unused     1024  8192       	
  b:   262144   131072    unused     1024  8192       	
  c:  1163120        0    unused     1024  8192    	# Entire disk
  d:   256634   393216    unused     1024  8192       	
  e:   256634   649850    unused     1024  8192       	
  f:   256634   906484    unused     1024  8192       	
  g:   769904   393216    unused     1024  8192       	
  h:        0        0    unused     1024  8192       	



Note that you have to use optical cartridges with 512 byte sectors!



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Adding a magneto-optical disk to alpha station
@ 1995-04-28  4:00 Dr.F.Mencaraglia
  1995-04-28  4:00 ` Michael W. Walker
  0 siblings, 1 reply; 2+ messages in thread
From: Dr.F.Mencaraglia @ 1995-04-28  4:00 UTC (permalink / raw)


We are trying to add a magneto optical disk to out alpha station; the
disk a a 1.3G from Sony (sony smo-f521-00). The problem is how to do
this; I understand that we need some information to put in a disktab
file so I looked in the ftp.digital.com file suggested in the FAQ but
I could not finad any entry for the Sony.

Has anybody successfully installed such a device and is willing to share
the information? Or has anybody sonme helpful suggestion for solving
the problem?

Should the problem be not so interesting to use lot of bandwidth my
email address is menca@iroe.fi.cnr.it. 

Thanks

			Francesco Mencaraglia




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-04-28  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-28  4:00 Adding a magneto-optical disk to alpha station Dr.F.Mencaraglia
1995-04-28  4:00 ` Michael W. Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox