1758600 Members
1973 Online
108873 Solutions
New Discussion юеВ

failed to rebuild kernel

 
ьЭ┤ьГБы┤Й_2
Occasional Contributor

failed to rebuild kernel

I'm using Hp-ux 11.11
I tried to extend stack size(maxssize, maxssize_64bix) in the kernel using SAM. But errors were occured. I dont know Why the kernel dont allow to extend stack size.
What should I do?

I append error massage below.

**** Cannot build a kernel using /usr/sbin/config. The standard output of the command is shown below:
Usage: bstab input_data symbol_cnt strtbl_size kernel_file
output_file
make: *** [vmunix_test] Error 1
config: make did an exit(2)
The command exitted with exitcode -71. ****

for more information about my server

rp5470:[/] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024

rp5470:[/] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024
2 REPLIES 2
Peter Godron
Honored Contributor

Re: failed to rebuild kernel

Hi,
and welcome to the forums !

How much memory do you have on the machine?

What are you kernel values for:
maxssize
maxssize_64bit

You can't set stack size higher than maxssize(_64bit).
You also have to fit everthing with memory restriction.

For similar earlier thread, please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=109239

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Dennis Handly
Acclaimed Contributor

Re: failed to rebuild kernel

This may have nothing to do with your error but why did you want to increase maxssiz? (And to what value?) Do you have Fortran applications?

Increasing maxssiz will decrease maxdsiz, if it is at or over the hardware max.