* [uml-devel] noexec /tmp & uml
@ 2004-03-12 22:54 Cristian CONSTANTIN
2004-03-15 19:44 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Cristian CONSTANTIN @ 2004-03-12 22:54 UTC (permalink / raw)
To: user-mode-linux-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] noexec /tmp & uml
2004-03-12 22:54 [uml-devel] noexec /tmp & uml Cristian CONSTANTIN
@ 2004-03-15 19:44 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2004-03-15 19:44 UTC (permalink / raw)
To: Cristian CONSTANTIN; +Cc: user-mode-linux-devel
On Fri, Mar 12, 2004 at 11:54:37PM +0100, Cristian CONSTANTIN wrote:
> 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
Good find. I'll stick in a check for that and put out a better error
message.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-15 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-12 22:54 [uml-devel] noexec /tmp & uml Cristian CONSTANTIN
2004-03-15 19:44 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.