SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
#1
SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Powered up the freebee SUN Enterprise 2 UltraSparc.

Invalid contents of IDPROM and date is 1968.. bad NVRAM I suspect.

But, still should be able to boot (if the drive is OK and there is an OS I suppose).

Code:
Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.19, 1280 MB memory installed, Serial #16777215.
Ethernet address ff:ff:ff:ff:ff:ff, Host ID: ffffffff.


The IDPROM contents are invalid

Boot device: net  File and args:
Internal loopback test -- Did not receive expected loopback packet.
Evaluating: boot

Can't open boot device

{0} ok boot disk
Boot device: /sbus/SUNW,fas@e,8800000/sd@0,0  File and args:

Can't open boot device

{0} ok

Disk in the left slot (looking at the side straight on).

I have set-defaults (still no boot)

It's been many many years since I messed with SUN, so looking for pointers.

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-23-2018, 07:10 PM
#2
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Use
probe-scsi-all

Other useful Openboot commands

printenv
devalias
test scsi

Link to complete Openboot 3 reference

https://docs.oracle.com/cd/E19641-01/802...2-3242.pdf
Once you know the device that holds the OS you can "boot ".

It's all possible to reprogram the MAC address temporarily so you have valid networking. I have that written down somewhere.

-Mike
mgtremaine
O2

Posts: 23
Threads: 4
Joined: May 2018
Find Reply
07-23-2018, 08:02 PM
#3
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Found it..

Resetting the MAC ADDRESS

01 0 mkp
80 1 mkp < = System type. For sun4u arch 80. For sun4m arch - 72. Anything else - read the FAQ
08 2 mkp <= Sun AUI is is always 08:00:20, which are the next three settings for MAC
0 3 mkp
20 4 mkp
c0 5 mkp <= c0:ff:ee to generate 08:00:20:c0:ff:ee as MAC
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 <= Calculates the checksum of what you did, and stores it

-Mike
mgtremaine
O2

Posts: 23
Threads: 4
Joined: May 2018
Find Reply
07-23-2018, 08:32 PM
#4
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Thanks mgtremaine,

I found the correct disk device and set the alias, but no attempt to boot from this worked, so I suspect it has no OS installed.

I'll have to get in the loft and get my Solaris install media out.

Cheers

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-24-2018, 07:45 AM
#5
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
mgtremaine post_id=1696 time=1532377954 user_id=154 Wrote:Found it..

Resetting the MAC ADDRESS
[...]

I thought I should link another source of information here - The SUN NVRAM/hostid FAQ (as archived in the Internet Archive). It was the primary source for me when I experienced similar issues as uunix with some of my older SPARC gear some years ago and it also contains additional useful information.

Using mkp or mkpl should work for anything with pre OBP 4.x. Some time ago - still on the Nekochan forums - I posted a tool and configuration written in expect that does the reprogramming automatically by using mkp via serial console. This way one could use a machine with depleted NVRAM battery without replacing the NVRAM battery. Though (1) I didn't yet found a way to set and restart the clock from OBP and (2) to use the glass console afterwards, one has to first detach the keyboard from the SPARC machine so it uses the serial console and then (hot)reattach it after the programming has succeeded. But still easier than doing the repair.

Later OBP versions do not have the mkp/mkpl tools installed, though I wonder if one could not redefine these tools from a nvramrc.

Alternatively the IDPROMs of later machines can be reprogrammed as per "Other more arcane methods for modifying the IDPROM" in the document linked above or as per this description on a GitHub repo. I've seen this working on a Blade 150.

Indigo Indy Indigo2 IMPACT O2 Octane Octane2 Origin 200 = Origin 200 - Origin 200 = Origin 200

johnnym
O2

Posts: 39
Threads: 2
Joined: Jun 2018
Find Reply
07-24-2018, 10:42 AM
#6
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
uunix post_id=1708 time=1532418317 user_id=51 Wrote:Thanks mgtremaine,

I found the correct disk device and set the alias, but no attempt to boot from this worked, so I suspect it has no OS installed.

I'll have to get in the loft and get my Solaris install media out.

Cheers

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-24-2018, 11:28 AM
#7
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Went up the loft, obtained a load of Solaris folders and now installing Solaris 7 Server..

I did find though Solaris 2.5.1 & 8 for Intel, so I think I'll take them to work, sack of the eComStation install on the SGI 330 and try out Solaris 8 maybe.. All good fun and keeps me from endangering myself doing real work!.

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-24-2018, 09:18 PM
#8
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
mgtremaine post_id=1696 time=1532377954 user_id=154 Wrote:Found it..

Resetting the MAC ADDRESS

01 0 mkp
80 1 mkp < = System type. For sun4u arch 80. For sun4m arch - 72. Anything else - read the FAQ
08 2 mkp <= Sun AUI is is always 08:00:20, which are the next three settings for MAC
0 3 mkp
20 4 mkp
c0 5 mkp <= c0:ff:ee to generate 08:00:20:c0:ff:ee as MAC
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 <= Calculates the checksum of what you did, and stores it

-Mike
Thanks Mike, went through this and it worked a treat. Will now power it down and unplug the cable, see if it sticks (doubtfull but you never know).

[EDIT]
It held it's settings for about 20 hours, so good to go.

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-24-2018, 11:05 PM
#9
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
Something went wrong with your re-initiating of the NVRAM.
The battery is OK? Don't look like.

Sure, there's something on your disc to boot?
First disc has c0t0d0s#
What's the output of the follown OBP command?
Code:
ok probe-scsi

Cheers, Stephan

SNI PCD-3M (1990), PCD-4H (1993)
SUN SPARCstation 2 (1990)
escimo
freezing ignorance

Posts: 14
Threads: 2
Joined: Jun 2018
Find Reply
07-26-2018, 10:17 PM
#10
Re: SUN Enterprise 2 UltraSparc - NVRAM shot, not booting
escimo post_id=1753 time=1532643466 user_id=229 Wrote:Something went wrong with your re-initiating of the NVRAM.
The battery is OK? Don't look like.

Sure, there's something on your disc to boot?
First disc has c0t0d0s#
What's the output of the follown OBP command?
Code:
ok probe-scsi

Cheers, Stephan

eh?

It runs, it keeps the date and mac & id..

Hey Ho Pip And Dandy!!!!!

Onyx2 :O2K_d-1: Origin 200 :tezro: Octane2 O2 Indigo Indy :320:
uunix
Octane

Posts: 211
Threads: 27
Joined: Dec 2017
Find Reply
07-27-2018, 07:46 AM


Forum Jump:


Users browsing this thread: 2 Guest(s)