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 09-14-2005, 11:24 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Compiling A Non-Bloated Kernel


Hey all,

I just finished compiling my first new kernel(Yay! ). Now I want to try and go back and take out what I don't need. I know I have a lot of stuff compiled in that I will never use.

Before I do this, though, I was wondering if I uncheck a setting and then compile it and it doesn't work. I know I can use the kernel before the new one to boot, add that setting back into my kernel. But when I compile it, can I just run make to compile the new setting or do I have to run mrproper, to clear all the stuff from the old compile and recompile the entire kernel again? I noticed one time I ran make without mrproper and it went by really fast, but I wasn't sure if it created what I needed or not.

Thanks,
Chris
 
Old 09-14-2005, 11:36 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
A lot of this depends on several things. Oh, and be careful, 'make mrproper' deletes your kernel config too.

On 2.4 kernels, it was generally considered that a 'make clean' was really needed before rebuilding. With 2.6 kernels, the dependency tracking has been greatly improved, and a 'make' should be fine. Makes after the first should be faster, because source files with no configuration changes don't need to be recompiled: the existing object files (file.o) can just be linked into the final version.
 
Old 09-14-2005, 11:43 PM   #3
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
Awesome, that's really good to know. Heh, I must have forgotten to mention in my first post that the kernel I compiled was the 2.6.13.1 kernel. But it looks like I have to go back to a 2.6.12 kernel in order to get my damn ATI drivers working :-\. It's more practice I suppose.

Anyway, thanks for the response.
 
Old 09-14-2005, 11:51 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Which ATI drivers are you trying to use? The Xorg or XFree ones, or the proprietary ones written by ATI?

And yeah, mentioning a kernel version in a thread about compiling a kernel might be helpful. *grin* But I answered it for both version to help future searchers/readers.
 
Old 09-15-2005, 01:34 AM   #5
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
I am trying to get the proprietary ones from ATI to work. Unfortunately it is not going too well. I finally got Xorg to start, before it would not even start, it just froze. However, when I run the glxgears test program I get about 2000FPS(not sure if thats good or not).

When I run the fgl_glxgears test program I get about .663 - .8 FRS. (That is less than ONE FPS). The fgl_glxgears program does give me this error over and over and over as it runs:

Code:
FGLTexMgr: open of shared memory object failed (Function not implemented)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
I am not sure what that means, maybe someone else could help? I installed the latest ATI drivers and I am using kernel 2.6.12 and Xorg 8.6.2.

Thanks
 
Old 09-15-2005, 03:59 AM   #6
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
You need to enable POSIX shared memory.

http://www2.ati.com/drivers/linux/li...st.html#176878
(See "3D Applications Produce Open of Shared Memory Object Failed Error Message" for how to enable POSIX shared memory).
 
  


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
Bloated file which can't be removed... Imerion Linux - General 5 09-16-2005 09:44 AM
bloated? joshknape Mandriva 15 08-03-2005 03:57 AM
SuSE 9.2 seems to get bloated foxy123 SUSE / openSUSE 8 01-19-2005 09:30 AM
Is a kernel full of modules options bloated ? Bluesuperman Linux - Newbie 2 10-17-2003 10:53 PM
Bloated Distros? shermang Linux - Distributions 16 09-08-2003 11:24 AM

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

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