linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Schlichter <thomas.schlichter@web.de>
To: Torrey Hoffman <thoffman@arnor.net>, Andrew Morton <akpm@osdl.org>
Cc: Linux-Kernel List <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: 2.6.2-rc2-mm2
Date: Fri, 30 Jan 2004 20:07:21 +0100	[thread overview]
Message-ID: <200401302007.26333.thomas.schlichter@web.de> (raw)
In-Reply-To: <1075489136.5995.30.camel@moria.arnor.net>


[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 605 bytes --]

Am Freitag, 30. Januar 2004 19:58 schrieb Torrey Hoffman:
> On Fri, 2004-01-30 at 01:41, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc2/2
> >.6.2-rc2-mm2/
>
> I used the rc2-mm1-1 patch and got this on make modules_install:
>
> WARNING: /lib/modules/2.6.2-rc2-mm2/kernel/net/sunrpc/sunrpc.ko needs
> unknown symbol groups_free
> WARNING: /lib/modules/2.6.2-rc2-mm2/kernel/fs/nfsd/nfsd.ko needs unknown
> symbol sys_setgroups
>
> Same .config had no problems in 2.6.2-rc2-mm1.

The attached patches make it work for me...

Best regards
  Thomas Schlichter

[-- Attachment #1.2: export-groups_free.diff --]
[-- Type: text/x-diff, Size: 574 bytes --]

Export the symbol 'groups_free' to fix following problem:
WARNING: /lib/modules/2.6.2-rc2-mm2/kernel/net/sunrpc/sunrpc.ko needs unknown symbol groups_free
--- linux-2.6.2-rc2-mm2/kernel/sys.c~	2004-01-30 12:44:00.000000000 +0100
+++ linux-2.6.2-rc2-mm2/kernel/sys.c	2004-01-30 14:12:43.611175872 +0100
@@ -1140,6 +1140,8 @@ void groups_free(struct group_info *grou
 	kfree(group_info);
 }
 
+EXPORT_SYMBOL(groups_free);
+
 /* export the group_info to a user-space array */
 static int groups_to_user(gid_t __user *grouplist,
     struct group_info *group_info)

[-- Attachment #1.3: export-sys_setgroups.diff --]
[-- Type: text/x-diff, Size: 511 bytes --]

Export the symbol 'sys_setgroups' to fix the following problem:
WARNING: /lib/modules/2.6.2-rc2-mm2/kernel/fs/nfsd/nfsd.ko needs unknown symbol sys_setgroups
--- linux-2.6.2-rc2-mm2/kernel/sys.c~	2004-01-30 14:16:19.517353144 +0100
+++ linux-2.6.2-rc2-mm2/kernel/sys.c	2004-01-30 14:58:55.171834608 +0100
@@ -1312,6 +1312,8 @@ asmlinkage long sys_setgroups(int gidset
 	return retval;
 }
 
+EXPORT_SYMBOL(sys_setgroups);
+
 /*
  * Check whether we're fsgid/egid or in the supplemental group..
  */

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-30 19:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30  9:41 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 10:52 ` 2.6.2-rc2-mm2 Helge Hafting
2004-01-30 11:14 ` 2.6.2-rc2-mm2 Zephaniah E. Hull
2004-01-30 16:25   ` 2.6.2-rc2-mm2 Gene Heskett
2004-01-30 17:25 ` 2.6.2-rc2-mm2 Gene Heskett
2004-01-30 18:58 ` 2.6.2-rc2-mm2 Torrey Hoffman
2004-01-30 19:07   ` Thomas Schlichter [this message]
2004-01-30 19:23     ` 2.6.2-rc2-mm2 Arjan van de Ven
2004-01-30 19:47       ` 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 19:55         ` 2.6.2-rc2-mm2 Arjan van de Ven
2004-01-30 20:17         ` 2.6.2-rc2-mm2 Tim Hockin
2004-01-30 20:33           ` 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 21:12             ` 2.6.2-rc2-mm2 Tim Hockin
2004-01-30 22:00               ` 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 22:31                 ` 2.6.2-rc2-mm2 Tim Hockin
2004-01-30 23:08                   ` 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 23:21                     ` 2.6.2-rc2-mm2 Tim Hockin
2004-01-30 23:31                       ` 2.6.2-rc2-mm2 Andrew Morton
2004-01-30 23:43                         ` 2.6.2-rc2-mm2 Tim Hockin
2004-01-30 21:16             ` 2.6.2-rc2-mm2 John Stoffel
2004-01-30 21:52               ` 2.6.2-rc2-mm2 Tim Hockin

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=200401302007.26333.thomas.schlichter@web.de \
    --to=thomas.schlichter@web.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=thoffman@arnor.net \
    /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