Re: [uml-devel] UML: Access to a host device from UML

2019-02-20 Thread Anton Ivanov
I do not think that this is possible without an additional device in the UML itself. In fact, if you want two processes in two different UML instances to communicate in-between themselves you should aim at a UML device. The kernel device is probably suprlus to requirements as the two UML ins

Re: [uml-devel] [UML] Question about arch/x86/um/vdso/vdso-syms.lds

2018-05-08 Thread Richard Weinberger
Masahiro, Am Mittwoch, 9. Mai 2018, 05:36:18 CEST schrieb Masahiro Yamada: > Hi Richard, > > > Please let me ask a question about vdso-syms.lds > under arch/x86/um/vdso/. > > This file exists since: > > commit f1c2bb8b9964ed31de988910f8b1cfb586d30091 > Author: Richard Weinberger > Date: Mon

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-29 Thread Richard Weinberger
Am Donnerstag, 29. März 2018, 22:20:47 CEST schrieb Joel Fernandes: > Thanks a lot! I am wondering why the same compiler works when running > the test for a regular image. Maybe different compiler flags. Anyway > good to learn this. > > Also one more slightly OT question, why is UML only doing UP

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-29 Thread Joel Fernandes
On Wed, Mar 28, 2018 at 11:04 PM, Geert Uytterhoeven wrote: > On Thu, Mar 29, 2018 at 12:35 AM, Richard Weinberger wrote: >> Am Donnerstag, 29. März 2018, 00:19:39 CEST schrieb Joel Fernandes: >>> On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: >>> > Am Mittwoch, 28. März 2018, 15:11:

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Geert Uytterhoeven
On Thu, Mar 29, 2018 at 12:35 AM, Richard Weinberger wrote: > Am Donnerstag, 29. März 2018, 00:19:39 CEST schrieb Joel Fernandes: >> On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: >> > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: >> >> On Wed, Mar 28, 2018 at

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Donnerstag, 29. März 2018, 00:19:39 CEST schrieb Joel Fernandes: > Thanks for the quick reply. > > On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: > > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: > >> On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes > > wro

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Joel Fernandes
Thanks for the quick reply. On Wed, Mar 28, 2018 at 6:19 AM, Richard Weinberger wrote: > Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: >> On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes > wrote: >> > while(release_now == 0); >> >> while (release_now == 0) >>

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Mittwoch, 28. März 2018, 15:11:29 CEST schrieb Geert Uytterhoeven: > On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes wrote: > > while(release_now == 0); > > while (release_now == 0) > cpu_relax(); Not sure whether a cpu_relax() fixes the problem. I guess the root of the prob

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Geert Uytterhoeven
On Wed, Mar 28, 2018 at 12:28 PM, Joel Fernandes wrote: > while(release_now == 0); while (release_now == 0) cpu_relax(); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversatio

Re: [uml-devel] UML hangs with hrtimer test module

2018-03-28 Thread Richard Weinberger
Am Mittwoch, 28. März 2018, 12:28:02 CEST schrieb Joel Fernandes: > Hi, > > I wrote a kernel module to play with hrtimer subsystem and it hangs > with UML, Any ideas on why it may be hanging? It doesn't hang on any > of my other machines. Hopefully I'm not doing something stupid, but I > don't thi

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

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 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, > > 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-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-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, 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 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 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: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: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: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: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
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-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] [PATCH] um: Fix _print_addr()

2017-05-03 Thread Richard Weinberger
On Sun, Dec 25, 2016 at 11:11 PM, Richard Weinberger wrote: > Recent changes to printk() broke UML's stack trace > output. Kill the root of the problem by using a single > printk() statement. > > Signed-off-by: Richard Weinberger > --- > arch/um/kernel/sysrq.c | 6 ++ > 1 file changed, 2 ins

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Richard Weinberger
Anton, Am 17.03.2017 um 18:44 schrieb Anton Ivanov: >> But you have to enable VM debugging to see it. > > I have most debugging enabled to make sure I do not introduce any > re-entrancy in the IRQ handlers and/or have any allocations of the wrong > type where they do not belong. > > We should pr

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Anton Ivanov
On 17/03/17 17:33, Richard Weinberger wrote: > Am 17.03.2017 um 18:04 schrieb Anton Ivanov: >> On 17/03/17 16:56, Richard Weinberger wrote: >>> Anton, >>> >>> On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov >>> wrote: Hi list, hi Richard There is an extra check in mm/mmap.c which now

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Richard Weinberger
Am 17.03.2017 um 18:04 schrieb Anton Ivanov: > On 17/03/17 16:56, Richard Weinberger wrote: >> Anton, >> >> On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov >> wrote: >>> Hi list, hi Richard >>> >>> There is an extra check in mm/mmap.c which now throws a WARN on every >>> page in making UML unusable

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Anton Ivanov
On 17/03/17 17:04, Anton Ivanov wrote: > On 17/03/17 16:56, Richard Weinberger wrote: >> Anton, >> >> On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov >> wrote: >>> Hi list, hi Richard >>> >>> There is an extra check in mm/mmap.c which now throws a WARN on every >>> page in making UML unusable with t

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Richard Weinberger
Anton, Am 17.03.2017 um 18:04 schrieb Anton Ivanov: > On 17/03/17 16:56, Richard Weinberger wrote: >> Anton, >> >> On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov >> wrote: >>> Hi list, hi Richard >>> >>> There is an extra check in mm/mmap.c which now throws a WARN on every >>> page in making UML u

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Anton Ivanov
On 17/03/17 16:56, Richard Weinberger wrote: > Anton, > > On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov > wrote: >> Hi list, hi Richard >> >> There is an extra check in mm/mmap.c which now throws a WARN on every >> page in making UML unusable with the latest 4.11-rc2 > Which WARN? Can you find the

Re: [uml-devel] UML regression with latest RC 4.11-rc2

2017-03-17 Thread Richard Weinberger
Anton, On Fri, Mar 17, 2017 at 8:51 AM, Anton Ivanov wrote: > Hi list, hi Richard > > There is an extra check in mm/mmap.c which now throws a WARN on every > page in making UML unusable with the latest 4.11-rc2 Which WARN? Can you find the offending commit? -- Thanks, //richard --

Re: [uml-devel] [uml-user] Archive of UML mailing list

2017-01-19 Thread Richard Weinberger
On Wed, Jan 4, 2017 at 2:54 PM, Enjoy Mindful wrote: > Hi, > > https://marc.info/?l=user-mode-linux-devel > https://marc.info/?l=user-mode-linux-user > https://sourceforge.net/p/user-mode-linux/mailman/user-mode-linux-user/ > > I'm looking for archive tar balls for user-mode-linux-devel and > user

Re: [uml-devel] uml does not work with initrd=file

2017-01-15 Thread sgerwk
On Sun, 15 Jan 2017, Thomas Meyer wrote: Am 15. Januar 2017 13:16:22 MEZ schrieb [email protected]: Hi, there seems to be a problem with usermode linux when started with an initial ramdisk (argument initrd=file). Here is what happens: Locating the bottom of

Re: [uml-devel] uml does not work with initrd=file

2017-01-15 Thread Thomas Meyer
Am 15. Januar 2017 13:16:22 MEZ schrieb [email protected]: >Hi, > >there seems to be a problem with usermode linux when started >with an initial ramdisk (argument initrd=file). Here is what >happens: > > > >Locating the bottom of the address space ... 0x1000 >Locati

Re: [uml-devel] UML build failure on 4.7

2016-09-05 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Disabling drivers/nvdimm (seen only on x86_64 architecture) solved the problem. On Mon, 2016-09-05 at 18:55 +0530, Ritesh Raj Sarraf wrote: > Hi, > > I'm working on refreshing UML to version 4.7 in Debian. > > The linux source tarball we use is fr

Re: [uml-devel] UML tools anywhere?

2016-09-03 Thread Mattia Dongili
On Fri, Aug 26, 2016 at 02:35:55PM -0500, Rob Landley wrote: > On 08/17/2016 12:02 PM, Jeff Dike wrote: > > Hi Richard, > > > >> But let's ask Jeff first. > >> Jeff, do you have a more recent SCM repo of uml-utilities? > > > > No, I don't believe so. Everything I have is out there somewhere. > >

Re: [uml-devel] UML tools anywhere?

2016-09-03 Thread Mattia Dongili
On Tue, Aug 16, 2016 at 06:53:34AM -0700, Mattia Dongili wrote: > On Mon, Aug 15, 2016 at 10:01:11PM +0200, Richard Weinberger wrote: ... > > Mattia, do you volunteer? :-) > > Sure, sounds good to me. For the record, I'll follow-up soon. I'm waiting for approval from my employer to make sure ther

Re: [uml-devel] UML tools anywhere?

2016-08-26 Thread Rob Landley
On 08/17/2016 12:02 PM, Jeff Dike wrote: > Hi Richard, > >> But let's ask Jeff first. >> Jeff, do you have a more recent SCM repo of uml-utilities? > > No, I don't believe so. Everything I have is out there somewhere. > You might check with Matt Zimmerman - he might have been doing some > mainte

Re: [uml-devel] UML tools anywhere?

2016-08-17 Thread Jeff Dike
Hi Richard, > But let's ask Jeff first. > Jeff, do you have a more recent SCM repo of uml-utilities? No, I don't believe so. Everything I have is out there somewhere. You might check with Matt Zimmerman - he might have been doing some maintenance on them. Jeff -

Re: [uml-devel] UML tools anywhere?

2016-08-16 Thread Mattia Dongili
On Mon, Aug 15, 2016 at 10:01:11PM +0200, Richard Weinberger wrote: > On 28.07.2016 16:32, Mattia Dongili wrote: > >> This is now: > >> https://github.com/malattia/uml-utilities > >> > >>> The CVS repo on sourceforge is out of date though, it's missing a good > >>> chunk of code. The last commit is

Re: [uml-devel] UML tools anywhere?

2016-08-15 Thread Richard Weinberger
On 28.07.2016 16:32, Mattia Dongili wrote: >> This is now: >> https://github.com/malattia/uml-utilities >> >>> The CVS repo on sourceforge is out of date though, it's missing a good >>> chunk of code. The last commit is from 2004 or so. >>> >>> If you don't have the remainder of the code history I

Re: [uml-devel] UML tools anywhere?

2016-07-28 Thread Mattia Dongili
On Thu, Jul 14, 2016 at 08:17:09AM -0700, Mattia Dongili wrote: > On Thu, Jul 14, 2016 at 08:07:32AM -0700, Mattia Dongili wrote: > > On Thu, Jul 14, 2016 at 10:33:33AM +0200, Richard Weinberger wrote: > > > > > > > > > Am 14.07.2016 um 05:08 schrieb Mattia Dongili: > > ... > > > > I can certainl

Re: [uml-devel] UML tools anywhere?

2016-07-14 Thread Mattia Dongili
On Thu, Jul 14, 2016 at 08:07:32AM -0700, Mattia Dongili wrote: > On Thu, Jul 14, 2016 at 10:33:33AM +0200, Richard Weinberger wrote: > > > > > > Am 14.07.2016 um 05:08 schrieb Mattia Dongili: > ... > > > I can certainly help with that, since I would like to do that work > > > anyway in order to

Re: [uml-devel] UML tools anywhere?

2016-07-14 Thread Mattia Dongili
On Thu, Jul 14, 2016 at 10:33:33AM +0200, Richard Weinberger wrote: > > > Am 14.07.2016 um 05:08 schrieb Mattia Dongili: ... > > I can certainly help with that, since I would like to do that work > > anyway in order to refresh the debian package. If you want to stuff the > > code in a git reposit

Re: [uml-devel] UML tools anywhere?

