Irix

From Aftenstorm Intelligence Unit
Jump to: navigation, search

Contents

Foreword

timestamp: 07.07.2003 22:26
first entry

Thomas lærer seg Silicon Graphics:



Jeg har aldri vært i kontakt med Silicon Graphics software før. Dette blir et utfordrene eventyr, inn i Irix's side av Unix-villmarken...


After ordering the operating system from SGI Norway (500,- eksl mva). I guessed that I needed to actually RTFM a bit before I got started. Soon, I realized that the filesystem being used wasn't, naturally, iso9660. Therefore, the cd was unreadable in Win32 environment. Not knowing what filesystem it contained either, I was unable to mount it in my Slackware Linux system.

Alrite, first knowledge plotted into my database:

SGI software packages usually doesn't ship with iso9660(or rockridge) filesystems, rendering them unreadable for Windows.

Changing the root password of an installed Irix system:

Thomas Frivold 11.07.2003


Installation Tricks and Hints

The Irix boot disc is the key to your machine. Once it was boot of a CD. One can quit the installation script and type su, then type passwd to change the root password!!

Always read the on screen messages and don't be afraid to change distributions Irix might be weird at the start, but once you got it setup it is very nice and stable!!!


Info snagged from: http://www.orcawerks.com/sgi/irix/install.html

Installing IRIX from Scratch

This text will describe in detail how to install Irix on a completely erased harddrive The main problem is that such hardrives hasn't got parititons on them, and therefore the maintenance menu is quite unusable.


Need to repartition root drive and reinstall OS:

1. Boot fx and repartition(Keep in mind that this will erase any data on the disk):

Power the system up and "Stop for System Maintenance."

Click on the "Command Monitor" button.

Put the IRIX 6.5 Installation Tools in the CDROM if your installing 6.5 Put the 6.5.x Installation Tools and Overlays 1-of-2 in the CDROM drive if your installing 6.5.x


Start fx from the CDROM with the following command or variation according to the type of processor on the system:

sash and fx versions(use uname -aR to find processor type):

Processor Type sash Version fx Version IP17 sashIP17 fx.IP17 IP12, IP19, IP20, IP22 sashARCS fx.ARCS IP21, IP25, IP26, IP27, IP30 sash64 fx.64

Note: For IP28, use 'sashARCS' for R4K, 'sash64' for R10K Note: For IP32, use 'sashARCS' for R5K, 'sash64' for R10K

>> boot -f dksc(<ctrl>,<id>,8)sashARCS dksc(<ctrl>,<id>,7)/stand/fx.ARCS

Use the 'hinv' command to get Controller Number amd scsi id of the CDROM drive where <ctrl> is the SCSI controller ID and <id> is the SCSI ID of the CDROM drive.

Once fx is invoked follow the procedure outline below (Note that only lines where information is entered are displayed in the example below)

fx: "device-name" = (dksc) <Enter> fx: ctlr# = (0) <enter SCSI controller number> fx: drive# = (1) <enter SCSI disk ID> fx: lun# = (0) <Enter> fx> repartition fx/repartition> rootdrive fx/repartition/rootdrive: type of data partition = (xfs) <Enter> Warning: you will need to re-install all software and restore user data from backups after changing the partition layout. Changing partitions will cause all data on the drive to be lost. Be sure you have the drive backed up if it contains any user data. Continue? yes fx/repartition> /exit


2. Boot miniroot and create a filesystem:

Power up the system and "Stop for System Maintenance" Select 'Install system software' Put in IRIX 6.5.X Overlays 1 into the CDROM Select 'Local CDROM' Select Install It will install miniroot for you

Now from miniroot:

Inst>Admin Admin> sh

  1. umount /root
  2. mkfs /dev/dsk/dks0d1s0 (Run mkfs on your system disk)
  3. mount /dev/dsk/dks0d1s0 /root
  4. exit

Admin> exit

This will put you at the inst prompt. You are now ready to install the OS. Follow one of the procedures listed below:


Install IRIX 6.5.X without MipsPro compilers Fix: Perform the following procedure:

Note: This procedure will wipe your disk of all data. If you need the data you will want to create a backup before doing this procedure.

You will need the following CDs:

Irix 6.5 Foundation 1 CD Irix 6.5 Foundation 2 CD Irix 6.5 Development Libraries CD Irix 6.5 Development Foundation CD Irix 6.5.X Applications CD If this machine will use NFS:

 Irix 6.5 ONC3NFS CD

If installing Irix 6.5 - 6.5.7:

 Irix 6.5.X Overlays (1 of 2) CD
 Irix 6.5.X Overlays (2 of 2) CD

If installing Irix 6.5.8 - 6.5.14:

 Irix 6.5.X Overlays (1 of 3) CD
 Irix 6.5.X Overlays (2 of 3) CD
 Irix 6.5.X Overlays (3 of 3) CD

If installing IRIX 6.5.15 or greater:

 Irix 6.5.X Overlays (1 of 3) CD
 Irix 6.5.X Overlays (2 of 3) CD
 Irix 6.5.X Overlays (3 of 3) CD
 Irix 6.5.X Overlays (4 of 4) CD


<a href="primus://:2.0.1993975.2554039">Boot miniroot</a> from either the Irix 6.5.x Overlays (1 of 2) CD or the Irix 6.5.x Overlays (1 of 3) CD.

Wipe the disk clean by making a new filesystem: Inst> sh

  1. umount -a
  2. mkfs /dev/dsk/dks0d1s0
  3. exit

Inst> quit Restart the system

<a href="primus://:2.0.1993975.2554039">Boot miniroot</a> from either the Irix 6.5 Installation tools CD or the Overlays (1 of 2) CD or the Overlays (1 of 3) CD.

Insert the Irix 6.5 Foundation 1 CD in the CD drive. Inst> open /CDROM/dist Inst> sh

  1. eject
  2. exit

Insert the Irix 6.5 Foundation 2 CD in the CD drive. Inst> open /CDROM/dist Inst> sh

  1. eject
  2. exit

Insert the Irix 6.5 Development Libraries CD in the CD drive. Inst> open /CDROM/dist Inst> sh

  1. eject
  2. exit

Insert the Irix 6.5 Development Foundation CD in the CD drive. Inst> open /CDROM/dist/dist6.5 Inst> sh

  1. eject
  2. exit

If this machine will use NFS:

 Insert the Irix 6.5 ONC3NFS CD in the CD drive.
 Inst> open /CDROM/dist/dist6.5
 Inst> sh
 # eject
 # exit

Insert the Irix 6.5.X Applications CD in the CD drive. Inst> open /CDROM/dist/ Inst> sh

  1. eject
  2. exit

If installing Irix 6.5 - 6.5.7:

 Insert the Irix 6.5.x Overlays (1 of 2) CD in the CD drive.
 Inst> open /CDROM/dist
 Inst> sh
 # eject
 Insert the Irix 6.5.x Overlays (2 of 2) CD in the CD drive.
 Inst> open /CDROM/dist
 Inst> sh
 # eject

If installing Irix 6.5.8 or greater:

 Insert the Irix 6.5.x Overlays (1 of 3) CD in the CD drive.
 Inst> open /CDROM/dist
 Inst> sh
 # eject
 # exit
 Insert the Irix 6.5.x Overlays (2 of 3) CD in the CD drive.
 Inst> open /CDROM/dist
 Inst> sh
 # eject
 # exit
 Insert the Irix 6.5.x Overlays (3 of 3) CD in the CD drive.
 Inst> open /CDROM/dist
 Inst> sh
 # eject
 # exit

Inst> keep * Inst> install standard Inst> conflicts Note: If you run into java conflicts you can resolve them by opening the IRIX 6.5.X Applications CD with the path '/CDROM/dist/dev'. Inst> go ... Installation will proceed. Inst> quit

Restart the system.

Abu Bakarr Conteh NT/UNIX Support Engineer SGI EMEA CSC 1530 Arlington Business Park Theale, Reading RG7 4SB Norway: 67 11 46 01 Sweden: 08-470 00 90 United Kingdom: 00448706074474 Support email: support@europe.sgi.com www.sgi.com

How to enter MAINTENANCE CONSOLE

Maintenance mode terminal:

To list the contents of a cdrom disc, one first needs to discover the scsi id's with the "hinv" command. Then you simply type "ls dksc(x,x,x)"

On my system this is "ls dksc(0,4,8)"

From now on, I will use my scsi adresses as example values


To boot the installation hardrive paritioning software, simply do has beforementioned "hinv" to discover the scsi adresses.

Then issue the command: boot -f dksc(0,4,8)sashARCS dksc(0,4,7)/stand/fx.ARCS

Now, paritition the drive, the fx utility is an okay program which should be pretty straight forward...

When finished, enter "quit" tap enter and the system will eventually reboot.

Reviving a completely dead system

Reviving a completely dead O2 system: submitted by Thomas 11.07.2003



Very important tip from Greg Douglas [Thanks! :-)],

Right next to the clock chip (between it and the TI TL16PIR552PH chip), is a jumper that can be used to revive apparently comatose O2 patients. Move the jumper to the other direction, power up, it would power up, then power down again to change back the jumper. The O2 would now work properly. The trick is called the "NVRAM jumpstart", apparently it bypasses the front panel and power up the machine. Thankfully I don't have to try that trick on my O2s yet!

On a related note, ALWAYS ALWAYS ALWAYS remove the power supply chord BEFORE removing the CPU/ motherboard module!!!

You have been warned!!


Valuable information snagged from: http://www.orcawerks.com/sgi/o2/page2.html

Green Monitor Image

Submitted by Thomas Frivold Date: 07.07.2003 Time: 2130 GMT +1

Problem: My monitor seems tinted green, why? I've taken a screenshot and viewed the file on another computer, and it seems fine. Maybe it's hardware fault or something?


Sollution: No, it's not the monitor at all. Some monitors seems to interpret the signals coming from the O2 box a tad wrong. To solve this, log in as root, in the toolchest, click the Display Setup. Then click the Gamma correction dialog. Click file, and save the default settings. Then you drag the Green gamma setting downwards to the right, reducing the green from the RGB spectre. Voila! The monitors colours should look better now.


Connecting to a gateway

How do I specify a gateway in the Irix operating system?


Hi uncletom,

Gated is a daemon used when configuring IRIX as an Internet Gateway, which usually requires two interfaces, a primary and a secondary to provide Internet service to a local intranet.

Sice you mentioned you are interested in knowing how to set up network options, I believe what you are looking for is how to set up an IRIX system to get outside an internal network and possible access the Internet. For that purpose you need to know about a different daemon, called ROUTED. Routed takes care of the network routing table. You can check with the chkconfig command to see if "routed" is on. If not turn it on, try:

$chkconfig routed on

then you need to specify a static default route (considering that this is the only gateway you are going to have).

$ cd /etc/config $ nedit static-route.options

Add the following line to the static-route.options file: $ROUTE $QUIET add net default xxx.xxx.xxx.xxx

Where xxx.xxx.xxx.xxx is the IP of the gateway. Make sure there is no # (pound sign) at the beginning of the new line. Save the file and restart your system.

Hope this be of help to you Julio Quijada


After adding the default route to the static-route.options file, check your /etc/resolv.conf file and add there the address of your DNS name, something like this:

nameserver xxx.xxx.xxx.xxx

Then check your /etc/hosts file and make sure that 1) your Irix's machine name is listed as well as 2) your names server, which entries would look like:

127.0.0.1 localhost xxx.xxx.xxx.xxx irixbox.name irixbox xxx.xxx.xxx.xxx dnsname.server dnsname

Save the file and then try your internet again.

Hope this helps, Julio


url: http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/20/pid/59/qid/412166

Enabling the network adapter

My network adapter doesn't work!


Ethernet Modes O2 Supports 100/10 Mbps Ethernet @ either Half or Full duplex.

To switch Ethernet modes one has to go into PROM 1.click on "Stop for maintence" button; 2.Press 5 or command line button (fifth option); 3.setenv -p ec0mode mode_name ; where mode_name is H10/F10/H100/F100 H=Half,F=full duplex. 4.reboot


Greetings to Orcawercs for this valuable information: http://www.orcawerks.com/sgi/o2/page2.html

End note legacy

I was a hopeful at the time (back in 2003) that I would become a true Irix wizard, and be able to type these holy commands into a far more powerful system. Some time later, I sold my last working unit of the SGI O2 machines I had, in addition Silicon Graphics Incorporated filed for bankruptcy on April 1st 2009 and then my Irix dream slowly faded away...

Maybe we'll be able to virtualize these beautiful systems one day

Feel free to leave comments anywhere

Personal tools