LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-07-2005, 10:02 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Unhappy trouble 2.4.20 to 2.6.10 (also libc updgare)


Dear All.

I appreciate any help.

I am upgrading from Debian (woody kernel 2.4.20 gcc 2.95.4) to Slackware 10.1 (kernel 2.6.10 gcc 3.3.4, glibc2.3.2).

Debian is sitting in /dev/hda5 and I am installing Slackware on /dev/hda1.

First, I installed Slackware onto /dev/hda1 (kernel 2.4.29) then complied new kernel (2.6.10). Unfortunately, new one did not start up and things were messed up. Next, I booted on Debian and compiled new kernel (2.6.10) and installed onto /dev/hda1, which booted successfully. Now, while tuning up this kernel and pcmcia-cs, I ran into trouble.

Problem is:
I've got some modules not working. dmesg complains as follows:

***************************************************

agpgart: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
ide_scsi: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
pcmcia_core: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
pcmcia_core: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
pcmcia: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
ipv6: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'
ipv6: version magic '2.6.10 486 gcc-3.3' should be '2.6.10 486 gcc-2.95'

************************************************************

It seems that problem comes from the fact that Debian and Slackware use different version of libc and/or gcc.

I did "make mrproper" and "make clean" when I complied 2.6.10. so that whatever I compiled on Debian are erased (I think.) I also physically erased modules and installed again, but no luck.

How can I solve this situation?

Could this be a problem with System.map or config? (I do not quite understand how lilo and "make install" work with dual boot.) I did both manually copy bzImage and use lilo. (no luck again.)

Thanks in advance.

Kaz
 
Old 06-10-2005, 11:19 PM   #2
geoffreyprewett
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
I had the same problem this evening on my Gentoo box and it turned out to be that I hadn't run LILO. I figure that the problem is caused by the `cp` command not actually overwriting the old kernel but putting it in a different location on the disk. Unlike GRUB, LILO can't parse the filesystem, so it has to know the exact physical location on the disk where the kernel is. Since that just changed, it gets the wrong kernel because the old bits are still there on the disk, just not in the filesystem.

Try doing `cat /proc/version` to see what version your kernel thinks it is. Then find a module and do `modinfo /path/to/module.ko` to find out what the module thinks it is. If the kernel has the wrong version, then LILO must not have actually done anything. Check for an error or the -t flag. I like to run lilo with the -v or even -vv option just so I can see what it's doing. If the module has the wrong version, then a good 'ol `make clean` on your kernel source and then a recompile should fix the problem.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux-libc-headers-2.6.8.1 trouble obsidianblackha Linux From Scratch 1 12-03-2004 06:30 PM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM
libc.so.6 alperen Linux - Software 1 09-15-2003 11:46 AM
libc.so verse libc.so.5 markstevens Linux - Software 4 06-19-2003 11:41 AM
libc.so.6 bash Linux - Distributions 2 08-09-2002 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:42 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