![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
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 |
| Display Modes | Rate This Thread |
|
|