2016-07-14 Thread Richard Weinberger
Am 14.07.2016 um 05:08 schrieb Mattia Dongili: > On Wed, Jul 13, 2016 at 11:11:03PM +0200, Richard Weinberger wrote: >> Hi! >> >> On Wed, Jul 13, 2016 at 5:02 AM, Mattia Dongili wrote: >>> Hi, >>> >>> Does anybody knows if there is any newer version of the tools package >>> (the one with tunctl,

Re: [uml-devel] UML tools anywhere?

2016-07-13 Thread Mattia Dongili
On Wed, Jul 13, 2016 at 11:11:03PM +0200, Richard Weinberger wrote: > Hi! > > On Wed, Jul 13, 2016 at 5:02 AM, Mattia Dongili wrote: > > Hi, > > > > Does anybody knows if there is any newer version of the tools package > > (the one with tunctl, uml_mount and friends)? > > > > I'm maintaining[1] t

Re: [uml-devel] UML tools anywhere?

2016-07-13 Thread Richard Weinberger
Hi! On Wed, Jul 13, 2016 at 5:02 AM, Mattia Dongili wrote: > Hi, > > Does anybody knows if there is any newer version of the tools package > (the one with tunctl, uml_mount and friends)? > > I'm maintaining[1] the package in Debian and I was wondering whether the > original code is hosted somewhe

Re: [uml-devel] uml instance crashes when started from script

2015-12-09 Thread stian
Den 2015-12-06 16:34, skrev Vegard Nossum: > Hi, > > I've been running into some odd crashes when starting my UML instance > from Python. This is my script: > > import subprocess > subprocess.check_call(['path/to/vmlinux', 'mem=2048M', > 'rootfstype=hostfs', 'rw', 'init=/bin/bash']) Can you please

Re: [uml-devel] uml instance crashes when started from script

2015-12-08 Thread Richard Weinberger
Hi! Am 06.12.2015 um 16:34 schrieb Vegard Nossum: > Hi, > > I've been running into some odd crashes when starting my UML instance from > Python. This is my script: > > import subprocess > subprocess.check_call(['path/to/vmlinux', 'mem=2048M', 'rootfstype=hostfs', > 'rw', 'init=/bin/bash']) >

Re: [uml-devel] uml instance crashes when started from script

2015-12-06 Thread Anton Ivanov
On 07/12/15 07:24, [email protected] wrote: > Den 2015-12-06 16:34, skrev Vegard Nossum: >> Hi, >> >> I've been running into some odd crashes when starting my UML instance >> from Python. This is my script: >> >> import subprocess >> subprocess.check_call(['path/to/vmlinux', 'mem=2048M', >> 'rootfstyp

Re: [uml-devel] uml instance crashes when started from script

2015-12-06 Thread stian
Den 2015-12-06 16:34, skrev Vegard Nossum: > Hi, > > I've been running into some odd crashes when starting my UML instance > from Python. This is my script: > > import subprocess > subprocess.check_call(['path/to/vmlinux', 'mem=2048M', > 'rootfstype=hostfs', 'rw', 'init=/bin/bash']) > > [1.8800

Re: [uml-devel] [uml-user] Website is in need of many small changes and updates?

2015-10-31 Thread Thomas Meyer
Am 31.10.2015 4:39 vorm. schrieb Balaco Baco : > > > On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco wrote: > > > > > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: > > >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco wrote: > > >> >> > > >> > Really!? I wish I had read that somewhe

Re: [uml-devel] [uml-user] Building from source problems and possibilities

2015-10-30 Thread Richard Weinberger
On Fri, Oct 30, 2015 at 8:30 PM, Richard Weinberger wrote: > On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco wrote: >> I restarted, now I've got another kernel source (2.6.32.68), knowing >> that it may be old, but it's the "newer old" for 2.6, and I hoped that >> it would work. > > Are you an arche

Re: [uml-devel] [uml-user] Building from source problems and possibilities

2015-10-30 Thread Richard Weinberger
On Fri, Oct 30, 2015 at 5:02 PM, Balaco Baco wrote: > I restarted, now I've got another kernel source (2.6.32.68), knowing > that it may be old, but it's the "newer old" for 2.6, and I hoped that > it would work. Are you an archeologist? ;-) Is there a particular reason why you can't use somethin

Re: [uml-devel] [uml-user] Website is in need of many small changes and updates?

2015-10-30 Thread Richard Weinberger
On Fri, Oct 30, 2015 at 7:29 AM, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: >> On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco wrote: >> >> > > >> > Really!? I wish I had read that somewhere. Well, just retried >> >> > > >> > with >> >> > > >> > another option

Re: [uml-devel] [uml-user] Website is in need of many small changes and updates?

2015-10-30 Thread Michael Richardson
Please, at least mark the info as being OLD OLD OLD. 90% of it is unnecessary. -- ___ User-mode-linux-devel mailing list [email protected] https://lis

Re: [uml-devel] [uml-user] Website is in need of many small changes and updates?

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco wrote: >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with >> > > >> > another option that is there for me. It is one of the cases I >> > > >> > detailed >> > > >> > before that end with error. >> > > >> > >> > > >> >> > > >>

