Re: [uml-user] Compiling modules on UML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>



-- 
Thanks -
Manish

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux