LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-06-2007, 06:33 AM   #1
Mig21
Member
 
Registered: Jan 2005
Posts: 263

Rep: Reputation: 45
Slackware 12 kernel headers


I set up my Slackware 12 laptop to use vmlinuz-generic-2.6.21.5 instead of the default vmlinuz-huge-smp-2.6.21.5-smp because it's not possible to put the machine to sleep with the smp kernel. So sleeping works now.

But I have a new problem - installing vmware I got the following error:

Code:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] 

The directory of kernel headers (version 2.6.21.5-smp) does not match your 
running kernel (version 2.6.21.5).  Even if the module were to compile 
successfully, it would not load into the running kernel.
It sounds like a fair complaint, or is the vmware installer confused? I looked on all 6 cds and I can't find any package that would give me the headers for the generic-2.6.21.5 kernel.

Anybody else run into this?
 
Old 07-06-2007, 06:44 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
The package containing the headers is in "extra/linux-2.6.21.5-nosmp-sdk" on CD 2. The specific package you want is named "kernel-headers-2.6.21.5-i386-2".
 
Old 07-06-2007, 08:24 AM   #3
Mig21
Member
 
Registered: Jan 2005
Posts: 263

Original Poster
Rep: Reputation: 45
yey, it works, thanks! i don't know how i missed that directory.
 
Old 07-06-2007, 11:00 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

To the OP & others! You should read the Slackware 12.0 'CHANGES_AND_HINTS.TXT', 'RELEASE_NOTES' and 'README' to get information about your install. PV has provided us with loads of documentation, so use it.

Edit: Not too seem cold, but a lot of problems could be resolved or not even created if everyone would use the documentation provided.

Last edited by onebuck; 07-06-2007 at 11:02 AM.
 
  


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
Upgrading slackware kernel headers archlyn Slackware 12 01-27-2010 09:08 AM
Kernel Headers for 2.6 on Slackware 11.0 shadin Slackware 2 11-01-2006 04:14 PM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
Slackware 10.2 & 2.4.31 headers SlackwareInAZ Slackware 2 09-17-2005 09:26 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM

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

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