How can I successfully mount an 8-bit SCSI drive on a modern computer?

18,887

Solution 1

Old NeXT hardware. SWOON!

Getting a SCSI2 -> SCSI 1 adapter should be trivial. There were both internal and external varieties. Google is your friend. For some reason I thought the "newer" slabs should be SCSI2 but it's been a long time.

You still have to terminate the SCSI chain. Keep to addresses 0-7.

Further just Googling for "scsi-2 pci card" comes up with hits. An Adaptec card for instance should still have good working SCSI support on linux. Looks like one can be had for ~$20.

Here's the thing tho. How the heck are you going to read the file system using anything BUT NeXTSTEP? I suppose you might be able to boot an old NeXTSTEP/OpenStep Intel cd, and ftp/scp/rsync over the files you're looking to save after you've mounted the drive. The trick would probably be finding an Adaptec card which OpenStep supported.

Good luck!

Solution 2

I've got a NeXTStation slab, and I'm trying figure out why it doesn't boot. I removed the drive from the NeXTStation and installed it in old PC (IBM Z Pro) with an onboard UltraWide SCSI controller. I found an adapter which converts from the 80-pin UW-connector to the old style 50-pin connector used by SCSI-1 drives. Other obvious choices could be digging up an SCSI-1 controller. If it's a NeXTStation slab, the drive is probably already terminated with SIL-style resistors, so you don't need any on the SCSI cable.

I booted up the system and the drive was detected as /dev/sdc. Before doing anything else, I took a complete backup of the entire drive like this:

dd if=/dev/sdc of=backup.img bs=$[1024*1024*32]

It's a Seagate ST1280 drive, so the resulting file was around 238MB. After this, I manually added the ufs module to the kernel, although this may not be necessary:

modprobe ufs

I'm running Fedora 21, so the ufs module was part of the kernel-modules-extra package. After this, the disk can be mounted with this command:

mount /dev/sdc /mnt/nextstep -t ufs -o ufstype=nextstep

The UFS module installed from kernel-modules-extra only supports read only though, as seem with dmesg:

ufs: ufs was compiled with read-only support, can't be mounted as read-write

If you need to mount it read-write, you probably need to recompile the kernel and/or module.

Share:
18,887

Related videos on Youtube

Don MacAskill
Author by

Don MacAskill

Updated on September 18, 2022

Comments

  • Don MacAskill
    Don MacAskill over 1 year

    I have a number of internal 8-bit SCSI-1 drives that I'd like to archive for historical purposes. These are all the old NeXT Cubes and NeXTStations (monochrome and color) that were used by id Software to create DOOM and Quake. I'd like to donate the machines somewhere they can do some good, but John Carmack had me promise more than a decade ago that I'd wipe the drives if I ever passed them along, and I'd hate to lose any priceless data that's on them.

    In theory, I realize SCSI is backwards compatible, and so I may just be able to plug it into an appropriate cable & modern SCSI card...

    But I suspect that it's not quite that simple, and further, it's not obvious what type of cable or adapter I would need and where to acquire one.

    If I successfully do extract the data, I'll ping John and see if it might be ok to release the disk images to the public. It's his data, so it'll be his call. id has open-sourced much of their code, so there might not be anything useful here, but the geek in me would hate to lose it if there is. :)

    • Admin
      Admin over 11 years
      John Romero said it was OK to just throw the drives in the garbage. Of course that was before the whole "Daikatana" thing.
    • Admin
      Admin over 11 years
      There is no problem with connecting 8 bit wide SCSI drives to a wide (16 bit) hostadapter. And if you have any large SCSI drives using only 6 byte commands (basically SASI) then I am very interested in them to help resurrect an old computer. ( See tnodiana.com/node/12 . That mini moved to the TU/e and from there to the computer club. We still have it, but no drive and no network card)
    • Admin
      Admin over 11 years
      Any ideas on what I need to do as far as cabling, adapters, and/or termination are concerned? It's been a long time since I've dealt with old SCSI like this.
    • Admin
      Admin over 11 years
      A card with 50 pins (8 bit) connector can be found for as low 12 pound s on ebay. Just make sure you have a computer with a matching interface (e.g. PCI) and for ease of use that you get one with a 40 pins interface. As for termination: SCSI termination is done at both ends of the bus, pulling cables up to +TERMPWR with a 220 ohm resister and down to ground with a 330 ohm resister. Those old drives probably still have sets of removeable resistors on them.
    • Admin
      Admin over 11 years
      Even outside the scope of your question, you may consider contacting Jason Scott (not me) at textfiles.com, or @textfiles. He works for the Internet Archive and he's particularly keen on digital preservation.
    • Admin
      Admin over 11 years
      Just google around for a second hand Adaptec 2940 card or InitIO 9100, various Symbios card are also readily available. I would try to avoid a raid-controller card like a mdac960 as you can never be sure if the raid bios on those might try to mess with these drives.
    • Admin
      Admin over 11 years
  • Hennes
    Hennes over 11 years
    Just cat or dd the whole disk to a file and worry about the format later? (Probably using loopback mounting later on).
  • Tonny
    Tonny over 11 years
    Can be mounted in Linux as user143690 above already mentioned.
  • Don MacAskill
    Don MacAskill over 11 years
    I believe the slabs have internal SCSI-1, external SCSI-2. But it's been a long time since I drooled over those spec sheets (and the engineering samples at NeXT HQ!)
  • Don MacAskill
    Don MacAskill over 11 years
    I was planning on using dd to create an exact copy and figuring out the rest later. IIRC (its been awhile), NeXT used a UFS filesystem similar to other BSD variants. I suspect Linux can just mount it natively, like it can other UFS variants, so I'd then be able to (with John's permission) pass around the disk images and anyone could mount them on a Linux box.
  • Janus Troelsen
    Janus Troelsen over 11 years
    The Adaptec 2904 worked for me in Linux a couple of years ago...
  • sendmoreinfo
    sendmoreinfo over 11 years
    You may have to use a dd_rescue-like tool (myrescue is one of those) to dump the disk. And IIRC, the MESS emulator has a NeXT driver.
  • Mark Aufflick
    Mark Aufflick over 11 years
    NeXTStep runs well under VMware (google is your friend for mostly pre-configured VMs) so given a suitable scsi card that's also an option for accessing and transferring files.
  • Don MacAskill
    Don MacAskill over 11 years
    To keep everyone apprised, especially because it's trending on Hacker News, I have a SCSI card on order (who knew that Amazon Prime had so many older, even ISA!, cards available?) and should be able to tackle some of this next week. I'll certainly keep everyone posted. :)