The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
kernel module lagigliaivan IP Networking 2 11-14-2008 08:56 AM
How to convert Linux Kernel built-in module into a loadable module anitemp Linux 0 10-10-2008 02:33 AM
max number of slabs per kernel module (kernel 2.6.17, suse) Brendan Kennedy SuSE 4 01-23-2008 09:40 AM
How to shutdown Power Trust UPS Monitoring? kanpatel HP-UX 3 11-06-2007 11:56 AM
Making Socket System Call From Linux Kernel Module? mian_m_hamayun Linux 0 04-06-2005 10:34 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-25-2009
dariyoosh's Avatar
dariyoosh dariyoosh is offline
Registered User
  
 

Join Date: Mar 2009
Location: Iran (Tehran)
Posts: 44
A question about kernel module and system power-shutdown

Dear all,


I've just installed a Vanilla kernel (last stable version downloaded from www.kernel.org) as an exercice in order to better understand how to compile linux kernel. I loaded the .config file of the current kernel (Redhat kernel) in the menuconfig in order to restore all already activated options and I just added the support for NTFS (read and write). I proceeded all instructions as was explained in the HOWTO and apparently it works pretty well. However, there is something a bit strange. Whenever I want to shutdown the system from the command line, I run


Code:
# shutdown -h now

the option -h actually shuts down electrically the computer. Yet, by this new kernel (fortuantely I conserved the old kernel!) I have the following output:


Code:
# shutdown -h now
.
.  here I see system processes and daemons being shutdown as usual
.
Turning off swap                                 [ OK ]
Turning off quotas                               [ OK ]
Unmounting pipe file systems:                    [ OK ]
Halting system...
md: stopping all md devices.
shutdown: hda
System halted.

So as you can see at the last line we see "System halted.", but right after that, the computer halts and nothing happens, whereas I excpect it to be shutdown electrically. But this does not happen and I have to push manually the power button.

Is there a particular module that had to be activated in the new kernel that I forgot?


Thanks in advance,

Kind Regards,
Dariyoosh


---------- Post updated at 09:28 PM ---------- Previous update was at 09:27 PM ----------

Ok, finally I found the answer by myself!


I checked the config file and there were several ACPI options activated (y). Surprisingly I had ACPI=off in /boot/grub/grub.conf, I just changed it to ACPI=on and it worked pretty well.


Regards,
Dariyoosh
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0