On Tue, 12 Oct 2004 18:49:49 +0800, Miguel A Paraz <[EMAIL PROTECTED]> wrote: > >From a previous ph-linux-newbie thread (which wasn't a newbie subject anyway...) > > On Mon, 4 Oct 2004 01:48:29 +0800, Paolo Alexis Falcone > <[EMAIL PROTECTED]> wrote: > > Hmmm... for UML to function correctly your host must have a kernel > > that can allocate seperate kernel address spaces for each UML process > > . I'm not sure if the RHEL kernel has that feature in their kernels. > > > > For the UML instances you'd need a custom-patched kernel for most > > cases as the stock kernel from kernel.org doesn't really function well > > even when compiled with ARCH=uml. Preferrably get a 2.6 kernel for UML > > instances as it just performs faster - you're likely to encounter > > performance bottlenecks using 2.4 kernels for your UML instances. > > I haven't built my own UML system yet, just used a preexisting one > (for hosting). Now I'm now trying to patch my WhiteBox 2.4.21 kernel > for UML, and I'm stuck. The 2.4.21 patch doesn't apply cleanly, and > after some fixes, I'm lost in looking for the missing definition of > 'task_struct' (if only there were a 'grep' for C code) > > I think I'll put this off until I have a kernel 2.6 system running.
Current 2.6 kernels do not compile with ARCH=um too. You'd also be applying a lot of patches. Fortunately the stock mandrakelinux kernel compiles cleanly for UML. I resorted to heavily-patching the 2.4.27 kernel for my tasks requiring RSBAC. Blasted thing can't even take advantage of SMP to compile whenever I have to deal with UML. At the very least though it compiles. Now to make it work (haven't tried RSBAC on UML before...) -- Paolo Alexis Falcone [EMAIL PROTECTED] -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
