Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1002981.1
Update Date:2009-03-09
Keywords:

Solution Type  Problem Resolution Sure

Solution  1002981.1 :   Booting From An External Cdrom Drive On An Ultra[TM] 60 Causes Error.  


Related Items
  • Sun Ultra 60 Workstation
  •  
Related Categories
  • GCS>Sun Microsystems>Desktops>Workstations
  •  

PreviouslyPublishedAs
204091


Symptoms
Booting from an external CD-ROM drive on an Ultra 60 (hooked up directly to the rear on-board 68-pin Ultra Fast/Wide SCSI port) Booting from an external Cdrom drive on an Ultra 60 (connected directly to the rear on-board 68-pin ultra Fast/Wide SCSI port) may cause the following error:
ok boot cdrom
	Boot device: /pci@1f,4000/scsi@3/disk@6,0:f
	Drive not ready
	Can't read disk label
	Can't open disk label package
	Can't open boot device


Resolution
An Ultra 60 may come shipped with an internal CD-ROM drive.
Part Number : X6161A OR X6166A
Capacity    : 644MB
Type        : CD-ROM
Media       : SunCD 12 OR SunCD 32
Product     : Ultra 1/Ultra 30, 60 - Internal Expansion
(Cable In System)
However this is NOT always the case.
You can verify this by physically inspecting the front
panel for a cdrom drive and running the probe-scsi or probe-scsi-all
at the "ok prompt" also known as the OBP (open Boot Prom) level.
Like so,
ok setenv auto-boot? false
ok reset
Screen will blank and after a couple of seconds you will get the "ok
prompt" back.
ok probe-scsi
Results will be:
Target 0
Unit 0 Disk QUANTUM VK4550J SUN4.2G8817
Target 6
Unit 0 Removable Read Only device TOSHIBA 2395 XM5701TASUN12XCD
OR:
ok probe-scsi-all
Results will be:
/pci@1f,4000/scsi@3,1
NOTE: A blank line or no targets listed indicates, that there
is nothing attached to the on-board scsi port.
/pci@1f,4000/scsi@3
Target 0
Unit 0 Disk QUANTUM VK4550J SUN4.2G8817
Target 6
Unit 0 Removable Read Only device TOSHIBA 2395 XM5701TASUN12XCD
NOTE: On the Ultra 60, the probe-scsi command will ONLY identify
your internal scsi devices and NOT any other scsi devices
attached to your on-board scsi port (at the rear of the machine).
You will need to run the probe-scsi-all command to identify any
other scsi devices attached to your on-board scsi port and/or
other scsi controllers/cards (an example would be the Dual Single-Ended
Ultra/Wide SCSI PCI host adapter). The design on the Ultra 60
now treats the on-board scsi port as a separate controller
in itself thereby increasing throughput on the bus or host
bus adapter. Unlike other SPARC or Ultra machines which still
treats on-board scsi devices as part of the internal devices thus
allowing probe-scsi to see these devices as well.
Internal scsi devices use this device path for it's controller:
/pci@1f,4000/scsi@3
On-board scsi devices hooked up directly to the rear on-board
68-pin Ultra Fast/Wide SCSI port use this device path for it's
controller:
/pci@1f,4000/scsi@3,1
You will also notice that the "cdrom" alias at the OBP level
has a device path of /pci@1f,4000/scsi@3 which is INTERNAL.
Like so,
ok devalias
Results will be:
cdrom /pci@1f,4000/scsi@3,/disk@6,0:f
(other aliases will also be listed)...
If you were to boot from an external cdrom drive on the Ultra 60
hooked up directly to the rear on-board 68-pin Ultra Fast/Wide SCSI port,
you may get the following error when doing a boot cdrom at the "ok prompt":
ok boot cdrom
Results will be:
Boot device: /pci@1f,4000/scsi@3/disk@6,0:f
Drive not ready
Can't read disk label
Can't open disk label package
Can't open boot device
This is what you need to do:
[1.] Be sure that you do NOT have an internal cdrom set to Target 6
that may conflict and affect the booting from an external cdrom
drive. Again you can verify this by running the probe-scsi or
probe-scsi-all command at the ok prompt.
[2.] "Permanent" fix:
Create another alias called "cdrom1" to boot from the correct path
for an external cdrom drive.
ok show-disks
Results will be:
a) /pci@1f,4000/scsi@3,1/disk
b) /pci@1f,4000/scsi@3/disk
c) /pci@1f,4000/ebus@1/fdthree@14,3023f0
q) NO SELECTION
Enter Selection, q to Quit:
Choose "a" for selection.
Results will be:
/pci@1f,4000/scsi@3,1/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/pci@1f,4000/scsi@3,1/disk
At the ok prompt, type "nvalias cdrom1" (without the double quotes)
then give one space by hitting the [SPACE] bar and hit "Control" and
"Y" keys like so,
ok nvalias cdrom1 ^Y
Results will be:
ok nvalias cdrom1 /pci@1f,4000/scsi@3,1/disk
Now just add the following "@6,0:f" to the end of this line
(without the double quotes) before hitting [RETURN].
Results will be:
ok nvalias cdrom1 /pci@1f,4000/scsi@3,1/disk@6,0:f
ok
Verify that the alias was properly created via the devalias
command.
ok devalias
Results will be:
cdrom1 /pci@1f,4000/scsi@3,1/disk@6,0:f
cdrom /pci@1f,4000/scsi@3,/disk@6,0:f
all other aliases will also be listed...
To store the new alias into nvram.
ok nvstore
Now boot from this alias.
ok boot cdrom1
[3.] "Temporary" fix.
Boot from actual device path for the external cdrom drive.
METHOD 1:
---------
ok show-disks
Results will be:
a) /pci@1f,4000/scsi@3,1/disk
b) /pci@1f,4000/scsi@3/disk
c) /pci@1f,4000/ebus@1/fdthree@14,3023f0
q) NO SELECTION
Enter Selection, q to Quit:
Choose "a" for selection.
Results will be:
/pci@1f,4000/scsi@3,1/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/pci@1f,4000/scsi@3,1/disk
At the ok prompt, type "boot" (without the double quotes) add a
space by hitting the [SPACE] bar and then hit the "CONTROL" and
"Y" keys like so:
ok boot ^Y
Results will be:
ok boot /pci@1f,4000/scsi@3,1/disk
Now just add the following "@6,0:f" to the end of this line
(without the double quotes) before hitting [RETURN].
Results will be:
ok boot /pci@1f,4000/scsi@3,1/disk@6,0:f
METHOD 2:
---------
Type in the whole hardware device path for the external cdrom
drive's controller.
ok boot /pci@1f,4000/scsi@3,1/disk@6,0:f


Product
Ultra 60 Workstation

Previously Published As
17706

Change History
Date: 2003-05-20
User Name: Administrator
Action: Migration from KMSCreator
Comment: updated by : Wendy Bean
comment : No comment
date : Aug 27, 2001

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback