在 Fujitsu M10 系统上无法使用 Oracle Solaris 热插拔框架完全配置外设部件互连 (peripheral component interconnect, PCI) 盒。每个平台的 I/O 设备节点配置都不同,资源分配通过 pcicfg_slot 变量使用固定值指定。
# Fixed values for resource allocation [ uts/sun4/io/pcicfg.c ] static int pcicfg_slot_busnums = 8; static int pcicfg_slot_memsize = 32 * PCICFG_MEMGRAN; /* 32 MB per slot */ static int pcicfg_slot_iosize = 16 * PCICFG_IOGRAN; /* 64 K per slot */
通过固定值为每个子设备分配 MEM64、MEM32 和 I/O 设备的资源。例如,要配置四个子设备,应将 pcicfg_slot_busnums 变量的值设置为 32。
但是,Fujitsu M10 平台上的 Open Boot PROM (OBP) 支持 PCI 盒配置,并且可以使用 PCI 盒成功引导 Oracle Solaris。该问题只在 Oracle Solaris 热插拔框架中出现。可以使用 PCI 盒引导 OS,但 hotplug 无法识别它。
解决方法:要为系统配置 PCI 盒,请执行以下步骤:
在 /etc/system 文件中,设置 pcicfg:pcicfg_slot_busnums 变量。
set pcicfg:pcicfg_slot_busnums = 4
重新引导系统。
# reboot