Re: [uml-devel] [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 4:26 PM, Balaco Baco wrote: > What is your definition of recent and your definition of supported? This > may be useful for many other users of UML I guess. The fact that the > kernels offered in the UML website didn't work, and then I tried to > compile from source should b

Re: [uml-devel] [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 2:21 PM, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: >> Am 29.10.2015 um 14:14 schrieb Balaco Baco: >> > Really!? I wish I had read that somewhere. Well, just retried with >> > another option that is there for me. It is one of the cases

Re: [uml-devel] [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
Am 29.10.2015 um 14:14 schrieb Balaco Baco: > Really!? I wish I had read that somewhere. Well, just retried with > another option that is there for me. It is one of the cases I detailed > before that end with error. > > The full execution, right now, is: > > == > $./linux-

Re: [uml-devel] [uml-user] Any reason for a kernel thread not run after calling schedule()?

2015-10-28 Thread Richard Weinberger
On Wed, Oct 28, 2015 at 5:36 PM, Ricardo Nunes wrote: > Hi, > > I'm making a UML driver to adapt a real driver to UML and hardware > emulation. > > In this case I have a kernel thread trying to read a register, which is now > done through a netlink channel to a userspace application (asynchronous

Re: [uml-devel] [uml-user] IRQ support?

2015-10-22 Thread Richard Weinberger
Hi! CC'ing -devel list. On Thu, Oct 22, 2015 at 1:29 PM, Ricardo Nunes wrote: > I'm trying to use a real hardware driver inside UML and I,ve come to the IRQ > suppor part. How do you map the hardware into UML? > Right now it's failing on request_irq call, so my question is if there is > any ma

Re: [uml-devel] UML specific or just a generic 4.0.x glitch : kernel/time/Kconfig:157:warning: range is invalid ?

2015-04-19 Thread Geert Uytterhoeven
On Sat, Apr 18, 2015 at 3:31 PM, Toralf Förster wrote: > tfoerste@t44 ~/devel/linux $ make ARCH=um linux -j3 > scripts/kconfig/conf --silentoldconfig arch/x86/um/Kconfig > kernel/time/Kconfig:157:warning: range is invalid This is not UML-specific. It happens on all UP-only architectures, which i

Re: [uml-devel] UML Performance improvement patchset

2014-09-20 Thread Anton Ivanov
Hi list, Some benchmarks (current version, I believe this can do more once it gains full epoll write support). 4 UMLs running in parallel, each pinned to a core, new raw driver - vlan per UML, 10G NIC on 4 core 3.5GHz A8 connected back to back to an 8 core machine running iperf server. Server

Re: [uml-devel] UML Performance improvement patchset

2014-09-14 Thread Anton Ivanov (antivano)
Hi Richard, hi list. I have found a couple of minor issues which have crept up during porting from 3.3.8 to 3.12-3.15 (I originally wrote all of the improvements for 3.3.8/OpenWRT). I will reissue the patchset with these fixed sometimes this week - descriptions of issues/coming fixes inline.

Re: [uml-devel] UML Performance improvement patchset

2014-09-04 Thread Anton Ivanov (antivano)
On 04/09/14 20:14, Richard Weinberger wrote: > On Thu, Sep 4, 2014 at 9:00 PM, wrote: >> Patch dependencies: >> >> [PATCH v3 01/10] Epoll based interrupt controller >> >> Full redesign of the existing UML poll based controller. The old >> poll controller incurs huge penalties for IRQ sharing and

Re: [uml-devel] UML Performance improvement patchset

2014-09-04 Thread Richard Weinberger
On Thu, Sep 4, 2014 at 9:00 PM, wrote: > > Patch dependencies: > > [PATCH v3 01/10] Epoll based interrupt controller > > Full redesign of the existing UML poll based controller. The old > poll controller incurs huge penalties for IRQ sharing and many devices > setup due to the device list being w

Re: [uml-devel] UML build broken since 3.0.75 (also affects 3.2.x)

2013-05-27 Thread Ben Hutchings
On Sat, 2013-05-25 at 15:44 +0200, richard -rw- weinberger wrote: > On Sat, May 25, 2013 at 2:18 PM, Greg KH wrote: > > On Sat, May 25, 2013 at 05:55:22PM +0700, Antoine Martin wrote: > >> Linus' vm patches broke the UML build in 3.0.75 onwards: > >> > >> CC mm/memory.o > >> mm/memory.c: In

Re: [uml-devel] UML build broken since 3.0.75 (also affects 3.2.x)

2013-05-25 Thread richard -rw- weinberger
On Sat, May 25, 2013 at 2:18 PM, Greg KH wrote: > On Sat, May 25, 2013 at 05:55:22PM +0700, Antoine Martin wrote: >> Linus' vm patches broke the UML build in 3.0.75 onwards: >> >> CC mm/memory.o >> mm/memory.c: In function ‘vm_iomap_memory’: >> mm/memory.c:2363:2: error: implicit declaratio

Re: [uml-devel] UML build broken since 3.0.75 (also affects 3.2.x)

2013-05-25 Thread Greg KH
On Sat, May 25, 2013 at 05:55:22PM +0700, Antoine Martin wrote: > Linus' vm patches broke the UML build in 3.0.75 onwards: > > CC mm/memory.o > mm/memory.c: In function ‘vm_iomap_memory’: > mm/memory.c:2363:2: error: implicit declaration of function > ‘io_remap_pfn_range’ [-Werror=implicit-

Re: [uml-devel] UML Hardware Virt Support

2013-05-01 Thread Terry Hsu
Great to know this, thanks for keeping it up! On Wed, May 1, 2013 at 2:15 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, May 1, 2013 at 7:54 PM, Terry Hsu wrote: > > Indeed, I am developing some functions for the virtual memory subsystem > in > > the kernel. > > Q

Re: [uml-devel] UML Hardware Virt Support

2013-05-01 Thread richard -rw- weinberger
On Wed, May 1, 2013 at 7:54 PM, Terry Hsu wrote: > Indeed, I am developing some functions for the virtual memory subsystem in > the kernel. > Qemu replaces UML in my case. I run qemu without kvm support because I don't > seem to be able to run nested virtualization in virtualbox. > Anyway now Qemu

Re: [uml-devel] UML Hardware Virt Support

2013-05-01 Thread Terry Hsu
On Tue, Apr 30, 2013 at 12:27 PM, Richard RW. Weinberger < [email protected]> wrote: > - Ursprüngliche Mail - > > > > > > > UML development mostly stopped in favor to KVM. > > > > > > so you mean to say that KVM is preferable to UML? > > (I Guess it may depend on the situation?) > > KV

Re: [uml-devel] UML Hardware Virt Support

2013-04-30 Thread Richard RW. Weinberger
- Ursprüngliche Mail - > > > > UML development mostly stopped in favor to KVM. > > > so you mean to say that KVM is preferable to UML? > (I Guess it may depend on the situation?) KVM is *much* faster than UML and *much* less hacky. :-) Thanks, //richard --

Re: [uml-devel] UML Hardware Virt Support

2013-04-30 Thread richard -rw- weinberger
On Tue, Apr 30, 2013 at 6:49 PM, Earlence Fernandes wrote: > But then there's a fundamental question of whether KVM has similar > semantics. KVM works completely different than UML does. > UML was incredibly useful to my project since it ran a whole "kernel + > processes" in user space. > Now i'

Re: [uml-devel] UML Hardware Virt Support

2013-04-30 Thread Earlence Fernandes
But then there's a fundamental question of whether KVM has similar semantics. UML was incredibly useful to my project since it ran a whole "kernel + processes" in user space. Now i'm confused as to whether I need to change my work so that it works with KVM (I'm trying to read thru KVM docs to under

Re: [uml-devel] UML Hardware Virt Support

2013-04-30 Thread Earlence Fernandes
>UML development mostly stopped in favor to KVM. so you mean to say that KVM is preferable to UML? (I Guess it may depend on the situation?) -Earlence On Tue, Apr 30, 2013 at 12:17 PM, richard -rw- weinberger < [email protected]> wrote: > On Tue, Apr 30, 2013 at 6:12 PM, Earlence Fe

Re: [uml-devel] UML Hardware Virt Support

2013-04-30 Thread richard -rw- weinberger
On Tue, Apr 30, 2013 at 6:12 PM, Earlence Fernandes wrote: > The book (2004) states that work was going on for hardware assisted virt. I don't think so. > Has there been progress on it? Where do I find information on it? > The UML source tree still comes with the original modes of operation. UM

Re: [uml-devel] UML Network Related Crashing

2013-01-21 Thread Dave (Bob)
I'm wondering whether this was useful? Is there any other testing that I can do to help the cause, and to help fix this problem? Regards, David On 19/01/2013 18:59, Dave Humphreys (Bob) wrote: > I have experimented further with the network related crashing problem that I > have had for some tim

Re: [uml-devel] UML Network Related Crashing

2013-01-06 Thread Richard Weinberger
Am Sun, 06 Jan 2013 12:16:02 + schrieb "Dave Humphreys (Bob)" : > I note that my message sent yesterday ended up heavily truncated, so > I have turned on the line-wrap for this one. Sorry about that. Now it passed my spamfilter. ;-) CC'in Al, maybe he has an idea. Does the crash only happen

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

2012-08-25 Thread richard -rw- weinberger
On Fri, Aug 24, 2012 at 6:19 PM, Dragos Diaconescu wrote: > Hello, > > I try to compile the UML, from a linux kernel(make ARCH=um SUBARCH=i386) > and I have configured it to use SMP (make config). I am getting the > following error: > > CHK include/generated/utsrelease.h > CC arch/um/

Re: [uml-devel] [uml-user] TSC register

2012-08-24 Thread richard -rw- weinberger
On Fri, Aug 24, 2012 at 5:09 PM, Dragos Diaconescu wrote: > Can you please > give me some directions? Shall I implement in the same manner as is > implemented in > /arch/x86/lib/delay.c . What are the big differences between this > implementation and in an implementation > for UML? If you a

Re: [uml-devel] [uml-user] TSC register

2012-08-24 Thread Dragos Diaconescu
On Thu, Aug 23, 2012 at 6:52 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu > wrote: > >at an interval of some nanoseconds and to use the ndelay function. I > saw > > that in the kernel implementation > >for the uml

Re: [uml-devel] [uml-user] TSC register

2012-08-23 Thread richard -rw- weinberger
On Wed, Aug 22, 2012 at 6:34 PM, Dragos Diaconescu wrote: >at an interval of some nanoseconds and to use the ndelay function. I saw > that in the kernel implementation >for the uml there is no "delay_tsc" >function and there is only the "delay_loop" function. I am wondering why > the d

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread Dragos Diaconescu
On Wed, Aug 22, 2012 at 5:39 PM, richard -rw- weinberger < [email protected]> wrote: > On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu > wrote: > > On an ubuntu kernel I used a busy waiting, with ndelay function which > uses > > the TSC register, but > > I have noticed that this re

Re: [uml-devel] [uml-user] TSC register

2012-08-22 Thread richard -rw- weinberger
On Wed, Aug 22, 2012 at 3:23 PM, Dragos Diaconescu wrote: > On an ubuntu kernel I used a busy waiting, with ndelay function which uses > the TSC register, but > I have noticed that this register cannot be read from an UML. Please provide a test case. -- Thanks, //richard -

Re: [uml-devel] UML: Please help with __module_text_address crashing

2012-05-25 Thread Richard Weinberger
On 25.05.2012 11:19, Boaz Harrosh wrote: > Whats keeping this patch from hitting mainline? to much ugliness? > Is there a way to work without it (somehow) > UML's tty driver is a corner case. (It is a console but does not support virtual consoles, etc...) TTY folks are currently moving most driver

Re: [uml-devel] UML: Please help with __module_text_address crashing

2012-05-25 Thread Boaz Harrosh
On 05/25/2012 10:40 AM, Richard RW. Weinberger wrote: > - Ursprüngliche Mail - >> I've been running with your tty patch for a while now, and was able >> to work. 3.3 Kernel >> >> Now based on 3.4 tree the patch no longer merges, too many changes. >> But am back to the same crashes as befor

Re: [uml-devel] UML: Please help with __module_text_address crashing

2012-05-25 Thread Richard RW. Weinberger
- Ursprüngliche Mail - > I've been running with your tty patch for a while now, and was able > to work. 3.3 Kernel > > Now based on 3.4 tree the patch no longer merges, too many changes. > But am back to the same crashes as before. Do you have a rough > patch for 3.4 base I can use. Okay,

Re: [uml-devel] UML: Please help with __module_text_address crashing

2012-05-25 Thread Boaz Harrosh
On 03/15/2012 12:40 AM, Richard Weinberger wrote: > Am 14.03.2012 23:28, schrieb Boaz Harrosh: >> But surly it needs to go upstream. I'll run with it out of tree for now. > > As of now it's not ready for upstream. > I'll submit it as -stable patch as soon as possible. > Richard hi, I've been

Re: [uml-devel] UML static linking and embedded library

2012-04-05 Thread Mattia Dongili
On Wed, Apr 04, 2012 at 01:17:40AM +0530, Ritesh Raj Sarraf wrote: > On Tuesday 03 April 2012 10:35 PM, richard -rw- weinberger wrote: > > Solving the first issue is straight forward. > > For the second one I've to think a bit why Jeff took the current > > static linking approach. > > > > Expect p

Re: [uml-devel] UML static linking and embedded library

2012-04-03 Thread Ritesh Raj Sarraf
On Tuesday 03 April 2012 10:35 PM, richard -rw- weinberger wrote: > Solving the first issue is straight forward. > For the second one I've to think a bit why Jeff took the current > static linking approach. > > Expect patches for both issues in 3.5. :-) Thanks. Can you prepare the patch? We are

Re: [uml-devel] UML static linking and embedded library

2012-04-03 Thread richard -rw- weinberger
On Tue, Apr 3, 2012 at 3:26 PM, Ritesh Raj Sarraf wrote: > Hello Richard and others, > > I currently have 2 severity E(rrors) lintian rejects for the build I am > preparing for Debian. > > The details for both the rejects are explained at: > > http://lintian.debian.org/tags/binary-or-shlib-defines

Re: [uml-devel] uml build failure on arch i386

2012-04-02 Thread richard -rw- weinberger
On Mon, Apr 2, 2012 at 2:22 PM, Ritesh Raj Sarraf wrote: > On Monday 02 April 2012 01:20 PM, richard -rw- weinberger wrote: >>> Config file available at: >>> > http://people.debian.org/~rrs/tmp/config.i386 >> Please give the attached patch a try! >> > > Thank you Richard. The patch fixes the build

Re: [uml-devel] uml build failure on arch i386

2012-04-02 Thread Ritesh Raj Sarraf
On Monday 02 April 2012 01:20 PM, richard -rw- weinberger wrote: >> Config file available at: >> > http://people.debian.org/~rrs/tmp/config.i386 > Please give the attached patch a try! > Thank you Richard. The patch fixes the build failure on i386. > diff --git a/arch/x86/um/Makefile b/arch/x86

Re: [uml-devel] uml build failure on arch i386

2012-04-02 Thread richard -rw- weinberger
On Mon, Apr 2, 2012 at 9:19 AM, Ritesh Raj Sarraf wrote: > On Monday 02 April 2012 11:59 AM, richard -rw- weinberger wrote: >>> > My initial search led me to: >>> > http://sourceforge.net/mailarchive/message.php?msg_id=27848489 >>> > >>> > Based on the comment there, I've tried SUBARCH=i386. But t

Re: [uml-devel] uml build failure on arch i386

2012-04-02 Thread Ritesh Raj Sarraf
On Monday 02 April 2012 11:59 AM, richard -rw- weinberger wrote: >> > My initial search led me to: >> > http://sourceforge.net/mailarchive/message.php?msg_id=27848489 >> > >> > Based on the comment there, I've tried SUBARCH=i386. But that didn't >> > help. Any suggestions? > Please share your .conf

Re: [uml-devel] uml build failure on arch i386

2012-04-01 Thread richard -rw- weinberger
On Sat, Mar 31, 2012 at 8:44 PM, Ritesh Raj Sarraf wrote: > Hello, > > I am trying to build uml on kernel 3.2. Following is the build failure I > get when building on my kvm x86 box. > > The kvm box is arch: > root@debian-x86:~/user-mode-linux (build)# uname -a > Linux debian-x86 3.0.0-1-686-pae #

  1   2   3   4   >