Archive for August, 2009

Sunblade 1500, password protected PROM

Posted in HowTo on 27/08/2009 by Undersys

If you’ve ever had the pleasure of dealing with sun machines you will know that if you set a password on your PROM it stays there.
None of this PC rubbish where you can reset to factory defaults via jumper or pulling a battery.

The password and its settings are locked away in the PROM for ever and if you forget it or happen to buy a second hand Sun with a password on the PROM your going to need some help!

A good friend of mine recently got a Sun Blade 1500. His is the 1ghz model.
coming with a PROM password of course….
So he’s given it to me to undertake the task of removing the PROM password.

To do this we need to netboot the 1500 and install solaris, then use the commands inside solaris 10 to reset the PROM password.
The solaris 10 installer will reset the PROM boot order, regardless of the PROM password.

I will be using the netboot infrastructure I set up in the X1 netboot guide. You must have the base line sets done from this guide or the following steps won’t work. This guide is just adding an extra client into an existing netboot environment.

Commands are in Italics

  1. First we need to get the MAC address of the 1500. Boot up via serial console (you can boot with monitor and keyboard but whats the fun) wiat untal the boot banner comes up. For the 1500 it looks like this :-
    Sun Blade 1500, No Keyboard
    Copyright 1998-2003 Sun Microsystems, Inc.  All rights reserved.
    OpenBoot 4.9.5, 2048 MB memory installed, Serial #xxxxxxxx.
    Ethernet address xx:xx:xx:xx:xx:xx, Host ID: xxxxxxxx.
  2. Update the /etc/ethers file with the mac address
    # vi /etc/ethers
    add the following
    xx:xx:xx:xx:xx:xx sunblade
  3. Update the hosts file
    # vi /etc/hosts
    add  the host in and give it an IP
    192.168.0.xx sunblade sunblade.lepig.net
  4. Now its time to add the sunblade into the “Install Client” set.
    #
    cd /store/store/deploy/Solaris_10/Tools/
    The  Sunblade 1500 is a “sun4u” machine so do the following
    # ./add_install_client sunblade sun4u
    This shoud chunder out “updating /etc/bootparams” And nothing else if it worked.
  5. Now boot up the Sunbade. As the HDD in this machine is empty and booting from DVD has been disab led it defaults back to netboot.
    It should spew out the following :-
    Boot device: net  File and args:
    100 Mbps FDX Link up
    Timeout waiting for ARP/RARP packet
    Timeout waiting for ARP/RARP packet
    Timeout waiting for ARP/RARP packet
    Timeout waiting for ARP/RARP packet
    3a000 100 Mbps FDX Link upRequesting Internet address for 0:3:ba:6e:e9:5
    SunOS Release 5.10 Version Generic_137137-09 64-bit
    Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    Configuring devices.
    WARNING: /pci@1e,600000/ide@d/dad@0,0 (dad1):
    Corrupt label; wrong magic numberUsing RPC Bootparams for network configuration information.
    Attempting to configure interface bge0…
    Configured interface bge0
    Reading ZFS config: done.
    Setting up Java. Please wait…
    Serial console, reverting to text install
    Beginning system identification…
    Searching for configuration file(s)…
    Search complete.
    Discovering additional network configuration…
  6. Do a basic install of Solaris, we can fix it up later . All we want is to get the installer to reset the PROM boot order so we can boot Solaris and wipe the PROM password. Wait for the install to finish and it should reboot into the solaris install.
  7. Log into solaris and issue the following command
    # eeprom security-mode=none
    This will tell the PROM to remove ALL passwords so every PROM command can be run by anyone with physical access to the machine.
  8. Lets update the PROM version now. Latest version is OBP 4.30.3, Patch ID 140686-01
    Download that and SFTP it across to the sunblade
  9. Run the following commands under Solaris 10 to make a new boot archive
    # unzip 140686-01.zip

    Change into the 140686-01 directory
    # echo flash-update* >> /boot/solaris/filelist.ramdisk
    # bootadm update-archive
    # cp flash-update*  /
    # chmod 755 /flash-update*
    # halt
  10. You now need to boot the system in interactive mode. Enter the following at the “ok” prompt
    ok boot disk /flash-update-SunBlade1500

    This will now boot into the flash update program, follow the prompts and update the flash PROMs.

