On 1/17/07, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Wed, Jan 17, 2007 at 11:42:07AM +0530, Pravin wrote: > > "kernel32-2.6.15.7-bb6" and "kernel32-2.6.15.7-bb6" gave same error as > > following > > > > {{{ > > VFS: Mounted root (ext3 filesystem) readonly. > > mapping stub code failed, errno = 12 > > Kernel panic - not syncing: start_userspace : expected SIGSTOP, got status > > = 256 > > }}} > > In this case, I'd say you need to try a recent UML (and see below). > > > and with "kernel32-2.6.19.2" and "kernel32-2.6.17.13-gcc3.4.6 " i am getting > > {{{ > > 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 > > }}} > > > > In order to get rid of /dev/shm problem, > > I tried to modify the "/etc/fstab" file directly on my own, > > I added > > {{{ > > shm /dev/shm tmpfs > > exec 0 0 > > }}} > > I also tried to change the options to defaults but its not working. > > Not working exactly how? Even after these changes, i get same error as I was getting before these changes {{{ 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 }}}
> > > I do need 2.6 kernel in UML mode running, > > Can I get help about which exact version of kernel, and which excat version > > of patch will work fine some file system.... > > Any recent UML from kernel.org should boot any of the nagafix > filesystems, I think - I have personal experience with 2-3 of the > filesystems. I downloaded latest source code of "linux-2.6.19.tar.gz" from "http://www.kernel.org/pub/linux/kernel/v2.6/" I configured and compiled it as {{{ make menuconfig ARCH=um make linux ARCH=um }}} and then tried to run it as followes {{{ $ ./linux ./nagafix_try/Debian-3.1-x86-root_fs 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 }}} I dont think is error is because of file-system of the contents of /etc/fstab file inside the file system, because it gives the same error even if wrong file system (ie wrong path) is given. I feel that this error is because of kernel itself. > > > Am i doing some basic mistake in doing all these experiments...? > > Probably, but I don't see enough information to figure out what. Ok, I will give you all the steps that I have taken in doing above. Please tell me if I am going wrong anywhere I am using Debian system with kernel 2.6.18 "I have not modified my working kernel in any way for UML." What I am done is 1) I downloaded kernel binaries from http://uml.nagafix.co.uk/ 2) I downloaded the Debian 3.1 file system from the same location 3) I tried running downloaded kernel with downloaded file system {{{ % /uml/nagafix_try$ ./kernel32-2.6.19.2 ubd0=Debian-3.1-x86-root_fs 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 }}} -- Pravin Shinde ------------------------------------------------------------------------- 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