COS Recovery

The Project Continues…

Okay – I rebuilt the computer from scratch. I tracked down a disk pack older than me, and revived a 40 year old disk drive that weighs more than I do just to read it. If you haven’t noticed, I’d really like to get this thing up and running with real software at some point!

As one happy side-effect of my aforementioned data recovery project (which ultimately produced nothing particularly interesting), I caught the eye of a former Cray employee on the other side of the world, and thanks to the perfect alignment of the planets, managed to get a my hands on an actual Cray Operating System backup disk! I’m talkin’ about the real deal here – COS 1.17, the last version Cray released of the ill-fated operating system. I even managed to get it quickly enough that my hacked-together disk reading machine was still intact! Using the recovery script someone kindly contributed, I was actually able to image the disk and recovery a (mostly-intact) 64 megabyte image of it!

Things I currently know about it….

1. The disk belonged to a single-processor Cray X-MP.

2. The disk was formatted with 512Bytes/sector, 32 Sectors/track, 823 tracks/disk (808 + spares), 5 head/cylinder

3. This disk was probably used to boot the Cray’s I/O Subsystem (IOS), which was a little stack-based control processor connected to the main CPU(s). The IOS then loaded the OS into main memory.

4. It looks like the OS is probably in binary format (not source code).

5. In many spots the file just says “MISSING” – that’s actually output from my decoding software where a valid sector wasn’t found.

6. Thanks to a helpful contributor (Thanks Jim!), it appears that at least part of the file system has been deciphered:

  • Its big endian
  • There is a structure that looks like this:

[START OF FILE]
4 BYTES; (Size of disk)/2
[REPEAT]
2 BYTES; (Size of section or file)/2
2 BYTES; Empty (0×00 0×00)
8 BYTES; Name of section
X BYTES; Data (you can get the size from the first two bytes)
[/REPEAT]

I made a script to go through the file and look for that data structure, and then filter out all of the entries with size=0, and where the 8-Byte name field starts with a capital letter, only contains capital letters and numbers, and then ends in a string of all zeros (or is 8 letters/numbers).

For those who are interested, here is the output:  cos_file_listing

7. It looks like the first ~640 kilobytes or so have IOS-specific code. The IOS just dumped an image of COS into the main CPU’s memory, and then brought it out of reset. The IOS-code looks like it follows the linked-list format listed above

8. The disk appears to contain (at least portions of) 2 separate COS images. One starts at address 0x009a040, and the other starts at address 0x02d0040. It looks like the first one is at least partially mangled, and likely incomplete. This might have been leftovers from being overwritten or something. The other one appears to be in pretty good shape, but it’s not clear if it’s *completely* intact. The first 16 (8-byte) words contain the starting ‘exchange package’ of the machine, that tells it to jump to offset 0x7FF0 (measured in 16-bit 'parcels').

9.  Everything in the upper ~55 megabytes or so is just a counting pattern that is probably left over from disk formatting.

10. The data is ‘striped’ such that when laid out linearly as a 64MB image, it goes Cylinder/Head/Sector (i.e. the first 80 kilobytes is cylinder 0, the first 16 kilobytes is head 0, the first 512 bytes if sector 0). The data from heads 3 and 4 is pretty badly corrupted (~75% of sectors have issues, I think). I really need to upload the analog data to let people play around with it. From playing around with it, it looks like there is definitely significant improvement to be had.

I need your help!

Where does that leave us now? Despite a bit of corruption, the disk looks mostly intact, and loading the image into a hex editor, I can see all kinds of fun ASCII and such, but I still need to turn this into actual files! If you’re an uber-hacker that loves a reverse-engineering challenge, help me bring this beast back to life by getting an OS for it.

1. Get the image! (Thanks Internet Archive!)

2. Start hacking!

3. If you make any progress, drop me a line (christopher DOT h DOT fenton AT gmail DOT com) and I’ll update this page.

4. For the first person to actually figure out the file system, I’ll personally print them a tiny Cray-1 replica on my Makerbot Thing-o-matic and mail it to them =)

