On giovedì 28 giugno 2007, Jeff Dike wrote: > On Thu, Jun 28, 2007 at 07:04:08PM +0100, kototama kototama wrote: > > I can't load a module inside a uml system. I've got the following error: > > > > Unknown symbol unlock_kernel > > Unknown symbol lock_kernel > > > > I know these functions should not be used anymore but it's old code... > > I don't see any evidence on i386 that lock_kernel is available to > modules, so it looks like this is a case of a module needing to be updated.
If you do need them, you can add the missing EXPORT_SYMBOL() for them to the UML kernel and recompile it. But sooner or later, you'll probably have to fix it to run on a normal kernel... > > By the way what is the meaning of the option CONFIG_BROKEN_ON_SMP in > > .config ? > > I don't know. A grep of the kernel tree doesn't show anything > controlled by it. Apparently it once meant something, but doesn't any > more. CONFIG_BROKEN allows selecting features known not to work well; CONFIG_BROKEN_ON_SMP allows features which have problems only on SMP. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user