Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - make causes multicore processor to freeze: (7 Items)
   
make causes multicore processor to freeze  
Hello all:

I am evaluating QNX6.5 and have ran into the first serious problem trying to use a multicore processor.  When I try to 
build our product, which has several directory levels with hierarchical calls to "make", the system will lock up.   The 
lock up always seems to occur on a "make clean".

The Makefiles are unchanged from QNX6.3, though some of the defines and directories are system dependent, so that is not
 as strong a statement as one would like.  The same command on the same computer booted with the qnxbase.ifs kernel (as 
opposed to qnxbasesmp.ifs) will complete without freezing the system.  I have gotten this to happen doing a "make -n 
clean", which suggests that the problem is in the evaluation of what needs to be done as opposed to actually doing it.

I have repeated the problem with another dual core computer, different manufacturer, different processor.  The problem 
does not occur on a single core processor.

Has anyone seen this type of lock up?  Is there a work around or fix?

Thanks,

Mike Zeller
www.ansaldo-sts.com<http://www.ansaldo-sts.com>;



Re: make causes multicore processor to freeze  
I heard about it, and I think Ryan had a fix in msys for this (or some?) lockup. Can you search forum for msys patches 
and try to apply it?

On 12/14/2011 04:12 PM, Mike Zeller wrote:
> Hello all:
> 
> I am evaluating QNX6.5 and have ran into the first serious problem trying to use a multicore processor.  When I try to
 build our product, which has several directory levels with hierarchical calls to "make", the system will lock up.   The
 lock up always seems to occur on a "make clean".
> 
> The Makefiles are unchanged from QNX6.3, though some of the defines and directories are system dependent, so that is 
not as strong a statement as one would like.  The same command on the same computer booted with the qnxbase.ifs kernel 
(as opposed to qnxbasesmp.ifs) will complete without freezing the system.  I have gotten this to happen doing a "make -n
 clean", which suggests that the problem is in the evaluation of what needs to be done as opposed to actually doing it.
> 
> I have repeated the problem with another dual core computer, different manufacturer, different processor.  The problem
 does not occur on a single core processor.
> 
> Has anyone seen this type of lock up?  Is there a work around or fix?
> 
> Thanks,
> 
> Mike Zeller
> www.ansaldo-sts.com<http://www.ansaldo-sts.com>;
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90632
> 
RE: make causes multicore processor to freeze  
Sound self- hosted so no msys there ;-)

-----Message d'origine-----
De : Elena Laskavaia [mailto:community-noreply@qnx.com] 
Envoyé : 14 décembre 2011 16:26
À : general-toolchain
Objet : Re: make causes multicore processor to freeze

I heard about it, and I think Ryan had a fix in msys for this (or some?) lockup. Can you search forum for msys patches 
and try to apply it?


On 12/14/2011 04:12 PM, Mike Zeller wrote:
> Hello all:
> 
> I am evaluating QNX6.5 and have ran into the first serious problem trying to use a multicore processor.  When I try to
 build our product, which has several directory levels with hierarchical calls to "make", the system will lock up.   The
 lock up always seems to occur on a "make clean".
> 
> The Makefiles are unchanged from QNX6.3, though some of the defines and directories are system dependent, so that is 
not as strong a statement as one would like.  The same command on the same computer booted with the qnxbase.ifs kernel 
(as opposed to qnxbasesmp.ifs) will complete without freezing the system.  I have gotten this to happen doing a "make -n
 clean", which suggests that the problem is in the evaluation of what needs to be done as opposed to actually doing it.
> 
> I have repeated the problem with another dual core computer, different manufacturer, different processor.  The problem
 does not occur on a single core processor.
> 
> Has anyone seen this type of lock up?  Is there a work around or fix?
> 
> Thanks,
> 
> Mike Zeller
> www.ansaldo-sts.com<http://www.ansaldo-sts.com>;
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90632
> 



_______________________________________________

General
http://community.qnx.com/sf/go/post90634

Re: make causes multicore processor to freeze  
On 11-12-14 04:25 PM, Elena Laskavaia wrote:
> I heard about it, and I think Ryan had a fix in msys for this (or some?) lockup. Can you search forum for msys patches
 and try to apply it?

Elena, he's not using Windows. He said he's booting 
qnxbase.ifs/qnxbasesmp.ifs which means he's running QNX Neutrino...

Mike, no, this is not a known issue.

Regards,

Ryan Mansfield
Re: make causes multicore processor to freeze  
Sorry I missed that. Could be some priority inversion related? We have weird priority thing going when building...

On 12/14/2011 04:30 PM, Ryan Mansfield wrote:
> On 11-12-14 04:25 PM, Elena Laskavaia wrote:
>> I heard about it, and I think Ryan had a fix in msys for this (or some?) lockup. Can you search forum for msys 
patches and try to apply it?
> 
> Elena, he's not using Windows. He said he's booting 
> qnxbase.ifs/qnxbasesmp.ifs which means he's running QNX Neutrino...
> 
> Mike, no, this is not a known issue.
> 
> Regards,
> 
> Ryan Mansfield
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90636
> 
RE: make causes multicore processor to freeze  
Good day: 

Here is some more information.  Yes, I am compiling on Neutrino.  The toolchain is what comes out of the box.

The freeze up does not always occur on a make clean.  my build script will do a "make clean" followed by a "make all".  
Make clean just happened first.  

The lockups occur at various stages in the process, but always in a transition into or out of a new directory, never 
while "building".  That is, if make has 20 files to compile and link, the compile/link steps will complete without a 
freeze up.  The freeze up will happen sometime in the transition from leaving one directory and entering the next 
directory. The last line to print will always be "Make[n] Entering directory ...\n make ..." or "Make[m] Leaving 
directory ..."

I have tried using "on -C 0 -i make <target>".  The freeze up will still occur. 
I have tried adding -j 1 to the top level make.  The freeze up will still occur.


Mike 

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: Wednesday, December 14, 2011 4:31 PM
To: general-toolchain
Subject: Re: make causes multicore processor to freeze

Sorry I missed that. Could be some priority inversion related? We have weird priority thing going when building...

On 12/14/2011 04:30 PM, Ryan Mansfield wrote:
> On 11-12-14 04:25 PM, Elena Laskavaia wrote:
>> I heard about it, and I think Ryan had a fix in msys for this (or some?) lockup. Can you search forum for msys 
patches and try to apply it?
> 
> Elena, he's not using Windows. He said he's booting 
> qnxbase.ifs/qnxbasesmp.ifs which means he's running QNX Neutrino...
> 
> Mike, no, this is not a known issue.
> 
> Regards,
> 
> Ryan Mansfield
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90636
> 



_______________________________________________

General
http://community.qnx.com/sf/go/post90637


Re: RE: make causes multicore processor to freeze  
I'm also evaluating QNX 6.5 SP1, and am seeing the same issues. Was this ever resolved?