Sun Fire V240

Hardware

Sun Fire V240 Model 375-3149

Codename "Enchilada" (V210, V240, V250)

1x 1.0GHz UltraSPARC-IIIi CPU (2 CPU sockets)

4x 512MB PC2100 DDR ECC RAM (8 slots total, 4 per CPU socket)

No HDD -> IBM 18GB SCA HDD

DVD-ROM

Sun ALOM 1.5.3 -> 1.6.9

2x 400W PSU -> 1 in use

Power consumption with one 400W PSU:

28W idle (ALOM on)

140W OS idle - more or less the same under 100% CPU load

SCSI disk bays

If you don't have the Sun disk brackets, you can still plug in the disks with care.

Fill the ~10mm gap under the disk - I used a folded piece of cardboard from a pizza box.

Tie something to the screw holes on the disk to be able to pull it out later.

I used a bicycle spoke to lift/align the disk with the SCA connector during plugging in.

The Sun tray part number is 540-3024, "Sun SPUD Hotswap SCSI Drive Tray (System Pull)".

The machine is able to operate without the upper SCSI logic board plugged on to the PSU.

Memory

Note that you cannot use the 4 DIMMs paired with the empty CPU socket due to the on-die memory controller.

Documentation

Official: Sun Fire V240 Server Documentation at oracle.com

Unofficial: Menehune's Sun V240 Do816-4828-13.pdfcumentation Page (more or less the above in PDF)

Sun Advanced Lights Out Manager (ALOM) 1.6 Administration Guide - 819-2445-11

ALOM configuration

This version of ALOM can be accessed via the network management Ethernet interface using Telnet.

- Use a DB9 - RJ45 adapter (a Cisco 72-3383-01 worked for me with 9600 8N1)

- Setup the mgt LAN params

sc> setsc netsc_ipaddr 192.168.1.80
sc> setsc netsc_ipgateway 192.168.1.1

- You need a resetsc after setting up new IP address...

- From this onwards, Telnet will be available

- Force a CD boot:

sc> bootmode bootscript="boot cdrom"

- The first Ethernet adapter will be the first port from the left (bge0 on OpenBSD)

- When you upgraded to ALOM 1.6, enable SSH:

sc> setsc if_connection ssh
sc> resetsc -y

After the ALOM IP starts responding to ping, wait a minute or two while the SSH server keys are being generated.

If everything else fails getting to the ALOM and you are sure both the cable and the speed settings are correct, you can try using the reset jumpers as described in the Product Notes PDF.

ALOM Output

Reset SC/POST

sc> resetsc -y
User Requested SC Shutdown
ALOM BOOTMON v1.5.3
ALOM Build Release: 002
Reset register: e8000000 EHRS ESRS LLRS CSRS
ALOM POST 1.0
Dual Port Memory Test, PASSED.
TTY External - Internal Loopback Test
TTY External - Internal Loopback Test, PASSED.
TTYC - Internal Loopback Test
TTYC - Internal Loopback Test, PASSED.
TTYD - Internal Loopback Test
TTYD - Internal Loopback Test, PASSED.
Memory Data Lines Test
Memory Data Lines Test, PASSED.
Memory Address Lines Test
 Slide address bits to test open address lines
 Test for shorted address lines
Memory Address Lines Test, PASSED.
Memory Parity Test
Memory Parity Test, PASSED.
Boot Sector FLASH CRC Test
Boot Sector FLASH CRC Test, PASSED.
Return to Boot Monitor for Handshake
ALOM POST 1.0
  Status = 00007fff
Returned from Boot Monitor and Handshake
Clearing Memory Cells
Memory Clean Complete
Loading the runtime image...
SC Alert: SC System booted.
Sun(tm) Advanced Lights Out Manager 1.5.3 (opensolaris)
Full VxDiag Tests
BASIC TOD TEST
 Read the TOD Clock:        WED OCT 12 23:53:03 2011
 Wait, 1 - 3 seconds
 Read the TOD Clock:        WED OCT 12 23:53:05 2011
BASIC TOD TEST, PASSED
ETHERNET CPU LOOPBACK TEST
 50 BYTE PACKET   - a 0 in field of 1's.
 50 BYTE PACKET   - a 1 in field of 0's.
 900 BYTE PACKET  - pseudo-random data.
ETHERNET CPU LOOPBACK TEST, PASSED
Full VxDiag Tests - PASSED
   Status summary  -  Status = 7FFF
      VxDiag    -          -  PASSED
      POST      -          -  PASSED
      LOOPBACK  -          -  PASSED
      I2C       -          -  PASSED
      EPROM     -          -  PASSED
      FRU PROM  -          -  PASSED
      ETHERNET  -          -  PASSED
      MAIN CRC  -          -  PASSED
      BOOT CRC  -          -  PASSED
      TTYD      -          -  PASSED
      TTYC      -          -  PASSED
      MEMORY    -          -  PASSED
      MPC850    -          -  PASSED
Please login:

Telnet to port 42 in ALOM 1.5.3

$ telnet 192.168.1.80 42
Trying 192.168.1.80...
Connected to 192.168.1.80.
Escape character is '^]'.
                               .,ad88888888baa,
                            ,d8888888888888888888ba.
                         .a88888888888888888888888888a
                        a888888888888""""""888888888888a
                      ,888888888P"           "V8888888888,
                     ,88888888P'                V888888888,
                    ,88888888"                   `888888888
                    88888888'                     "88888888,
                    88888888
                    88888888             ._._._._._._._._._
                    88888888,             `8888888888888888
                    (88888888,              `V8888888888888
                    `888888888,               Y888888888888
                     "888888888ba,           .d888888888888
                       V888888888888uouououo888888888888888
                        `8888888888888888888888888888P88888
                          `V88888888888888888888888P' `V888
                             ""88888888888888888P"      `V8
                                  """"""""""""            `
Connection closed by foreign host.

See this Sun ticket:

http://wesunsolve.net/bugid/id/6345644

ALOM/OpenBoot PROM upgrade

I dedicated a subpage to the upgrade process here: ALOM/OBP upgrade

Note that downloading firmware updates from Sun->Oracle requires a support contract.

ALOM Upgrade (Corner 11) at blogs.oracle.com

Firmware Downloads and Release History for Sun Systems at oracle.com / V240 etc

ALOM

Current: 1.5.3 -> 1.6.9

Latest: 1.6.x

OBP

Current: 4.16.6 -> 4.22.33

Latest: 4.30.x

OBP version from OpenBSD

[lgee@poseidon] ~ $ eeprom -p | grep OBP 
        version: 'OBP 4.16.6 2005/05/09 13:03'
                version: 'OBP 4.16.6 2005/05/09 13:03 Sun Fire V210/V240,Netra 240' + 'OBDIAG 4.16.6 2005/05/09 13:05  ' + 'POST 4.16.5 2005/02/28 16:33'