用Linux時遇上hang機要點做

如果num lock燈無反應,我通常都會按大制重新開機

但有時,死唔晒,例如,雖然視窗方塊死晒,但Ctrl-Alt-F1仲會入到text mode識行識走
依D情況有冇得救?

仲會唔會有其他情況??

if you can login as root in text mode. you can shutdown or reboot the machine. there is another case that you can not switch to text mode in your machine, but you can ssh in from remote machine. if your machine hang very often, you can enable the ssh server function and try to login from other machines.

TOP

如果你去到 text mode, 可以嘗試 kill 應該 hang 咗嘅 process.
至於點 kill, 睇2個指令: ps & kill

TOP

我怕遇到 READ-ONLY system ...

咁多次都係冇得救 ... 要reinstall ...

TOP

如果num lock燈無反應,我通常都會按大制重新開機

但有時,死唔晒,例如,雖然視窗方塊死晒,但Ctrl-Alt-F ...
菜波 發表於 2010-1-18 02:57


如果可轉到ctrl-alt-F1的話.. 可以用alt-F2開個新console, login. 在那裏用top, ps, kill..

TOP

本帖最後由 icarus-c 於 2010-1-18 16:28 編輯

IF lock up:
    IF kernel panic (keyboard's indicator light flashing):
        only a hard reset could help

    IF running X : ctrl-alt-backspace  to restart X server
    try:
        switching tty and issue commands to kill faulty processes or shutdown
    IF Doesn't work : raise the skinny elephant  (alt-sysrq) + r,s,e,i,u,b

TOP

回復 4# fatdog

have you tried e2fsck ?....

TOP

回復  fatdog

have you tried e2fsck ?....
icarus-c 發表於 2010-1-18 16:29



tried ...

sometimes ... superblock error ...

TOP

numlock 燈沒反應都去到 ctrl-alt-f1, etc
咁好彩的話,login 到時打 reboot  啦
唔 ps/kill 啦,proper shutdown 好些。

readonly filesystem 既情況好少的,
梗有理由,但不至於重裝的。

您用那個 filesystem 會有 superlock error ? RAID 嗎?

TOP

certify 死機,ping 幾次唔睬,壓 power button
ext 好硬的
reiserfs 就唔好了

TOP