Thursday, January 17, 2013

Open Firmware on POWER Systems

                                                                    
                                                                    
                                                                    
                                            
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM
IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

          1 = SMS Menu                          5 = Default Boot List
          8 = Open Firmware Prompt              6 = Stored Boot List


     Memory      Keyboard     Network     SCSI     Speaker  ok

Here you need to press 8 to get into ok prompt.

0 >   ok
0 >   ok

Below procedure will help you to list all the disks available thru the FC adapter.

0 > ioinfo

!!! IOINFO: FOR IBM INTERNAL USE ONLY !!!
This tool gives you information about SCSI,IDE,SATA,SAS,and USB devices attached
to the system

Select a tool from the following

 1. SCSIINFO
 2. IDEINFO
 3. SATAINFO
 4. SASINFO
 5. USBINFO
 6. FCINFO
 7. VSCSIINFO

q - quit/exit

==> 6



FCINFO Main Menu
Select a FC Node from the following list:
  #  Location Code                Pathname
---------------------------------------------------------------
  1. U8233.E8B.0681C1R-V30-C29-T1   /vdevice/vfc-client@3000001d
  2. U8233.E8B.0681C1R-V30-C30-T1   /vdevice/vfc-client@3000001e

  q - Quit/Exit

==> 1

FC Node Menu
FC Node String: /vdevice/vfc-client@3000001d
FC Node WorldWidePortName: c506000000000009
-----------------------------------------------------------------
1. List Attached FC Devices
2. Select a FC Device
3. Enable/Disable FC Adapter Debug flags

q - Quit/Exit

==> 1

1. 500507680120d43b,0                - 8192 MB Disk drive
2. 500507680120d442,0                - 8192 MB Disk drive
3. 500507680130b855,0                - Unrecognized device type: 3f
4. 500507680130b97c,0                - Unrecognized device type: 3f
5. 500507680120b97c,0                - Unrecognized device type: 3f
6. 500507680120b855,0                - Unrecognized device type: 3f
7. 500507680120581e,0                - Unrecognized device type: 3f
8. 500507680120598e,0                - Unrecognized device type: 3f
9. 500507680130581e,0                - Unrecognized device type: 3f
10. 500507680130598e,0                - Unrecognized device type: 3f
11. 500507680130d43b,0                - 8192 MB Disk drive
12. 500507680130d442,0                - 8192 MB Disk drive

Hit a key to continue...

FC Node Menu
FC Node String: /vdevice/vfc-client@3000001d
FC Node WorldWidePortName: c506000000000009
-----------------------------------------------------------------
1. List Attached FC Devices
2. Select a FC Device
3. Enable/Disable FC Adapter Debug flags

q - Quit/Exit

==> q

FCINFO Main Menu
Select a FC Node from the following list:
  #  Location Code                Pathname
---------------------------------------------------------------
  1. U8233.E8B.0681C1R-V30-C29-T1   /vdevice/vfc-client@3000001d
  2. U8233.E8B.0681C1R-V30-C30-T1   /vdevice/vfc-client@3000001e

  q - Quit/Exit

==> q

Below procedure will help you to list all the disks available thru the
VSCSI adapter.

!!! IOINFO: FOR IBM INTERNAL USE ONLY !!!
This tool gives you information about SCSI,IDE,SATA,SAS,and USB devices attached
to the system

Select a tool from the following

 1. SCSIINFO
 2. IDEINFO
 3. SATAINFO
 4. SASINFO
 5. USBINFO
 6. FCINFO
 7. VSCSIINFO

q - quit/exit

==> 7



VSCSIINFO Main Menu
Select a VSCSI Node from the following list:
  #  Location Code                Pathname
---------------------------------------------------------------
  1. U8233.E8B.0681C1R-V30-C10-T1 /vdevice/v-scsi@3000000a
  2. U8233.E8B.0681C1R-V30-C20-T1 /vdevice/v-scsi@30000014

  q - Quit/Exit

==> 1

VSCSI Node Menu
VSCSI Node String: /vdevice/v-scsi@3000000a
-----------------------------------------------------------------

1. List Attached VSCSI Devices
2. Select a VSCSI Device

