Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1DzQR7-0002hS-Nf for user-mode-linux-devel@lists.sourceforge.net; Sun, 31 Jul 2005 19:53:53 -0700 Received: from web131873-3.gw.connect.com.au ([210.11.57.5] helo=newbushfire.webwombat.com.au) by mail.sourceforge.net with esmtp (Exim 4.44) id 1DzQR7-00017l-46 for user-mode-linux-devel@lists.sourceforge.net; Sun, 31 Jul 2005 19:53:53 -0700 Received: from phill2knb ([10.1.1.60])j712reg01146 for ; Mon, 1 Aug 2005 12:53:40 +1000 Message-ID: <003e01c59644$3893a5b0$3c01010a@webwombat.com.au> From: "Phill Wombat" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003B_01C59698.0A1FAA90" Subject: [uml-devel] sysctl -w va.legacy_va_layout=1 Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 1 Aug 2005 12:53:39 +1000 To: user-mode-linux-devel This is a multi-part message in MIME format. ------=_NextPart_000_003B_01C59698.0A1FAA90 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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=3D1 sysctl -w kernel.randomize_va_space=3D0 Starting the uml with init=3D/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=3D0xabebf6c0 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=3D/bin/sh to go when kernel.randomize_va_space=3D1 = and vm.legacy_va_layout=3D0 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=20 >>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=3D0. >Essentially no effect observed. ------=_NextPart_000_003B_01C59698.0A1FAA90 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Regards
Hi Paolo,
 
Looking into another issue (my son's gaming machine - = counter-strike source=20 on linux) I came across this interesting parameter whereby winex/Cedega = won't=20 run steam unless legacy support for legacy VA layout is enabled on a = 2.6.9=20 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=3D1
sysctl -w kernel.randomize_va_space=3D0
 
Starting the uml with init=3D/bin/sh starts up as usual. Performing = the ls=20 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=20 everything down cleanly. Don't the significance if any of all this, but = if feels=20 better.
 
Conducting the same test on 32bit 2.6.12+bs9 results in total = disaster=20 (feels very bad):
 
<0>Kernel panic - not syncing: fix_range fixing wrong address = space,=20 current=3D0xabebf6c0
folloed by lost of register dumps and traceback stuff (2 lots = actually -=20 which I take to mean it really really crashed).
 
I can only get init=3D/bin/sh to go when = kernel.randomize_va_space=3D1 and=20 vm.legacy_va_layout=3D0
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=20 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=20 email) - it appeared in vanilla
>>2.6.12
>>and may be = in your=20 FC4 kernel. Not sure but it may be playing a=20 role
>>here:
>>
>>"It looks like VA space=20 randomization is the culprit.  The problem only
>>shows up = when=20 the host is 2.6.12, and can be solved by setting=20 the
>>kernel.randomize_va_space sysctl to zero.  Thanks = for the=20 pointer
>>there."
>
>Here are the results with = sysctl -w=20 kernel.randomize_va_space=3D0.
>Essentially no effect=20 observed.

------=_NextPart_000_003B_01C59698.0A1FAA90-- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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