The better fix is in CVS now (no patch needed). As far as I know this should work fine on 2.6.32.

-Phil

Phil Carns wrote:
Whoops- actually you may notice a difference in functionality if you happen to use mmap() on PVFS :) It will work but gradually leak memory over time.

I'll have a better fix (that doesn't break mmap) soon.

-Phil

Phil Carns wrote:
Hi Andrew and Milo,

If you are still interested in trying PVFS on 2.6.32, could you try the current CVS version of PVFS along with the attached patch?

This isn't the final fix, but it would be helpful if you could confirm that it at least works around the problem. This patch keeps the module from using the kernel's BDI infrastructure, which changed quite a bit in 2.6.32. You shouldn't notice any difference in functionality.

thanks!
-Phil

Andrew Fischer wrote:
Not to jump in unannounced, but I just saw this same behavior on my system.

I built the CVS branch pvfs-2-8-branch against the 2.6.32 kernel
today. Loading the module results in the same warning:
WARNING: at fs/super.c:954 vfs_kern_mount

And trying to access the mount point, either with a file operation or
a simple 'ls' results in:
BUG: unable to handle kernel NULL pointer dereference

This also hangs the machine, requiring a reboot. In my case, I was the
root user at the time.

build a module for the 2.6.32 kernel,

Message: 1
Date: Tue, 5 Jan 2010 17:50:56 -0500
From: Milo <[email protected]>
Subject: [Pvfs2-users] PVFS2 (cvs) on Kernel 2.6.32
To: Sam Lang <[email protected]>
Cc: Jason Sommerfield <[email protected]>,    pvfs2-users
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi, Sam. We've recently tried to use your pvfs-2-8-branch CVS branch to
build a module for the 2.6.32 kernel, following your instructions to
Christian. We're getting the following kernel panics, however. The following
is from Jason Sommerfield's email to me:

When I run the init script that loads the kernel module, the following comes
up on the serial console (but the system does NOT crash):
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to