Operating System - HP-UX
1845279 Members
1854 Online
110244 Solutions
New Discussion

Re: Kernel changes using SAM

 
SOLVED
Go to solution
Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

stape is back in /build/system
I could not find the patch listed, it must be
part of a larger patch set. I did a chmod of the affected files and check_patches reported no errors.
nflocks is back to its initial value
patch assesment says I am up to date.

Ian (increasingly desperate)
Why did anyone invent unix?
Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

I don't know if this means anything, but if I run /usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM
as root, the kernel compiles, but if I run the same command in /stand/build/, I get the error.

Ian
Why did anyone invent unix?
Eric Antunes
Honored Contributor

Re: Kernel changes using SAM

And with SAM (SAM -> are you able to Process the Kernel?
Each and every day is a good day to learn.
Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

No, I get the same error as always.

Ian
Why did anyone invent unix?
Stephen Keane
Honored Contributor

Re: Kernel changes using SAM

If you rename conf.SAM.c to something else (not ending in c) then run the configure command again, does that work?
Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

No difference.

Ian
Why did anyone invent unix?
Eric Antunes
Honored Contributor
Solution

Re: Kernel changes using SAM

cp /stand/build/system.SAM stand/build/system.SAM.BAK

cp /stand/system /stand/build/system.SAM

Go to SAM and process kernel...
Each and every day is a good day to learn.
Stephen Keane
Honored Contributor

Re: Kernel changes using SAM

If you run

/usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM

but not in the /stand/build directory, it works? I see conf.SAM.c and config.SAM.mk don't have a leading path (or was that a typo?) so they would be created in whatever directory you were in at the time? If so, can you copy them into /stand/build to replace the existing ones. I've attached an ll -R of my /stand directory so you can check ownership and permissions.


Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

Eric, no change

Stephen, no change

Ian
Why did anyone invent unix?
Florian Heigl (new acc)
Honored Contributor

Re: Kernel changes using SAM

Just a short thing - You *should* get the whole patch list with /usr/contrib/bin/show_patches

swlist -l file > /tmp/filelist also shows file vs. patch updates.

else - I don't have a good guess. Just, that something stupid sits around in /usr/conf or whereever :)
yesterday I stood at the edge. Today I'm one step ahead.
Ian Warner
Trusted Contributor

Re: Kernel changes using SAM

I got it!!!!!!!!!!

I did the changes again (poperly) this time and the kernel compiled.


Thanks to all of you who helped.

A very grateful Ian Warner

Why did anyone invent unix?