On Wednesday 04 May 2005 14:36, Daniel Tombeil wrote:
> Hi,
>
> I just tried to apply the RedHat Patches fuer GFS support to my UML kernel
> build tree. It compiled fine but I can't load the modules in case of some
> UML related symbols are missing.
>
> builduml:~# modprobe gfs
> gfs: Unknown symbol clear_user_skas
> gfs: Unknown symbol clear_user_tt
> FATAL: Error inserting gfs
> (/lib/modules/2.6.9-skas3-v8-rc1-bs7/kernel/fs/gfs/gfs.ko): Unknown symbol
> in module, or unknown parameter (see dmesg)


The solution to the above problem is trivial, and amounts to adding

EXPORT_SYMBOL(clear_user_skas);
EXPORT_SYMBOL(clear_user_tt);

to arch/um/kernel/ksyms.c. It should also be explained on many "kernel newbie" 
guides.

However, please test both in SKAS and TT mode... I've some doubts about the 
clear_user_skas implementation, which IMHO might be faulty.

> Is there an "easy" way to port the GFS to UML by adding some includes or
> else or will this be a harder work? If it'll be more complex where can I
> take a look how this is realized for example for other file systems?

-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to