引导或重新引导 Oracle Solaris 11.2 SRU10 或更新版本时,系统可能不响应(挂起)。
正常引导期间,系统在刚刚显示 "All rights reserved" 之后且在显示 "Hostname" 之前挂起:
SunOS Release 5.11 Version 11.2 64-bit Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved. (Messages stop here) Hostname: myhostname
在详细引导模式(-v 内核引导选项)下,系统在使 CPU 联机时挂起。例如:
SunOS Release 5.11 Version 11.2 64-bit Copyright (c) 1983, 2015, Oracle and/or its affiliates. All rights reserved. cpu0: x86 (chipid 0x0 GenuineIntel 306F4 family 6 model 63 step 4 clock 2600 MHz) cpu0: Intel(r) Xeon(r) CPU E7-8895 v3 @ 2.60GHz initialized cpu module 'cpu.generic' on chip 0 core 1 strand 0 initialized model-specific module 'cpu_ms.GenuineIntel' on chip 0 core 1 strand 0 acpinex: cpu@2, cpudrv2 /fw/sb@0/socket@0/cpu@2 (cpudrv2) online cpu1: x86 (chipid 0x0 GenuineIntel 306F4 family 6 model 63 step 4 clock 2600 MH) cpu1: Intel(r) Xeon(r) CPU E7-8895 v3 @ 2.60GHz cpu1 initialization complete - online (Messages stop here)
解决方法
使用以下三种选择之一:
重新引导系统或对其进行关开机循环。可能会引导成功。
修改电源管理相关的参数并重新引导:
将以下内容添加到 /etc/system 中:
set idle_cpu_no_deep_c=1
set idle_cpu_prefer_mwait=0
输入命令:bootadm update-archive
重新引导系统。
采用临时解决方案或启动一个非引导系统:
要引导至内核调试器,请将 -kd 添加到内核行上的 grub 条目中。
在调试器中,键入:
idle_cpu_no_deep_c/W 1
idle_cpu_prefer_mwait/W 0
:c