Hi,
On Centos-5.3, is it possible to capture an interrupt when the reset button on the Supermicro Box is pressed ?
Regards, Premraj M
Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. The company accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.
______________________________________________________________________________
This email has been scrubbed for your protection by SecureMX. For more information visit http://securemx.in ______________________________________________________________________________
From: "premrajm@digilink.in" premrajm@digilink.in
On Centos-5.3, is it possible to capture an interrupt when the reset button on the Supermicro Box is pressed ?
Google says to check /etc/acpi/events/... maybe it can do what you want.
JD
IMHO this is not possible as this is a NON maskable interrupt, thus the processor MUST do the jump and there is no way a programmer (think OS) can hook into that.
... and so it SHOULD. Think the other way, you have a hung OS (locked) and you need to reset. IF this was maskable you could press that button, but nothing wopuld happen as the OS already is dead, requiring a power cycle.
If you want something to reboot the computer by pressing a button, i.e. no keyboard, use the power button as this is maskable. Catch this through inittab and shut down the computer nicely (I do this one a few machines).
Jobst
On Wed, Jun 02, 2010 at 05:03:21PM +0530, premrajm@digilink.in (premrajm@digilink.in) wrote:
Hi,
On Centos-5.3, is it possible to capture an interrupt when the reset button on the Supermicro Box is pressed ?
Regards, Premraj M
Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. The company accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.
This email has been scrubbed for your protection by SecureMX. For more information visit http://securemx.in ______________________________________________________________________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jun 2, 2010 at 7:33 AM, premrajm@digilink.in wrote:
Hi,
On Centos-5.3, is it possible to capture an interrupt when the reset button on the Supermicro Box is pressed ?
Some of the Supermicro motherboards let you configure the reset button instead as another ACPI button, which you should be able to capture in the OS. This would be similar to the diagnostic button on many Dell servers which changes the blue led to amber (and seemingly little else.) Check your motherboard manual, there's either physical jumpers or an option in the BIOS.
-Gordon