LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-27-2021, 04:59 AM   #1
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Rep: Reputation: Disabled
slackpkg upgrade-all on an i486 leads to an unbootable system


After a workaround the basis system could be successfully installed on qemu with cpu type 486 and also the inital boot from disk works with this workaround:

https://www.linuxquestions.org/quest...ls-4175695638/

But unfortunately after executing:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system
and rebooting it gives this error on the boot process:

"This kernel requires an i586 CPU, but only detected an i486 CPU.
Unable to boot - please use a kernel appropriate for your CPU."

How can I fix this?
And how can I tell the system installing only i486 kernel/packages to prevent this issue on next upgrade?
 
Old 05-27-2021, 05:17 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
IIRC, at some point slackware upgraded 32bit to i586, and you can no longer tell it to install only 486 packages. the '486 was a product of the 1990s, and the i586 had a superior instruction set, and is a base minimum for 32bit these days.

The solutions would be to stay on your 486 kernel, or compile a kernel similat to your 586 kernel, but configure it for 486 only.
 
Old 05-27-2021, 02:27 PM   #3
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
However, your statement is contrary to what is written on the official homepage of Slackware:

Quote:
Slackware Linux doesn't require an extremely powerful system to run (though having one is quite nice . It will run on systems as far back as the 486. Below is a list of minimum system requirements needed to install and run Slackware.

486 processor
64MB RAM (1GB+ suggested)
About 5GB+ of hard disk space for a full install
CD or DVD drive (if not bootable, then a bootable USB flash stick or PXE server/network card)

I can understand that nearly nobody uses 486s nowadays. Especially not to work properly, since no office program or internet browser runs on it. Still, there are many enthusiasts out there who keep their classic computers, like Tandy TRS-80 or Apple II alive. These people, and I am one of them, wish for a slim Linux to run their emulators e.g. with old 5.25" floppies.
I hoped to have found a simple solution with Slackware.
 
Old 05-27-2021, 02:52 PM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,783

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
You could try Slackware 14.1. It will run on a 486.
 
Old 05-27-2021, 03:19 PM   #5
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
This is just smp versus non-smp kernel. In old times were both.
 
Old 05-27-2021, 07:21 PM   #6
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by RuebeSoft View Post
However, your statement is contrary to what is written on the official homepage of Slackware:




I can understand that nearly nobody uses 486s nowadays. Especially not to work properly, since no office program or internet browser runs on it. Still, there are many enthusiasts out there who keep their classic computers, like Tandy TRS-80 or Apple II alive. These people, and I am one of them, wish for a slim Linux to run their emulators e.g. with old 5.25" floppies.
I hoped to have found a simple solution with Slackware.
The information on the website is wrong in many areas and needs badly to be corrected and updated to bring it up to snuff
 
Old 05-28-2021, 02:54 AM   #7
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Petri Kaukasoina View Post
You could try Slackware 14.1. It will run on a 486.
Yes, that was a good hint. With 14.1 the setup runs without problems. This could be an option for i486 computers.

But now I got an error with slackpkg. Seems a dependency is missing:

"awk: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory"

# find / -iname "libmfr*"
/usr/lib/libmpfr.so.1.2.2
/urs/lib/libmpfr.so.1

There's no libmpfr.so.4 installed. How can I install it?
 
Old 05-28-2021, 02:59 AM   #8
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by Gordie View Post
The information on the website is wrong in many areas and needs badly to be corrected and updated to bring it up to snuff
Yes, it seems to be. And it really should be changed, because that saves a lot of wasted time.
 
Old 05-28-2021, 04:58 AM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,783

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by RuebeSoft View Post
There's no libmpfr.so.4 installed. How can I install it?
It's in l/mpfr-3.1.2-i486-1.txz

(You can find it by looking at MANIFEST.bz2)
 
Old 05-28-2021, 05:45 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You need to know something about libraries. The same library comes in 3 forms
Code:
bash-5.1$ ls -lh /usr/lib64/libmpfr*
lrwxrwxrwx 1 root root   16 Feb 15 13:24 /usr/lib64/libmpfr.so -> libmpfr.so.6.1.0
lrwxrwxrwx 1 root root   16 Feb 15 13:24 /usr/lib64/libmpfr.so.6 -> libmpfr.so.6.1.0
-rwxr-xr-x 1 root root 2.7M Jan 20 20:06 /usr/lib64/libmpfr.so.6.1.0
You can the 2 symlinks from my own box. If you read the version number as libmpfr.so.x.y.z
  • An increment in Z means a bug fix.
  • An increment in Y means a feature addition.
  • An increment in X means a compatability break.

Now your program wants libmpfr.so.4, but you've been pointed at libmpfr.so.3. So it might work if you run a line like
Code:
[sudo] ln -sf /usr/lib/libmpfr.so.3 /usr/lib/libmpfr.so.4
but probably you will need libmpfr.so.4.
 
Old 05-30-2021, 04:36 AM   #11
RuebeSoft
LQ Newbie
 
Registered: May 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
The symlink did it. Now I can use slackpkg.
 
Old 05-30-2021, 04:45 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird slackpkg upgrade message during a slackpkg upgrade-all process. frtorres Slackware 8 02-13-2021 11:36 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
Differences php-5.2.13-i486-2 and php-5.3.6-i486-1 slackissme Slackware 1 03-20-2011 03:10 AM
[SOLVED] slackpkg upgrade-all is not showing "bsd-games-2.13-i486-11.txz" piratesmack Slackware 2 05-16-2010 05:33 PM
Distcc between i686 and i486 leads to 'illegal instruction' konqi Gentoo 11 10-26-2009 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration