The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LPAR processor/virtual processor settings guttew AIX 1 02-01-2007 10:52 AM
How to get Processor Id atul.saxena Shell Programming and Scripting 1 04-06-2006 07:37 AM
checking no of processor abi UNIX for Dummies Questions & Answers 3 02-07-2006 08:59 AM
Processor bits anuragbirje UNIX for Dummies Questions & Answers 1 02-06-2006 09:54 PM
Processor jwbrown UNIX for Dummies Questions & Answers 5 06-13-2001 06:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-22-2005
Registered User
 

Join Date: Aug 2005
Posts: 6
CPU Processor ID

Hallo,

does anybody knows a trick to change the Processor ID in
AIX 4.3.3.

Thanks a lot
Reply With Quote
Forum Sponsor
  #2  
Old 08-23-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
I don't know what you mean by "processor ID", please clarify.

In case you want to change the output of "lsattr -El proc0": The information comes from the ODM (probably the tables CuAt and PdDv, maybe others too), so it should in principle be possible to change them to some arbitrary values with a finite amount of "odmput ...."-statements. (man odmput)

Even if that is possible (i have never tried it) you might end up ruining the installation and having to reinstall the machine. It might also be, that every time you run cfgmgr the values are being "corrected" to their original values because cfgmgr does exactly this: store information about devices into the ODM.

bakunin
Reply With Quote
  #3  
Old 08-23-2005
Registered User
 

Join Date: Aug 2005
Posts: 6
Hello,

i am getting with uname -a the ID of the machine.

On earlyer Versions it was possible to change with uname itselfe
this identification.

Thank you for your help, Bakunin
Reply With Quote
  #4  
Old 08-24-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Having no 4.x system at hand at the moment (regrettably I have upgraded my PC at home to 5.2) I can't find out, but to my knowledge uname was never able to change anything, just to display it.

The informaton you are after seems to be the machine ID, displayed by "uname -m". This, I'm pretty sure, can be found somewhere in the ODM, so prepare a list of ODM tables (/etc/objrepos is where they reside, you can leave out any file with a ".vc" ending) and try a

odmget <tablename> | grep -p "$(uname -m)"

to find the table where the information is stored. It is most likely that it is stored in more than one file. From there you could write a script which changes this information (perhaps it has to be changed in every table simultaneously) around odmput.

Another possiblity to change that is the "bootinfo" command (man bootinfo), but be extremely careful when using it. Its parameters have changed several times since 3.2.5 therefore please consult your documentation, I'm not sure if you could use the info my own manpage is giving me.

Sorry for being so general and unspecific, but perhaps finding the solution to your problem is a longer effort.

bakunin
Reply With Quote
  #5  
Old 08-26-2005
Registered User
 

Join Date: Aug 2005
Posts: 6
Hello Bakunin,

thank you for your Help again, you have given me good ideas.

Now i will look for this you explained.

But isn't there any easier way to fix it

Thanks a lot for your Help
Reply With Quote
  #6  
Old 08-27-2005
Registered User
 

Join Date: Aug 2005
Posts: 6
Hello again,

i remembered that some cloned the harddisk and so they had
the same installation on different computers, but each of them
got different ID's.

Is the ID written each time of booting to that files?



UXNI
Reply With Quote
  #7  
Old 08-29-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Quote:
Originally Posted by UXNI
Hello again,
Is the ID written each time of booting to that files?
This is very likely and in line with what I have written above: every time the machine boots the cfgmgr is run and (re-)builds the hardware-related ODM tables. This is how new hardware gets an entry in /dev and/or the respective ODM-table-entries are created. In fact some changes to the hardware inventory can only be be done at boot time as the cfgmgr runs in a special mode at that time which isn't (to my knowledge) reproduceable at runtime.

It may very well be that the machine ID is such a piece of information.

bakunin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0