Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-19-2005, 10:43 AM   #1
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Rep: Reputation: 15
About compiling kernel

I want to compile the kernel to make it can cut power off when shutdown, but there too many options when configuration, and I only understand servral options' meaning. So where is the default configuration file?
Old 05-19-2005, 11:15 AM   #2
Registered: Apr 2005
Location: Manchester, UK
Distribution: Slackware Current
Posts: 39

Rep: Reputation: 15

Try this instead:

Shutdown / power off in Slack

Slackware does not power off by default as you give the command ¨shutdown -h now¨.
To address that problem:

# vi /etc/rc.d/rc.modules

Look for the APM section and

uncomment the line ¨# /sbin/modprobe apm¨ ( delete the # )

Save the file ( give the command /sbin/modprobe apm if you don´t want to reboot ) and next time you do ¨shutdown -h now¨ as root your computer will power off as usual.


Hope this helps,

Old 05-20-2005, 12:25 AM   #3
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
Thank you! It really works!


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 01:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Help! Everything seems to be compiling into kernel! KuRe Slackware 18 12-17-2003 08:04 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration