Install Solaris on a SPARC Enterprise T5240
#1
Install Solaris on a SPARC Enterprise T5240
Never touched a Sun before, but being more-or-less kin to SGI, I figured I should take a dive with them. Grabbed a T2540 w/ 100GB of RAM for cheap. Has drives, and the first time I've seen a 'memory mezzanine'. Anyway, plug into its serial port, plug in the power, and it starts happily enough.

But I'm super confused. When it starts it says it has 128MB of ram and starts booting linux. What's more, when I pull all the drives and power it on, it still boots to linux! Now, either there the ghost of a penguin in this machine, or this linux is some sort of server-management mini-computer that runs on top.

Either way, I have no idea how to get going with installing Solaris, as it stands it boots to login prompt I don't have credentials for. I have the current Solaris SPARC install disc, but there's a disc already in the drive. Being a slot-type, I'm not sure how to eject it without logging in.

The full dump of what the serial port outputs is here:

Code:
<i>
</i>U-Boot 1.1.1 (Jan 22 2009 - 18:56:42)

CPU:   MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: SPARC885
       Watchdog enabled
I2C:   ready
DRAM:  
trying 128 MBytes
(128 MB SDRAM) 128 MB
Memory Tests: DA A1 A2 00

U-Boot 1.1.1 (Jan 22 2009 - 18:56:42)

CPU:   MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: SPARC885
       Watchdog enabled
I2C:   ready
DRAM:  
trying 128 MBytes
(128 MB SDRAM) 128 MB
FLASH: 32 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
POST i2c  c  d 18 20 23 24 25 2a 2b 2d 2e 30 31 32 35 36 40 42 43 44 45 46 51 53 54 56 66 67 68 6a 6b 70 71 72 73 PASSED
POST cpu PASSED
POST ethernet PASSED
Booting linux in 5 seconds...
## Booting image at fe080000 ...
   Image Name:   Linux-2.4.22
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    814981 Bytes = 795.9 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
do_bootm_linux():
  argv[0]=bootm
  argv[1]=0xfe080000
