Hi, 16.09.2007 23:46,, Marc Schiffbauer wrote:: ... > Bingo! > > I just commented out the "#define HAV_POSIX_FADVISE" line, recompiled... > No more crashes. > > May this behavior depend on the kernel? The server running bacula is > a debian sarge system, but it is running an older kernel (2.4.20) > than what is in sarge because of a special kernel-module. > > So my question is: is posix_fadvise() in sarge bad or is it my > combination of sarge supporting it and that kernel 2.4.20 maybe not > supporting it?
I think your kernel is too old: The following is from the posix_fadvise(2) on my linux system: Linux 2.5.60 14 Feb 2003 So, to me this seems to indicate that posix_fadvise was introduced into the linux kernel 2.5. Older kernels won't support it, which you seem to experience. Arno > Thanks for helping! > > -Marc > > >> Regards, >> >> Kern >> -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
