如何避免Sun主机被拔掉键盘后进入OBP

转自fullbird的blog

Sun Sparc主机拔掉键盘系统会进入OBP(open boot prom),

这是由于在插拔这种键盘的时候会发出break信号,

这样系统检测到就会进入这个状态。

一般在我们公司是象Sun Enterprise系列如220R,420R,450,4500等都会这样,

尤其是我们使用kvm就会碰到这个问题,

对于Sun Fire系列没有这个问题,

是由于这种是新机型,

默认装系统时KEYBOARD_ABORT=alternate。

如果碰到这种情形,最快恢复系统的办法就是:

ok>go

为了避免这种情形发生,

修改下列参数(这个办法只是在solaris 8以后才支持):

vi /etc/default/kbd

KEYBOARD_ABORT=alternate

保存

kbd -i就可以了

注释:enable代表不允许拔掉键盘,

不禁止STOP+A这是默认设置

disable代表允许拔掉键盘,但会禁止STOP+A

alternate代表允许拔掉键盘,同时也不禁止STOP +A

转自fullbird的blog

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word