On Saturday 08 April 2006 02:22, Joshua Kugler wrote:
> Sorry!  I guess getting a SIGUSR2 isn't a big deal.  I typed "continue" in
> gdb, and things resumed.

Yes, it is occassionally used by Bacula to "brutally" wake up another thread 
-- usually in timers with the purpose of making that thread exit.

By the way, what is important for the LD_ASSUME... is what kernel you are 
running. It should *only* be used with 2.4 kernels, where it should be 
harmless in all cases. It comes into play only when /lib/tls has been back 
ported from 2.6 kernels to 2.4 kernels.  This back port was done by RedHat, 
and it was not totally compatible with pthreads.  I believe that I *finally* 
found the incompatibility and worked around it so that the LD_ASSUME may not 
be needed even on 2.4 kernels with back ported /lib/tls support.  

In any case, LD_ASSUME... should not be used with current 2.6 kernels.  In 
fact, if I am not mistaken, FC5 has removed support for old pthreads so who 
knows what kinds of problems one will have.

The code in the Bacula scripts explicitly tests for 2.4 kernels before setting 
LD_ASSUME...

>
> Sorry for the noise.
>
> j----- k-----
>
> On Friday 07 April 2006 16:20, Joshua Kugler wrote:
> > On Friday 07 April 2006 13:18, Martin Simmons wrote:
> > > >>>>> On Fri, 7 Apr 2006 10:56:53 -0800, Joshua Kugler
> > > >>>>> <[EMAIL PROTECTED]> said:
> > > >
> > > > On Friday 07 April 2006 10:41, Kern Sibbald wrote:
> > > > > On Friday 07 April 2006 20:29, Joshua Kugler wrote:
> > > > > > Well, I rebooted with the nosmp kernel command line parameter, so
> > > > > > there was only one processor visible.  Still had the same crash.
> > > > >
> > > > > Given where the problem is occuring, that is not too surprising.
> > > >
> > > > Hmm...OK.  I'm still using the environment variable
> > > > LD_ASSUME_KERNEL=2.4.19 Should I try taking that out?  Do I need to
> > > > get rid of /lib/tls? I've never had a problem before, but maybe this
> > > > time around?  I'm using glibc 2.3.3.
> > >
> > > There are so many different versions of glibc 2.3.3, with disto patches
> > > etc so it is difficult to predict.  The 2.3.3 on FC3 works fine for me
> > > without LD_ASSUME_KERNEL and *with* /lib/tls, so I suggest you try it
> > > like that.
> > >
> > > Just occasionally, Linux works out of the box :-)

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to