On Sunday 04 December 2005 06:58, jiangpeirong wrote:
> how to tar the modules so i can ftp it to the umls.

> uml   linux compile in directory /src/linux2.6.12
>
>                 make menuconfig ARCH=um;
>                 make linux ARCH=linux;
>                 make modules ARCH=um;


>                 make modules_install ARCH=um

You want to add INSTALL_MOD_PATH=<someFolder> -  it will create 
<someFolder>/lib/modules/..../$(modules)

For instance, since in the end you want to put it in /lib/modules inside the 
guest root_fs, you often can do:

# mount -o loop root_fs /mnt/someWhere
(root_fs must not be in use, and you can't do this if you use COW).

# make modules_install ARCH=um INSTALL_MOD_PATH=/mnt/someWhere

(/mnt/someWhere/lib/modules/$version/{all the modules} appears )

# umount /mnt/someWhere

Otherwise, you can do anything leading to the same result. Make sure if you 
tar and untar the directory that at the end you restore the owner as root, 
otherwise the module is not trusted by modprobe & friends.

>                strip linux

This is the final binary you must run (and not copy inside UML).

> which files should be copy to the uml's . and in whitch directoy  where
> should i place them ?

Inside the UML root_fs you need to copy only the modules, as detailed above.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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