免费注册 查看新帖 |

Chinaunix

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

Sun 4800外接D240不能从光驱启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-19 16:27 |只看该作者 |倒序浏览

在给一台E6900重装系统的时候,遇到了不能从光驱启动的问题,在网上找到了这篇文章,解决了问题。
以下为转载的内容:
今天安装一台Sun 4800操作系统Solaris9。插入光盘后在OK提示符下boot cdrom报错,说找不到boot device
到Sun网站上去看了看,找到了解决方案(感觉明明就是一个bug):
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.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3523/showart_1210631.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP