1846210 Members
4555 Online
110255 Solutions
New Discussion

Build Kernel error

 
Isaac_4
Frequent Advisor

Build Kernel error

Hi:

I have a big problem, I change some values in the kernel parameter, but when the system try to buil the kernel this process fail
I try buil the kernell manual too

error:
# make -f config.mk

Loading the kernel...

Malloc is out of memory, leaks over 512k:

/usr/ccs/bin/ld: Out of memory

Malloc: 13887680 bytes allocated by Unknown:0x35e6b

Malloc: 1180000 bytes allocated by Unknown:0x38d87

Malloc: 4063232 bytes allocated by Unknown:0x11577

Malloc: 1015808 bytes allocated by Unknown:0x1155b

*** Error exit code 1



Stop.

# Cannot build a kernel using /usr/sbin/config. The standard output of the command is shown below: Stop. config: make did an exit(1)

The command exitted with exitcode -71.
The time is gold
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: Build Kernel error

Hi,

I would suggest you shutdown some databases/applications to free up swapspace. You could check your free swapspace with swapinfo -tam. If you can not shutdown your databases/applications add some temp swapspace and try creating your kernel again.

Regards,
Robert-Jan
Sridhar Bhaskarla
Honored Contributor

Re: Build Kernel error

Hi,

I agree with the previous post. Look at your swap space utilization. You may want to add more if it is near 100%.

Also, you can use mk_kernel to build the kernel.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try