Re: [uml-devel] [uml-user] UML on WSL

2017-05-07 Thread Richard Weinberger
Thomas, On Sun, May 7, 2017 at 1:44 PM, Thomas Meyer wrote: > Hi, > > Did anybody try to run UML on the new Windows 10 subsystem for Linux? I > wonder what missing functions may hinder to run UML on WSL? No idea. Can you try? I don't have access to a Windows 10 system right now where I could tes

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Thomas Meyer
Zitat von Richard Weinberger : > Thomas, > > On Sun, May 7, 2017 at 1:44 PM, Thomas Meyer wrote: >> Hi, Hi, >> >> Did anybody try to run UML on the new Windows 10 subsystem for Linux? I >> wonder what missing functions may hinder to run UML on WSL? > > No idea. > Can you try? I don't have acce

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Richard Weinberger
Thomas, Am 08.05.2017 um 17:02 schrieb Thomas Meyer: > Sadly, UML executable bails out very early. it Looks like WSL is missing some > PTRACE stuff: > > thomas@DESKTOP-DQBDJ0U:/mnt/c/Users/thomas/Downloads$ ./linux > Core dump limits : > soft - NONE > hard - NONE > Checking that

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Thomas Meyer
> Am 08.05.2017 um 17:05 schrieb Richard Weinberger : > > Thomas, > >> Am 08.05.2017 um 17:02 schrieb Thomas Meyer: >> Sadly, UML executable bails out very early. it Looks like WSL is missing >> some PTRACE stuff: >> >> thomas@DESKTOP-DQBDJ0U:/mnt/c/Users/thomas/Downloads$ ./linux >> Core dump

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Richard Weinberger
Thomas, Am 08.05.2017 um 17:32 schrieb Thomas Meyer: >> We could figure how to report issues to WSL, create self-hosting unit tests >> and ask them to add/fix >> these features. > > Turns out there was already a bug report by somebody about missing UML > support in WSL: > > https://github.com/

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Thomas Meyer
> Am 08.05.2017 um 17:35 schrieb Richard Weinberger : > > Thomas, > > Am 08.05.2017 um 17:32 schrieb Thomas Meyer: >>> We could figure how to report issues to WSL, create self-hosting unit tests >>> and ask them to add/fix >>> these features. >> >> Turns out there was already a bug report by s

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Richard Weinberger
Thomas, Am 08.05.2017 um 17:40 schrieb Thomas Meyer: > " > Also, for a little context, the /only/software I can find /on the planet/ > that cares is User Mode Linux. Unless someone tries to run some statically > linked |strace| or > maybe |gdb| binary from the 2.4 era, this will simply never be

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Thomas Meyer
> Am 08.05.2017 um 17:40 schrieb Thomas Meyer : > > >> Am 08.05.2017 um 17:35 schrieb Richard Weinberger : >> >> Thomas, >> >> Am 08.05.2017 um 17:32 schrieb Thomas Meyer: We could figure how to report issues to WSL, create self-hosting unit tests and ask them to add/fix these

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Richard Weinberger
Thomas, Am 08.05.2017 um 18:09 schrieb Thomas Meyer: > Or asked he other way around: > > Is somewhere documented what's the minimum host kernel version that a UML > kernel will run on? > > E.g.: > building a UML kernel from 4.11 will need a host kernel version 2.6.18 with > features x, y and z

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Anton Ivanov
So far it is late 2.6. The high res timer subsystem settled fully somewhere circa 2.6.10 if memory serves me right. One of those lovely kernels which had VM collapse bugs :) I am finishing testing the vector IO drivers and epoll irq controller for them you will need 3.0 onwards In fact, I have

Re: [uml-devel] [uml-user] UML on WSL

2017-05-08 Thread Richard Weinberger
Thomas, Can you please give the attached patch a try? Thanks, //richard >From b64c967e3960eff33e96f7dcff261635fffeb504 Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Mon, 8 May 2017 21:43:27 +0200 Subject: [PATCH] um: Drop PTRACE_OLDSETOPTIONS usage IMHO in 2017 can assume that nobody

Re: [uml-devel] [uml-user] UML on WSL

2017-05-09 Thread Thomas Meyer
Zitat von Richard Weinberger : > Thomas, > > Can you please give the attached patch a try? Hi, attached patch work correctly under Linux. But no change under WSL. As stated in the relevant GH issue, there seems to be far more road blockers to make UML work under WSL. With you patch I get u

Re: [uml-devel] [uml-user] UML on WSL

2017-05-09 Thread Richard Weinberger
Thomas, Am 09.05.2017 um 10:15 schrieb Thomas Meyer: > attached patch work correctly under Linux. But no change under WSL. As stated > in the relevant GH issue, there seems to be far more road blockers to make > UML work under WSL. > > With you patch I get under WSL: > > thomas@DESKTOP-DQBDJ0U

Re: [uml-devel] [uml-user] UML on WSL

2017-05-09 Thread Thomas Meyer
Zitat von Richard Weinberger : > Thomas, > > Am 09.05.2017 um 10:15 schrieb Thomas Meyer: >> attached patch work correctly under Linux. But no change under WSL. >> As stated in the relevant GH issue, there seems to be far more road >> blockers to make UML work under WSL. >> >> With you patch

Re: [uml-devel] [uml-user] UML on WSL

2017-05-09 Thread Richard Weinberger
Thomas, Am 09.05.2017 um 19:25 schrieb Thomas Meyer: >> IOW we write to 0xdeadbeef, catch the fault and fix it. > > I get this: > thomas@DESKTOP-DQBDJ0U:/mnt/c/Users/thomas/VmShare$ ./segtest > SIGSEGV at 0x0, fixing up > SIGSEGV at 0x0, fixing up > SIGSEGV at 0x0, fixing up > SIGSEGV at 0x0, fix