Re: [uml-user] Compiling modules on UML

2009-08-05 Thread H M Thalib
Hi Manish Katiyar wrote: > On Wed, Aug 5, 2009 at 8:44 PM, H M Thalib wrote: >> Hi Manish, >> >> Manish Katiyar wrote: >>> On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: 2009/8/5 Manish Katiyar : > My question is how do people build modules which are specific to a > particular archite

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 8:44 PM, H M Thalib wrote: > Hi  Manish, > > Manish Katiyar wrote: >> >> On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: >>> >>> 2009/8/5 Manish Katiyar : My question is how do people build modules which are specific to a particular architecture on UML ? Is it po

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread H M Thalib
Hi Manish, Manish Katiyar wrote: > On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: >> 2009/8/5 Manish Katiyar : >>> 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

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Flavio
2009/8/5 Manish Katiyar : > 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 ? ARCH will be "um", but you can choose a subarch type in your kernel config. Flavio

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread SandeepKsinha
Manish, On Wed, Aug 5, 2009 at 3:54 PM, Manish Katiyar wrote: > Hi, > > I am trying to compile a module on UML. The kernel with which I am > booting UML is my custom kernel built on i386 machine with the command > line as "make defconfig ARCH=um; make linux ARCH=um". After the kernel > boots up m

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
On Wed, Aug 5, 2009 at 4:46 PM, Flavio wrote: > 2009/8/5 Manish Katiyar : >> 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 exa

Re: [uml-user] Compiling modules on UML

2009-08-05 Thread Flavio
2009/8/5 Manish Katiyar : > 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

[uml-user] Compiling modules on UML

2009-08-05 Thread Manish Katiyar
Hi, I am trying to compile a module on UML. The kernel with which I am booting UML is my custom kernel built on i386 machine with the command line as "make defconfig ARCH=um; make linux ARCH=um". After the kernel boots up my uname shows something like below :- bash-3.2# uname -a Linux localhost.l