LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:27 AM   #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, 12: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, 03: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 03:37 PM.
 
Old 05-29-2008, 03: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 03:55 PM.
 
Old 05-29-2008, 05:44 PM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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, 10: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



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

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

All times are GMT -5. The time now is 01:07 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
Open Source Consulting | Domain Registration