From: Cristian CONSTANTIN <constantin@fokus.fraunhofer.de>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] noexec /tmp & uml
Date: Fri, 12 Mar 2004 23:54:37 +0100 [thread overview]
Message-ID: <20040312225437.GB622@terix.fokus.gmd.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
hi!
don't know if anyone else saw it / knew it before, but I found it out
the hard way...
so, my /tmp is mounted with noexec option. when I start uml (2.4.23) it
stops booting, barking like:
Kernel panic: map_memory(0xa2800000, 3, 0x8dc000, 4096, 1, 1, 1) failed,
err = -1
strace on the uml executable image (linux) reveals:
mmap2(0xa2800000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3,
0x8dc) = -1 EPERM (Operation not permitted)
it seems fd 3 points to a file somewhere in /tmp.
mounting /tmp with exec option solves the problem.
bye now!
cristian
--
_ | There are many people who use UNIX or Linux
(_'_ | who IMHO do not understand UNIX.
(_'rist | --David Korn
GPG public key at wwwkeys.de.pgp.net
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2004-03-12 22:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 22:54 Cristian CONSTANTIN [this message]
2004-03-15 19:44 ` [uml-devel] noexec /tmp & uml Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040312225437.GB622@terix.fokus.gmd.de \
--to=constantin@fokus.fraunhofer.de \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox