[DRBD-user] Out of memory error when invoking fence-handler

Lars Ellenberg lars.ellenberg at linbit.com
Tue Nov 18 17:53:43 CET 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Sat, Nov 15, 2014 at 03:20:30PM -0500, Digimer wrote:
> On 11/11/14 04:29 AM, Lars Ellenberg wrote:
> >On Mon, Nov 10, 2014 at 12:21:01PM -0500, Digimer wrote:
> >>On 10/11/14 10:42 AM, Lars Ellenberg wrote:
> >>>On Mon, Nov 10, 2014 at 09:32:32AM -0500, Digimer wrote:
> >>>>So to summarize, I only add:
> >>>>
> >>>>====
> >>>>          flush_signals(current);
> >>>>====
> >>>
> >>>No, you upgrade to 8.4 ;-) ^a^k Yes.
> >>
> >>Oh you.
> >>
> >>Soon, just not yet, promise!
> >>
> >>>>I'll brush off my old RPM notes and see if I can sort out a patch. Thanks!
> >>>
> >>>No need, just fetch from git.
> >>>
> >>>	Lars
> >>
> >>I'd like to keep it as an RPM, and iirc, the git checkout doesn't
> >>have an RPM builder does it?
> >
> >Sure has. What did you think we build our packages from.
> 
> Hit a problem...
> 
> [root at rhel6-builder drbd-8.3]# rpmbuild -ba drbd-kernel.spec


make kmp-rpm

> cat: /root/rpmbuild/SOURCES/drbd/preamble-sles10: No such file or directory
> cat: /root/rpmbuild/SOURCES/drbd/preamble-sles10: No such file or directory
> cat: /root/rpmbuild/SOURCES/drbd/preamble-sles11: No such file or directory
> cat: /root/rpmbuild/SOURCES/drbd/preamble-sles11: No such file or directory
> cat: /root/rpmbuild/SOURCES/drbd/preamble-rhel5: No such file or directory
> cat: /root/rpmbuild/SOURCES/drbd/preamble-rhel5: No such file or directory
> error: line 44: Illegal char '-' in: Version:

> 8.3.16_2.6.32-504.1.3.el6.x86_64
> 
> Problem lines (second is #44):

maybe you need to see what's in rpm-macro-fixes/*
Seems to work fine in our build system, though.
"worksforme-goodluck"

that's why I hate packaging... :-(

Maybe simply make, tar the resulting drbd.ko up,
and massage that tarball into a binary rpm, if that feels easier to you.

> ====
> %define _this_kmp_version %{version}_%(echo %kernel_version | sed -r
> 'y/-/_/; s/\.el.\.(x86_64|i.86)$//;')
> %kernel_module_package -v %_this_kmp_version -n drbd -p
> drbd/preamble -f drbd/filelist-redhat
> ====
> 
> [root at rhel6-builder drbd-8.3]# uname -a
> Linux rhel6-builder.alteeve.ca 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue
> Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux



More information about the drbd-user mailing list