LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-29-2008, 12:27 PM   #1
Taoye
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
compiled 2.6.24.5 kernel, weird boot-up messages & no mouse, thinkpad x61s


Hi all, I'm a Slack newbie and have followed the instructions for compiling a kernel and installing it and I think I followed everything to the letter.

When I boot into the new kernel there are messages in the boot process that weren't there with the huge kernel... for example:

pcmcia_core: version magic '2.6.24.5-smp SMP mod_unload CORE2 ' should be '2.6.24.5-smp SMP mod_unload 686 '

in a whole list, replacing pcmcia_core with yenta_socket, rsrc_nonstatic, pcmcia, e1000, there are about two dozen of these identical error messages.

When I startx and get into Xfce my trackpoint AND usb mice do not work...

Any ideas?
 
Old 05-29-2008, 01:40 PM   #2
toni_N
LQ Newbie
 
Registered: May 2008
Location: Italy, Sicily , Palermo
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
which config file did you use?
 
Old 05-29-2008, 04:36 PM   #3
Taoye
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
I used the config from: http://slackware.mirrors.tds.net/pub...p-2.6.24.5-smp
and changed a few things using xconfig (processor type, 4GB, dynamic tick, timer, and the filesystems i have installed)

Also... while building the kernel after doing make bzImage modules and it is compiling, I am seeing this warning pass along every now and then: "passing argument 1 of "_memcpy" discards qualifiers from pointer target type" and a few other similar ones.

Is this normal?

Last edited by Taoye; 05-29-2008 at 04:37 PM.
 
Old 05-29-2008, 04:53 PM   #4
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
Quote:
Originally Posted by Taoye View Post
[...]I am seeing this warning pass along every now and then: "passing argument 1 of "_memcpy" discards qualifiers from pointer target type" and a few other similar ones.

Is this normal?
Yep, its normal.

The reason you are seeing the boot messages described above is because the kernel is referring to modules from a different compilation or because the local version string doesn't match.

I recommend deleting all directory trees in /lib/modules before doing a "make modules_install" in the kernel source tree, and then also copying /etc/rc.d/rc.modules-<version> to match the module directory name (relink rc.modules to the new file, as well).

Pay attention to the General Setup->Local Version String variable in the kernel configuration, remove the -smp if you disable SMP. That will ensure that the directory name in /lib/modules and the files and references in /etc/rc.d will match.

Of course, you also need to re-run lilo (if you use it) after making any of these changes.

Last edited by raconteur; 05-29-2008 at 04:55 PM.
 
Old 05-29-2008, 06:44 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
You could change either the LOCALVERSION variable to something other than the Slackware 12.1 default to prevent overwriting /lib/modules/2.6.24.5-smp, or you could edit the Makefile and change the EXTRAVERSION option. Alternatively, you could use a newer kernel version and avoid the problem altogether.
 
Old 05-29-2008, 11:53 PM   #6
Taoye
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
I re-built the kernel again and was a bit more careful and it's working now. I think the problem happened when I installed the kernel and edited lilo.conf... it was as raconteur described.

All appears to be well now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Information on ThinkPad X61s fred87 Slackware 1 08-18-2007 02:30 AM
LXer: Installing Sidux (Debian Sid) on Lenovo/IBM Thinkpad X61s LXer Syndicated Linux News 0 07-15-2007 04:31 AM
Re-compiled kernel, now it can't find /dev/mouse igor@44 Linux - General 6 05-26-2006 04:12 PM
I compiled the 2.6.7 kernel, mouse problem psykon Slackware 2 08-14-2004 07:07 PM
KDevelop, weird startup messages & glade-- swinchen Slackware 1 04-05-2004 06:39 PM


All times are GMT -5. The time now is 10:04 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration