All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Sources into UML guest
@ 2007-02-28 21:09 Felipe T.
  2007-02-28 21:15 ` Daniel Gryniewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Felipe T. @ 2007-02-28 21:09 UTC (permalink / raw)
  To: user-mode-linux-devel


[-- Attachment #1.1: Type: text/plain, Size: 500 bytes --]

Hello:
I need to install a program into a UML Kernel, this program needs Kernel
Sources (Sebek 3) but I don't know how compile this sources. In the Host I
used ARCH=um  but if I do the same into guest, get a errors when  do make
for the sebek program because doesn't find some .h. For this reason I
compile (into guest) without ARCH=um and make sebek it's ok. But I get a
error when use insmod (error with the format module), I think for the
difference between vermagic values. Someone has some idea

[-- Attachment #1.2: Type: text/html, Size: 530 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [uml-devel] Sources into UML guest
  2007-02-28 21:09 [uml-devel] Sources into UML guest Felipe T.
@ 2007-02-28 21:15 ` Daniel Gryniewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Gryniewicz @ 2007-02-28 21:15 UTC (permalink / raw)
  To: Felipe T.; +Cc: user-mode-linux-devel

On Wed, 2007-02-28 at 18:09 -0300, Felipe T. wrote:
> Hello:
> I need to install a program into a UML Kernel, this program needs
> Kernel Sources (Sebek 3) but I don't know how compile this sources. In
> the Host I used ARCH=um  but if I do the same into guest, get a errors
> when  do make for the sebek program because doesn't find some .h. For
> this reason I compile (into guest) without ARCH=um and make sebek it's
> ok. But I get a error when use insmod (error with the format module),
> I think for the difference between vermagic values. Someone has some
> idea 

When I've needed to do this, I just mounted the rootfs into my host
(when the UML isn't running, of course) and copied the built kernel
source directory into the rootfs.  Then, inside the UML, everything
works correctly.

Daniel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-28 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 21:09 [uml-devel] Sources into UML guest Felipe T.
2007-02-28 21:15 ` Daniel Gryniewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.