Guys, I'm fighting a real bitch of a problem. I've got 2 Tadpole Bullfrog sun4u laptops. One just lost is NVRAM battery - invalid IDPROM. The idprom is virtually all zeros. Clock ticks, NVRAM appears good...testing with and with battery out. Our damn Tadpole boys removed virtually every method of writing back (using mpk, mpkl, eeprom, pgmap), the format/type, hostid, ether addr, etc. After days searching/trying everything including "set-host-id" I'm wondering if the f-code for the function mkp could be written to the nvram allowing the idprom area to be restored. I haven't been able to find a Open Boot source to maybe retrieve the mkp code and recompile.
Any ideas?
Thanks
Jack KG6INX
Hi Man,
Well there's about 16 bytes plus/minus that holds the data and a command line computed checksum. Looks that even Sun removed the mkp in later firmware; typical!
Like this:
Last edited by Don Cragun; 02-17-2016 at 03:13 PM..
Reason: Add CODE tags.
Morning,
These are both Ultra Sparc 3's, with Solaris 10U13 set up as a home IPF/NAT servers. One operational/one backup. These Bullfrog laptops are expanded to virtual desktop configuration having the bottom added cardcage installed to permit one full size board to be added.Uses a M48T59Y NVRAM chip with battery tophat snap on.
I ave full root access to both, and full access to OBP to do the usual boot params and the like. Units are both fully operational. The one with the "invalid IDPROM" will manually boot and function fine. Auto-boot fails due to IDPROM issue.
The OBP fcode is further limited missing idprom@, mkp, mkpl, attributes/properties, pgmap, mappg, commands, also eeprom access via within Solaris is not implemented, c! dump works. There maybe more fcode commands that work/or are missing. These are what I've come across so far.
My possible resolution thoughts:
1)With the eeprom access not implemented, is there a Solaris freeware like utility that can access NVRAM directly? Like a command line software tool that can search all memory, including NVRAM, for a set of bytes and allow those memory locations to be altered?
2) Is there an OBP source around that the mkp source can be used to manually fcode up in NVRAM
3)I thought of installing the earliest firmware hoping the mkp, eeprom, etc are available like the earlier Sun OBPs. Have not found any of the earlier firmwares so far.
4) I can remove/install the invalid NVRAM chip with battery externally attached allowing me to program in those corrupt 16 bytes and reinstalling. This is a pain in the ass though! I still need to find the exact physical locations.
---------- Post updated at 11:37 PM ---------- Previous update was at 09:37 AM ----------
Figured it out finally! BAM!
IDProm locations:
Bullfrog-1
OBP Commands:
Calculate Checksum using Windows calculator in Programmer mode:
B is for Byte.
Last edited by Don Cragun; 02-17-2016 at 03:16 PM..
Reason: Add CODE tags.
I'm pretty sure that you should be able to repair this using "nvedit", to start the session you will need to run.
Then at the end of the edit session, you'll have to run the nvstore command. You may be able to get some guidance from the Oracle site on exactly what you have to change to action the changes that you need.
Tadpole Bullfrog-1 Lapytop How to Reprogram the IDPROM
Morning,
Finally located the memory locations that hold the Ethernet Addr, Serial, Date, and Checksum which make up the IDPROM. What's so damn time consuming is taking what information is available and getting it to work on your system. In the last 10 or years vendors have removed some to most of the commands used in the documentation. Both versions of the Sun OBP Ref Manual are good but a command syntax example is worth its weight in gold.
In any case there's the How to:
IDProm locations:
Bullfrog-1
OBP Commands:
IDProm is within 1000h below that
Calculate Checksum using Windows calculator in Programmer mode:
Regarding "nvedit" as much as I have read, this utility can't be used to edit a specific address, rather is designed to use a specific area NVRAM space for commands.
Thanks for your help,
Jack KG6INX
---------- Post updated at 09:44 PM ---------- Previous update was at 09:43 AM ----------
To my amazement, when I entered the new 16 bytes of data, the banner was correct. Resetting and BAM! everything was invalid again. Come to find that the OBP copies the 16 bytes out of battery backed memory to a non battery backed up buffer. Further digging found the "IDPROM" string in battery backed memory. Input the 16 bytes there and whalla everything is valid even after a complete power cycle. Use the commands and checksum calculations I posted previously below.
---------- Post updated at 10:04 PM ---------- Previous update was at 09:44 PM ----------
Well after burning a bunch of hours finally getting my invalid IDPROM restored the hard way, Flextronics Support surprised me tonight with the correct "passphrase" to restore the host-id easily. This process correctly restores the entire 16 bytes of the battery backed IDPROM data.
So for all to find and use, the Tadpole Bullfrog-1 host-id restore is as follows:
Any other response after entering the passphrase means is was the wrong code.
SPARCLE:
Hope this helps all the Tadpole SPARC Laptop owners.
Jack KG6INX
Last edited by forjack842; 02-18-2016 at 02:10 AM..
Reason: Add CODE tags.
Hi Gurus,
Can somebody explain me actually how a NVRAM works on a sparc server. I am really confused and the same level of confusion with eeprom . (1 Reply)
what is the requirements to install a new nvram for sun fire v890 server.
should I keep the same host id and mac address, or it doesn't matter the server will boot with the new nvram regardless to the host id and mac address. (4 Replies)
I have replaced the nvram on my Sun V480 and now the system stops at the "ctrl-d for normal startup, or root password for maintenance" part. The nvram auto-boot=true, but it still stops here.
Any help would be appreciated.
Thanks. (4 Replies)
I have Ultra1 SUN machine, its NVRAM got damaged.
I purchased new NVRAM. now the host id of the new nvram is by default different than the old one.Any way to program it to change the new host id to be the same like the host id of the damaged one? (3 Replies)
what is its signifance and how do you flush it. i was reading this book that said something about flushing the nvram before un-installing it. how do you do that and also whats the purpose of this nvram when the regular RAM is available (2 Replies)
Hello guys ,and girls.
Im having a very interesting problem.
I have a Netra SUN machine
and i had it here for quite a while now...i wanted to install it as a new server and todo so i needed to mount a cd rom and to change the boot at the prom level to cdrom.
this could work but i forgot the... (5 Replies)