Re: xen master: xl create hangs

2022-07-20 Thread Mathieu Tarral
> I think that this `xl` process just wait for the domain to shutdown > or die. When we run `xl create`, before exiting there's a fork/exec of > xl which handle a few domain events, so it looks like this stack trace > is expected (and look like the one I have). So it don't looks like to be > the xl

Re: xen master: xl create hangs

2022-07-20 Thread Mathieu Tarral
Hi Anthony > $(debug) controls the level of optimisation of the compilation to make > it easier to debug. > > So, with debug=y, we have libxenstore having issue with killing the > its reading thread? :-( > Maybe that reading thread is doing something that can't be stopped, > maybe it's waiting fo

Re: make debball fails on Ubuntu 20.04: More valid-addrs than all-addrs

2022-07-15 Thread Mathieu Tarral
> > > (We're trying some new project management tools.) Can you try opening a > > > bug here: https://gitlab.com/xen-project/xen/-/issues about the > > > check-endbr.sh issue? I'm getting a Gitlab 404 page when trying to access this link. Are there access restrictions in place ? And same for: htt

[Libvirt] Failed to get udev device for syspath '/sys/devices/virtual/dmi/id'

2020-09-23 Thread Mathieu Tarral
Hi, I'm facing an issue with libvirt and the LIBXL driver, failing when searching for DMI data in /sys. info : libvirt version: 5.0.0, package: 4+deb10u1 (Guido Günther Thu, 05 Dec 2019 00:22:14 +0100) error : udevGetDMIData:1719 : internal error: Failed to get udev device for syspath '/sys/d

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-06-11 Thread Mathieu Tarral
Hi, > Yes I missed that PatchGuard would eventually check those shadow pages anyway. > I was already happy to see that my breakpoints were working, and I proceeded > to the tests > hoping to have a quick reproduction of the bug. > > I implemented a basic mem_access event on the restricting to --X

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-06-11 Thread Mathieu Tarral
Hi Andrew, Tamas, Le mercredi, mai 29, 2019 2:49 AM, Andrew Cooper a écrit : > After a series of tests on 1 or 4 VCPUs, my domain end up in 2 possible > states: - frozen: the mouse doesn't move: so I would guess the VCPU are > blocked. I'm calling the xc_(un)pause_domain APIs multiple times w

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-28 Thread Mathieu Tarral
Hi Andrew, > > The bug is still here, so we can exclude a microcode issue. > > Good - that is one further angle excluded.  Always make sure you are > running with up-to-date microcode, but it looks like we back to > investigating a logical bug in libvmi or Xen. I reimplemented a small test, with

[Xen-devel] Fail to initialize dom0 state: permission denied

2019-05-26 Thread Mathieu Tarral
told me to check with the Xen community, therefore this email. For reference, the original bug report on Fedora bugzilla is here: https://bugzilla.redhat.com/show_bug.cgi?id=1701783 Thanks, Mathieu Tarral Sent with ProtonMail Secure Email.

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-13 Thread Mathieu Tarral
Le vendredi, mai 10, 2019 5:21 PM, Andrew Cooper a écrit : > On 10/05/2019 16:17, Mathieu Tarral wrote: > > > Le jeudi, mai 9, 2019 6:42 PM, Andrew Cooper andrew.coop...@citrix.com a > > écrit : > > > > > Therefore, the conclusion to draw is that it is a logi

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-10 Thread Mathieu Tarral
Le jeudi, mai 9, 2019 8:08 PM, Tamas K Lengyel a écrit : > > > > I already suggested to Mathieu to try to reproduce the issue using the > > > > xen-access test tool that's in the Xen tree to cut out all that > > > > complexity. > > > > xen-access is ok, but I've never encountered a situation where

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-10 Thread Mathieu Tarral
Le jeudi, mai 9, 2019 6:42 PM, Andrew Cooper a écrit : > Therefore, the conclusion to draw is that it is a logical bug somewhere. > > First of all - ensure you are using up-to-date microcode.  The number of > errata which have been discovered by people associated with the Xen > community is large

[Xen-devel] [VMI] How to add support for MOV-TO-DRx events ?

2019-05-09 Thread Mathieu Tarral
Hi, following a previous conversation, i would like to catch MOV-TO-DRx VMI events to prevent the guest from disabling my hardware breakpoints. @Tamas pointed me to this header: https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/public/vm_event.h;h=b2bafc0d77f9758e42b0d53c05a7e6bb86c

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-09 Thread Mathieu Tarral
Le mardi, mai 7, 2019 2:01 PM, Mathieu Tarral a écrit : > > Given how many EPT flushing bugs I've already found in this area, I > > wouldn't be surprised if there are further ones lurking.  If it is an EPT > > flushing bug, this delta should make it go away, but it

Re: [Xen-devel] VMI: singlestep event not received

2019-05-08 Thread Mathieu Tarral
Le jeudi, avril 25, 2019 9:34 PM, Andrew Cooper a écrit : > On 25/04/2019 00:43, Mathieu Tarral wrote: > > > On Wednesday 24 April 2019 14:00, Andrew Cooper andrew.coop...@citrix.com > > wrote: > > > > > On 23/04/2019 22:59, Mathieu Tarral wrote: > > >

Re: [Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-07 Thread Mathieu Tarral
Le lundi, mai 6, 2019 7:07 PM, Andrew Cooper a écrit : > There is a lot in here. I wanted to gather enough data before making a bug report on such a complicated issue. > As for your BSOD analysis, the first thing to be aware of is that Double > Fault is not necessarily precise, which means y

[Xen-devel] [VMI] Possible race-condition in altp2m APIs

2019-05-06 Thread Mathieu Tarral
ately debug it, with your help of course. Thank you, Mathieu Tarral ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] Improve build system for offline environments

2019-05-03 Thread Mathieu Tarral
quot;offline environment" friendly ? -> How much of these external files could be installed via the distribution, and linked with Xen instead of downloading a .tar.gz source ? For example I have newlib-dev in my debian repositories. Do I really have to download the o

Re: [Xen-devel] VMI: singlestep event not received

2019-04-24 Thread Mathieu Tarral
On Wednesday 24 April 2019 17:35, Tamas K Lengyel wrote: > On Sun, Apr 21, 2019 at 4:27 PM Mathieu Tarral > mathieu.tar...@protonmail.com wrote: > > > Hi, > > I'm having an issue with Xen's VMI subsystem. > > My goal is to build a small debugg

Re: [Xen-devel] VMI: singlestep event not received

2019-04-24 Thread Mathieu Tarral
On Wednesday 24 April 2019 17:38, Tamas K Lengyel wrote: > On Wed, Apr 24, 2019 at 9:34 AM Razvan Cojocaru > rcojoc...@bitdefender.com wrote: > > > On 4/24/19 6:25 PM, Tamas K Lengyel wrote: > > > > > On Mon, Apr 22, 2019 at 6:00 PM Mathieu Tarral > > &

Re: [Xen-devel] VMI: singlestep event not received

2019-04-24 Thread Mathieu Tarral
On Wednesday 24 April 2019 16:27, Nuernberger, Stefan wrote: > On Sun, 2019-04-21 at 22:26 +0000, Mathieu Tarral wrote: > > > Hi, > > I'm having an issue with Xen's VMI subsystem. > > My goal is to build a small debugger that can break at an > > applicatio

Re: [Xen-devel] VMI: singlestep event not received

2019-04-23 Thread Mathieu Tarral
> Also, it's not the first time i'm having this bug, > I was already working on Xen 6 months before: > https://github.com/libvmi/libvmi/issues/636 I forgot to add that I was running Xen bare-metal at that time, so yes, the bug is reproducible without KVM and nested virtualization. ___

Re: [Xen-devel] VMI: singlestep event not received

2019-04-23 Thread Mathieu Tarral
On Monday 22 April 2019 12:28, Andrew Cooper wrote: > On 21/04/2019 23:26, Mathieu Tarral wrote: > > Answering out of order. > > > I discussed this bug on IRC with andyhpp, who convinced me to move the > > discussion on the mailing list. > > Apparently the singl

Re: [Xen-devel] VMI: singlestep event not received

2019-04-22 Thread Mathieu Tarral
On Monday 22 April 2019 11:22, Razvan Cojocaru wrote: > On 4/22/19 1:26 AM, Mathieu Tarral wrote: > > > The problem is that RtlUserThreadStart is paged-out, so i'm trying to reach > > it via singlestepping as a backup solution. > > FWIW, you can just us

[Xen-devel] VMI: singlestep event not received

2019-04-21 Thread Mathieu Tarral
ssed this bug on IRC with andyhpp, who convinced me to move the discussion on the mailing list. Apparently the singlestepping in Xen was in a poor quality state because of multiple layers of refactoring. If you have any ideas, please share. Thanks

[Xen-devel] xen source configured with --enable-systemd installs xencommons

2019-03-13 Thread Mathieu Tarral
Hi, I think I found a small issue today in Xen's build system. When you configure the build with --enable-systemd, and generate a debian package with make debball, the xencommons init script will be installed alongside the new systemd service units. The problem is that it is not supposed to be e

Re: [Xen-devel] Xen stable-4.11 crash when trying to start a VM on fedora 29

2018-12-07 Thread Mathieu Tarral
Hi Jan, > > > Without a full hypervisor log this is going to remain guesswork, but > > > could you check whether "pcid=no" and/or "pv-l1tf=no" on the Xen > > > boot command line help? > > > > [vagrant@localhost ~]$ cat /proc/cmdline > > placeholder root=UUID=f4dcb7e6-e430-4b8b-8e83-5deb3522c88b r

[Xen-devel] Xen stable-4.11 crash when trying to start a VM on fedora 29

2018-11-28 Thread Mathieu Tarral
is 2 general protection faults: https://gist.github.com/Wenzel/763b17fae773f7dd6b1d8b303187f3c0 Can anyone look into this and tell me if this is a bug in Xen ? Thanks ! -- Mathieu Tarral Sent with ProtonMail Secure Email. ___ Xen-devel mailing list

Re: [Xen-devel] Invalid OEM Table ID: Length cannot exceed 8 characters

2018-11-27 Thread Mathieu Tarral
> The "problem" presumably is a newer, more picky iasl. The problem > being with SeaBIOS you'd generally be better off asking the SeaBIOS > folks. Looking at 1.12.0 though I see that they've addressed the > issue already, so you should be able to find a respective commit in > their tree. I have gi

[Xen-devel] Invalid OEM Table ID: Length cannot exceed 8 characters

2018-11-26 Thread Mathieu Tarral
dt-misc.dsl.i - 102 lines, 2567 bytes, 35 keywords Listing File: out/src/fw/ssdt-misc.lst - 8393 bytes Hex Dump: out/src/fw/ssdt-misc.hex - 4096 bytes I tried to fix by removing 2 characters, but the file out/src/fw/ssdt-misc.dsl.i is automatically regenerated. Can anyone explain the problem

[Xen-devel] Vagrant boxes for Xen developers

2018-07-05 Thread Mathieu Tarral
Best regards, ​-- Mathieu Tarral Sent with ProtonMail Secure Email.​ ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] Debug guest state (VMI)

2018-05-28 Thread Mathieu Tarral
ins where are the log file and how to debug the guests and dom0 ? I'm using Xen 4.9.2 on Ubuntu Bionic. Thanks for your help ! ​-- Mathieu Tarral Sent with ProtonMail Secure Email.​ ___ Xen-devel mailing list Xen-devel@lists.xe

[Xen-devel] [BUG] Xen failed to emulate lfence instruction

2018-04-27 Thread Mathieu Tarral
/issues/11 -> could it be possible that the Xen emulator failed on lfence, even though it's a quite common instruction ? Platform: Ubuntu 16.04 LTS (Xen 4.6) Thanks ! ​-- Mathieu Tarral Sent with ProtonMail Secure Email.​ ___ Xen-devel mail