2002-08-14 08:06:53

by viking

[permalink] [raw]
Subject: devfs_find_and_unregister fix (was Re: Linux 2.5.31)


In reply to:
ecoffey at alphalink dot com dot au
>devfs problem, make modules_install fails with
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.31; fi
>depmod: *** Unresolved symbols in
>/lib/modules/2.5.31/kernel/sound/core/snd.o
>depmod: devfs_find_and_unregister

fs/devfs/base.c, Line 2315, add this:

--- fs/devfs/base_orig.c Wed Aug 14 20:02:09 2002
+++ fs/devfs/base.c Tue Aug 13 18:51:23 2002
@@ -2312,6 +2312,7 @@
EXPORT_SYMBOL(devfs_mk_symlink);
EXPORT_SYMBOL(devfs_mk_dir);
EXPORT_SYMBOL(devfs_get_handle);
+EXPORT_SYMBOL(devfs_find_and_unregister);
EXPORT_SYMBOL(devfs_get_flags);
EXPORT_SYMBOL(devfs_set_flags);
EXPORT_SYMBOL(devfs_get_maj_min);



--
/| _,.:*^*:., |\ Cheers from the Viking family,
| |_/' viking@ `\_| | including Pippin, our cat
| flying-brick | $FunnyMail Bilbo : Now far ahead the Road has gone,
\_.caverock.net.nz_/ 5.39 in LOTR : Let others follow it who can!


2002-08-15 00:57:07

by viking

[permalink] [raw]
Subject: Re: devfs_find_and_unregister fix (was Re: Linux 2.5.31)

On Wed, 14 Aug 2002, Edward Coffey wrote:

:On Wed, Aug 14, 2002 at 08:09:05PM +1200, Eric Gillespie wrote:
:>
:> In reply to:
:> ecoffey at alphalink dot com dot au
:> >devfs problem, make modules_install fails with
:> > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.31; fi
:> >depmod: *** Unresolved symbols in
:> >/lib/modules/2.5.31/kernel/sound/core/snd.o
:> >depmod: devfs_find_and_unregister
:>
:> fs/devfs/base.c, Line 2315, add this:
:>
:> --- fs/devfs/base_orig.c Wed Aug 14 20:02:09 2002
:> +++ fs/devfs/base.c Tue Aug 13 18:51:23 2002
:> @@ -2312,6 +2312,7 @@
:> EXPORT_SYMBOL(devfs_mk_symlink);
:> EXPORT_SYMBOL(devfs_mk_dir);
:> EXPORT_SYMBOL(devfs_get_handle);
:> +EXPORT_SYMBOL(devfs_find_and_unregister);
:> EXPORT_SYMBOL(devfs_get_flags);
:> EXPORT_SYMBOL(devfs_set_flags);
:> EXPORT_SYMBOL(devfs_get_maj_min);
:
:Thanks :?)
:

Whoops - it's a patch file - sorry. You know how to patch?
Basically, the line number is mentioned, as well as the lines to ADD.

I notice someone else on the list put the same thing up, so this is only
duplication <grin> - my apologies if I threw you off guard.

I'll CC: this to the kernel list too, just so they know I read it too 8-)

--
/| _,.:*^*:., |\ Cheers from the Viking family,
| |_/' viking@ `\_| | including Pippin, our cat
| flying-brick | $FunnyMail Bilbo : Now far ahead the Road has gone,
\_.caverock.net.nz_/ 5.39 in LOTR : Let others follow it who can!