Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kernel link problem in Openserver 5.0.5 1

Status
Not open for further replies.

Nostradamus

Technical User
May 3, 2000
419
SE
I need to raise a couple of semaphore values in /etc/conf/cf.d/stune
the values are
SEMMNU 700 -> 800
SEMMSL 600 -> 800
SEMUME 600 -> 800
SEMMNS 600 -> 800

I change those, and tries to relink the kernel.
Then I get this errormessage...


The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.

Root for this system build is /

i386ld locore.o 40: can't allocate section .bss into owner KV_loads
i386ld locore.o 40: illegal operator in expression

ERROR: Can not link-edit unix

idbuild: idmkunix had errors.
System build failed.

Press <Enter> to continue...


I really need this to work. I haven't found anything about this in my quick searches on the net. Any help at all are more then welcome. /Sören
 
Did you use the configure script in /etc/conf/cf.d to make your changes? If not I'd suggest you undo any manual changes you've made and try again that way? Annihilannic.
 
I can't use the script. The semaphores I want to change are not included in the script. They have to be changed manually.

Any other idea? /Sören
 
I see. Perhaps try using idtune?

On the man page for stune it says that parameters you set cannot exceed the limits defined in mtune, which are 100, 60, 10 and 300 resepectively on one of our systems. Annihilannic.
 
I've changed mtune manually to accept my higher values.
I don't think that's the fault.

For further information.
I managed to change the SEMMSL and SEMMNS value to 800 and sucessfully relink the kernel.

Have you ever tried idbuild -p
does it give any useful information?
/Sören
 
I would guess that the limits in mtune are set for a good reason; simply changing them manually probably won't be enough. Or have you done this before and it's worked? Annihilannic.
 
I've changed the mtune max-levels some times before. Never complained then, but perhaps it was only a question of time.
I suppose they are put to a certain size for a reason, but I must have them higher.

How do I know which values to lower in order to decrease my kernel size? My new Semaphore values are a must, so perhaps I can lower some other values to &quot;free up&quot; kernel space?

I must have been blind when searching the caldera site.
How could I miss that link. Thanks Stanhubble, It surely helped. I hate the way they transformed the old sco.com site when caldera took over. I can't find any support there anymore.

What do they mean by &quot;8 Mb&quot;? Is that the actual file size of the unix file or something else?
My /stand/unix file as of now are only 2.7 Mb.
Can they really mean the by increasing two semaphor values I get an increase in kernel size by over 5 Mb?

I'll make a comparison between my mtune and stune file and see if there is something really wrong between them. /Sören
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top