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.
Any keyboard shortcut to kill the process? Ctrl+C does not work.
On 5/5/07, Rony ronbillypop@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.
Regards Rajeev
Any keyboard shortcut to kill the process? Ctrl+C does not work.
-- Regards,
Rony.
Rajeev R. K. wrote:
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.
Thanks Rajeev, this is something new I learnt. :)
On 5/5/07, Rony ronbillypop@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?
A similar problem that I faced was dealing with bad media (i think) leading to the cd drive hung on I/O. googling gave this: http://linuxgazette.net/issue83/tag/6.html
Comments?
Regards, Mohan S N