James C. McPherson wrote:
> On Mon, 26 Jan 2009 20:51:28 +0100
> Joachim Worringen <joac...@dolphinics.com> wrote:
> 
>> Greetings,
>>
>> I want to build a debug version of the onv_106 kernel, but this fails 
>> with the log message listed below.
>> - I have installed the matching onbld package and closed binaries
>> from http://dlc.sun.com/osol/on/downloads/b106.
>> - I have built onv_103 successfully on this machine (same compilers).
>>
>> Any input is appreciated - this is pretty urgent...
> ...
>> ==== Build environment ====
>>
>> /usr/bin/uname
>> SunOS osol 5.11 snv_86 i86pc i386 i86pc
> 
> 
> Your build machine needs to be upgraded to at least snv_103
> 
> http://www.opensolaris.org/os/community/on/flag-days/pages/2008120401/

Thanks, James, that worked. I have to admit I am a bit sloppy on 
tracking all the flag days...

Another problem showed up, though: the box I was buiding on has 4GB RAM, 
and about 2.5 GB available when I start nightly (according to vmstat). 
However, the build failed with an "out of space" error (mksh: Fatal 
error: fork failed: Not enough space).

Checking opensolaris.sh, I noticed that the number of parallel jobs is 
calculated as follows:
maxjobs() {
         ncpu=`/usr/sbin/psrinfo -p`
         expr $ncpu \* 2 + 2
}

I fixed the number of jobs to 1, and the build succeeded after 7(!) hours.

I have a dual-core box, thus the original number of jobs was 4. Issues:
- Is it expected that more than 4GB or memory are needed just to build 
the kernel with default settings?
- psrinfo -p returns the number of sockets (physical CPUs), not the 
number of cores. This would make a quad-core single-socket machine not 
work at its full capacity?

  Joachim


-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to