194 points · by squarefoot · 3y ago · 121 comments
https://www.youtube.com/watch?v=SnpdLt4OIFs
He's got two videos about this custom IDE SSD on his YouTube channel here:
https://www.youtube.com/watch?v=YrBz-6lXbZQ https://www.youtube.com/watch?v=EMCz0VsEbqc
It sounds like we're supposed to scavenge the nand and controller off an ssd and solder it to their board... but can I carve out 200/500mb disks out of it like other drive emulators, or are we still stuck trying to put a 256gb ssd into a machine that can't support disks that large?
Edit: from my POV the issue isn't "I can't plug a nvme into my ide-only 286” but rather "I can't find a cf card small enough, and that the bios is happy enough with to allow the system to boot"
Since this is a custom application, I suspect you'd have to figure out where on this list your use case falls and use the appropriate NAND set.
Also, some BIOSes only allowed a small handful of those types (completely ignoring IBM because they were so picky you couldn't even replace your floppy/disk controller with another IBM branded one - it had to be the model the PC shipped with or screw you)
Retro do be like that sometimes :)
Edit: the tables in the hard drive bible PDFs really come in handy https://archive.org/details/bitsavers_cscCSCHardn1996_266711...
I wondered the same thing ...
I have thousands of days of uptime on various CF->IDE configurations - many of which were critical infrastructure.
It's a really elegant solution because CF and IDE are pinout compatible. No logic is required.
I set filesystems to be read-only so as not to burn out the CF part and, again, some of these were in service for >10 years and I have much higher confidence in this configuration than any SSD based solution I have ever fielded.
Is it, really? My microSDs have already handled more lifetime writes than all IDE HDDs I ever had combined.
In practice it's hard to tell without real statistics. I've had two Raspberry Pi setups running off microSD cards for many years now, as actively used CUPS hosts for printers. No problems whatsoever. On the other hand I have some other Pi setups where one of them suddenly suffered an extremely hot microSD card and I just had to yank it out (I was logged in at the time and the system froze). Same type microSD as the other two (Sandisk). The card was gone, the Pi survived. That got me a bit nervous and I used an SSD instead afterwards.
So, it's all anecdotal - two microSD cards working flawlessly for many years, another failing catastrophically after a relatively short time. Usage pattern approximately the same.
> Deleted the IOCS16- signal.
That means they only work on newer IDE interfaces. Anything pre UDMA (up to ~1995. 486/first pentiums and things like RiscPC) will still expect /IOCS16 pin being asserted when 'any register other than the data register is accessed', only data register is 16bit. More info https://www.vogons.org/viewtopic.php?p=1122886#p1122886
It'd be a shame if they had a lower bytes written capability, but a non-existent/poor/simple wear leveling algorithm wouldn't hurt them in their typical usage pattern. Might be worth looking into whether eMMC makes different assumptions considering its prevalence as primary storage for mobile devices.
The SSD listing descriptions were:
* "2 Pack M.2 NGFF SATA SSD to 2.5 inch IDE 44PIN Converter Adapter with Case"
* "256GB SATA-III Solid State Drive M.2 2280 Samsung PM871 MZ-NLN2560 Lenovo SSD"
Source: Ran Intel's game lab to seek out subjective positives with SIMD when the MIPS and AMD and the other CPU company were a threat... transmeta
https://en.wikipedia.org/wiki/Transmeta
Look at what they lost....
I was talking with a DB Dev ~1998 at intel and his biggest problem was figuring out hot to expand the money fields in the DB to include the number of digits to reflect how much money they had...
But even a whole-disk rewrite cycle will have very limited effect on the vast majority of SSDs.
Whenever I run old OS's in virtualbox, I'm surprised that even doing lots of stuff for a week rarely results in more than a few GB's of writes.
So I don't think your concern is an issue for the typical case in practice. Obviously there'll be corner cases, but I haven't hit those yet.
I had a Samsung SSD - chosen because Samsung flash storage is generally better than most - connected to a SATA to IDE adapter, which was connected to an IDE to SCSI adapter, installed in a VAXStation 4000/30 (AKA the VAXStation VLC). It has 24 megs of memory.
https://twitter.com/AnachronistJohn/status/12947258190387527...
In less than a year, the SSD was dead, and I'm sure the reason was that I was compiling constantly on that machine, so writes to swap were constant.
I now have a spinning rust 500 gig SATA drive, and it has been fine for the last three years without problems.
If you're working with vintage machines they all have drive size limits in the 2-8 GB range anyway so you'll end up doing that anyway as you can't get SSDs that small
So, to anyone else trying this, make sure to do it before you create the partition table.
Edit: oops, missed that it was a ZIF interface. Ok, well done.
Is there such a thing?
Plus intel sold nand ssd drives (model H20?) that had a 32gb optane module on board. You can just use the optane for swap and the nand as your main drive.
I have multiple TBs of SSD currently, how is Optane better at ~118 GBs of stuff... Why would I want this over that?
Haven't seen any purely volatile drives, though.
It looks like Windows also has memory compression.
I believe that OS X has memory compression turned on by default.
There is also zswap, which is a transparent compressed RAM cache in front of your cache partition. Most distros have it enabled by default, so make sure you don't use it together with swap in zram.
It isn't just turned on by default, there is no way of turning it off.
And "roughly at the same time" is fine. I can deal with that.
Hasn't happened like that but even if it did, even an extra day is all you need to save it