Slashdot Mirror


Need Help Salvaging Data From an Old Xenix System

Milo_Mindbender writes "I've recently gotten ahold of an old Altos 586 Xenix system (a late '80s Microsoft flavor of Unix) that has one of the first multi-user BBS systems in the US on it, and I want to salvage the historical BBS posts off it. I'm wondering if anyone remembers what format Xenix used on the 10MB (yes MB) IDE hard drive and if it can still be read on a modern Linux system. This system is quite old, has no removable media or ethernet and just barely works. The only other way to get data off is a slow serial port. I've got a controller that should work with the disk, but don't want to tear this old machine apart without some hope that it will work. Anyone know?"

25 of 325 comments (clear)

  1. I'd do it the slow but secure way. by Securityemo · · Score: 5, Insightful

    Even if it would take weeks. You're handling a historical relic, don't want to mess it up.

    --
    Emotions! In your brain!
    1. Re:I'd do it the slow but secure way. by jgardia · · Score: 5, Informative

      exactly, 10mb at 9600bps will take only 2-3 hours.

    2. Re:I'd do it the slow but secure way. by Anonymous Coward · · Score: 5, Interesting

      No way it would take weeks. Even if the serial port was only 300 bit per second and he had to copy the whole 10MB disk through it this would take 10*1024*1024*8/300/3600=77.6 hours.
      Mid-80s I'd expect at least five-digit bps rates - at 14400bps this would take 1.6 hours

      so for G*ds sake, JUST USE THE SERIAL PORT

      I'd understand if he was talking about a terabyte via serial but 10 megabytes...

      But the real important question is: what to do with the salvaged data? If he'd want to post them online he might get in seriously shark-infected legal waters. Not everything I'd have posted in a BBS with a defined usergroup I gave permission to put on the internet without access control.

    3. Re:I'd do it the slow but secure way. by nurb432 · · Score: 5, Interesting

      I agree, I'm sure its minimal to read Xenix file formats for the data, but the risks of old components giving up the ghost are far to high. If it works now, just do it via serial port and be patient. Only if its in the process of dying would i take it apart.

      As an aside, i find it an odd odd claim that the 'first multi user BBS' would be on a 8086... Considering i did it on an 8bit machine long before the ix86 was on the market, and on a VAX before that. ( and wasn't chicago's Z80 powered cbbs multi line at one point? ) Still, sounds like it is worthy of saving for the sake of history, but it's not as special as you might think....

      --
      ---- Booth was a patriot ----
    4. Re:I'd do it the slow but secure way. by budgenator · · Score: 4, Interesting

      Xenix was a 16 bit Unix variant pretty much SRVR3 style,
      SCSI or IDE but not both on the same system,
      Bourne shell but no Bash,
      probably TCL but no Perl,
      more but not less are the things that pop inti my mind.
      The file system topography is a nightmare of symlinks and the interesting user files are probably in /usr rather in /home or /srv.
      The first thing I would try is to set up a serial link between the two machines and tar the filesystem pipe it through the serial port to the Linux box and capture it to a file there or multi-volume
        to the floppy disk, then just un-tar it and have fun on the copy; if that didn't work I get serious and dd the whole disk through the serial port. last resort would be to remove the hard-drive and try to mount -txenix it on a linux box.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    5. Re:I'd do it the slow but secure way. by Ambient+Sheep · · Score: 5, Informative

      A 16550 in the early 1980s? I'm sorry, but I think not.

      I wrote a lot of serial comms drivers back in those days, and I don't think I even /heard/ of a 16550 until the very late 80s. First one I actually met was probably in my brand new 486DX33 box I got in 1992, although to be honest I don't remember for sure. I didn't code for one until about 1994, and that was on an embedded system, as you still couldn't guarantee that all PCs would have them rather than 16450s or even 8250s.

      Also bear in mind that the original 16550s were broken so you couldn't use the FIFO feature (which was the whole point of the thing) properly; that wasn't fixed until the 16550A came along.

    6. Re:I'd do it the slow but secure way. by BitterOak · · Score: 4, Informative

      exactly, 10mb at 9600bps will take only 2-3 hours.

      Yep, and since your computer is a 586, there's a good chance the serial port will do 192kbps which even faster still. If you want to transfer binary files, I'd suggest using the zmodem protocol. Since your Xenix system was running a BBS, it almost certainly has software installed that will do zmodem file transfers.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    7. Re:I'd do it the slow but secure way. by djlowe · · Score: 4, Insightful

      Then there's the matter of making a cable for X-on/X-off... and the plucky archivist can proceed

      Wow, that brings back memories... since X-on/X-off is software flow control over serial communications, making a cable was a simple matter: Tie together the hardware flow control transmit/request signal lines together and loop them back to the receive lines on the same connector and so ensure that they'd always be high on each side... and then let the software handle it from there...

      I still have a soldering iron and solder in my service toolkit, which is in the trunk of my car - but I haven't used them in more than 15 years at this point. Hell, I can't remember the last time I used anything from my toolkit except for screwdrivers and needlenose pliers, but I still keep it around, just in case... I still have a serial breakout box, too *grin*

      I did service for a customer that had an Altos system, and after they remodeled their offices, had to add some terminals in the reception area. They insisted that it be neat, and so, I ran the cable into the walls, mounted old work boxes to the sheetrock (measuring everything so that they lined up with the electical outlets, of course), and then soldered DB-25 female connectors onto the cable, mounting them to stainless steel wallplates that had DB-25 cutouts... labeled the wallplates, and the cables on the far end, then made "patch cables" to go from the wallplates to the terminals. Neat, clean - and I had a blast doing it.

      And from that point on, I always tried to make any cabling I installed not only work properly, but be as neat as possible and documented as well.

      Regards,

      dj

    8. Re:I'd do it the slow but secure way. by igb · · Score: 4, Interesting

      As a minor point, SVR2 and SVR3 machines can't have symlinks, as the filesystem didn't include the functionality. What's referred to as `ufs' on, say, a Sun today is the Berkeley ffs or fffs; ufs in the context of Xenix is what's now sometimes called s5fs, which is a thinly veiled version of the Sixth and Seventh edition filesystem. I think there were 512 byte and 1 kilobyte versions. The correct way to shift the data off will be with uucp. SVR2 and SVR3 both shipped with HoneyDanBer uucp, and it'll interwork with modern equivalents; g protocol is the best bet. cpio and uucp should be enough to move the data.

  2. UUCP by John+Hasler · · Score: 5, Insightful

    It'll take a few hours at 9600 baud. It's your best bet. Let it run over night and the job is done.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  3. audio by nadaou · · Score: 4, Insightful

    if the thing has a pc speaker you can (with a bit of work) and a noisy export via modulated audio.

    of course if you have access to a serial port controller that's easily the simplest method.

    --
    ~.~
    I'm a peripheral visionary.
    1. Re:audio by Anonymous Coward · · Score: 5, Funny

      if the thing has a pc speaker you can (with a bit of work) and a noisy export via modulated audio.

      Alternatively, he could uuencode all the data, cat it to tty, take photos of the monitor and then OCR it.

      of course if you have access to a serial port controller that's easily the simplest method.

      Let's be realistic -- where's the fun in doing it like that?

  4. yeah by Anonymous Coward · · Score: 5, Informative

    Xenix used their "sco xenix" filesystem. The Xenix filesystem is supported under the mount utility in modern 2.6 linux kernels
    by Anonymous Coward

  5. NO DISASSEMBLE ALTOS! by NNKK · · Score: 5, Insightful

    Seriously, don't go there, not until you get the data off via the serial port (or flatly establish that you _can't_).

    You are dealing with a system that is lucky to be functional _at all_ after 25+ years, and presumably got heavy use while it was active. Corrosion, brittle plastics, dust worked into dangerous areas, etc..

    If it's working now, taking it apart stands a good chance of breaking something that is difficult or impossible to fully repair, and you don't want to go there until the information is preserved.

  6. Re:cu by Antique+Geekmeister · · Score: 4, Interesting

    It's Xenix. Ancient Xenix. Kermit wasn't commercial software, it was (and is) freeware. (http://www.columbia.edu/kermit/) Finding a way to compile and transfer Kermit to such an ancient system would take some serious archeological research, and some luck, because I certainly wouldn't expect to find it in Xenix from the days when Microsoft published it.

    Given that it's only 10 Megabytes, "cu" or "uucp" it over the serial port twice and compare the results. Then, when you're entirely confident, consider using your controller in a newer system to do a modern Linux or UNIX "dd" of the entire disk image. I'd be fascinated to know what filesystem that ancient OS used, and if there are drivers available in a modern Linux to actually read it directly. Perhaps someone here or on an old Xenix support group would know.

    There's also an odd source of SCO expertise that may be helpful, since SCO took over Xenix: the forums over at www.groklaw.net.

  7. Altos 586 by IGnatius+T+Foobar · · Score: 5, Informative

    What a great machine. The Altos 586 was the first machine I used to run my BBS (which has run nonstop since 1988 and is still online today) before SCO Xenix and later Linux arrived on the scene. It was an insanely cool computer.

    Anyway, even if there were an operating system available today that is still capable of parsing the Xenix filesystem, you wouldn't be able to get to it because the disk is attached to the system I/O board using an ST506 controller. Good luck finding a modern computer with one of those in it.

    You're going to have to move that data off the machine the way we did it back in the days when an Altos was a modern computer. Plug a null modem cable into that serial port and use UUCP to get the data moved. Or if the machine has rzsz installed, you might be able to get away with using Zmodem instead.

    --
    Tired of FB/Google censorship? Visit UNCENSORED!
  8. Re:No Removable Media? by Der+PC · · Score: 4, Informative

    Actually, the floppy drive has a higher probability of working than the hard drive, although it will need some cleaning :)

    The floppies can be anything... hard sector, soft sector... You'll have to verify it (xref the floppy mfg number to the manuals).

    Given patience, you may even make hard sector floppies from old softsector ones.

    The hard drive however is NOT an IDE drive. IDE wasn't designed until 1986, and wasn't widely marketed until a year or two later. The drive is either an MFM or RLL drive. Fifteen years ago you might have found an abundance of controllers that could handle these drives, but you'd still be hard pressed reading the data.

    I recommend that you get the Altos up and running, and transfer via the serial port to another machine. You should be able to get 9600 baud, and with any luck (although I'd doubt it) you might be able to push it to 19200.

    --
    This signature is DRM protected. By the DMCA, you are not allowed to counteract or oppose to it.
  9. Pre-March 1989 publications may be easier by davidwr · · Score: 4, Informative

    If the information was in a "public" forum, one visible with the access level generally granted to members of the general public, it's probably considered a "publication."

    If they were "published" prior to March 1, 1989 but not registered with the copyright office AND not marked (c) they might be in the public domain. See a lawyer.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  10. UUCP info you need by Kjellander · · Score: 5, Informative

    Setting up UUCP on Xenix
    Setting up UUCP on Linux

    If you really want to try to read the disk it is probably UFS which you can read from Linux.

    Hope this helps.

  11. Re:Reading the disk will be tricky. by charlie · · Score: 4, Interesting

    ... However, as I remember from back when I worked at SCO (years before the name and some assets were sold to the lunatics from Utah), Xenix filesystem and partition table support was rolled into SCO UNIX SVR3.2/386. And Open Desktop. And ODT came with a proper working TCP/IP stack. It's probably overkill, but once you've tried using uucp to get the files off the BBS, you might want to pull the ST506 drive (presumably an MFM-encoded one, not RLL-encoded) and stick it into a shiny new 386 with, say, 4Mb of RAM and a 40Mb disk with SCO UNIX installed. That should enable you to mount the filesystems and export them via NFS. It's a lot of work, though.

  12. File systems were simpler back then by bradm · · Score: 4, Informative

    Ah, the Altos systems. 8800 series, then 486, then 586. They used up numbers years before Intel got to them (the Altos 486 had an Intel 80186 in it, and 4 serial ports). Often paired with Wyse terminals. Anybody else remember "business basic"?

    It's almost certainly an ST506 drive; you will be very hard pressed to connect it to a PCI era system; probably can only get as far as AT bus machine.

    In any case, if you do manage to image the drive, the filesystem will be based on either Unix version 7, Unix System V, or the Berkeley Fast File System. It wasn't until Linux rolled along that we started to seriously fork into lots of file system variants. It's most likely the basic System V file system, which is well documented, and pretty simple stuff.

    The posters above are correct, however. You really should try the serial port approach first. I'd go for cu over uucp - getting uucp running can be quite an exercise in itself. And you'll want either tar or cpio; probably tar, but watchout for version and format incompatibilities there as well.

    You can also just cat the data out a serial port, and capture it as a session log on the other end. That's likely to be the easiest solution, and perhaps more reliable than any other.

    You haven't said what the nature of the data is, but after this much time laying dormant, you are likely to have substantial challenges at the application level interpreting the data as well.

  13. tar over serial? by ZorinLynx · · Score: 4, Informative

    You can use tar and serial ports.

    Once you get the systems connected via serial, you can do something like this on the Xenix box:

    tar cf /dev/serialdevice0 /home (or whatever directory you want to move)

    then on the Linux box on the other end:

    tar xpf /dev/ttyS0

    will unpack the data. Tar hasn't changed much in decades, and works very well through pipes like this. Good luck. :)

  14. Are you sure it's an IDE drive? More likely MFM by laing · · Score: 4, Informative
    As I recall, IDE drives first appeared with about 200MB of capacity. They replaced RLL drives which maxed out at about 140MB. Before RLL there was MFM (same electrical interface, different coding). If it's a 10MB drive, it's probably a Seagate ST506/412 (I had one on my CP/M box). You'll need an MFM controller in anything you hook it up to. You'll also need a BIOS that has a proper disk parameter table for the drive geometry. One problem that you're going to have is that all MFM controllers use ISA bus interfaces. (First there was ISA, then EISA, VLB, then PCI, then PCI-X and finally PCIe.) I haven't seen a computer manufactured with an ISA bus slot for well over 10 years.

    IMHO you should use the serial port to move whatever data you want moved. Your chances of success with other methods are low.

  15. Not all MFM controllers are compatible by linebackn · · Score: 4, Interesting

    I worked with a lot of MFM (ST506 interface) drives back in the day, and from my experience it was very unlikely that different models of MFM controller cards could read the drives from one another. If I installed a newer MFM disk controller card in a machine or moved the drive to a different machine with a different MFM controller, I would almost always have to re-low level format the drive before I could even run DOS format. (And mine were just FAT16 so the file system was never the issue)

    So even if you have another MFM controller card, unless it is the exact same model of card it is unlikely that you could read sectors off of the drive. Their underlying low-level formats seemed to differ.

    I also actually had the pleasure of briefly using an older model Altos 8600. That model had a bunch of serial ports for dumb terminals, an 8 inch floppy drive and an *8 inch* 40 meg Quantum Q2040 hard drive. I still have the 8" Microsoft Xenix floppy disks.

  16. Re:cu by brusk · · Score: 4, Informative

    Fairly recent Xenix binaries of Kermit exist: http://www.columbia.edu/kermit/ck80binaries.html#sco

    --
    .sig withheld by request