NVRAM replaced in Sun Ultra 60, but no longer booting

I picked up a “new” (new old stock most likely since I don’t think these chips are still manufactured, and haven’t been for 10+ years) NVRAM timekeeper chip since the one in the Sun Ultra 60 I picked up cheap on ebay was dead. Luckily it seems to still have charge and is keeping the host id and mac address values between power off/on, so that’s great.

To reprogram the hostid and mac address that are stored in the NVRAM memory, following the guide here which seems to be the definite source for reprogramming Sun NVRAMs, I used the following steps to reconfigure the new chip. The value of 80 on line 2 is the machine type for Ultra models:

1 0 mkp
80 1 mkp
8 2 mkp
0 3 mkp
20 4 mkp
c0 5 mkp
ff 6 mkp
ee 7 mkp
0 8 mkp
0 9 mkp
0 a mkp
0 b mkp
c0 c mkp
ff d mkp
ee e mkp
0 f 0 do i idprom@ xor loop f mkp

The odd thing now is I’m running into this issue that I didn’t see before:


I’m not going to type in all this text so it’s searchable, but here’s the text for almost the same error (same issue, different version of Solaris perhaps?) :

Hardware watchdog enabled svc.configd: smf(5) database integrity check of:    
/etc/svc/repository.db
failed. The database might be damaged or a media error might have prevented it from being verified. Additional information useful to your service provider is in:
/etc/svc/volatile/db_errors
The system will not be able to boot until you have restored a working database. svc.startd(1M) will provide a sulogin(1M) prompt for recovery purposes. The command:
/lib/svc/bin/restore_repository
can be run to restore a backup version of your repository. See
http://sun.com/msg/SMF-8000-MY for more information.
Requesting System Maintenance Mode
svc.configd exited with status 102 (database initialization failure)

If I could get to a single user logon prompt then I could follow these instructions to repair, but the above error is just looping continuously, so I’m unable to do the repair.

When I first installed Solaris 10 from CDs, I got through the first couple of disks and then the cd drive would just eject any disk inserted, and won’t stay closed. I managed to complete the install by copying across ISO disk images and completing the install from those.

Since I can’t get a physical install cd to stay in the drive, I’m not sure I can boot recovery, so I’m kinda stuck. I think it’s time to pick up a replacement cdrom drive (might as well get a dvd drive) otherwise I’m kinda stuck in the water with this machine at this point.

Useful Sun OpenBoot Prom (OBP) commands

At power on: (useful reference)

Stop-A : stop the boot process, takes you to OBP ok prompt

Stop-N : reset to default NVRAM values

From go prompt (from article here):

  • to enable POST diags, not sent to monitor but sent via serial connection to a terminal or terminal emulator
setenv diag-switch? true

Turn off again with false

  • Turn off configured boot drive:
setenv auto-boot? false 

true to enable again

  • Manually boot from given device:
boot disk
boot cdrom

where disk and cdrom are device aliases that you can view with

devalias

Solaris 10 install on ESXi VM error: “ERROR: The disc you inserted is not a Solaris OS CD/DVD”

After going through all the setup options but before it gets to starting the actual install on an ESXi VM I get the error:

“ERROR: The disc you inserted is not a Solaris OS CD/DVD”

From this post here about the same error on a Dell server (I’m installing on a VM on an HP DL380 G7) with Solaris driver issues with ATAPI CD/DVD devices, I changed the virtual CD drive on my VM from SATA to IDE, and can now get past the error.