From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Schlichter Subject: Re: 2.6.2-rc2-mm2 Date: Fri, 30 Jan 2004 20:07:21 +0100 References: <20040130014108.09c964fd.akpm@osdl.org> <1075489136.5995.30.camel@moria.arnor.net> In-Reply-To: <1075489136.5995.30.camel@moria.arnor.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_utqGAeg7h+v56q4"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401302007.26333.thomas.schlichter@web.de> Sender: owner-linux-mm@kvack.org Return-Path: To: Torrey Hoffman , Andrew Morton Cc: Linux-Kernel List , linux-mm@kvack.org List-ID: --Boundary-03=_utqGAeg7h+v56q4 Content-Type: multipart/mixed; boundary="Boundary-01=_ptqGAfHQe3j35Yq" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline --Boundary-01=_ptqGAfHQe3j35Yq Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Description: body text Content-Disposition: inline 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 --Boundary-01=_ptqGAfHQe3j35Yq Content-Type: text/x-diff; charset="iso-8859-15"; name="export-groups_free.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="export-groups_free.diff" Export the symbol 'groups_free' to fix following problem: WARNING: /lib/modules/2.6.2-rc2-mm2/kernel/net/sunrpc/sunrpc.ko needs unkno= wn symbol groups_free =2D-- 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); } =20 +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) --Boundary-01=_ptqGAfHQe3j35Yq Content-Type: text/x-diff; charset="iso-8859-15"; name="export-sys_setgroups.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="export-sys_setgroups.diff" 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 sy= mbol sys_setgroups =2D-- 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; } =20 +EXPORT_SYMBOL(sys_setgroups); + /* * Check whether we're fsgid/egid or in the supplemental group.. */ --Boundary-01=_ptqGAfHQe3j35Yq-- --Boundary-03=_utqGAeg7h+v56q4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBAGqtuYAiN+WRIZzQRAm9HAKCvJhbzXBnsKKbEu7x8X4en7d0tKQCgrmn2 C3lb48e6/AiDZ1LnXZUqdiI= =1B4/ -----END PGP SIGNATURE----- --Boundary-03=_utqGAeg7h+v56q4-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org