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

Digimer lists at alteeve.ca
Sat Nov 15 21:20:30 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 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
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):

====
%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


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the drbd-user mailing list