Hi Masood.
I think you are not doing the correct steps to configure the kernel.
Perhaps you dont have experience doing that, so here is what its
suppose to be done:
go to your kernel tree in question (normal /usr/src/linux)
as root: make menuconfig ARCH=um
(now configure your kernel normal way, see the extra UML
stuff there)
exit and save changes
type: make linux ARCH=linux
this should now build your UML kernel , with "linux" as name, so u can
use it inside you guest UML os, with the name "l.
Im also new to this UML, but i think this is what is needed. Hope it helps
--
Marco Garcês
http:\\dbugs.org
[EMAIL PROTECTED]
---------- Forwarded message ----------
From: M Taha Masood <[EMAIL PROTECTED]>
Date: Aug 10, 2005 11:20 AM
Subject: [uml-user] problems getting started with User mode linux
To: [email protected]
Hello folks
I have installed Fedora Core 3 ( Fc3 ) on my host
machine and was trying to get started on user mode
linux .
What i understood from the various information on the
web is that starting from kernel version 2.6.9 , the
Makefiles for building the kernel image , will accept
the switch "ARCH=um" and generate the target user mode
linux app instead of native kernel image.
The kernel version of my host linux is 2.6.9-1.667
A)
so following the instructions at the URL
http://www.isi.edu/~fstann/papers/BuildingEmstar2.0InFedora3.pdf
i downloaded the RPM of the kernel sources for version
2.6.9-1.667 and then did a
"make xconfig ARCH=um"
even though the instructions on the web specify that
from this point onward we should do a
"make linux ARCH=um"
but the main Makefile contains no linux: entry.
anyways then once done with the configuration when i
did a
"make ARCH=um"
it gives the following errors
------------------------------------------------------
[EMAIL PROTECTED] linux]# make ARCH=um
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-um
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCC arch/um/sys-i386/util/mk_sc
HOSTCC arch/um/kernel/skas/util/mk_ptregs
CHK arch/um/include/skas_ptregs.h
UPD arch/um/include/skas_ptregs.h
CHK arch/um/include/sysdep-i386/sc.h
UPD arch/um/include/sysdep-i386/sc.h
SYMLINK include/asm-um/arch
SYMLINK arch/um/include/sysdep
SYMLINK arch/um/os
SYMLINK include/asm-um/archparam.h
SYMLINK include/asm-um/system.h
SYMLINK include/asm-um/sigcontext.h
SYMLINK include/asm-um/processor.h
SYMLINK include/asm-um/ptrace.h
SYMLINK include/asm-um/arch-signal.h
SYMLINK include/asm-um/module.h
CHK arch/um/include/uml-config.h
UPD arch/um/include/uml-config.h
HOSTCC arch/um/util/mk_constants_kern.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[1]: *** [arch/um/util/mk_constants_kern.o] Error
1
make: *** [arch/um/util] Error 2
------------------------------------------------------
what should i do to rectify this error?
B)
i went to kernel.org and thought maybe i should try
this on a newer version of the kernel with the UML so
i downloaded the kernel version 2.6.12.3 and did the
same with it. Please note that my host kernel is still
2.6.9-1.667 .
now atleast it compiled fine , but trying to run linux
UML binary , it exits with the following error:
----------------------------------
[EMAIL PROTECTED] linux-2.6.12.3]# ./linux
Checking for /proc/mm...not found
Checking PROT_EXEC mmap in /tmp...OK
tracing thread pid = 5086
Segmentation fault
-----------------------------------------
what should i do to rectify this?
also any other pointers and advice are welcome
thanks and regards
Taha
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user