On 2018-06-17,
cxb...@gmail.com <
cxb...@gmail.com> wrote:
> UPDATE:
>
> I have found documentation stating what I believe to be my original Hostid and Ethernet id.
> Host-id: 808bc7f5
> Ethernet id: 0:80:42:10:57:f5
> From the first byte of the host ID and the FAQ, I surmise that the
> system model is one of the following
> SPARCstation Classic, LX, 4, 5, SS1000, Voyager, Ultra 1
Classic will probably not say so -- that was added later to
distinguish it from the later versions. It will probably only say
"Sparcstation" on the front.
"LX" is an almost square box. It has a line around the middle
of the height, and by removing a single screw in the back, it will pivot
open along the front edge. The hard drive and the floppy drive live in
the top half, and the rest of the system, including the "framebuffer"
(graphics card) to allow it to talk to a monitor, and possibly another
card, perhaps the Omicron special card, whatever it is.
SS4 (SparcStation 4), SS5 are about 3" tall and maybe 14" wide
and deep -- same as the original SparcStation. SS1000 is a much bigger
box. Ultra 1 is also a bigger box than the SS5 (about twice as tall),
but smaller than the SS1000. I forget what the Voyager looked like.
But it does not matter much, you have a system which boots,
(based on later things you typed, including your "uname -a" output) and
the only reason for the hostid to matter now is for the Flex License
Manager to allow the special software which is in it (and which I
presume is why you are trying to get it to run again). (And the
ethernet in the NVRAM matters only if you are trying to network it,
instead of use it as a stand-alone system.)
> But I don't understand which one it is? Or why both of these dot match
> the conventional way of doing things.
And what does the last sentence above mean?
> Also the data sheet (customer sheet) where I found the hostid and the
> Ethernet id also lists:
> SN#
> Operating System: Solaris V2.5
> Driver type: omicron v2.3
> some setup info
>
> When I use the command "uname -a" I get the following back
> " SunOS scala 5.5 Generic_103093-08 Sun4m sparc sun4m"
> The workstation information also says
> "SunOS 5.5 Gen..."
"scala" was the system's assigned name. Only matters when it is
networked and talking to other systems. If it is stand alone, don't
worry.
The "Sun4m" says that it is a SPARC based system, not x86, so
the information below where you mention things about x86 systems do not
apply. Note that it even *says* "sparc" (which, IIRC, stood for
"Scalable Processor Architecture RISC Computer". (And which says that
this is in no way a "PC". :-)
> And the start of the workstation it loads Sunos
Don't worry. SunOs is the name that Sun used to use, back in
the days of Motorola MC 68000 and MC 68010, 68020 systems, as well as
the early Sparc systems. (All were made by Sun.) SunOs up through
SunOs 4.x.y were based on BSD unix, while those starting with SunOs 5.x
were System V based -- and they started calling the combination Solaris
2.x (corresponding to SunOs 5.x) -- until they eventually threw away the
"2." part of the Solaris name, and started calling them Solaris 8,
Solaris 9, Solaris 10, and Solaris 11. Just games with the names, with
no real effect other than the underlying unix version. And with the
early Solaris 2.x versions, they even had libraries to allow programs
compiled for the BSD based SunOs 4.x.y. Those were abandoned, so you
had to re-compile programs at some point.
> I am wondering if/why/what is causing the workstation to load as sun
> and not Solaris.
Solaris was what was on the box when you bought the OS, But it
identifies itself during boot and from "uname -a" as SunOs 5.5 (in your
case) which would be Solaris 2.5. Don't worry about what it is calling
itself.
> Also, I found this line in the FAQ
>
> "The hostid on Solaris 2.5 x86
Yours is *not* an x86 (that is Intel processor) computer. Ignore
the following paragraph or two.
> Intel processor machines don't have an IDPROM. Sun uses a different
> mechanism to generate the hostid. When the operating system is initially
> installed a pseudo-random hostid is generated. It appears that this
> pseudo-randomly generated hostid will always be between 1 and 3b9aca00. The
> hostid is based on eight bytes of serialisation information in the kernel
> module /kernel/misc/sysinit. This is in contrast to the situation on SPARC
> machines where the hostid is based on the IDPROM.
>
> /kernel/misc/sysinit contains code which initialises the variable hw_serial
> in the kernel based on the serialisation information. On both SPARC and x86
> versions of Solaris 2.5, hw_serial stores the hostid as a decimal C string.
>
> Other than the eight bytes of serialisation information the
> /kernel/misc/sysinit files do not differ between machines. Four of the
> serialisation bytes depend upon the other four bytes, so the hostid is
> somewhat tamper resistant. If the serialisation information is tampered with
> carelessly or the sysinit module fails to load for some other reason, the
> hostid of the machine will be 0. A little more obfuscation is done in the
> code, i.e. hw_serial is not referenced directly in the module, but
> indirectly via the pointer _hs1107."
> What I find confusing is whether or not to treat this workstation as a
> sun, sparc, or solaris.
They are all the same. (Sun did make some x86 ones which were
*not* SPARC, but this is *not* one.)
> Furthermore, the line about the host id being zero is directly
> applicable to what is happening.
No. *Yours* is zero because the cell (battery) in the NVRAM
chip is dead, so when the system is powered down, it forgets everything,
including the hostid.
> the work station info yields it as a
> zero and the licnse.dat file dose so to. I think I got hostid to say it
> one time but now all i get is the aforementioned errors.
Any value you get from the hostid command will be either zeros
or garbage. The NVRAM is really a "forgettary". :-)
> I have no idea the ramifications of this new info or how to proceed.
> I have found what I believe to be a new NVRAM for the sun4m, but would
> like to hold off on getting it till I am certain how to proceed.
> I could not find a "/kernel/misc/sysinit " file
That is only in the x86 (Intel based) systems. Not to be found
in SPARC based systems.
> I do not know where to find a FLEXlm.dat license file
I find it in a file of a different name and location:
/etc/opt/licenses/licenses_combined
And I found it by looking at the /etc/init.d/lic_mgr file, where
the section of the file:
======================================================================
#
# /etc/opt/licenses holds the license manager, links to
# several license management utilities and the license
# files. This directory is only required on the license
# server.
#
licdir=/etc/opt/licenses
======================================================================
Tells you where it is. And later in the /etc/init.d/lic_mgr you find
something like this:
======================================================================
#
# licenses_combined is the file which should contain all the
# licenses for this server.
#
licfile=licenses_combined
======================================================================
Giving the actual file name.
> My thoughts: I assume that the pc is defaulting to the sun operation
> system, the reason is unknown but it either has to do with the NVRAM or
> telling it "boot disk" .
It is *not* a PC. It can't run any Microsoft OS (while some of
the x86 ones can).
> You say "Omicron sun4m" -- is this a computer which was made by
> Sun, and Omicron supplied it loaded with licensed software?
> --------------------------------------------------------------------------------------------Yes
> I believe so
Likely so. Color is likely a light blue-gray. It should have
some identifying text on the front, such as the "Sparcstation 5" on my
example system. (Which happens to be running Solaris 2.6 (and uname -a
says:
======================================================================
SunOS izalco 5.6 Generic_105181-05 sun4m sparc SUNW,SPARCstation-5
======================================================================
Perhaps a bit more information because it is Solaris 2.6 instead
of your Solaris 2.5 -- I don't have that to see what it does. It also
happens to be the only system I have which is running a FlexLM -- just
for the compiler.
> @Don , thanks for your response, Looks like it will be helpful, but at
> the moment I do not fully understand what you are saying I will need to
> think on it and formulate some questions.
> There Is just so much new information involved with trying to get this
> up and running figuring out what information is good and bad, much less
> keeping it all strait and understanding it is a bit difficult. I thank
> you all for your help and patience on this matter.
> If any of you are available to call at your convince , Being able to
> verbally discus or bounce back ideas would be very helpful as this form
> has been really the only and best source of information to me.
It would probably be quicker if I could ask you to look at
something and describe it -- perhaps identify which system you have, for
example. But treat "SunOs", "Solaris" and "sun" as identical for your
purposes. That might simplify things.
Find where your flexlm file is (like my "licenses_combined" file
which I both pointed you to if it is the same, and showed you where to
find the information if it is not -- your /etc/init.d/lic_mgr file which
is what starts the license manager. And it *may* have a different name,
but look for "lic" as part of the name.
I do have a phone number in my .sig below -- but *please* don't
call me before about 2:00 PM Eastern Daylight Time -- I go to sleep very
late, and get up very late, thanks to being retired.
And maybe what you are using to read e-mails hides the .sig, and
you need to give it a command to show the .sig. (The .sig always
follows a line of "-- " (Two dashes and a space) which is how some
news clients detect and hide it.