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
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:
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.
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Question may seem illogical but I still need clarification.
Can we debug kernel modules loaded on my target system using kdb / kgdb without using any other system or remote debugging?
In other words my question is can we use kdb/kgdb to debug kernel modules running on same system? (2 Replies)
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Hi All,
I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat.
Somebody know if I can do this using netfilter??
Thanks. (2 Replies)
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Hi,
We had a HP Power Trust UPS connected to our HP Server using HP Unix 11. The UPS has died, and been taken off the server. The / filesystem runs out off space (100% full) as a core file is made in /etc/opt/resmon. The core file mentions monitoring of the UPS. Removing this file, another one... (3 Replies)
Hi Everyone!
How can we make a socket() system call from a linux module executing in kernel space?
If any one knows, kindly tell me. It will be great.
I want to use the socket interface in linux kernel space for sending raw packets over the network.
Hamayun (0 Replies)