![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1006345.1 : Sun Fire [TM] V1280/E2900, Netra 1280/1290 System: Simulating probe-ide
PreviouslyPublishedAs 208908 Applies to:Sun Netra 1280 Server - Version All Versions and laterSun Fire V1280 Server - Version All Versions and later Sun Fire E2900 Server - Version All Versions and later Sun Netra 1290 Server - Version All Versions and later All Platforms GoalBug 4700505 was a request to implement a probe-ide command on the v1280 so as to list the devices connected to the IDE bus. For the Sun Fire[TM] V1280 (and E2900) this means probing for a single device, a DVD-ROM drive, at the ok prompt. However, the bug was closed as "Will Not Fix" as the DVD-ROM drive can be seen during POST. From time to time, a probe-ide command would be very useful for troubleshooting IDE problems. This document suggests a way to simulate the probe-ide command.
probe-ide does not exist on Sun Fire [TM] V1280/E2900, Netra 1280/1290 Systems
Solution
There are two approaches to this problem. The first is to run commands directly from the ok prompt. However, these commands are lengthy and difficult to remember because they include the path address of the IDE bus. And you will need to remember more than one path address depending on whether you are working with PCI+ or standard PCI. Nevertheless, from time to time you might want to quickly probe the IDE bus and in such cases a direct approach will be quicker. The commands are as follows: For PCI Based Systems: {0} ok apply show-children /ssm@0,0/pci@18,700000/ide@3 Device 0 ( Primary Master ) Removable ATAPI Model: TOSHIBA DVD-ROM SD-C2612 Device 1 ( Primary Slave ) Not Present For PCI+ Based Systems: {0} ok apply show-children /ssm@0,0/pci@18,700000/pci@4/ide@2 Device 0 ( Primary Master ) Removable ATAPI Model: TOSHIBA DVD-ROM SD-C2612 Device 1 ( Primary Slave ) Not Present Device 2 ( Secondary Master ) Not Present Device 3 ( Secondary Slave ) Not Present nvramrc script: If you need to probe the IDE bus on a regular basis, an nvramrc script might be a better option than the above commands. You will need two different scripts, one for PCI based systems, and one for PCI+/PCI-X based systems as follows... For PCI Based Systems: Become familiar with nvramrc editing commands and use nvedit to enter the following lines into the edit buffer taking care to insert the spaces around quote marks where necessary: {0} ok nvedit 0: \ ...........probe-ide command for LW8s Only.......... 1: probe-all 2: install-console 3: : probe-ide ( -- ) 4: ." /ssm@0,0/pci@18,700000/ide@3: " cr 5: " /ssm@0,0/pci@18,700000/ide@3" " show-children" execute-device-method cr 6: ; 7: banner 8: \ ..................................................... 9: ^C Before implementing this nvramrc script (before invoking nvstore and setting use-nvramrc? to true) use nvrun followed by probe-ide to test the script that's currently in the edit buffer. If you don't, and there is a typo in the script, you might not be able to reach the ok prompt to re-run nvedit and correct the mistake. A setdefaults will be required from the lom prompt to recover. Once you are happy that the script works as desired, go ahead and set use-nvramrc? to true and reset-all. {0} ok nvrun Sun Fire V1280 {0} ok probe-ide /ssm@0,0/pci@18,700000/ide@3: Device 0 ( Primary Master ) Removable ATAPI Model: TOSHIBA DVD-ROM SD-C2612 Device 1 ( Primary Slave ) Not Present {0} ok nvstore {0} ok setenv use-nvramrc? true {0} ok reset-all You should now have a probe-ide command: {0} ok probe-ide /ssm@0,0/pci@18,700000/ide@3: Device 0 ( Primary Master ) Removable ATAPI Model: TOSHIBA DVD-ROM SD-C2612 Device 1 ( Primary Slave ) Not Present Remember that the above script is targeted at a specific IDE Bus and so cannot be regarded as a true probe-ide script. However, in this case it targets the only IDE Bus in the system and suits the purposes of listing the peripheral devices on that bus. For PCI+ Based Systems: Edit lines 4 and 5 in the above script and change the path address to the following... /ssm@0,0/pci@18,700000/pci@4/ide@2 Only change the address in lines 4 and 5. Everything else stays the same. Then follow the same procedure as above for PCI.
Open Boot Command Reference: This is the latest version of the Open Boot Command Reference is At the Solaris prompt you can check for the visibility of the DVD drive as follows: # iostat -En | grep DVD-ROM Vendor: TOSHIBA Product: DVD-ROM SD-C2612 Revision: 1011
Attachments This solution has no attachment |
||||||||||||
|