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] warning at vma_merge

2017-05-08 Thread Richard Weinberger
Anton, Thomas, On Sun, May 7, 2017 at 10:27 PM, Anton Ivanov wrote: > Have a look at the list archive, this was covered a couple of weeks ago. > > I believe Richard is working on a fix. Yep, this reminds me that I have to ping mm folks about this. Please see: http://lkml.iu.edu/hypermail/linux/k

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