LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 07-19-2008, 04:22 AM   #1
stoatontoast
LQ Newbie
 
Registered: Mar 2004
Distribution: puppy 3.01, Xubuntu 8.04
Posts: 8

Rep: Reputation: 0
Enabling Puppy kernel configuration options


I have Puppy 3.01 as a hard disk install on an old Dell Latitude pentium 3 500 MHz laptop. Recently I installed Powertop in order to optimise the power usage. Running Powertop it recommends that I enable kernel configuration options such as CONFIG_INOTIFY, CONFIG_ACPI_BATTERY, CONFIG_TIMER_STATS and others.

I have googled kernel rebuilding and it seems I need to run menuconfig or xconfig to enable these modules. However, when I cd to /lib/modules/2.6.21.7 and type
Code:
make menuconfig
or
Code:
make xconfig
I get an error like:
make: *** No rule to make target `xconfig'. Stop.

I have the devx package installed so make should work. Not sure if I have ncurses or qt, but typing
Code:
config
doesn't work either.

Am I in the right directory? Can anyone help?

Thanks
 
Old 07-22-2008, 04:25 PM   #2
usdanskys
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora, Ubuntu, Puppy
Posts: 17

Rep: Reputation: 1
Quote:
Originally Posted by stoatontoast View Post
I have Puppy 3.01 as a hard disk install on an old Dell Latitude pentium 3 500 MHz laptop. Recently I installed Powertop in order to optimise the power usage. Running Powertop it recommends that I enable kernel configuration options such as CONFIG_INOTIFY, CONFIG_ACPI_BATTERY, CONFIG_TIMER_STATS and others.

I have googled kernel rebuilding and it seems I need to run menuconfig or xconfig to enable these modules. However, when I cd to /lib/modules/2.6.21.7 and type
Code:
make menuconfig
or
Code:
make xconfig
I get an error like:
make: *** No rule to make target `xconfig'. Stop.

I have the devx package installed so make should work. Not sure if I have ncurses or qt, but typing
Code:
config
doesn't work either.

Am I in the right directory? Can anyone help?

Thanks
Do you have the kernel source installed? (i don't have the devx package installed, so I don't know if it includes the kernel source)
 
Old 07-23-2008, 04:24 PM   #3
stoatontoast
LQ Newbie
 
Registered: Mar 2004
Distribution: puppy 3.01, Xubuntu 8.04
Posts: 8

Original Poster
Rep: Reputation: 0
I think maybe I don't. I guess Puppy remains small by not including stuff like that.

The contents of this folder are

./lib/modules/2.6.21.7:
total 176
-rw-r--r-- 1 root root 40190 2008-03-14 11:48 modules.usbmap
-rw-r--r-- 1 root root 36239 2008-03-14 11:48 modules.alias
-rw-r--r-- 1 root root 29310 2008-03-14 11:48 modules.pcimap
-rw-r--r-- 1 root root 23288 2008-03-14 11:48 modules.symbols
-rw-r--r-- 1 root root 16872 2008-03-14 11:48 modules.dep
-rw-r--r-- 1 root root 235 2008-03-14 11:48 modules.isapnpmap
-rw-r--r-- 1 root root 141 2008-03-14 11:48 modules.inputmap
drwxr-xr-x 7 root root 135 2008-03-14 19:47 kernel
-rw-r--r-- 1 root root 74 2008-03-14 11:48 modules.ofmap
-rw-r--r-- 1 root root 73 2008-03-14 11:48 modules.ieee1394map
-rw-r--r-- 1 root root 69 2008-03-14 11:48 modules.ccwmap
drwxr-xr-x 3 root root 57 2008-03-14 11:39 initrd
-rw-r--r-- 1 root root 43 2008-03-14 11:48 modules.seriomap

./lib/modules/2.6.21.7/kernel:
total 0
drwxr-xr-x 9 root root 176 2008-03-14 19:47 drivers
drwxr-xr-x 6 root root 146 2008-03-14 19:47 sound
drwxr-xr-x 3 root root 91 2007-10-15 08:23 lib
drwxr-xr-x 4 root root 80 2007-10-15 08:23 net
drwxr-xr-x 3 root root 56 2007-10-15 08:23 fs

Any idea where I can get the source files?
 
Old 07-23-2008, 11:27 PM   #4
Honeysuckle
Member
 
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118

Rep: Reputation: 15
Is this helpful?

http://www.puppylinux.com/development/compilekernel.htm
 
Old 07-24-2008, 03:58 AM   #5
stoatontoast
LQ Newbie
 
Registered: Mar 2004
Distribution: puppy 3.01, Xubuntu 8.04
Posts: 8

Original Poster
Rep: Reputation: 0
Yes. Thanks. From that page I found a link to http://puptrix.org/sources where you can download patched kernels. I'll give it a try.
 
Old 07-25-2008, 06:14 AM   #6
stoatontoast
LQ Newbie
 
Registered: Mar 2004
Distribution: puppy 3.01, Xubuntu 8.04
Posts: 8

Original Poster
Rep: Reputation: 0
Yep! That was the problem. I downloaded the patched kernel to /usr/src/ uncompressed it, cd'd into the new linux-2.6.... directory and it all worked like a dream. Thanks for your help.
 
Old 07-25-2008, 06:36 AM   #7
Honeysuckle
Member
 
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118

Rep: Reputation: 15
Quote:
Originally Posted by stoatontoast View Post
it all worked like a dream.
Oh, that's good, glad you got it sorted.
 
  


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
enabling shutdown options problem blastradius Slackware 1 08-06-2006 05:08 AM
Enabling kernel options Mondus Linux - Software 2 08-03-2005 09:22 AM
No networking options in kernel configuration ab_s0248 Linux - Distributions 1 04-28-2005 04:18 PM
No networking options in kernel configuration ab_s0248 Linux - Networking 1 04-28-2005 02:05 PM
Kernel configuration options explained? Present Linux - General 6 02-19-2005 12:07 PM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
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