Thats it..
You’ve got an unlocked and updated PROM with Solaris installed.

140686-01
Advertisements

Updating HP P400 SAS raid card Firmware via Linux

Posted in HowTo on 19/08/2009 by Undersys

For my ESXi system I am using an 8 port HP P400 SAS raird card. Its only used for Raid 10 so its ok, more important its in vmwares HCL list!

I’ve been having some issues getting the card to boot on my SuperMicro H8DME-2. I am not sure this will fix it but thats a task for another day.

So lets to look for the firmware update..

If you go to the HP support and drives page for the P400 you will only find the IA64 firmware…

To get the latest x86 Firmware you need to find a system that comes with the P400. I selected a DL185 G5. Under Firmware – Storage Controller You can find the following “Firmware CD Supplemental Update / Online ROM Flash Component for Linux – Smart Array P400 and P400i” current version at time of writing this is “6.86(B)”.

You need to download the following file “CP011319.scexe”.
According to HP all you need to do is set execution permissions and run it..
cough..

Given that the box with the card only has ESXi installed I decided  to boot up a Gentoo minimal install CD.  No supprise, its not working throws the following error  ” ./CP011319.scexe: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory ”
Thats handy.. no surprise that my gentoo cd is missing this library its called minimal for reasion.  Also its an older libstdc++ library.
So i droped in the latest ubuntu live cd ” ubuntu-9.04-desktop-i386.iso ”
The reason I went for ubuntu is simple, you can install binary packages on to the live cd while its running.

Running the CP011319.scex under ubuntu gives you the same error as gentoo.
You need to install the GNU stdc++ library,  libstdc++2.10-glibc2.2 .
this provides ” /usr/lib/libstdc++-libc6.2-2.so.3 ”
I downloaded the following version ” libstdc++2.10-glibc2.2_2.95.4-27_i386.deb”

You can install via :-

  • dpkg -i libstdc++2.10-glibc2.2_2.95.4-27_i386.deb

Now you can re run the firmware flash.
It will go ahead with out an issue, can take a while though.
Reboot your system and check boot message on the p400.

PCB , The New i7 Build

Posted in Projects on 17/08/2009 by Undersys

A while back now I posted that I was mid build of a new machine to replace my aged dual xeon(northwood core).

Specs are final, last orders have been placed.

For the Hardware I settled on the following

  • Intel Core I7 950
  • EVGA X58 LE
  • 12gb OCZ 1600Mhz DDR3
  • EVGA  Nvidia 285 Super Clocked
  • Areca ARC-1222 8 port SAS card
  • 4x 1tb WD RE3 SATA2 HDD
  • Pioneer Blue Ray Writer BDR-203BK
  • Logitech Cordless Desktop MX5500 Revolution
  • Zalman ZM850-HP 850W (custom sleeving)
  • Zalman Multi Fan Controller Plus Black
  • CoolerMaster Cosmos S (custom pain job)

All cable and PSU have been sleeved with red sleeve. So much for warranty!

Heres the detail of the H20 Kit I’ve put together

  • Laing-DDC 3.2 Pump
  • XSPC Laing DDC Top
  • EK-FC285 GTX v2.0
  • RX360 Radiator-Triple, Black
  • HeatKiller 3.0 LT ,I7 mount
  • Alpha Cool 10mm OD tube
  • Bitspower black compression fittings

You can see pics of the progress here.
I will upload some more of finished sleeving of the PSU and other cables.

Final build should take place within the next 3 weeks.