3. Enable/Disable VSCSI Adapter Debug flags

q - Quit/Exit

==> 1

1. 8100000000000000 - 10240 MB Disk drive (bootable)

Hit a key to continue...

VSCSI Node Menu
VSCSI Node String: /vdevice/v-scsi@3000000a
-----------------------------------------------------------------

1. List Attached VSCSI Devices
2. Select a VSCSI Device

3. Enable/Disable VSCSI Adapter Debug flags

q - Quit/Exit

==> q

VSCSIINFO Main Menu
Select a VSCSI Node from the following list:
  #  Location Code                Pathname
---------------------------------------------------------------
  1. U8233.E8B.0681C1R-V30-C10-T1 /vdevice/v-scsi@3000000a
  2. U8233.E8B.0681C1R-V30-C20-T1 /vdevice/v-scsi@30000014

  q - Quit/Exit

==> q


!!! IOINFO: FOR IBM INTERNAL USE ONLY !!!
This tool gives you information about SCSI,IDE,SATA,SAS,and USB devices attached
to the system

Select a tool from the following

 1. SCSIINFO
 2. IDEINFO
 3. SATAINFO
 4. SASINFO
 5. USBINFO
 6. FCINFO
 7. VSCSIINFO

q - quit/exit

==> q
 ok
0 >

Below command will list all the variables and their current values.

0 > printenv
-------------- Partition: of-config -------- Signature: 0x50 ---------------
ibm,fw-dc-select         100                 0
ibm,fw-default-mac-address? false            false
ibm,fw-forced-boot
ibm,fw-n-bc              255.255.255.255     255.255.255.255
ibm,fw-n-dbfp            00000000            00000000
ibm,fw-n-dafp            00000000            00000000
ibm,fw-n-rc              A                   A
ibm,fw-n-ru              Y                   Y
ibm,fw-prev-neg-vec5     00000000: 0b 40 f7 80 00 80 00 00 00 00 00 00 40 .. .. ..  |.@..........@...|

ibm,fw-src-os-vec5       00000000: 0b 40 f7 80 80 80 20 00 00 00 00 00 40 .. .. ..  |.@.... .....@...|

-------------- Partition: common -------- Signature: 0x70 ---------------
little-endian?           false               false
real-mode?               true                true
auto-boot?               true                true
diag-switch?             false               false
fcode-debug?             true                true
oem-banner?              false               false
oem-logo?                false               false
use-nvramrc?             false               false
ibm,fw-tty-language      1                   1
ibm,fw-new-mem-def       true                true
ibm,fw-show-true-pcie?   true                false
ibm,fw-force-ior         false               false
ibm,fw-oflite-dbg        false               false
ibm,fw-prev-boot-vpd
ibm,fw-keyboard          1                   1
ibm,fw-override-cas      false               false
ibm,fw-nbr-reboots       0                   0
real-base                2000000             2000000
virt-base                ffffffff            ffffffff
real-size                1000000             1000000
virt-size                ffffffff            ffffffff
load-base                4000                4000
screen-#columns          64                  64
screen-#rows             28                  28
selftest-#megs           0                   0
boot-device              /vdevice/v-scsi@3000000a/disk@8100000000000000:2 /vdevice/v-scsi@30000014/disk@8100000000000000:2
boot-file
diag-device              /vdevice/v-scsi@3000000a/disk@8100000000000000:2 /vdevice/v-scsi@30000014/disk@8100000000000000:2
diag-file                diag                diag
output-device            /vdevice/vty@30000000 /vdevice/vty
input-device             /vdevice/vty@30000000 /vdevice/vty
oem-banner
oem-logo
nvramrc
boot-command             boot                boot
reboot-command
menu?                    false               false
ibm,fw-find-tape-alias   false               true
ibm,fw-find-cdrom-alias  false               true
ibm,dasd-spin-interval   5                   5
ibm,associativity-form   5                   1
ibm,fw-menu-3678cc855e02 auto,auto,10.6.139.43,10.6.139.35,10.6.139.254,255.255.255.0,Standard,No,none,5,512,5
bootinfo-aix             /vdevice/v-scsi@3000000a/disk@8100000000000000:1
 ok
0 >

No comments: