In addition to what has been said already. As you're using Linux you might be able to use magic sysrrq to enforce a reboot on kernel level. I've had similar issues with broken disk arrays which prevented proper shutdown and reboot. So you might at least not have to wait until your battery drains completely.
Assuming 'magic sysrq' is enabled in your kernel (kernel config CONFIG_MAGIC_SYSRQ
) you can use Alt+SysRq+b to reboot the machine.
NOTE: This is forcing an immediate reboot without unmounting any HDD cleanly. So a file system check on next reboot might be required/recommended.
If you're running a graphical user interface like KDE or Gnome, then either switch to a console (using CTRL+Alt+F1) or try CTRL+Alt+SysRq+b from the GUI.
You might also have to check whether your kernel has magic sysrq enabled by typing cat /proc/sys/kernel/sysrq
.
You can also initiate a sysrq-reboot on remote systems:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
This would lead to an immediate reboot if CONFIG_MAGIC_SYSRQ
was compiled into the kernel.
More details on magic sqsrq can be found here.
NOTE: on the Samsung Series 9, the key labeled "Fn Lock" serves as SysRq, though it is not printed as such.
Same issue with a Samsung Series 7 Chronos. Putting
i8042.dumbkbd
doesn't prevent the kernel to blink the led when going into panic mode (but I lost caps lock led in normal use). – Julien H. - SonarSource Team – 2016-03-28T13:33:32.883I'm having the exact same issue right now. Apparently I have to wait until it runs out of battery. :( – passy – 2011-06-04T14:35:41.653
2By the way I found out why this happens or at least a theory that holds up in testing. Apparently the power button is handled by the same hardware that handles the keyboard and the LEDs. When the kernel panics and blinks the caps-lock LED this constantly resets the timer for how long the power button has been held down. Therefore the keyboard controller never resets the power. – Zan Lynx – 2011-07-06T20:17:12.230
To avoid having the kernel blink the LEDs you can put
i8042.dumbkbd
on the kernel command line. – Zan Lynx – 2011-07-06T20:18:21.247