Dating myself here ... I ran Linux on my 386SX black and white LCD laptop (including X windows!) back in the early Slackware days 1992-1994. It was easier to do that back then than now... :) Oh,and a grad student friend of mine warned me in 93... "That Web stuff is addictive"... so I avoided it for another 3-6 months and stuck to FTP sites and a bit of gopher/WAIS. :)
Linux on a 486SX
81–90 of 151 posts
Re: Linux on a 486SX
#82Dating myself here ... I ran Linux on my 386SX black and white LCD laptop (including X windows!) back in the early Slackware days 1992-1994. It was easier to do that back then than now... :) Oh,and a grad student friend of mine warned me in 93... "That Web stuff is addictive"... so I avoided it for another 3-6 months and stuck to FTP sites and a bit of gopher/WAIS. :)
> "That Web stuff is addictive" Prophetic declaration of the day. I'm envisioning a great hacker t-shirt: "That Web stuff is addictive... stick to FTP (a friend, 1993)"
Re: Linux on a 486SX
#83Few months ago, somebody did a series of live streaming events on bringing up a 486-based tablet PC (which happened to be an old voting machine) with modern linux. Kernel turned out to be the easy part. Booting grub from BIOS that doesn't support LBA addressing (CHS only) - a bit harder. Running X11 on hardware without PCI - ridiculously hard: https://diode.zone/w/kMhja4oBUvP6CScsiDZP38
Re: Linux on a 486SX
#84It's pretty cool to get an up-to-date Linux working on such old hardware but I get the impression this kind of thing is going to get harder to do with the major distributions dropping support for 32 bit x86. I've been using NetBSD with older hardware.
Most distributions already don't support a 486 anymore. For example, Debian dropped support for Pentium with Stretch (2017). And support for 486 was dropped in Jessie (2015). 386 support was dropped with Sarge (2005).
Re: Linux on a 486SX
#85Awesome and thanks for documenting the process! There's large DOS communities with people running vintage hardware, but not much I know of for linux.
With Linux, you can just keep your ancient programs and hardware running on modern systems.
Re: Linux on a 486SX
#86Dating myself here ... I ran Linux on my 386SX black and white LCD laptop (including X windows!) back in the early Slackware days 1992-1994. It was easier to do that back then than now... :) Oh,and a grad student friend of mine warned me in 93... "That Web stuff is addictive"... so I avoided it for another 3-6 months and stuck to FTP sites and a bit of gopher/WAIS. :)
The title of this post really had me do a double-take. "Of course Linux can run on a 486, it's fine on a 386". Just need the right version.
Re: Linux on a 486SX
#87This is one of the major reasons why I love Hacker News because of small side passion projects like this. At Hacker News we don't ask why, we ask why not!
I just spent most of my free time in the last week trying to get the Rust compiler to run on a K6-2/500. Had a bunch of trouble because one of the newer x86 extensions (CET) chose opcodes which decode as NOPs, and therefore are considered safe to include in binaries for older processors. Unfortunately, they're only NOPs on i686 or newer, and the K6s are i586 processors. It was mind-numbing because even if you explicitly tell the compiler to output/optimize for a K6-2 or Pentium (-march=k6-2 or -march=pentium) it's still outputting the CET opcodes. You have to pass -fcf-protection=none for them to go away. Super annoying.
Benchmarking it was pretty funny, because compiling one of my personal Rust projects is about 500 times slower than my TR 1950X desktop. Compiles in 7.5 seconds on the Threadripper but takes 67 minutes on the K6-2/500. So much progress in 18 years (K6-2/500 in 1999 -> TR 1950X (4 GHz) in 2017).
Re: Linux on a 486SX
#88Few months ago, somebody did a series of live streaming events on bringing up a 486-based tablet PC (which happened to be an old voting machine) with modern linux. Kernel turned out to be the easy part. Booting grub from BIOS that doesn't support LBA addressing (CHS only) - a bit harder. Running X11 on hardware without PCI - ridiculously hard: https://diode.zone/w/kMhja4oBUvP6CScsiDZP38
CFLAGS="-I/opt/libressl/include" LDFLAGS="-L/opt/libressl/lib" ./configure; make; sudo make install.
Try gopher://hngopher.com first and later, https://news.ycombinator.comRe: Linux on a 486SX
#89It's pretty cool to get an up-to-date Linux working on such old hardware but I get the impression this kind of thing is going to get harder to do with the major distributions dropping support for 32 bit x86. I've been using NetBSD with older hardware.
Re: Linux on a 486SX
#90This is one of the major reasons why I love Hacker News because of small side passion projects like this. At Hacker News we don't ask why, we ask why not!
I get real nervous about posting personal retrocomputing projects here to be honest :) I just spent most of my free time in the last week trying to get the Rust compiler to run on a K6-2/500. Had a bunch of trouble because one of the newer x86 extensions (CET) chose opcodes which decode as NOPs, and therefore are considered safe to include in binaries for older processors. Unfortunately, they're only NOPs on i686 or…
I remember compiling Linux kernel on my Cyrix 486SX 25MHz (the one with a disabled-by-default L1 cache!) and it took an hour. Got it on a P60 and it was like 5 minutes.
Good times.