News for hackers. Stuff that matters.
Re:Dosdude – A custom-designed IDE SSD for old PCs by sidpatil on Monday January 23, 2023 @01:17PM (#34492704)
What are the advantages of this versus a PATA disk-on-module, a CompactFlash card, or an SD-to-PATA adapter?
Re:Dosdude – A custom-designed IDE SSD for old PCs by asveikau on Monday January 23, 2023 @01:24PM (#34492834)
I agree that these things are readily available, but given that we're reading it on github, maybe it's somebody's tinkering project.
Re:Dosdude – A custom-designed IDE SSD for old PCs by systems_glitch on Monday January 23, 2023 @01:49PM (#34493169)
That's really the only valid reason to do this, which is of course reason enough :P
Re:Dosdude – A custom-designed IDE SSD for old PCs by systems_glitch on Monday January 23, 2023 @01:50PM (#34493178)
Add in there IDE to SATA and IDE to mSATA/M.2. If you just need to plug a non-ancient disk into IDE, there are tons of options.
Re:Dosdude – A custom-designed IDE SSD for old PCs by andrewf on Monday January 23, 2023 @02:07PM (#34493426)
Can anyone recommend a specific device they've observed to work on a G4 Mac mini? (https://www.amazon.com/gp/product/B087CL5KHL and https://www.amazon.com/gp/product/B07Z67GX6W together did not work. https://www.amazon.com/gp/product/B07QN9STY7 and a random SATA drive did not work and did not fit)
Re:Dosdude – A custom-designed IDE SSD for old PCs by duffyjp on Monday January 23, 2023 @02:28PM (#34493706)
The eBay listings are long gone, but in 2019 I ordered an adapter and a cheap used Samsung sata m.2 and they work perfectly in my G4 Mac Mini.

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"

Re:Dosdude – A custom-designed IDE SSD for old PCs by Palomides on Monday January 23, 2023 @02:26PM (#34493672)
I use this in my 3400c, probably fine for your mac mini https://www.amazon.com/gp/aw/d/B00AQT2LCU
Re:Dosdude – A custom-designed IDE SSD for old PCs by giantrobot on Monday January 23, 2023 @02:51PM (#34494011)
There used to (maybe still are) PATA SSDs from a brand called King Spec on Amazon that I have used in a number of machines. I have used them in a G3 PowerBook (Lombard), a Sony VAIO laptop, and an IBM ThinkPad. These are all just for funsies machines so I make no claims of those drives' reliability. I don't have any irreplaceable data on any of those drives.
Re:Dosdude – A custom-designed IDE SSD for old PCs by visualphoenix on Monday January 23, 2023 @02:49PM (#34493983)
I used https://eshop.macsales.com/item/Addonics/ADSAIDE/ to upgrade some Glyph drives to ssd when connected to a g5 audio rig a few years ago
Re:Dosdude – A custom-designed IDE SSD for old PCs by BirAdam on Monday January 23, 2023 @08:55PM (#34498062)
I’ve used an IDE to CF adapter successfully.
Re:Dosdude – A custom-designed IDE SSD for old PCs by xmodem on Monday January 23, 2023 @10:58PM (#34499028)
I've had success with this one, with a G4 mini. https://www.amazon.co.uk/gp/product/B00AQT2LRK/ref=ppx_yo_dt...
Re:Dosdude – A custom-designed IDE SSD for old PCs by joenathanone on Monday January 23, 2023 @02:28PM (#34493703)
Nand should have better latency and write duration
Re:Dosdude – A custom-designed IDE SSD for old PCs by samstave on Monday January 23, 2023 @02:36PM (#34493804)
Sure but what are the subjective positives?

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...

Re:Dosdude – A custom-designed IDE SSD for old PCs by rsync on Monday January 23, 2023 @03:07PM (#34494234)
"What are the advantages of this versus a PATA disk-on-module, a CompactFlash card, or an SD-to-PATA adapter?"

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.

Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Monday January 23, 2023 @03:30PM (#34494536)
Don't use SD/microSD storage for these things. It's terrible for a number of reasons. Get yourself a cheap IDE-SATA adapter instead and plug an old used 2.5" SATA SSD in there.
Re:Dosdude – A custom-designed IDE SSD for old PCs by AshamedCaptain on Monday January 23, 2023 @03:43PM (#34494728)
> Don't use SD/microSD storage for these things. It's terrible for a number of reasons.

Is it, really? My microSDs have already handled more lifetime writes than all IDE HDDs I ever had combined.

Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Monday January 23, 2023 @04:14PM (#34495152)
I don't buy it, because it contradicts the very nature of flash storage. Unless you used your IDE HDDs as piñatas, that is. But the problems with SD/microSD and USB flash drives specifically are more than limited longevity. The underlying SDIO protocol/interface of this storage type has several shortcomings making it awful for general operating system use entailing frequent intermixed writes and reads, including bringing the whole storage (and with it the OS) to a complete read-blocked freeze during extended and small rapid writes.
Re:Dosdude – A custom-designed IDE SSD for old PCs by mike_d on Monday January 23, 2023 @04:26PM (#34495312)
Tell that to the original Raspberry Pi's floating around that are old enough to be enrolled in high school.
Re:Dosdude – A custom-designed IDE SSD for old PCs by mardifoufs on Monday January 23, 2023 @04:36PM (#34495424)
On their original SD card? Probably not, especially on the earlier raspi models.
Re:Dosdude – A custom-designed IDE SSD for old PCs by li2uR3ce on Monday January 23, 2023 @04:38PM (#34495443)
That's not been my experience with the original Pis. We ended up mounting cards as read only because they wouldn't last otherwise. Syslog and various other processes, even with light IO would render the cards useless after a month or two.
Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Monday January 23, 2023 @04:46PM (#34495546)
Also: a lot of OS distributions aimed at SBCs with microSD storage forgetting to set noatime/relatime on their file systems, to avoid thousands upon thousands of writes for access time updates whenever files are read. It's only just recently that OS vendors finally woke up and realized what was going on.
Re:Dosdude – A custom-designed IDE SSD for old PCs by megous on Monday January 23, 2023 @04:58PM (#34495698)
relatime is default option since forever. (certainly since before rpi was even a thing)

https://elixir.bootlin.com/linux/v2.6.30/source/fs/namespace... (some random old kernel)

Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Tuesday January 24, 2023 @11:21AM (#34505686)
That's good info and news to me. "relatime" is unfortunately a silent killer as well, albeit nowhere near as intense as "strictatime".
Re:Dosdude – A custom-designed IDE SSD for old PCs by mrb on Monday January 23, 2023 @06:45PM (#34496799)
Were they high-endurance SD cards? In my experience, people usually aren't aware there is a difference between standard and high-endurance SD cards. The former should last years on a light I/O raspberry pi workload.
Re:Dosdude – A custom-designed IDE SSD for old PCs by Dylan16807 on Tuesday January 24, 2023 @02:38AM (#34500615)
Okay, so don't use 90% of SD cards.
Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Monday January 23, 2023 @04:37PM (#34495438)
I have, on numerous occasions. It's one of the reasons why general desktop use on them can be so infuriating.
Re:Dosdude – A custom-designed IDE SSD for old PCs by cevn on Monday January 23, 2023 @04:58PM (#34495701)
I have old raspis, the SD card failed.
Re:Dosdude – A custom-designed IDE SSD for old PCs by ilyt on Monday January 23, 2023 @05:42PM (#34496170)
"Hey, original Raspberry Pi, you have no bulk flash storage on board so I don't know why this guy is trying to get you into unrelated discussion about durability of bulk flash storage in the first place!"

Here, I told it.

Also they are "just" 11 years old so you've managed to be wrong on everything you said somehow..

Re:Dosdude – A custom-designed IDE SSD for old PCs by AshamedCaptain on Monday January 23, 2023 @05:51PM (#34496251)
> I don't buy it, because it contradicts the very nature of flash storage.

No, it really doesn't. Besides, both capacities _and_ performance have increased a lot since the top-of-the-line IDE HDDs. It's easy enough to see that e.g. a user of a Steam Deck probably writes daily a couple orders of magnitude more to a microSD than even a heavy a Windows 98 user did to its HDD. Even the writes caused by desfragmenting your average era HDD daily is practically peanuts to a TB microSD, but it was definitely not peanuts to the HDD itself.

> The underlying SDIO protocol/interface of this storage type has several shortcomings making it awful for general operating system use entailing frequent intermixed writes and reads

We are comparing this to IDE. Not NVME on top of PCIe.

TL;DR I have a pile of broken microSD hards, but I also have a larger pile of broken old HDDs.

Re:Dosdude – A custom-designed IDE SSD for old PCs by anthk on Monday January 23, 2023 @06:35PM (#34496712)
My old w98 machine had a 60 GB disk and for sure lasted far more than microSD's.
Re:Dosdude – A custom-designed IDE SSD for old PCs by BirAdam on Monday January 23, 2023 @08:54PM (#34498049)
That could be survivor bias.
Re:Dosdude – A custom-designed IDE SSD for old PCs by anthk on Monday January 23, 2023 @09:37PM (#34498417)
No, the common usage.
Re:Dosdude – A custom-designed IDE SSD for old PCs by walrus01 on Tuesday January 24, 2023 @03:36AM (#34501074)
60GB in a windows 98 machine is honestly huge in an era when a 20GB IBM HDD sold for $440 in 1998-1999 pre inflation currency. Equivalent to about $785 today.
Re:Dosdude – A custom-designed IDE SSD for old PCs by anthk on Tuesday January 24, 2023 @07:46AM (#34502901)
W98 was used until the WXP SP2 era. Not so expensive if you had it by 2001.
Re:Dosdude – A custom-designed IDE SSD for old PCs by AshamedCaptain on Tuesday January 24, 2023 @04:21AM (#34501436)
If this is going to be a contest of throwing anecdotes around, I literally have _multiple_ Win98 VMs on a single 256GB microSD (which is like, 30$?). And so do a lot of people who are in the target audience of TFA, whom boot their retro hardware from microSDs since it is definitely faster and even more reliable than era-accurate HDDs. And just plain more convenient; you can backup the entire HDD by copying the SD around in a fraction of the time it would take you to clone the HDD.

It just makes sense that the microSD would last longer. Even if you assume that it was the worst of the worst of flash memory and each cell would only last 100 times, that still amounts to 20TB of lifetime writes to the microSD. Windows would even use ridiculously large size cluster sizes on a 60GiB drive, so write amplification would be of little concern. You could install Windows 98 over and over continuously as max as allowed by the HDD speed (say 1hr per installation) for a decade and you would still have writes to spare. Paper envelope calculation caveat, but normally flash memory will have at least one order of magnitude more cycles.

Let's remember that 90s and early 00s HDDs are not remembered for their longevity, either (search for click of death).

Re:Dosdude – A custom-designed IDE SSD for old PCs by anthk on Tuesday January 24, 2023 @12:57PM (#34507303)
An Amiga 2000 booting from MicroSD is not the same as booting Windows 98.

>Let's remember that 90s and early 00s HDDs are not remembered for their longevity, either (search for click of death).

My ~2002 drive was reliable enough. What it broke was a motherboard capacitor.

Re:Dosdude – A custom-designed IDE SSD for old PCs by Legion on Monday January 23, 2023 @06:04PM (#34496370)
Person 1: "Here is my lived experience."

Person 2: "I don't buy it."

Internet in a nutshell.

Re:Dosdude – A custom-designed IDE SSD for old PCs by interroboink on Monday January 23, 2023 @06:25PM (#34496592)
I think this often comes up when one person is talking about personal experience, and another person is talking about general advice.

One person's anecdote does not necessarily prove any larger point. They might have gotten (un)lucky, live or work in a particular environment/context that doesn't apply generally, etc.

On the other hand, dismissing someone's anecdote because you have some Larger Point axe to grind is also a bit crap (:

Re:Dosdude – A custom-designed IDE SSD for old PCs by ihatepython on Tuesday January 24, 2023 @03:05AM (#34500838)
This isn't my experience.

You must be using a different Internet

Re:Dosdude – A custom-designed IDE SSD for old PCs by hakfoo on Wednesday January 25, 2023 @02:08AM (#34515318)
I think part of it has to do with the workloads you're using.

If you're using it as a disc replacement for, say, a 286/386, it comes from an era where disc performance was far worse, so the software is usually not going to hit the disc gratuitiously.

Also, dealing with an adapter that's single-threaded and taps out at 25Mbps isn't a big deal when you're dealing with an environment with primitive cooperative multitasking (i. e. DOS/Win3) and attached via a bus that tops out at half that.

Now, it could be an issue in later systems-- something like a late 486 or beyond, where it has a local-bus/VL-bus/PCI disc controller and might be used with Linux or Windows NT might work poorly with those adapters, but then you're probably able to use a commercial PATA or SATA+adaptor SSD.

Re:Dosdude – A custom-designed IDE SSD for old PCs by thescriptkiddie on Monday January 23, 2023 @04:26PM (#34495307)
SD cards don't have wear leveling like real SSDs.
Re:Dosdude – A custom-designed IDE SSD for old PCs by megous on Monday January 23, 2023 @05:01PM (#34495730)
SD cards have wear leveling. Probably comparable in principle to dramless SSDs. I/O interface sucks, though.
Re:Dosdude – A custom-designed IDE SSD for old PCs by BizarreByte on Monday January 23, 2023 @09:25PM (#34498312)
Some SD cards do, some don’t. When I use them as HDs in vintage computers I get those that do.
Re:Dosdude – A custom-designed IDE SSD for old PCs by snvzz on Monday January 23, 2023 @11:44PM (#34499387)
How can you tell which are the ones?
Re:Dosdude – A custom-designed IDE SSD for old PCs by Tor3 on Tuesday January 24, 2023 @07:20AM (#34502695)
> 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.

Re:Dosdude – A custom-designed IDE SSD for old PCs by dehrmann on Tuesday January 24, 2023 @12:53AM (#34499906)
The downside to using SD and friends for this is SD supposedly has less write endurance and worse wear leveling than a proper SSD. I have no idea if this is true. The upside to using CF is CF is electrically compatible with IDE, so you don't have a IDE/SATA bridge that can cause compatibility issues and is a point of failure.
Re:Dosdude – A custom-designed IDE SSD for old PCs by Teknoman117 on Tuesday January 24, 2023 @02:45AM (#34500681)
It would kind of fit their use case. You typically fill up the card with long sequential writes (photo and video files), download them to a computer, erase the files, and repeat.

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.

Re:Dosdude – A custom-designed IDE SSD for old PCs by rasz on Tuesday January 24, 2023 @10:30AM (#34504777)
IDE-SATA adapters adhere to ATA3 standard https://www.scs.stanford.edu/10wi-cs140/pintos/specs/ata-3-s...

> 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

Re:Dosdude – A custom-designed IDE SSD for old PCs by daneel_w on Tuesday January 24, 2023 @11:26AM (#34505773)
All of them? Admittedly the oldest hardware I've used such adapters on is a circa 1998 motherboard with UDMA/ATA4 support, but I have at least three different chips on the ones I've picked up the past decade.