From: Steven Whitehouse <swhiteho@redhat.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "Patrick Caulfield" <pcaulfie@redhat.com>,
linux-kernel@vger.kernel.org, cluster-devel@redhat.com,
"Toralf Förster" <toralf.foerster@gmx.de>
Subject: Re: [GFS2] Fix Kconfig wrt CRC32 [8/9]
Date: Tue, 28 Nov 2006 18:02:12 +0000 [thread overview]
Message-ID: <1164736932.3752.28.camel@quoit.chygwyn.com> (raw)
In-Reply-To: <456B149C.4050605@oracle.com>
Hi,
On Mon, 2006-11-27 at 08:38 -0800, Randy Dunlap wrote:
> Steven Whitehouse wrote:
> > Hi,
> >
> > On Fri, 2006-11-24 at 21:43 -0800, Randy Dunlap wrote:
> >> On Fri, 24 Nov 2006 09:34:49 +0000 Steven Whitehouse wrote:
> >>
> >>> >From 6f788fd00c82533d4cd5587a9706f8468658a24d Mon Sep 17 00:00:00 2001
> >>> From: Steven Whitehouse <swhiteho@redhat.com>
> >>> Date: Mon, 20 Nov 2006 10:04:49 -0500
> >>> Subject: [PATCH] [GFS2] Fix Kconfig wrt CRC32
> >>> Content-Type: text/plain; charset=UTF-8
> >>> Content-Transfer-Encoding: 8bit
> >>>
> >>> GFS2 requires the CRC32 library function. This was reported by
> >>> Toralf Förster.
> >>>
> >>> Cc: Toralf Förster <toralf.foerster@gmx.de>
> >>> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
> >>> ---
> >>> fs/gfs2/Kconfig | 1 +
> >>> 1 files changed, 1 insertions(+), 0 deletions(-)
> >>>
> >>> diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig
> >>> index 8c27de8..c0791cb 100644
> >>> --- a/fs/gfs2/Kconfig
> >>> +++ b/fs/gfs2/Kconfig
> >>> @@ -2,6 +2,7 @@ config GFS2_FS
> >>> tristate "GFS2 file system support"
> >>> depends on EXPERIMENTAL
> >>> select FS_POSIX_ACL
> >>> + select CRC32
> >>> help
> >>> A cluster filesystem.
> >> Hi,
> >>
> >> Do you also have Kconfig patches for DLM needing SYSFS
> >> and DLM needing CONFIG_NET ?
> >>
> >> ---
> >> ~Randy
> >
> > My original reply to this seemed to disappear into my email system
> > somewhere, so apologies if this is the second copy you get.
> >
> > The DLM shouldn't depend upon SYSFS at all. I believe that its perfectly
> > ok whether or not thats compiled in. There is a patch relating to the
> > Kconfig for DLM which is in my -nmw tree:
>
> Hm, OK. Apparently I meant CONFIGFS instead of SYSFS.
>
The Kconfig for DLM in Linus' current tree says:
select CONFIGFS_FS
so I don't know what else is needed.... its the same in -nmw as that bit
hasn't changed.
> > http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6-nmw.git;a=commitdiff;h=8758fbc8724c2da8a6a062f2b61d79c8f2a55c5f
> >
> > This applies after the patch adding the TCP communications layer to DLM
> > which is also in -nmw. The patches in -nmw (next merge window) are a
> > superset of the ones I just requested that Linus pull since it contains
> > the newer features and more involved bug fixes and clean ups.
> >
> > I believe that the Kconfig in -nmw is correct for DLM, though I'm
> > willing to be proved wrong. I'm also copying in Patrick in case he wants
> > to comment further as its more his area than mine,
>
> I applied just that one patch to 2.6.19-rc6-git10 (which may or may not
> be sufficient -- please say) and built with my previously failing config file.
You'll need the patch:
http://www.kernel.org/git/?p=linux/kernel/git/steve/gfs2-2.6-nmw.git;a=commitdiff;h=4a28fda50d864ede7d2724723949407e0e4043b8
as well. I'm also slightly surprised that you managed to get the errors
that you did, since most of those symbols appear to be networking
related and the DLM depends on INET which is clearly not set since NET
is not set.
> It still fails with:
>
> WARNING: "kernel_sendmsg" [fs/dlm/dlm.ko] undefined!
> WARNING: "sock_release" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_item_put" [fs/dlm/dlm.ko] undefined!
> WARNING: "sock_create_kern" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_item_init_type_name" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_group_init_type_name" [fs/dlm/dlm.ko] undefined!
> WARNING: "configfs_register_subsystem" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_group_find_obj" [fs/dlm/dlm.ko] undefined!
> WARNING: "configfs_unregister_subsystem" [fs/dlm/dlm.ko] undefined!
> WARNING: "kernel_recvmsg" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_item_get" [fs/dlm/dlm.ko] undefined!
> WARNING: "config_group_init" [fs/dlm/dlm.ko] undefined!
> CC arch/x86_64/boot/compressed/misc.o
> OBJCOPY arch/x86_64/boot/compressed/vmlinux.bin
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>
Which of the various methods (oldconfig, xconfig, menuconfig, etc) did
you use to generate this config?
Steve.
next prev parent reply other threads:[~2006-11-28 18:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-24 9:34 [GFS2] Fix Kconfig wrt CRC32 [8/9] Steven Whitehouse
2006-11-25 5:43 ` Randy Dunlap
2006-11-27 13:24 ` Steven Whitehouse
2006-11-27 16:38 ` Randy Dunlap
2006-11-28 18:02 ` Steven Whitehouse [this message]
2006-11-28 18:33 ` Randy Dunlap
2006-11-29 9:57 ` Steven Whitehouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164736932.3752.28.camel@quoit.chygwyn.com \
--to=swhiteho@redhat.com \
--cc=cluster-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pcaulfie@redhat.com \
--cc=randy.dunlap@oracle.com \
--cc=toralf.foerster@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox