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.
Hi everyone ... I (obviously) have a problem after upgrading to a new kernel.
I'm running Slack 9.1 amd upgraded from the standart 2.4.22 to 2.6.8.1
there were no problems at all configuring and compiling the new kernel ... but now some of my libraries dont seem to work anymore ... for example my nvidia kernel module (yes I recompiled it for the new kernel) ... the other one not working is libGL
ldconfig gives me the follwing hints:
/usr/lib/libGL.so.1 is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /usr/lib/libGL.so.1.0.5336 is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /usr/lib/libGL.so is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /usr/lib/libGLcore.so.1 is not an ELF file (it's always the same error)
ldconfig: /usr/lib/libGLcore.so.1.0.5336 is not an ELF file
ldconfig: /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.5336 is not an ELF file
ldconfig: /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1 is not an ELF file
ldconfig: /usr/X11R6/lib/libXvMCNVIDIA.so.1 is not an ELF file
ldconfig: /usr/X11R6/lib/libXvMCNVIDIA.so is not an ELF file
can someone tell me what's wrong and why some things aren't working ? and most of all .. what to do about it
ok ... I found out some more information ...
1. it's not just a problem in 2.6.8.1 anymore ... I also get the same error when I boot my backup kernel (2.4.22)
2. at compile and at boot time I get the following messages:
agpgart: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
crc32: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
8390: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
ne2k_pci: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
isdn: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
hisax: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
ide_scsi: version magic '2.6.8.1 K7 4KSTACKS gcc-3.2' should be '2.6.8.1 SMP preempt K7 4KSTACKS gcc-3.2'
what does that mean ? I deactivated 4k stacks by now and I still get that error.... by the way .. this is just a short list of invalid modules ... there are far more.
right so you compiled this kernel from scratch right? by default SMP (multiple cpu support) is normally on, for some odd reason, which i'm assuming is what the kernel configuration was for the older kernel. turning it back on will not have a negative effect, it'll just be ignored. you'd also want to enable preemptive scheduling too.. which i believe is on the same config page.
as a disclaimer i've not seen errors like that before, it just looks implicit that making those changes should make the magic numbers the same.
Oh, maybe i'm reading it a little wrong, and the new kernel's magic is on the left, not the right.... so you might want to disable it instead of enabling it!
ok ... I've just enabled SMP and recompiled the kernel ... and most things work fine now ... I still get some of those errors concerning libGL ... but I haven't noticed any programm that's not working right.
so thanks for the help .... I think I can figure out the rest myself
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.