## Current stack ends at 0x07D38B70 => set upper limit to 0x00800000
No initrd
## cmdline at 0x007FFF00 ... 0x007FFF80
memstart    = 0x00000000
memsize     = 0x08000000
flashstart  = 0xFE000000
flashsize   = 0x02000000
flashoffset = 0x0004C000
sramstart   = 0x00000000
sramsize    = 0x00000000
EnvAddr     = 0x3D67DDBD
EnvSize     = 0xA8AFA3E3
sectorsize  = 0x00020000
sectorcount = 0x00000100
booted      = 0xFE080000
boottype    = 0x00000000
primary     = 0xFFFFFFFF
pritype     = 0x00000000
secondary   = 0xFFFFFFFF
sectype     = 0x00000000
image0      = 0xFE000000
image1      = 0xFF000000
maximage    = 0x01000000
immr_base   = 0xF0000000
bootflags   = 0x00000001
intfreq     =    133 MHz
busfreq     = 66.500 MHz
ethaddr     = 00:14:4F:E8:D0:13
IP addr     = 0.0.0.0
baudrate    =   9600 bps
## Transferring control to Linux (at address 00000000) ...
## parameters(007ffe90,00000000,00000000,007fff00,007fff80)
Linux version 2.4.22 (cb75630@sanpen-rh5-1) (gcc version 3.3.4) #6 Thu Jan 22 19:01:04 PST 2009 r41472
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock4 rootfstype=squashfs ro mtdparts=phys:384K(u1),128k(e1),1536K(k1),14M(r1),384K(u2),128K(e2),1536K(k2),14M(r2)
Decrementer Frequency = 498750000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x1000)
Calibrating delay loop... 132.71 BogoMIPS
Memory: 127592k available (1416k kernel code, 444k data, 68k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
CPM UART driver version 0.03
ttyS00 at 0x0100 is apty: 256 Unix98 ptys configured
Generic RTC Driver v1.07
eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 6, addr 00:14:4f:e8:d0:13
RAMDISK driver initialized: 16 RAM disks of 18432K size 1024 blocksize
eth0: Phy @ 0x0, type DM9161 (0x0181b881)
loop: loaded (max 8 devices)
physmap flash device: 2000000 at fe000000
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
Using command line partition definition
Creating 8 MTD partitions on "Physically mapped flash":
mtdblock1: 0x00000000-0x00060000 : "u1"
mtdblock2: 0x00060000-0x00080000 : "e1"
mtdblock3: 0x00080000-0x00200000 : "k1"
mtdblock4: 0x00200000-0x01000000 : "r1"
mtdblock5: 0x01000000-0x01060000 : "u2"
mtdblock6: 0x01060000-0x01080000 : "e2"
mtdblock7: 0x01080000-0x01200000 : "k2"
mtdblock8: 0x01200000-0x02000000 : "r2"
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-rpx.o: i2c MPC8xx module version 2.6.1 (20010830)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 68k init
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.22/modules.dep (No such file or directory)
Creating /var tmpfsCreating directories in /var ...done.
Creating /var/log tmpfsdone.
Activating swap.
Calculating module dependencies... done.
Loading modules: fpga Warning: loading /lib/modules/2.4.22/misc/fpga/fpga.o will taint the kernel: non-GPL license - Proprietary
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Platform ID      : 2
Minor revision   : 4
Major revision   : 5
FPGA power status : 0xd20008: 80 0xd20009: ea
  (SYS_POK_EN  !DC_POK  !POK_VMEM_CPU1  !POK_VMEM_CPU0  !POK_CORE_CPU1  !POK_CORE_CPU0  !POK_PSU1  !POK_PSU0  !POK_VMEMWING_CPU1  VMEMWING_CPU1_PRESENT  !POK_VMEMWING_CPU0  VMEMWING_CPU0_PRESENT  !POK_OIO )
BR2: 0xf2000000/0x1000000/0xf2000401/0xff0001fc
FPGA init OK: base f2000000, size 1000000 (major 120)
Module fpga loaded, with warnings
fpga_flash Warning: loading /lib/modules/2.4.22/misc/fpga_flash/fpga_flash.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fpga_flash loaded, with warnings
immap Warning: loading /lib/modules/2.4.22/misc/immap/immap.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module immap loaded, with warnings

Checking all file systems...
fsck 1.37 (21-Mar-2005)
Setting kernel variables ...
kernel.core_pattern = /coredump/%h.%e.core
kernel.core_uses_pid = 1
net.ipv4.ip_local_port_range = 3100 7075
... done.
Mounting local filesystems...
Cleaning /tmp /var/run /var/lock.
Identifying DOC Device Type(G3/G4/H3) ...



Using /lib/modules/2.4.22/misc/tffs/tffs_h3.o
tffs: TrueFFS driver 7100.76
tffs: will not use IRQ
tffs: Looking for G4/P4 MDOC Devices while assuming IF_CFG=16.
tffs: Looking for G4/P4 MDOC Devices while assuming IF_CFG=8.
tffs: Flow: G4_docWindowBaseAddress Exit (NOT FOUND).
tffs: Looking for G3/P3 MDOC Devices while assuming IF_CFG=16.
tffs: Looking for G3/P3 MDOC Devices while assuming IF_CFG=8.
tffs: Looking for H1 DOC at address 0xcd159000
tffs: DOCH found
tffs: Socket 0 in addr 0xf4000000
tffs: Device 0x0: size 0x76c0000 HW sector 0x200 (recommended 0x1000)
tffs: use major device number 100
Partition check:
tffsa: tffsa1 tffsa2 tffsa3
tffs:     disk partition: dev_number=0x6401, 65534 sectors, start_sector=1
tffs:     disk partition: dev_number=0x6402, 65536 sectors, start_sector=65535
tffs:     disk partition: dev_number=0x6403, 112000 sectors, start_sector=131071
Loaded TFFS kernel module /lib/modules/2.4.22/misc/tffs/tffs_h3.o
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on tffs(100,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,0), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on loop(7,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on tffs(100,3), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Checking DOC size...
Mounted all disk partitions.

Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Wed Jun 13 22:29:58 GMT 2018

Setting up networking...done.
Running ldconfig...done
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces...Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
Listening on LPF/eth0/00:14:4f:e8:d0:13
Sending on   LPF/eth0/00:14:4f:e8:d0:13
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Hostname: SUNSP00144FE8D013.
Starting portmap daemon: portmap.
Initializing random number generator...done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd and klogd.
Starting periodic command scheduler: cron.
Starting IPMI Stack...... Done.
Starting portmap daemon: portmap.
Starting OpenBSD Secure Shell server: sshd.
Starting Servicetags discoverer: stdiscoverer.
Starting Servicetags listener: stlistener.

SUNSP00144FE8D013 login:

:tezro: Indy Octane2 Indigo2 O2 Personal Iris :320: :Fuelb: 1600SW 1600SW
Fascia
O2

Posts: 39
Threads: 12
Joined: May 2018
Find Reply
06-14-2018, 12:00 AM
#2
Re: Install Solaris on a SPARC Enterprise T2540
Fascia post_id=992 time=1528934423 user_id=100 Wrote:But I'm super confused. When it starts it says it has 128MB of ram and starts booting linux. What's more, when I pull all the drives and power it on, it still boots to linux! Now, either there the ghost of a penguin in this machine, or this linux is some sort of server-management mini-computer that runs on top.
That's right. What you're seeing is ILOM (Integrated Lights Out Management) system booting. Not the main server. You'll need to read up on ILOM first. There's plenty of information on the Sun/Oracle website. The default username & password are 'root' & 'changme' (without quotes). Try those.

Fascia post_id=992 time=1528934423 user_id=100 Wrote:Either way, I have no idea how to get going with installing Solaris, as it stands it boots to login prompt I don't have credentials for. I have the current Solaris SPARC install disc, but there's a disc already in the drive. Being a slot-type, I'm not sure how to eject it without logging in.
Isn't there a physical eject button on the drive? There is on mine. The only catch is that the whole system (not just the ILOM) needs to be powered on for the eject button to work.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20, Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125
jpstewart
Octane

Posts: 54
Threads: 0
Joined: May 2018
Find Reply
06-14-2018, 01:49 AM
#3
Re: Install Solaris on a SPARC Enterprise T5240
Thanks! That got things started. ILOM password was the default, I was able to 'start /SYS' and then connect to the serial console. Unfortunately dead there as every command asks for the Firmware Password, which isn't enter and isn't "changeme". Unfortunately the documentation for the T5240 doesn't give any mention of the firmware password or how to change/reset it.

:tezro: Indy Octane2 Indigo2 O2 Personal Iris :320: :Fuelb: 1600SW 1600SW
Fascia
O2

Posts: 39
Threads: 12
Joined: May 2018
Find Reply
06-14-2018, 05:11 PM
#4
Re: Install Solaris on a SPARC Enterprise T5240
Got it!

I figured there's probably a jumper for it. So I just cracked it open and started googling jumper values. Came across this internal Sun Microsystems slideshow (with a nice little NDA disclaimer at the start - https://www.slideshare.net/xKinAnx/sun-s...esentation ) that mentioned jumper J10401, shorting pins 1 and 2 will reset the ILOM password. I crossed my fingers that it would magically reset the firmware password and it worked! It's refusing to read my Solaris install DVD, but I'm past the firmware password.

:tezro: Indy Octane2 Indigo2 O2 Personal Iris :320: :Fuelb: 1600SW 1600SW
Fascia
O2

Posts: 39
Threads: 12
Joined: May 2018
Find Reply
06-15-2018, 12:19 AM
#5
Re: Install Solaris on a SPARC Enterprise T5240
All installed and up and running. Hurrah!

:tezro: Indy Octane2 Indigo2 O2 Personal Iris :320: :Fuelb: 1600SW 1600SW
Fascia
O2

Posts: 39
Threads: 12
Joined: May 2018
Find Reply
06-15-2018, 05:40 PM
#6
Re: Install Solaris on a SPARC Enterprise T5240
Congratulations! I'm glad to hear you eventually got all figured out.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20, Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125
jpstewart
Octane

Posts: 54
Threads: 0
Joined: May 2018
Find Reply
06-16-2018, 03:03 PM
#7
Re: Install Solaris on a SPARC Enterprise T5240
Glad to hear you got it working, I had a hell of a time getting my T5220 to work due to mismatched or bad RAM, the only working configuration I could come up with was with 16 GB of RAM out of the 64 GB it came with.

There are some interesting features on the sun4v machines, the most interesting of which is IMO LDoms. With all that memory, you'll certainly be able to have some fun slicing up that box and running some operating systems on it.
kaashif
O2

Posts: 1
Threads: 0
Joined: Jun 2018
Find Reply
06-17-2018, 04:30 PM
#8
Re: Install Solaris on a SPARC Enterprise T5240
LDoms would be fun to play with, but it seems to be another thing youneed a support contract to download.

:tezro: Indy Octane2 Indigo2 O2 Personal Iris :320: :Fuelb: 1600SW 1600SW
Fascia
O2

Posts: 39
Threads: 12
Joined: May 2018
Find Reply
06-17-2018, 07:38 PM
#9
Re: Install Solaris on a SPARC Enterprise T5240
All the LDom stuff is included with Solaris 11. (Note that 11.3 is the end of the line for the T5240. 11.4 is out but doesn't support the platform.) Installing 11.3 as your primary/control domain will give you all the LDom management stuff needed to have multiple domains running 10 or 11 or any mix of the two. You do need to register for an account to download 11.x. But the account is free, assuming you're within the terms of their license. There wasn't even a separate download. The LDom management software is on the 11.3 media (and even installed by default, IIRC).

My own T5240 is configured with 1 primary domain running 11.3, three guests domains each with their own install of 11.3, and another guest domain running Solaris 10. No support contract was required, just the free account.

SGI:  Indigo, Indigo2, Octane, Origin 300
Sun:  SPARCstation 20, Ultra 2, Blade 2500, T5240
HP:  9000/380, 425e, C8000
Digital: DECstation 5000/125
jpstewart
Octane

Posts: 54
Threads: 0
Joined: May 2018
Find Reply
06-17-2018, 09:19 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)