免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1074 | 回复: 0
打印 上一主题 下一主题

关于38/48/6800启动故障的解决办法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-09 14:03 |只看该作者 |倒序浏览
前几天装机器,遇到domain划分后,机器无法从光驱启动,但硬件完全是好的,以下是处理经验,供大家参考:

现象:ok提示符下boot命令输入时显示can't open boot device

第一种情况:
如果是双通道的SCSI卡见SUN公司的如下文档:

Document Audience: PUBLIC
Document ID: 71504
Title: "ERROR: Can't open boot device" booting CDROM or disk with Sun[TM] Dual FastEthernet / Dual SCSI PCI Card
Synopsis: "ERROR: Can't open boot device" booting CDROM or disk with Sun[TM] Dual FastEthernet / Dual SCSI PCI Card
Update Date: Thu Sep 23 00:00:00 MDT 2004
Products: Sun Fire 6800 Server, Sun Fire 4810 Server, Sun Fire 4800 Server, Sun Fire 3800 Server, Sun Fire E25K Server, Sun Fire E20K Server, Sun Fire 15K Server, Sun Fire 12K Server, Sun Fire V1280 Server, Sun Fire E2900 Server, Sun Fire E4900 Server, Sun Fire E6900 Server
Technical Areas: Boot, SCSI Host Bus Adapter (HBA), SCSI (Small Computer System Interface), OBP (OpenBoot PROM)

--------------------------------------------------------------------------------


--------------------------------------------------------------------------------

Keyword(s):cauldron

Problem Statement:

A system is unable to boot CDROM or disk after configuring the boot alias of the DVD-Rom or disks of a D240 like a regular CDROM or disk connected to a SCSI card.

The probe-scsi-all command shows the DVD-ROM at /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1 at target 6, LUN 0, and shows the disks at /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1 at targets 0 and 1.

ok boot /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1/sd@6,0:f
ERROR: Can't open boot-device
ok boot /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1/sd@0,0:f
ERROR: Can't open boot-device
Resolution:

The Sun Dual FastEthernet / Dual SCSI PCI Card uses "disk@X,X" instead of "sd@X,X" for its OpenBoot PROM (OBP) driver name.

Some users may be confused by this, as they assume that the OBP driver name will always be the same as the Solaris driver name. This is not the case.

When running the 'format' command from Solaris, it reports the device path as "sd@X,X". This also adds to the confusion, as it is using the Solaris driver name in the device path.

The correct method to allow for a successful boot is to use the device path as reported by the OpenBoot PROM (OBP), using the "show-disks" command.

It should be noted that the show-disks command does not report the device SCSI Target and LUN details. Target and LUN details can be obtained from the "probe-scsi-all" command.

This means you will need to add something like "@X,X" to the end of the device path supplied by "show-disks".

For example:

ok probe-scsi-all
.
.
/ssm@0,0/pci@1d,700000/pci@1/scsi@2,1
Target 0
Unit 0 Disk FUJITSU MAP3367N SUN36G 0401
Target 1
Unit 0 Disk FUJITSU MAP3367N SUN36G 0401
Target 2
Unit 0 Processor Sun D240 1.09
Target 3
Unit 0 Processor Sun D240 1.09
Target 4
Unit 0 Removable Tape HP C5683A C005
Target 6
Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M17111005
.
.
ok show-disks
a) /pci@3d,700000/pci@1/scsi@2,1/disk
b) /pci@3d,700000/pci@1/scsi@2/disk
c) /pci@1d,700000/pci@1/scsi@2,1/disk
d) /pci@1d,700000/pci@1/scsi@2/disk
q) NO SELECTION
Enter Selection, q to quit: q
Using this information, and the Target / LUN details obtained from a probe-scsi-all, you can now construct the correct device path to boot from.

ok reset-all
ok boot /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1/disk@6,0:f
NOTE:

Make sure that you execute 'reset-all' before 'boot' with "disk@X,X" at the end of the device path, otherwise you may not be able to boot and get the error: Data MMU Miss.

Using "reset-all" will avoid the following scenario:

ok boot /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1/sd@6,0:f
ERROR: Can't open boot-device
ok boot /ssm@0,0/pci@1d,700000/pci@1/scsi@2,1/disk@6,0:f
Data MMU Miss
Whilst this issue is most frequently encountered on the D240, as it is most frequently used boot storage for the Sunfire Midrange series of servers, the problem is not unique to the D240. This misconfiguration error can be seen on virtually any storage that can be connected to the Sun[TM] Dual FastEthernet / Dual SCSI PCI Card (e.g Sun StorEdge S1).

The most important thing to remember is that, regardless of the controller type, the paths as reported by "show-disks" at the OBP are the paths you need to use when booting.

Temporary Workaround:


Additional Information:


第二种情况:

如果是单通道的SCSI卡,很有可能设备路径不对,显示如下:(注意加粗部分)
{a} ok boot cdrom
ERROR: Can't open boot-device
{a} ok devalias
Alias                 Device Path
--------------------------------------------------
xdisk                 /ssm@0,0/pci@1d,600000/SUNW,qlc@1/fp@0,0/disk@0,0
xnet                  /ssm@0,0/pci@1d,700000/pci@2/SUNW,hme@0,1
diskc                 /ssm@0,0/pci@1c,700000/pci@1/SUNW,isptwo@4/sd@0,0
netc                  /ssm@0,0/pci@1c,700000/pci@1/SUNW,hme
cdrom                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@6,0:f
disk                  /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@0,0
disk0                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@0,0
disk1                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@1,0
disk2                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@2,0
disk3                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@3,0
disk4                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@4,0
disk5                 /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@5,0
def-cn                /sgcn
diskifp               /ssm@0,0/pci@19,700000/SUNW,ifp@1/ssd@0,0
diskglm               /ssm@0,0/pci@18,700000/scsi@2/disk@0,0
scsi                  /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo
net                   /ssm@0,0/pci@18,700000/pci@1/SUNW,hme
{a} ok boot /ssm@0,0/pci@18,700000/pci@1/SUNW,isptwo@4/sd@6,0:f
ERROR: Can't open boot-device
{a} ok probe-scsi-all


/ssm@0,0/pci@1d,600000/SUNW,qlc@1


/ssm@0,0/pci@1d,700000/pci@2/SUNW,isptwo@4
Target 0
  Unit 0   Disk     HITACHI DK32EJ36NSUN36G PQ08
Target 1
  Unit 0   Disk     HITACHI DK32EJ36NSUN36G PQ08
Target 2
  Unit 0   Processor     Sun     D240            1.09
Target 3
  Unit 0   Processor     Sun     D240            1.09
Target 4
  Unit 0   Removable Tape     HP      C5683A          C005
Target 6
  Unit 0   Removable Read Only device    TOSHIBA DVD-ROM SD-M14011009


/ssm@0,0/pci@1c,600000/SUNW,qlc@1

{a} ok boot /ssm@0,0/pci@1d,700000/pci@1/SUNW,isptwo@4/sd@6,0:f
SunOS Release 5.9 Version Generic_112233-05 64-bit
Copyright 1983-2002 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
......
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP