Hi,

I am trying to compile UML from scratch on a Debian Sarge (2.6.18-3-686)
system. After some preliminary hiccups, I managed to compile the UML,
but have an issue booting the UML.

Following are the steps I followed to build uml "linux" binary:
* tar xjvf linux-source-2.6.18.tar.bz2
* cd linux-source-2.6.18/
* /usr/src/kernel-patches/all/2.6.18/apply/debian 2.6.18-3
* 04_include_PAGESHIFT_definition.patch
* make defconfig ARCH=um
* make menuconfig ARCH=um
* make ARCH=um

I downloaded the Debian root-fs from
http://prdownloads.sourceforge.net/user-mode-linux/Debian-3.0r0.ext2.bz2

I tried running the uml using: 
* linux ubd0=debian-3.0r0.ext2

I get the following error:
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...failed: Operation not permitted
/dev/shm/ must be not mounted noexec

Can someone help me understand this?

Thanks,
~Partha

-------------------------------------------------------------------------
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-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to