cancel
Showing results for 
Search instead for 
Did you mean: 

id number

 
Jon Steele
Valued Contributor

id number

Hi,

I was wondering if anyone knows that all of HP machines ID numbers always start with a zero?I have a customer and he says their legacy software does not like the machines that have an ID number that starts with a zero.I have tried an RX460 and an RX2600 and they start with an zero.I find the ID number by typing in machinfo
please let me know if there is a machine out there that does not start with a zero .
Thank you
Jon
17 REPLIES 17
Sameer_Nirmal
Honored Contributor

Re: id number

Can you post the machinfo and uname -a
output?
Robert-Jan Goossens_1
Honored Contributor

Re: id number

Hi Jon,

No, you can also use the uname -i command to find the id number.

RX2600 11iv2
# machinfo | grep idnumber
idnumber = 1928826293
# uname -i
1928826293

BL860c 11iv3
# uname -i
3426292962

RP2470 11iv1
# uname -i
1839940656

Regards,
Robert-Jan
Jon Steele
Valued Contributor

Re: id number

I can see my ID number ,my problem is I need to find a type of machine that the ID number does not start with a zero.On 2 different machines one has ID number of 0092028753 and the other one has 0288159798.My question is ,is there a type of machine out there that has an ID number that does NOT start with a zero?

Thanks
Jon
Bill Hassell
Honored Contributor

Re: id number

I have never seen any HP-UX machine that displays a leading zero from the uname -i command (and that is about 20 years of PA-RISC machines and all the Itanium machines I've looked at). I just tried an rx2600 and it returns:

$ uname -i
1928826293

Are these machines previously owned or perhaps repaired recently? A repaired CPU will require an authorized HP repair person to re-install the ID number. It sounds like the ID number has been corrupted and will HP to reinstall the ID number correctly.


Bill Hassell, sysadmin
Stan Sieler
Respected Contributor

Re: id number

On PA-RISC systems, the sw_id (serial number)
is stored as a 32-bit binary number ...
there's no way to "store" a leading 0,
since there's no textual representation.

Once the OS boots up, however, it's a different story. IIRC, HP-UX (PA and IPF) internally
stores the sw_id as a null-terminated
character string ... perhaps some software
is changing it behind your back?

Also, please tell us *which* serial number
that machinfo is reporting that you're
asking about? On rx2600, machinfo has
two different lines with the text "serial number":

processor serial number = 0x0000000000000000
machine serial number = US42879nnn

and several other "serial number"-like numbers :)

thanks!
Stan
sieler@allegro.com
Jon Steele
Valued Contributor

Re: id number

When I type in uname -i I get this
0288159798

This is an RX4640 machine with 11.i ver 3 os loaded on it.

Jon
Torsten.
Acclaimed Contributor

Re: id number

What is the output of "machinfo"?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jon Steele
Valued Contributor

Re: id number

machinfo
machine info
cpu info:
1 intel (R) Itanium 2 900 series proc 1.6 ghz
400 MT/s bus,cpu version C2
2 logical processor (2 per socket)

memory: 4066 mb (3.97 Gb )

firmware info:
firmware revision: 04.21
fp swa driver revision: 1.18
IPMI is supported on this system
BMC firmware revision : 4.05

platform info:
model "ia64 hp server rx4640"
machine ID number 112cf836-6f7a-11dc-9ed5-3d26b902ba19
machine serial number USE08078C0

os info:
nodename rx4640
release hp-ux B.11.31
version U (unlimited - user license)
machine ia64
ID number 0288159798
VMUNIX_release version
revision:VMUNIX:B.11.31_LR FLAVOR=perf


Jon
Stan Sieler
Respected Contributor

Re: id number

Out of curiousity, what version of machinfo do you have? Mine is:

what /usr/contrib/bin/machinfo

/usr/contrib/bin/machinfo:
machinfo.c $Date: 2007/05/29 16:00:00 $Revision: r11.23/6 PATCH_11.23 (PHCO_36670)
$Revision: @(#) machinfo R11.23_BL2007_0607_2 PATCH_11.23 PHCO_36670

and reports information in somewhat different format.

I tried the last 3 versions I could find,
and they all report the same information
in a format different from yours (similar, but different).

Perhaps that's a clue to something?

I noted that the decimal number your "uname" reports is the same value as the first hex number of "machine ID number", so that's good.

A note on machinfo: what the @#$%^ is going on with that utility?

I found four versions on our IPF systems:

-r-xr-xr-x 1 root sys 43812 Oct 16 10:52 machinfo.20050901.PHCO_34710
-r-xr-xr-x 1 root sys 43868 Oct 16 10:52 machinfo.20060405.PHCO_36670
-r-xr-xr-x 1 root sys 74444 Oct 16 10:54 machinfo.20070419
-r-xr-xr-x 1 root sys 43996 Oct 16 10:48 machinfo.20070529

The biggest one, which "what" reports as 2006-04-05, has the *LEAST* output, and is similar to Jon's output. But, that's not the most recent nor the oldest. It almost looks like someone made a bunch of changes, throwing away useful stuff in the process, released it, and then got slapped on the wrist and the prior version was restored?
Torsten.
Acclaimed Contributor

Re: id number

Stan, remember this is 11.31.

I compared this and it is the same, more or less.

At least on 11.31 it works for PA chips too.

The tools was patched recently to reflect upcoming CPUs.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
tkc
Esteemed Contributor

Re: id number

check out the MP:CM>id command output from the console MP. it will give some info on the system id number.
Stan Sieler
Respected Contributor

Re: id number

Re: Stan, remember this is 11.31.

All 4 versions of machinfo work on our 11.31
Integrity Virtual Machine, including the
not-the-most-recent-but-bigger-and-less-informative version :)

BTW Jon, don't forget to assign points (particularly to Bill's initial answer, I'd think)

Jon: I'd try:

kwdb /stand/vmunix /dev/kmem
print utsname

On our 11.31 system I get:

$1 = {sysname = "HP-UX\000\000\000", nodename = "vanity\000\000",
release = "B.11.31\000", version = "U\000\000\000\000\000\000\000",
machine = "ia64\000\000\000\000", __idnumber = "1295989824\000\000\000\000"}


The __idnumber should match the uname -i value.

Stan
sieler@allegro.com
Jon Steele
Valued Contributor

Re: id number

I have still tried 3 different itanium machines and when I check the ID number they all start with zero on all of them..I also loaded 11.i ver 3 and 11.i ver 2 and I still get the ID that starts with zero .Thanks for your help but I am going in a different direction .

Jon
Dennis Handly
Acclaimed Contributor

Re: id number

Hmm, I have 3 machines with the exact same ID and it starts with a zero, 0775917213.
ia64 hp server rx7620
The "machine id number" and "machine serial number" also match.
Dennis Handly
Acclaimed Contributor

Re: id number

>I have 3 machines with the exact same ID and it starts with a zero,

Oops, I can't explain the zero but the "3 machines" are really vpars on the same box.
Stan Sieler
Respected Contributor

Re: id number

Dennis...any chance *all* VPARs systems
have a leading 0 as a feature? That would
explain a lot!

thanks,
Stan
sieler@allegro.com
Dennis Handly
Acclaimed Contributor

Re: id number

>any chance *all* VPARs systems have a leading 0 as a feature?

Not sure but I have another VPAR where that seems to be the case.
I also had a VM with 3 leading zeroes but 5 others that didn't have any.