* [uml-devel] sysctl -w va.legacy_va_layout=1
@ 2005-08-01 2:53 Phill Wombat
2005-10-04 17:01 ` Blaisorblade
0 siblings, 1 reply; 2+ messages in thread
From: Phill Wombat @ 2005-08-01 2:53 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]
RegardsHi Paolo,
Looking into another issue (my son's gaming machine - counter-strike source on linux) I came across this interesting parameter whereby winex/Cedega won't run steam unless legacy support for legacy VA layout is enabled on a 2.6.9 kernel.
Well, I thought, I'd better try that out......
With 2.6.12+bs9 on x86_64 the error now changes
On the host set:
sysctl -w va.legacy_va_layout=1
sysctl -w kernel.randomize_va_space=0
Starting the uml with init=/bin/sh starts up as usual. Performing the ls command now result in a different thing happening:
Bad op in do_proc_op
Where as before it produced:
Child 22915 exited with signal 11
Furthermore, Ctrl-C shuts everything down cleanly. Don't the significance if any of all this, but if feels better.
Conducting the same test on 32bit 2.6.12+bs9 results in total disaster (feels very bad):
<0>Kernel panic - not syncing: fix_range fixing wrong address space, current=0xabebf6c0
folloed by lost of register dumps and traceback stuff (2 lots actually - which I take to mean it really really crashed).
I can only get init=/bin/sh to go when kernel.randomize_va_space=1 and vm.legacy_va_layout=0
Running the ls command then results in a message similar to:
Child 22915 exited with signal 11
Perhaps the only thing of value in all this is va.legacy_va_layout which may be useful to UML. It seems to do something, I just don't know what.
Cheers
Phill.
>Hi Paolo,
>
>>Try also following this (from another email) - it appeared in vanilla
>>2.6.12
>>and may be in your FC4 kernel. Not sure but it may be playing a role
>>here:
>>
>>"It looks like VA space randomization is the culprit. The problem only
>>shows up when the host is 2.6.12, and can be solved by setting the
>>kernel.randomize_va_space sysctl to zero. Thanks for the pointer
>>there."
>
>Here are the results with sysctl -w kernel.randomize_va_space=0.
>Essentially no effect observed.
[-- Attachment #2: Type: text/html, Size: 5086 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] sysctl -w va.legacy_va_layout=1
2005-08-01 2:53 [uml-devel] sysctl -w va.legacy_va_layout=1 Phill Wombat
@ 2005-10-04 17:01 ` Blaisorblade
0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2005-10-04 17:01 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Phill Wombat
On Monday 01 August 2005 04:53, Phill Wombat wrote:
> With 2.6.12+bs9 on x86_64 the error now changes
> On the host set:
> sysctl -w va.legacy_va_layout=1
> sysctl -w kernel.randomize_va_space=0
> Starting the uml with init=/bin/sh starts up as usual. Performing the ls
> command now result in a different thing happening: Bad op in do_proc_op
> Where as before it produced:
> Child 22915 exited with signal 11
Hi Phil, I was looking to old bugs and I came through your mail.
Has your bug been fixed in later releases?
Also, I see it's mostly related to x86_64 hosts - which are working a lot
better now (especially thanks to SKAS0 mode).
IOW: is this still an issue, or can I consider this bug "closed"?
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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:[~2005-10-06 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 2:53 [uml-devel] sysctl -w va.legacy_va_layout=1 Phill Wombat
2005-10-04 17:01 ` Blaisorblade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox