Dynamic Reconfiguration User's Guide 2.5.1 |
Contents
![]() ![]() |
Chapter 3 DR User Interface | > 3.5 DR service commands |
dr_info prints information about the system board to be attached or detached to stdout as requested by the user.
dr_info cage check if kernel cage is enabled or not dr_info sysmem check if the system board contains kernel memory or not dr_info cpu display CPU ID's on the system board dr_info memory display the size of memory on the system board dr_info devices [-p path_name] [-d driver_name] [-n name] display all device trees on the system board dr_info board display the system board number |
In terms of dr_info cpu, dr_info memory and dr_info devices, their outputs depend on the status where DR attach/detach is in progress or canceled or where the previous DR attach/detach failed. The outputs vary depending on the current DR status.
The following table shows all possible outputs at each drc execution state (See section 3.4.1 "drc Execution States").
Execution states |
Possible outputs |
checkadd |
No output |
preadd |
No output |
postadd |
All specified components |
canceladd |
The output depends on the status where the DR attach failed or canceled. The possible outputs are as follows. - All specified components - Part of specified components - No output |
checkremove |
All specified components However, in case the previous DR detach failed, that is, retrying DR detach, the output depends on the status where the previous DR detach failed. The possible outputs are as follows. - All specified components - Part of specified components - No output |
preremove |
All specified components However, in case the previous DR detach failed, that is, retrying DR detach, the output depends on the status where the previous DR detach failed. The possible outputs are as follows. - All specified components - Part of specified components - No output |
postremove |
No output |
cancelremove |
The output depends on the status where the DR attach failed or canceled. The possible outputs are as follows. - All specified components - Part of specified components - No output |
Description
dr_info cage
kernel cage is enabled
kernel cage is disabled
If kernel cage memory (See section 2.3.1 "How to enable DR and Kernel cage memory") is enabled, the output is "kernel cage is enabled", otherwise it prints "kernel cage is disabled".
Exit Status
0: kernel cage enabled
1: kernel cage disabled
2: failed to be executed
Please check the error message shown by the command or the console message.
dr_info sysmem
If the attached or detached system board contains kernel pages, the message "suspend is required" is shown.
Otherwise, the message "suspend is not required" is shown.
Exit Status
0: the board contains kernel pages
1: the board doesn't contain kernel pages
2: failed to be execute
please check the error message shown by the command or the console message.
dr_info cpu
0:1:2:3
Exit Status
0: successfully executed
2: failed to be executed
please check the error message shown by the command or the console message.
Display CPU ID's on the attached or detached system board. The CPU ID's are delimited by a colon(:).
dr_info memory
512M
The total amount of memory on the attached or detached board is printed by the Mega Byte.
Exit Status
0: successfully executed
2: failed to be executed
please check the error message shown by the command or the console message.
dr_info devices -p /pci@1f,0/pci@1/scsi@1
"/pci@1f,0/pci@1/scsi@1" 0 "glm"
dr_info devices -d sd
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@e,0" 13 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@d,0" 12 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@f,0" 14 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@a,0" 9 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@c,0" 11 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@b,0" 10 "sd"
"/pci@9d,4000/pci@2/SUNW,isptwo@4/sd@9,0" 8 "sd"
"/pci@9d,4000/pci@2/SUNW,hme@0,1" 2 "hme"
"/pci@83,4000/network@1,1" 1 "hme"
"/pci@9f,4000/network@1,1" 3 "hme"
"/pci@83,4000/network@1,1" 1 "hme"
"/pci@9f,4000/network@1,1" 3 "hme"
The connection scripts use the devices option to obtain device information on the attached or detached system board. The format of each record is the same as a single line in /etc/path_to_inst(4).
The -p option can be used to specify the device in the physical name format. Each matching device is printed in one single line.
The -d option can be used to specify the driver name for the device.
The -n option can be used to specify the portion enclosed between the / and @ character of the physical name of the device.
If none of the options (-p, -d or -n) is specified, all device information on the system board is displayed.
Exit Status
0: successfully executed
2: failed to be executed
please check the error message shown by the command or the console message
dr_info board
17
This command shows a number corresponding to the system board number on which the current DR operation performs.
Output |
PRIMEPOWER900/1500(with XPAR) |
PRIMEPOWER2500 (with XPAR)~ |
Without XPAR |
00 01 02 03 04 05 06 07 10 11 12 13 14 15 16 17 |
sb00-0 sb01-0 sb02-0 sb03-0 sb00-1 sb01-1 sb02-1 sb03-1 sb00-2 sb01-2 sb02-2 sb03-2 sb00-3 sb01-3 sb02-3 sb03-3 |
sb00-0 sb01-0 sb02-0 sb03-0 sb04-0 sb05-0 sb06-0 sb07-0 sb00-1 sb01-1 sb02-1 sb03-1 sb04-1 sb05-1 sb06-1 sb07-1 |
sb00 sb01 sb02 sb03 sb04 sb05 sb06 sb07 sb10 sb11 sb12 sb13 sb14 sb15 sb16 sb17 |
Exit Status
0: successfully executed
2: failed to be executed
please check the error message shown by the command or the console message.
Contents
![]() ![]() |