It isn’t usual to read a B-107 to its subject, but I’m going to set you straight. “Insubordinate. Insolent. A trickster. Perhaps with criminal tendencies”.

Harry Palmer

November 5, 2007

SGI Indy – Reprint from my old site

Filed under: Computers — ben @ 9:55 pm



Wow! I never thought I’d actually own one of these. After years of lusting after a work station like this I finally bought one on ebay from a guy in Leuven. I wanted an Indy so badly while I was in university. It was even on a fantasy shopping list which I kept in my Palm Pilot (along with a ’32 Ford hot rod and Lambretta. Well eventually I got the Lambretta too). It’s like owning a classic car, the quality of the construction is very high and the operating system, IRIX is very slick.

My fasination with these computers is centred around my interest in the movie special effects house Industrial Light and Magic. ILM re-invented the fading effects business in the mid seventies with its work on Star Wars. It was the first group to make the transition from the photo-chemical to the digital world, always using SGI equipment. ILM even have a technical partnership with SGI to share developments (called the JEDI agreement).


The IO capabilities of the Indy are quite amazing. ISDN, S-Video, RCA Analog Video and Digital camera input all come as standard. In fact there is a demo game that comes with the IRIX CDs that allows the user to control the game via the video camera! No need to touch the mouse or keyboard, the software determines your position in 3D from the 2D camera input. Along with the digital camera there is also an output for using LCD shutter glasses to allow the system to display stereo 3D.

Here is my machine. It’s an R5000 which means its one of the later models, which use the MIPS R5000 processor. This example is running at 150MHz with 32MB of RAM (maxed out at 256Mb in March ’03). When I bought it it was running Linux and came with no IRIX CDs or a screen. The price was rather low so I jumped at the chance to pick it up (on the train with my bike!). Only afterwards did I find out that IRIX system CDs are very hard to come by. Luckily I found an online shop in the UK called 13w3 (named after the video connector used in Sun and SGI UNIX boxes) run by a great chap called Ian who could sell me a copy of IRIX 6.2. For the first few months I managed to borrow a Sun 20″ multi-sync monitor from work which worked perfectly.

Recently I found a 17″ SGI/Sony monitor on eBay in the UK. It came from a guy in Leeds called James who runs a great SGI fan site called microcosmos. In this picture you can see the Indy is running the camera capture utility (that’s me in the window on the left of the screen taking the picture). It’s also running “fsn” the “Virtual Reality” file system navigator as seen during the infamous scene in Jurassic Park where the horrible girl says “I know this, it’s a UNIX system” (rest assured in the book it’s the boy who’s the computer nerd and the dinosaur nerd). Just to the left of the Indy you can see an Apple SE/30 running the fabled A/UX!

Here is a snapshot of the IRIX X Window desktop from my machine. You can see a terminal session, Netscape, the IRIS camera software and a game called Slotcar running. The slotcar game is one of a group of demos for SGIs Inventor software. Its fun, shows off the capabilities of the system very well and reminds me a lot of an arcade game called “Hard Driving” I played for hours as a teenager.

The downside to running a niche market operating system is that application software is quite difficult to come by. There are plenty of freeware open source utilities (all of the usual UNIX suspects) but finding commercial third party applications is very trying. This was always a problem when running Apple computers but the number of SGI machines around (especially in Europe) is far less. This is reflected in the prices of applications that sometimes appear for sale on the web. A copy of Adobe Photoshop 3.0 for IRIX and set you back by a lot of money.

This picture shows some optional input devices for SGI machines. The first is a Button box which extends the functionality of the keyboard. It allows the operator to assign key strokes to individual buttons. The second is a Dial box, this allows analog input to applications. For example it would be used by an animator to control XYZ transitions in a 3d modeling package.

Could it be possible that this device was inspired by the controls from the early motion control rigs at ILM? This picture shows ILM veteran Dennis Muren setting up a shot using the Dykstra-flex motion control rig built by ILM for The Empire Strikes Back. The dial control box he is using looks just like the box available from SGI 20 years later.

It seems likely as effects camera operators coming from the photo chemical world would have lots of experience using these devices but then have nothing similar when it comes to moving a virtual camera in software. Much like the DID (Dinosaur Input Device) developed by Phil Tippett (another veteran of TESB) for Jurrassic Park so that his animators would have something tactile to work with.

Issue 4 (1.04) of Wired magazine was so stoked by the machine that they gave it some column width. I found this copy of Wired in a charity shop just after acquiring the Indy. Wired wunderkind William Gibson is on the cover, I have to say I was a little skeptical but since starting to read his stuff a few years ago I’m hooked.

This is why I love eBay so much especially in the current economic climate where broke companies are off loading old stuff. Where else can you find great machines like this for a fraction of their former value. Boot sales and flea markets are fine for consumer items like old Macs but its on eBay that you see the real top line kit. I have no idea as to the origins of this particular machine. Leuven is a university town so I’m guessing that it was part of a media lab somewhere there. The previous owner didn’t hint as to where he’d got it, only that he was “running it with Linux as a DHCP server at home”. Well I didn’t want to press him on the point as he didn’t seem very keen to sell it and said he really needed the money.

Silicon Graphics ran this full page ad in the same issue. Click the image to see a larger version.




Here are some excellent Indy resources on the web.

* * *

August 1, 2007

Apple UNIX Terminals

Filed under: Computers — ben @ 8:28 pm

All this talk lately about using old Apple machines as serial terminals came to a head this weekend when Johan emailed me these links saying “Seen these?”

Not to be outdone I whipped up my own creation and sent him a picture right back :-

That’s NSCA Telnet running on Mac OS System 7. Thinking that serial connections were now old hat I fitted a TCP/IP network card from an old Performa and installed the Apple Open Transport extensions and hey presto, “it just works” :)

Ok I know it’s not rocket science but it whiled away a rainy sunday afternoon.

* * *

April 5, 2007

Solaris CDE Wallpaper

Filed under: Computers — Ben @ 7:34 am

Just in case you’d like to use that image as wallpaper on your Sun box I found this at http://www.sungames.com/CDE-wallpaper.html :-

If you have root:

Pick the image that you would like tiled all over your background.
Use Applications -> Image Viewer to open the file, and then save it as .xpm format.

mkdir /etc/dt/backdrops
chmod 755 /etc/dt/backdrops
cp yourimage.xpm /etc/dt/backdrops
chmod 755 /etc/dt/backdrops/yourimage.xpm

Log out, log back in, and it should appear in the list of backdrops you can pick. The image will be an available selection for all users on your system.

If you don’t have root:

Create the .xpm file as above, then

mkdir ~/.dt/backdrops
cp yourimage.xpm ~/.dt/backdrops

Exit CDE, log in again, and your image will be a valid wallpaper selection for your id henceforth.

* * *

The famous “UNIX Wizard” poster found at last!

Filed under: Computers — Ben @ 7:22 am

I’ve been searching for a copy of this poster for years! I saw it on the wall of an office in Bell Labs on my first trip to the US.

Just found this high res scan, the first I’ve seen to appear on the net :-

* * *

January 21, 2007

Apple Airport Printing from UNIX

Filed under: Computers — ben @ 8:45 am

I managed to get a HP LaserJet 5MP on loan from work for use when telecommuting. We have recently been upgraded from Dell Latitudes to IBM/Lenovo laptops but as these have no parallel port we were given Belkin USB to Centronics adapters.

Rather that just connecting it directly to the work laptop I thought I would try and get it working with the USB port of my Airport Extreme wireless router so I can print from all the machines at home.

This actually works fine when printing from a Mac as the printer is discovered immeadatly via Apples Bonjour protocol. I then wanted to be able to print from my Ultra 5 and SGI Indy. After searching around it seems the Airport Extreme is able to receive raw print commands via a socket a la HP JetDirect.

I found the following procedure which works great, but be aware that for some reason the latest firmware update for the Airport Extreme changes the raw port from 9100 to 9101 (this was very frustrating!) :-

http://weblogs.java.net/blog/mhadley/archive/2006/01/printing_to_an.html

Printing to an Apple Airport Connected USB Printer from Solaris
Posted by mhadley on January 30, 2006 at 09:39 AM | Comments (0)

