Live data from Hacker News

386-DX/SX support nuked from Linux Kernel

git.kernel.org

51–60 of 89 posts

Re: 386-DX/SX support nuked from Linux Kernel

#51
post #22

I never really got why back support should be an issue - its all x86 instructions, if only a subset of what is used today right? I'm curious to know exactly what makes supporting old cpus so hard.

That's a bit like saying, why not support IE1 (which by the way is newer than the i386) because it's just a subset of IE10.

Re: 386-DX/SX support nuked from Linux Kernel

#52
post #13
post #5

I would have thought that support for this architecture would have been useful to keep, since a lot of rad-hardened systems (think space, satellite applications) still use it.

I'm into retrocomputing so these kinds of retirements always sting a bit. In realistic long term operations, deprecations don't hurt. I.e. your air traffic control system running on PA-RISC and HP-UX doesn't care that HP-UX only run on Itanium now. You keep running the old software and set up some kind of support schedule to keep the system patched during it's service life through the vendor or otherwise.

It makes me sad from a retrocomputing standpoint as well. I have a sun386i in storage that I always said I would port linux to one day. Oh well...

I can't blame them for wanting to drop it though, not only do you not have the full range of atomic operations, but also the MMU doesn't respect the WP bit from kernelspace which means special code in copy_to_user()

I wonder how long they will keep the 486SX alive now that it's the last one that requires 387 emulation.

Re: 386-DX/SX support nuked from Linux Kernel

#53

Earlier quoted context omitted.

I loved my Celeron. I had a 300 which over clocked amazingly well to 450Mhz. In fact, those were the last days of my "dinking" with hardware. The Pentium and beyond offered such diminishing rewards that it wasn't worth it.

Celerons of that era were very easy to officially overclock generally because a great many of them were underclocked by Intel. They ended up with far more of the more expensive 400+MHz capable parts than they expected to produce (presumably they were overly cautious when predicting how well the production process would work and therefor how many of the better rates chips thye'd get) but too few of the cheaper 300Mhz…

As a side effect, those chips also helped launch Internet publishing - sites like the improbable Toms's Hardware, founded by a German M.D. if memory serves, cut their teeth on overclocking advice and benchmarks.

Re: 386-DX/SX support nuked from Linux Kernel

#55
post #47
post #42

Earlier quoted context omitted.

Simplest way: have two implementations, copy the proper one into place (and relocate if necessary). No overhead.

Or you know, use a flag. And if it becomes a performance issue later on after some profiling, consider a more complicated approach. Don't underestimate your CPU's branch prediction. Self modifying code is a can of worms. Many things can go wrong, and good luck debugging the mess.

> Self modifying code is a can of worms. Many things can go wrong, and good luck debugging the mess.

Linux uses self modifying code (usually at startup) to efficiently support booting the same kernel on single an multiple processor machines.

Re: 386-DX/SX support nuked from Linux Kernel

#56
Just run older Linux software if it's that's important to run. There are old archives of Linux out there to download, I myself still have Mandrake 6 and FreeBSD 3.0 laying here in my cabinet ha ha, for just such an occasion ;) Or in that case download Ubu 5 and get it up and running, sure no updates but it'll run :)

Re: 386-DX/SX support nuked from Linux Kernel

#58
post #13

Earlier quoted context omitted.

I'm into retrocomputing so these kinds of retirements always sting a bit. In realistic long term operations, deprecations don't hurt. I.e. your air traffic control system running on PA-RISC and HP-UX doesn't care that HP-UX only run on Itanium now. You keep running the old software and set up some kind of support schedule to keep the system patched during it's service life through the vendor or otherwise.

It's comforting to know others are interested in "retrocomputing". For some reason I like slow old computers too. (Not being sarcastic here at all)

Same. Sometimes they are faster and more productive, despite being older.

Re: 386-DX/SX support nuked from Linux Kernel

#59

To think that support for something so edge-case has been supported this long is remarkable. Even very basic embedded x86 processors are 80486 caliber. Those more feeble than that have no hope of running the current kernel in any meaningful fashion.

In 2000, someone gave me a 386 desktop that they were about to throw out, and I ran OpenBSD on it until 2005 or so. (I was a student, so getting new hardware was more of a big deal then.) To get it working I had to recompile the kernel (which I did on a "more capable" Celeron 366) without support for newfangled hardware such as USB and PCI in order to have enough memory to boot and log in in a tolerable amount of tim…

I still have an 8088 with a color display, dot matrix printer, math coprocessor, maxed out RAM (64 KB? I don't even remember) and a 10 MB hard drive + dual disk drives.

I should see if it actually boots someday....

Post reply on HN