Hi Manish,
Manish Katiyar wrote:
On Wed, Aug 5, 2009 at 4:46 PM, Flavio<fbcyborg@xxxxxxxxx> wrote:
2009/8/5 Manish Katiyar <mkatiyar@xxxxxxxxx>:
My question is how do people build modules which are specific to a
particular architecture on UML ? Is it possible ?
Sure!
Are you compiling the kernel modules from the host system? If not,
try to do it.
The exact procedure is the following:
# mount -o loop rootfs loop_dir/
# cd /uml/src/linux
# make modules ARCH=um
# make modules_install INSTALL_MOD_PATH=/uml/loop_dir ARCH=um
# umount /uml/loop_dir
Then, boot the UML again.
Hi Flavio,
I have done that step and my UML kernel boots fine. My question is in
UML environment what will the ARCH resolve to ? will it be um or x86 ?
Thanks -
Manish
Flavio
It will um. Actualy UML is a port of the Linux kernel as a normal Intel
Linux process.
--
Thanks & Regards,
H M Thalib.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