[ILUG-BOM] Killimg bad cd/dvd scan process.
Rajeev R. K.
Sat May 5 23:17:25 IST 2007
On 5/5/07, Rony <ronbillypop at yahoo.co.uk> wrote:
> Hello All,
> How does one kill a runaway bad cd/dvd reading process that does not
> allow any other program to run? Even in console, before one can log in
> and do ps -ax, it floods the screen with I/O error messages.
Those are kernel debug messages. they do not interfere with your input, u
can still log in normally, u just cannot see yourself logging in. Just type
the username and password as you would otherwise, and u'll be logged in...
If you wish to stop the messages, you can use the Magic SysRQ combination of
Alt+SysRq+1, to se the kernel log level to 1. In order to enable magic
SysRQ, you can execute this command "echo 1 > /proc/sys/kernel/sysrq", and
then use the key combination. go ahead typing it even if you cannot see what
you are typing because of the io messages, it'll work. Then after the output
stops, you can run a ps and kill the offending process.
Do note that magic-sysrq is dangerous to leave enabled on a production
machine, as it allows direct kernel level commands without any security
considerations. dont leave it on permanently, unless it's a desktop.
Any keyboard shortcut to kill the process? Ctrl+C does not work.
More information about the Linuxers