Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1561524.1
Update Date:2017-02-06
Keywords:

Solution Type  Problem Resolution Sure

Solution  1561524.1 :   Sun Server X3-2L (formerly X4270 M3) ignores BIOS boot order and skips RAID disk device at top of boot list  


Related Items
  • Sun Server X3-2L
  •  
Related Categories
  • PLA-Support>Sun Systems>x86>Server>SN-x86: Sun Server X3
  •  




In this Document
Symptoms
Cause
Solution


Applies to:

Sun Server X3-2L - Version Not Applicable and later
Information in this document applies to any platform.

Symptoms

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Sun x86 Systems

 

After installing an OS to a Sun Server X3-2L (formerly X4270 M3) you may see an issue where the system seems to ignore the boot order in the BIOS and boot from another device such as the network.

For example, you may have a RAID card set as the first boot device in the BIOS as follows :

RAID:PCIE6:(Bus 50 Dev 00)PCI RAID Adapter
PXE:NET0:IBA XE Slot 4000 v2196
PXE:NET1:IBA XE Slot 4001 v2196
PXE:NET2:IBA XE Slot 8800 v2196
PXE:NET3:IBA XE Slot 8801 v2196
USB:USB1:TEAC DV-28E-V 1.AC

 

Then when trying to boot the installed OS, the system may ignore the RAID boot device and try to boot from the network PXE:NET0 device instead, followed by other devices below this should it fail or be terminated by hitting the ESC key.

If all devices in the boot list fail or are skipped (by pressing ESC key) you *MIGHT* find that the OS then boots.

You may also find that selecting the RAID controller directly from the boot menu (pressing F8 during POST) *MAY* allow the OS to boot first time.

 

Cause

This issue can occur when the whole OS and/or the MBR boot loader (such as GRUB) is inadvertently installed to the OSA device. The OSA device (Oracle System Assistant) is a USB key which is plugged into the internal USB port on the system board inside the X3-2L.

 

The OSA USB key device is installed in every X3-2L system that is shipped and should be pre-installed with the bootable Oracle System Assistant software which provides a bootable environment for system recovery, repair and firmware updates.

Further details on the OSA USB device can be found here

 

One way of confirming if the OS or the MBR boot loader (e.g. GRUB) has been installed to the internal OSA USB key is to press F9 during POST to boot from OSA device. If the system then successfully boots your installed OS first time then your OS and/or MBR boot loader has installed to the OSA USB key instead of your RAID disk controller.

 

If this is confirmed as the case then the issue is a software configuration issue and under no circumstances should any hardware be replaced as this will *NOT* fix the problem and could potentially introduce further problems.

 

Solution

In order to avoid this you need to ensure that you select the correct disk device when you install your OS. If you are performing an automated network install of your OS you may need to alter your kickstart/autoyast (Linux) / Jumpstart (Solaris) / RIS (Windows) install scripts to select the correct physical hard disk device and also define which device the MBR boot loader such as GRUB/LILO should be installed to. There are two possible scenarios that can lead to this issue and they both need to be checked :

 

1. BOTH the entire OS and the MBR boot loader (e.g. GRUB) are installed to the OSA USB key.

2. Only the MBR boot loader (e.g. GRUB) is installed to the OSA USB key and the OS is installed to the REAL hard disks. This will still seemingly work if the MBR boot loader lives on the USB key and points at the OS on the hard disks. This is bad as the MBR boot loader should be on the hard disk where the OS is installed.

 

Again, if you are performing an automated network installation you need to check that your install scripts select the real hard disk devices to install your OS *AND* also select the real hard disk devices to install the MBR boot loader!

If you are performing a manual install, you just need to be careful which disk devices you select during the install process.

 

If you find that your OS and/or MBR boot loader are indeed installed to the OSA USB key then you will either need to completely wipe the OSA USB key to ensure that the MBR boot loader is completely removed along with the OS OR re-install the OSA to the USB key. If you do not do this it may lead to all kinds of confusion in future.

 

Although you could disable the OSA USB device, you must be aware that the default is "ENABLED" so if this is forgotten about and a firmware update is done on the system in future then this will reset back to enabled again and probably cause confusion. Therefore its is recommend to leave this enabled and then wipe the USB key so that the MBR boot loader configuration isn't mixed up between the USB key and hard disks.

There are two other ways to fix this issue. If you are urgently needing to get things working quickly you can simply wipe the beginning of the USB key and then re-install your OS to the system (see steps 1-2 below). If things are not as urgent then you can download the OSA image and re-install the OSA USB key and then re-install the OS to the system (see step 3 below)

 

One way to wipe the OSA USB key is to use the dd command, but you MUST make sure that you identify the correct device before wiping it otherwise you may wipe data from another device by mistake.

On Linux you can check which device is the OSA USB key by using the lsscsi command as follows :

 

e.g. (This is one particular way but there are many other ways of doing this).


1. Check which is the USB device by running the lsscsi command (linux) :


# lsscsi
[0:0:20:0]   enclosu ORACLE   CONCORD14        0d00  -
[0:2:0:0]    disk    LSI      MR9261-8i        2.12  /dev/sda
[0:2:1:0]    disk    LSI      MR9261-8i        2.12  /dev/sdb
[0:2:2:0]    disk    LSI      MR9261-8i        2.12  /dev/sdc
[0:2:3:0]    disk    LSI      MR9261-8i        2.12  /dev/sdd
[0:2:4:0]    disk    LSI      MR9261-8i        2.12  /dev/sde
[0:2:5:0]    disk    LSI      MR9261-8i        2.12  /dev/sdf
[0:2:6:0]    disk    LSI      MR9261-8i        2.12  /dev/sdg
[0:2:7:0]    disk    LSI      MR9261-8i        2.12  /dev/sdh
[0:2:8:0]    disk    LSI      MR9261-8i        2.12  /dev/sdi
[0:2:9:0]    disk    LSI      MR9261-8i        2.12  /dev/sdj
[0:2:10:0]   disk    LSI      MR9261-8i        2.12  /dev/sdk
[0:2:11:0]   disk    LSI      MR9261-8i        2.12  /dev/sdl
[1:0:0:0]    disk    ORACLE   UNIGEN-UFD       PMAP  /dev/sdm    << !! USB key device

 

(On Solaris check the output from "iostat -En" or "cfgadm -alv" to identify the USB key device)


2. Once you are 100% sure you have identified the correct OSA USB device on your system, you can then wipe it with dd as follows :

                 dd if=/dev/zero of=/dev/<USB key device> bs=512 count=1

Make sure you get the right device!


Once done you can then try re-installing your OS, but make sure that you install the OS and the MBR boot loader to the REAL hard disk device and not the USB key again.

You could try temporarily disabling the OSA USB key device in the BIOS if you wan't to be 100% sure of this, but remember to re-enable it again afterwards as this may cause problems in the future should you update your firmware and the device is suddenly re-enabled.


3. Once the OS has been installed correctly on the hard disks in the system, the OSA will then need to be re-installed on the USB key. The steps on how to do this is documented HERE.

 

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback