[SOLVED] Slackware 14.2: ldconfig fails to run on Pentium MMX
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux from Scratch, Slackware, Ubuntu, Debian
Posts: 6
Rep:
Slackware 14.2: ldconfig fails to run on Pentium MMX
Hi,
I recently installed Slackware 14.2 on my 133MHz Pentium MMX with 64MB of RAM. I get the following error booting up:
ldconfig: ../sysdeps/x86_64/cacheinfo:262: handle_intel: Assertion `maxidx >= 2' failed.
I installed the 32 bit version on the machine. My system stops booting after that.
The info you posted seems to indicate a mismatch of 32-bit and 64-bit packages. Perhaps double-check the ISO and any subsequent packages?
The MMX is an i586 and the good news is Slackware is compiled for i486. Many 32-bit distros are compiled for i686 and the MMX does not support the CMOV instruction. Been there done that years ago.
I have Slackware 14.1 32-bit installed on a Pentium I system. I have 256 MB RAM.
The Slackware-HOWTO states 128 MB of RAM is required although you might succeed at installing with less RAM.
On my system, console operations run reasonably OK but booting into and using X is slow.
If you still have problems installing, a trick I have used a few times is pull the hard drive from the older system and temporarily install in a system with more RAM. Unplug the other hard drives. Install the 32-bit ISO, then move the hard drive back into the MMX box.
I recently installed Slackware 14.2 on my 133MHz Pentium MMX with 64MB of RAM. I get the following error booting up:
ldconfig: ../sysdeps/x86_64/cacheinfo:262: handle_intel: Assertion `maxidx >= 2' failed.
I installed the 32 bit version on the machine. My system stops booting after that.
Seems to be related to this glibc commit that's not in Slackware 14.2's glibc-2.23:
@Gunnersky2002: Perhaps install 14.1? Still supported.
Often every summer I pull my old boxes from the shelf and update them, mostly for exercising the electronics and experience a little nostalgia. I will do so with my 14.1 systems and post here if you remain interested. I am not planning to update the 14.1 systems to 14.2. That would take all day because the hardware is so slow. According to Pat, updating from 14.1 to 14.2 will not resolve your specific boot problem.
Thu Jul 6 00:57:41 UTC 2017
patches/packages/glibc-2.23-i586-3_slack14.2.txz: Rebuilt.
Recompiled with upstream patch from git:
"[PATCH] X86: Don't assert on older Intel CPUs [BZ #20647]"
This fixes an ldconfig failure on older Intel CPUs including Pentium MMX.
Raises the question of how to help the OP. The patched package is in /patches and not the original ISO. The patched package would have to be updated before rebooting that very first time. Or rc.M temporarily edited (comment out ldconfig) before rebooting?
Raises the question of how to help the OP. The patched package is in /patches and not the original ISO. The patched package would have to be updated before rebooting that very first time. Or rc.M temporarily edited (comment out ldconfig) before rebooting?
Once installation is complete, but before rebooting, grab the patched package (either from a thumbdrive or networked connection) and run the following:
Raises the question of how to help the OP. The patched package is in /patches and not the original ISO. The patched package would have to be updated before rebooting that very first time. Or rc.M temporarily edited (comment out ldconfig) before rebooting?
Good point upnort !
Making an ISO from Current and Booting Current should 'just work' but one would need to construct a patched version of 14.2 and make an ISO from that ...
Interesting catch-22.
I wonder if something like the following would work ?
Code:
##################################################################################
# assume you've got a local Slackware64-14.2 repo in say, /tmp/slackware64-14.2/ #
##################################################################################
# make a working directory for a patched version of Slackware64 14.2
mkdir /tmp/slackware64-14.2-patched
# copy your original repo into the new patched/ directory ...
cd /tmp/slackware64-14.2 # assumes your repo is here !
cp -a * /tmp/slackware64-14.2-patched/
# remove the original Slackware64 14.2 glibc packages
cd /tmp/slackware64-14.2-patched/slackware64/l/
rm -fv glibc*
# and replace glibc with the recently patched version
cp -av /tmp/slackware64-14.2/patches/packages/glibc-* /tmp/slackware64-14.2-patched/slackware64/l/
# finally make an iso file in /tmp/ the Slackware way
# using the content of /tmp/slackware64-14.2-patched/
cd /tmp/slackware64-14.2-patched
mkisofs \
-o /tmp/slackware64-14.2-patched.iso \
-R -J \
-A "Slackware64 14.2-patched Install" \
-hide-rr-moved \
-v -d -N \
-no-emul-boot -boot-load-size 4 \
-boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-m 'source' \
-V "SlackDVD" .
# /tmp/slackware64-14.2-patched.iso is the burnable / bootable ISO File
isohybrid "/tmp/slackware64-14.2-patched.iso"
Once installation is complete, but before rebooting, grab the patched package (either from a thumbdrive or networked connection) and run the following:
PS I didn't see previous answers before posting. upgradepkg is not included in the installer.
PS2 As suggested by others you can have the new packages available on another media instead of downloading them.
Last edited by Didier Spaier; 07-06-2017 at 01:48 PM.
Reason: PS2 added.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.