The first thing to do is work out the IP address of the Airport base station to which you’ve hooked up the printer. The Airport Admin utility on a Mac can help out here if you have multiple base stations but if you have only one then its likely to the same IP address that is your default gateway. To find the default gateway type (the # represents the shell prompt, don’t type it):

# netstat -rn
and look for the ‘default’ entry.

To make sure you’ve got the right IP address try:

# telnet ipaddr 9100
where ipaddr is the IP address of the base station. If telnet connects then you’re probably on the right track.

Next you need to configure a Solaris printer queue that points to the networked printer. It turns out that the Airport base station works pretty much the same as a HP JetDirect print server and the following commands get the job done:

# lpadmin -p hp -v /dev/null -m netstandard -o dest=airport:9100 -o protocol=tcp -o banner=never -T PS -I postscript
# enable hp
printer “hp” now enabled
# accept hp
destination “hp” now accepting requests
# lpadmin -d hp

where hp is the name of the printer queue and airport is the IP address or DNS name of the base station. The first line creates the queue, the second and third enable the queue and set it to accept requests and the final line sets this new queue to be the default printer queue. The first line will need adjusting if you are using anything other than a PostScript printer, the key parts of the command are use of tcp for protocol rather than bsd and using TCP port 9100 on the base station.

I’ve secretly always wanted to have console output being printed to a tractor feed printer using that cool fan fold paper with green stripes. Oh well this will have to do I guess. I think I was born twenty years too late to be a real system operator.

UPDATE 04/07 : I’ve been experimenting with UNIX printing to an Airport Express. It looks like the port should be 9600 for the Apple Airport Express

ben@ultra5 /export/home/ben $ telnet 10.0.1.232 9100
Trying 10.0.1.232…
Connected to 10.0.1.232.
Escape character is ‘^]’.
@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

@PJL USTATUS TIMED
CODE=10001
DISPLAY=”00 READY”
ONLINE=TRUE

Connection to 10.0.1.232 closed by foreign host.

* * *

January 16, 2007

Sun case modding

Filed under: Computers — ben @ 11:17 am

It seems my efforts to install neon^H^H^H^H upgrade the PSU in my ultra 5 aroused some interest in the Linux on SPARC comunity

http://wiki.auroralinux.net/wiki/PimpYourSPARC

* * *

Scanning Using an old Apple SCSI scanner

Filed under: Computers — ben @ 10:24 am

The following step got an old Apple SCSI scanner working with my Ultra 5.

0. Download sane via blastwave

1. Setup the Sun generic SCSI Driver
# cd /kernel/drv
# vi sgen.conf
Make sure these two lines are valid
device-type-config-list=”processor”;
name=”sgen” class=”scsi” target=5 lun=0;

2. Stop (if required) and re-start the SCSI driver with new parameters

# modinfo |grep sgen
156 7beb6000 4678 151 1 sgen (SCSI generic driver 1.10)
# modunload -i 156
# devfsadm -v -i sgen

3. Set the SANE environment variable

# SANE_CONFIG_DIR=/opt/csw/etc/sane.d
# export SANE_CONFIG_DIR

4. Set Lib path (Not really sure if this is required)

# LD_LIBRARY_PATH=/opt/csw/lib
# export LD_LIBRARY_PATH

5. Setup the SANE SCSI device

# vi /opt/csw/etc/sane.d/apple.conf
Edit as follows :-

scsi APPLE
/dev/scsi/scanner/c1t5d0

6. Test SANE

# ./sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

found SCSI scanner “APPLE SCANNER A9M0337 0.00″ at /dev/scsi/scanner/c1t5d0
# Your SCSI scanner was detected. It may or may not be supported by SANE. Try
# scanimage -L and read the backend’s manpage.

# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# SANE has been built without libusb support. This may be a reason
# for not detecting USB scanners. Read README for more details.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can’t be detected by this program.

7. See if “Frontend” Application can see the driver and device (the “Backend” application)