368 thoughts on “COS Recovery

  1. Pingback: Help bring a supercomputer back to life! » NYC Resistor » Electronics, Hacking, Classes, and Workspace.

  2. Pingback: Help [Chris] boot his Cray-1 supercomputer - Hack a Day

  3. Mr. Elliott,
    Letters via USPS sounds so novel in the internet age regardless if it is just one letter produced for many, but it doesn’t sound like a pen-pal relationship. Can just one write back again to the author with the letter?

  4. Pingback: xVRedtth

  5. Within my kinds, Grandma occasionally prepared sausages full of
    fontina additionally engrossed in cash. A metal place or possibly
    a spatula will most likely tidbit some gel wrapping at the article, making it mandatory it to
    be re-seasoned. Counter units you will find least expensive exactly where are a few chief, sleek and stylish
    choices is often inexpensive, selection you inhabit great kitchen counter time.
    Stoneware wouldn’t leach almost everything in your food which means your cooking will come flavored as if it truly. Finish further progression through extra fat more darker varnish coming from the on the inside of anytime you are clearing off superfluous grease using the wok.

  6. I simply want to mention I’m new to blogs and actually enjoyed you’re page. Likely I’m going to bookmark your website . You certainly have impressive posts. Many thanks for sharing with us your website page.

  7. Pingback: Manchester City Jersey

  8. Pingback: burberry coat

  9. Pingback: chanel purses

  10. Pingback: CHELSEA JERSEY AWAY

  11. Pingback: Hermes Scarves

  12. Pingback: Bag Chanel

  13. Pingback: Burberry Shirts

  14. Pingback: chanel outlet

  15. Pingback: PARIS ST GERMAIN JERSEY AWAY

  16. Pingback: boca juniors jersey home

  17. Pingback: Spain Jersey Away

  18. Pingback: Brazil Jersey 2014

  19. Pingback: CHANEL PURSE

  20. Pingback: argentina jersey

  21. Pingback: BURBERRY WALLET

  22. Pingback: juventus jersey

  23. Pingback: AUSTRALIA JERSEY

  24. Pingback: tottenham hotspur jersey away

  25. Pingback: Air Jordan 6

  26. Pingback: mbt sale

  27. Pingback: mbt shoes

  28. Pingback: Australia Jersey

  29. Pingback: MBT OUTLET

  30. Pingback: DENMARK JERSEY

  31. Pingback: mbt womens shoes

  32. Pingback: Real Madrid Jersey 2013

  33. Pingback: Cheap Oakley Sunglasses

  34. Pingback: poland jersey home

  35. Pingback: Hermes Birkin

  36. Pingback: mbt slippers

  37. Pingback: Mbt Sandals

  38. Pingback: CHELSEA JERSEY 2013

  39. Pingback: hermes wallets

  40. Pingback: cameroon jersey

  41. Pingback: nike free women

  42. Pingback: Gucci Outlet

  43. Pingback: CHANEL BAGS

  44. Pingback: NEWCASTLE UNITED JERSEY HOME

  45. Pingback: Mbt Footwear

  46. Pingback: AIR JORDAN 1

  47. Pingback: malaga jersey away

  48. Pingback: France Jersey

  49. I’m really enjoying the theme/design of your site. Do you ever run into any browser compatibility issues? A small number of my blog audience have complained about my website not operating correctly in Explorer but looks great in Safari. Do you have any ideas to help fix this problem?

  50. TFile – популярный, открытый и быстрый торрент-трекер основанный в 2006 году. За время своего существования завоевал доверие миллионов пользователей во всем мире. На ТФайле пользователи могут абсолютно бесплатно скачать фильмы, сериалы, игры, музыку, книги и многое другое, причем без регистрации.

  51. Excellent post. I was checking constantly this blog and I’m inspired! Extremely helpful information specifically the closing part :) I care for such info a lot. I was seeking this certain info for a long time. Thank you and best of luck.

  52. One important issue is that when you are searching for a education loan you may find that you’ll want a co-signer. There are many situations where this is true because you may find that you do not employ a past credit score so the mortgage lender will require that you’ve someone cosign the financial loan for you. Thanks for your post.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>