Operating System - HP-UX
1836645 Members
1588 Online
110102 Solutions
New Discussion

Re: Pick any number between 1 and 10: Magic number wrong

 
SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

Pick any number between 1 and 10: Magic number wrong

# dmesg

Mar 12 13:33
Magic number wrong (namelist mismatch?)

It works for me (tm)
6 REPLIES 6
melvyn burnard
Honored Contributor
Solution

Re: Pick any number between 1 and 10: Magic number wrong

Bill, have you rebuilt a kernel, moved into place, but not yet rebooted?
This is normally where the in-core kernel and the on-disk kernel do not match.
Lanscan will also usually give something similar
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
harry d brown jr
Honored Contributor

Re: Pick any number between 1 and 10: Magic number wrong

Bill

have a look at this:
http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0x56b9cf38d6bdd5118ff10090279cd0f9,00.html


and my answer is 3


live free or die
harry
Live Free or Die
H.Merijn Brand (procura
Honored Contributor

Re: Pick any number between 1 and 10: Magic number wrong

Oopsie, this message usualy comes from a binutil like command like strip, nm, ar, ld and such.

Can it be that there is an architecture mismatch for some binary? Did you copy an 11.00 binary to a 10.20 or a hppa-2.0w to a hppa-1.1 machine?
Enjoy, Have FUN! H.Merijn
John Bolene
Honored Contributor

Re: Pick any number between 1 and 10: Magic number wrong

And excuse the heck out of me, why can't this error message say what it really means?

UNIX can be so darn infuriating and cryptic at times. It is almost like they are intentionally obfuscating this instance.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Bill McNAMARA_1
Honored Contributor

Re: Pick any number between 1 and 10: Magic number wrong

Just rebuilt the kernel as mentioned...
works fine after reboot.

thanks
Bill
It works for me (tm)
Jakes Louw
Trusted Contributor

Re: Pick any number between 1 and 10: Magic number wrong

Or you can just move the new kernel away, and move .prev back:

mv /stand/vmunix /stand/vmunix.new
mv /stand/vmunix.prev /stand/vmunix

Then you can reverse this later if you still want to reboot and apply the changes.
Trying is the first step to failure - Homer Simpson