# ./scanimage -L
device `apple:/dev/scsi/scanner/c1t5d0′ is a Apple SCANNER A9M0337 flatbed scanner
#

8. Launch frontend scanner GUI

# ./xscanimage

More information can be found here :-

http://www.sane-project.org/man/sane-apple.5.html

* * *

Sun Ultra 5 USB

Filed under: Computers — ben @ 10:23 am

For anyone wanting to add USB to an “older” Sun box which has PCI then it seems there are now very in-expensive cards around which work well. A google search turns up lots of advice about only using cards with NEC chipsets (e.g. from Adaptec or Belkin). However it seems that since Solaris 10 the VIA chipset in many other (cheaper) cards is also now supported.

Here’s the proof from http://www.motherboardpoint.com/t146825-adding-usb-to-and-ultra10.html

There are three basic interfaces for USB:

uhci – 1.x, not supported on SPARC until Solaris 10
ohci – 1.x, common to all architectures
ehci – 2.0, common to all architectures.

All chipsets are compatible with some or more of the above standards;
in a typical USB 2.0 configuration, there’s on USB 1.x uhci/ohci device
and one USB 2.0 ehci device per port.

In principle, all USB chipsets work but not all of them are robust.

E.g., on VIA chipsets below a certain revision, we’ll generally disable
USB 2.0 because it is not reliable (we allow you to reenable it).

People seem to have better luck with NEC.

Casper

Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

The card I found in my local branch of MediaMarkt is a VIA based card from “Trust”. More well known for their cheap and nasty PC accessories but hey it works and for 19.99 euro you can’t really complain about the price. A boot -r and all appears to be working. I’ve just mounted an external USB hard disk and also mounted some PC floppies in a USB floppy drive from LaCie.

* * *

Sun Ultra 5 PSU upgrade

Filed under: Computers — ben @ 10:22 am

Some pictures of my recent upgrade of the Ultra 5s PSU
Ultra 5

* * *

Printing via an Apple Airport Extreme from Solaris (and other exotic boxes)

Filed under: Computers — ben @ 10:18 am

I managed to get a HP LaserJet 5MP on loan from work for use when telecommuting. We have recently been upgraded from Dell Latitudes to IBM/Lenovo laptops but as these have no parallel port we were given Belkin USB to Centronics adapters.

I thought you might be interested to hear of my experiences setting it up at home. Rather that just connecting it directly to the work laptop I thought I would try and get it working with the USB port of my Airport Extreme wireless router so I can print from all the machines at home.

This actually works fine when printing from a Mac as the printer is discovered immeadatly via Apples Bonjour protocol. I then wanted to be able to print from my Ultra 5 and SGI Indy. After searching around it seems the Airport Extreme is able to receive raw print commands via a socket a la HP JetDirect.

I found the following procedure which works great, but be aware that for some reason the latest firmware update for the Airport Extreme changes the raw port from 9100 to 9101 (this was very frustrating!) :-

http://weblogs.java.net/blog/mhadley/archive/2006/01/printing_to_an.html

Printing to an Apple Airport Connected USB Printer from Solaris
Posted by mhadley on January 30, 2006 at 09:39 AM | Comments (0)

The first thing to do is work out the IP address of the Airport base station to which you’ve hooked up the printer. The Airport Admin utility on a Mac can help out here if you have multiple base stations but if you have only one then its likely to the same IP address that is your default gateway. To find the default gateway type (the # represents the shell prompt, don’t type it):

# netstat -rn
and look for the ‘default’ entry.

To make sure you’ve got the right IP address try:

# telnet ipaddr 9100
where ipaddr is the IP address of the base station. If telnet connects then you’re probably on the right track.

Next you need to configure a Solaris printer queue that points to the networked printer. It turns out that the Airport base station works pretty much the same as a HP JetDirect print server and the following commands get the job done:

# lpadmin -p hp -v /dev/null -m netstandard -o dest=airport:9100 -o protocol=tcp -o banner=never -T PS -I postscript
# enable hp
printer “hp” now enabled
# accept hp
destination “hp” now accepting requests
# lpadmin -d hp

where hp is the name of the printer queue and airport is the IP address or DNS name of the base station. The first line creates the queue, the second and third enable the queue and set it to accept requests and the final line sets this new queue to be the default printer queue. The first line will need adjusting if you are using anything other than a PostScript printer, the key parts of the command are use of tcp for protocol rather than bsd and using TCP port 9100 on the base station.

I’ve secretly always wanted to have console output being printed to a tractor feed printer using that cool fan fold paper with green stripes. Oh well this will have to do I guess. I think I was born twenty years too late to be a real system operator.

* * *
« Newer Articles