[OpenAFS] swsusp2 and openafs

Jeffrey Hutzelman jhutz@cmu.edu
Thu, 08 Sep 2005 11:21:33 -0400


On Thursday, September 08, 2005 05:09:14 -0400 Derrick J Brashear 
<shadow@dementia.org> wrote:

> On Thu, 8 Sep 2005, Heiko Schulz wrote:
>
>> Hello,
>>
>> I have problems to load the openafs kernel module using a swsusp2
>> patched kernel. I found this problem in a openafs list, but I did
>> not found a solution. Is this still unsolved? I am using kernel
>> 2.6.12, the kernel patch software-suspend-2.1.9.5-for-2.6.12 and
>> openafs 1.3.87 from debian sid.
>
> I don't suppose you might tell us what problem you actually had?

I'll hazard a wild guess, and predict that the problem is an unresolved 
symbol while loading the module, because we need to call refrigerator() but 
software-suspend-2.1.9.5 marks that symbol GPL-only.  I reported this 
problem some time ago, and the swsusp2 people fixed the problem in the 
source, but I do not believe 2.1.9.5 is new enough to have that fix.

If this is indeed the problem, you will need to modify the swsusp patch (or 
the patched kernel) to change EXPORT_GPL(refrigerator) back to 
EXPORT(refrigerator).

-- Jeff