Erik Hjelmås
2010-Sep-19 07:17 UTC
[Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
Hi, (forgive me if this should be sent to a Debian list since the problem might be Debian specific) my server running xen 4.0.1 and Debian Squeeze (with all the xen 4.0.1 debian packages, everything installed using aptitude) was working fine for PV and HVM guest until an aptitude upgrade on Monday, and Ive been spending the last couple of days trying to figure this out: - I boot my server and as long as a stick with PV guests Im fine, if I try to start a HVM guest, the HVM guest will not boot and /dev/xen/evtchn disappears, and any PV guest I start now will just take off with 100% CPU in other words: zimbu:/home/erikh# ls -l /dev/xen/ total 0 crw------- 1 root root 10, 57 Sep 17 14:32 evtchn crw------- 1 root root 10, 62 Sep 17 14:32 gntdev zimbu:/home/erikh# xm create /opt/mln/projects/root/vm32/cube_xen.hvm Using config file "/opt/mln/projects/root/vm32/cube_xen.hvm". Error: Domain ''cube.vm32'' does not exist. zimbu:/home/erikh# ls -l /dev/xen/ total 0 crw------- 1 root root 10, 62 Sep 17 14:32 gntdev zimbu:/home/erikh# cat /var/log/xen/qemu-dm-cube.vm32.log domid: 5 -c config qemu network with xen bridge for tap5.0 lan.vm32 Strip off blktap sub-type prefix to /dev/mln-images/cube.vm32 (drv ''aio'') Watching /local/domain/0/device-model/5/logdirty/cmd Watching /local/domain/0/device-model/5/command qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 9d1d2624-9d17-c913-9f27-ce4b705f47c7 Time offset set 0 ERROR Internal error: Could not open event channel interface (22 = Invalid argument) open: Invalid argument Unable to find x86 CPU definition zimbu:/home/erikh# dpkg -l | grep xen libxenstore3.0 4.0.1-1 linux-image-2.6.32-5-xen-amd64 2.6.32-21 xen-hypervisor-4.0-amd64 4.0.1-1 xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 xen-qemu-dm-4.0 4.0.1-1 xen-tools 4.2~rc1-1 xen-utils-4.0 4.0.1-1 xen-utils-common 4.0.0-1 xenstore-utils 4.0.1-1 zimbu:/home/erikh# any help greatly appreciated... /Erik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Sep-20 02:43 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
2010/9/19 Erik Hjelmås <erik.hjelmas@gmail.com>:> Hi, > > (forgive me if this should be sent to a Debian list since the problem might > be Debian specific)You should definitely ask there as well.> > my server running xen 4.0.1 and Debian Squeeze (with all the xen 4.0.1 > debian packages, everything installed using aptitude) was working fine for > PV and HVM guest until an aptitude upgrade on Monday,Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)?> zimbu:/home/erikh# dpkg -l | grep xen > libxenstore3.0 4.0.1-1 > linux-image-2.6.32-5-xen-amd64 2.6.32-21 > xen-hypervisor-4.0-amd64 4.0.1-1 > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 > xen-qemu-dm-4.0 4.0.1-1 > xen-tools 4.2~rc1-1 > xen-utils-4.0 4.0.1-1 > xen-utils-common 4.0.0-1 > xenstore-utils 4.0.1-1AFAIK you usually need a matching version of hypervisor and tools. Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That might be the cause. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Sep-20 08:34 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
2010/9/20 Erik Hjelmås <erik.hjelmas@gmail.com>:> > Thanks for the reply Fajar, > >> > debian packages, everything installed using aptitude) was working fine >> > for >> > PV and HVM guest until an aptitude upgrade on Monday, >> >> Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? > > it was also 4.0.1 but a release candidate (RC6):In that case, the easy way is to downgrade using the working package :) I''d start with downgrading the kernel first, then if doesn''t work, start with other packages. Or compile yourself from source. I have a xen 4.0.1 environment, which (for most part) works as expected, and not having your problems. So I''d suggest you also ask Debian guys. -- Fajar> > zimbu:/var/cache/apt/archives# ls -ltr *xen-hypervisor* > -rw-r--r-- 1 root root 687128 Aug 17 23:32 > xen-hypervisor-4.0-amd64_4.0.1~rc6-1_amd64.deb > -rw-r--r-- 1 root root 687022 Sep 3 18:32 > xen-hypervisor-4.0-amd64_4.0.1-1_amd64.deb > zimbu:/var/cache/apt/archives# > >> >> > zimbu:/home/erikh# dpkg -l | grep xen >> > libxenstore3.0 4.0.1-1 >> > linux-image-2.6.32-5-xen-amd64 2.6.32-21 >> > xen-hypervisor-4.0-amd64 4.0.1-1 >> > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 >> > xen-qemu-dm-4.0 4.0.1-1 >> > xen-tools 4.2~rc1-1 >> > xen-utils-4.0 4.0.1-1 >> > xen-utils-common 4.0.0-1 >> > xenstore-utils 4.0.1-1 >> >> AFAIK you usually need a matching version of hypervisor and tools. >> Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That >> might be the cause. > > yes, I was thinking this as well, but I dont think it applies to the > xen-tools (only to xen, xenstore, and corresponding utils packages) and it > doesnt look like there has been a 4.0.1 version of xen-tools either > http://packages.debian.org/changelogs/pool/main/x/xen-tools/xen-tools_4.2~rc1-1/changelog > > /Erik >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Sep-20 22:59 UTC
RE: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
> On Mon, 20 Sep 2010 15:34:27 +0700 <list@fajar.net> wrote: > 2010/9/20 Erik Hjelmås : >> >> Thanks for the reply Fajar, >> >>>> debian packages, everything installed using aptitude) was working fine >>>> for >>>> PV and HVM guest until an aptitude upgrade on Monday, >>> >>> Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? >> >> it was also 4.0.1 but a release candidate (RC6): > > In that case, the easy way is to downgrade using the working package :) > I''d start with downgrading the kernel first, then if doesn''t work, > start with other packages. Or compile yourself from source. > > I have a xen 4.0.1 environment, which (for most part) works as > expected, and not having your problems. So I''d suggest you also ask > Debian guys. >I believe Erik has on the debian-user list at: http://lists.debian.org/debian-user/2010/09/msg01507.html With no replies, perhaps the debian-devel would be more appropriate? -M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Sep-21 11:36 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
On Mon, Sep 20, 2010 at 09:43:00AM +0700, Fajar A. Nugraha wrote:> 2010/9/19 Erik Hjelmås <erik.hjelmas@gmail.com>: > > Hi, > > > > (forgive me if this should be sent to a Debian list since the problem might > > be Debian specific) > > You should definitely ask there as well. > > > > > my server running xen 4.0.1 and Debian Squeeze (with all the xen 4.0.1 > > debian packages, everything installed using aptitude) was working fine for > > PV and HVM guest until an aptitude upgrade on Monday, > > Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? > > > > zimbu:/home/erikh# dpkg -l | grep xen > > libxenstore3.0 4.0.1-1 > > linux-image-2.6.32-5-xen-amd64 2.6.32-21 > > xen-hypervisor-4.0-amd64 4.0.1-1 > > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 > > xen-qemu-dm-4.0 4.0.1-1 > > xen-tools 4.2~rc1-1 > > xen-utils-4.0 4.0.1-1 > > xen-utils-common 4.0.0-1 > > xenstore-utils 4.0.1-1 > > AFAIK you usually need a matching version of hypervisor and tools. > Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That > might be the cause. >Note that "xen-tools" is the thirdparty management package, it''s *not* part of Xen. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Erik Hjelmås
2010-Sep-22 03:41 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
2010/9/20 Fajar A. Nugraha <list@fajar.net>> 2010/9/20 Erik Hjelmås <erik.hjelmas@gmail.com>: > > > > Thanks for the reply Fajar, > > > >> > debian packages, everything installed using aptitude) was working fine > >> > for > >> > PV and HVM guest until an aptitude upgrade on Monday, > >> > >> Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? > > > > it was also 4.0.1 but a release candidate (RC6): > > In that case, the easy way is to downgrade using the working package :) > I''d start with downgrading the kernel first, then if doesn''t work, > start with other packages. Or compile yourself from source. >I had only attempted downgrading xen last week, yesterday I started downgrading DomO kernels from http://snapshot.debian.org/archive/debian/20100812T210958Z/pool/main/l/linux-2.6/ and downgrading to 2.6.32-20 did not help, 2.6.32-19 did not help, but finally with 2.6.32-18 from july the problem disappeared. I think this is very strange, but I have to keep the server running this way until Monday, then I will try to recreate the error and potentially file a bug report at Debian. btw with this kernel, there''s no gntdev in /dev/xen : erikh@zimbu:~$ ls -l /dev/xen/ total 0 crw------- 1 root root 10, 57 Sep 21 05:44 evtchn /Erik> > I have a xen 4.0.1 environment, which (for most part) works as > expected, and not having your problems. So I''d suggest you also ask > Debian guys. > > -- > Fajar > > > > > zimbu:/var/cache/apt/archives# ls -ltr *xen-hypervisor* > > -rw-r--r-- 1 root root 687128 Aug 17 23:32 > > xen-hypervisor-4.0-amd64_4.0.1~rc6-1_amd64.deb > > -rw-r--r-- 1 root root 687022 Sep 3 18:32 > > xen-hypervisor-4.0-amd64_4.0.1-1_amd64.deb > > zimbu:/var/cache/apt/archives# > > > >> > >> > zimbu:/home/erikh# dpkg -l | grep xen > >> > libxenstore3.0 4.0.1-1 > >> > linux-image-2.6.32-5-xen-amd64 2.6.32-21 > >> > xen-hypervisor-4.0-amd64 4.0.1-1 > >> > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 > >> > xen-qemu-dm-4.0 4.0.1-1 > >> > xen-tools 4.2~rc1-1 > >> > xen-utils-4.0 4.0.1-1 > >> > xen-utils-common 4.0.0-1 > >> > xenstore-utils 4.0.1-1 > >> > >> AFAIK you usually need a matching version of hypervisor and tools. > >> Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That > >> might be the cause. > > > > yes, I was thinking this as well, but I dont think it applies to the > > xen-tools (only to xen, xenstore, and corresponding utils packages) and > it > > doesnt look like there has been a 4.0.1 version of xen-tools either > > > http://packages.debian.org/changelogs/pool/main/x/xen-tools/xen-tools_4.2~rc1-1/changelog<http://packages.debian.org/changelogs/pool/main/x/xen-tools/xen-tools_4.2%7Erc1-1/changelog> > > > > /Erik > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Sep-22 06:01 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
2010/9/22 Erik Hjelmås <erik.hjelmas@gmail.com>> I had only attempted downgrading xen last week, yesterday I started > downgrading DomO kernels from > > http://snapshot.debian.org/archive/debian/20100812T210958Z/pool/main/l/linux-2.6/ > > and downgrading to 2.6.32-20 did not help, 2.6.32-19 did not help, but > finally with 2.6.32-18 from july the problem disappeared. > >The thing with pv_ops kernel is that it''s under heavy development, so bugs may appear more often. Not to mention it sometimes requires matching xen and kernel combination (or to be more accurate, kernel x needs xen version y or newer)> I think this is very strange, but I have to keep the server running this > way until Monday, then I will try to recreate the error and potentially file > a bug report at Debian. > >If you know what hg/git revision cause the problem and what version works, you could ask in xen-devel. Since it''s Debian package though, you best bet is with Debian guys. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Olivier LAMBERT
2011-Feb-01 13:54 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
Hi, I''ve got the same thing :/ More or less (on latest update, it''s like here : http://lists.debian.org/debian-user/2011/02/msg00020.html ) Did you find any answers ? Regards, Olivier. 2010/9/22 Erik Hjelmås <erik.hjelmas@gmail.com>:> > > 2010/9/20 Fajar A. Nugraha <list@fajar.net> >> >> 2010/9/20 Erik Hjelmås <erik.hjelmas@gmail.com>: >> > >> > Thanks for the reply Fajar, >> > >> >> > debian packages, everything installed using aptitude) was working >> >> > fine >> >> > for >> >> > PV and HVM guest until an aptitude upgrade on Monday, >> >> >> >> Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? >> > >> > it was also 4.0.1 but a release candidate (RC6): >> >> In that case, the easy way is to downgrade using the working package :) >> I''d start with downgrading the kernel first, then if doesn''t work, >> start with other packages. Or compile yourself from source. > > > I had only attempted downgrading xen last week, yesterday I started > downgrading DomO kernels from > http://snapshot.debian.org/archive/debian/20100812T210958Z/pool/main/l/linux-2.6/ > > and downgrading to 2.6.32-20 did not help, 2.6.32-19 did not help, but > finally with 2.6.32-18 from july the problem disappeared. > > I think this is very strange, but I have to keep the server running this way > until Monday, then I will try to recreate the error and potentially file a > bug report at Debian. > > btw with this kernel, there''s no gntdev in /dev/xen : > > erikh@zimbu:~$ ls -l /dev/xen/ > total 0 > crw------- 1 root root 10, 57 Sep 21 05:44 evtchn > > > /Erik > >> >> I have a xen 4.0.1 environment, which (for most part) works as >> expected, and not having your problems. So I''d suggest you also ask >> Debian guys. >> >> -- >> Fajar >> >> > >> > zimbu:/var/cache/apt/archives# ls -ltr *xen-hypervisor* >> > -rw-r--r-- 1 root root 687128 Aug 17 23:32 >> > xen-hypervisor-4.0-amd64_4.0.1~rc6-1_amd64.deb >> > -rw-r--r-- 1 root root 687022 Sep 3 18:32 >> > xen-hypervisor-4.0-amd64_4.0.1-1_amd64.deb >> > zimbu:/var/cache/apt/archives# >> > >> >> >> >> > zimbu:/home/erikh# dpkg -l | grep xen >> >> > libxenstore3.0 4.0.1-1 >> >> > linux-image-2.6.32-5-xen-amd64 2.6.32-21 >> >> > xen-hypervisor-4.0-amd64 4.0.1-1 >> >> > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 >> >> > xen-qemu-dm-4.0 4.0.1-1 >> >> > xen-tools 4.2~rc1-1 >> >> > xen-utils-4.0 4.0.1-1 >> >> > xen-utils-common 4.0.0-1 >> >> > xenstore-utils 4.0.1-1 >> >> >> >> AFAIK you usually need a matching version of hypervisor and tools. >> >> Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That >> >> might be the cause. >> > >> > yes, I was thinking this as well, but I dont think it applies to the >> > xen-tools (only to xen, xenstore, and corresponding utils packages) and >> > it >> > doesnt look like there has been a 4.0.1 version of xen-tools either >> > >> > http://packages.debian.org/changelogs/pool/main/x/xen-tools/xen-tools_4.2~rc1-1/changelog >> > >> > /Erik >> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Olivier Lambert
2011-Feb-24 09:23 UTC
Re: [Xen-users] dev/xen/evtchn disappears, HVM fails, xen 4.0.1-1 Debian Squeeze
Hi, Issue is fixed now, I can confirm it :) Regards, Olivier. 2011/2/24 Erik Hjelmås <erik.hjelmas@gmail.com>:> Hi Olivier, sorry for my late reply, I dont use this email often, I just > heard from Adi K that the issue should be fixed in Xen 4.0.1 in Debian > Squeeze > > I havent tried it out yet, since my server is still in "production" use (I > fixed the issue using a older Dom0 kernel), but Im looking forward to > upgrading everything this summer, > > /Erik, > > 2011/2/1 Olivier LAMBERT <lambert.olivier@gmail.com> >> >> Hi, >> >> I''ve got the same thing :/ More or less (on latest update, it''s like >> here : http://lists.debian.org/debian-user/2011/02/msg00020.html ) >> >> Did you find any answers ? >> >> Regards, >> >> >> Olivier. >> >> 2010/9/22 Erik Hjelmås <erik.hjelmas@gmail.com>: >> > >> > >> > 2010/9/20 Fajar A. Nugraha <list@fajar.net> >> >> >> >> 2010/9/20 Erik Hjelmås <erik.hjelmas@gmail.com>: >> >> > >> >> > Thanks for the reply Fajar, >> >> > >> >> >> > debian packages, everything installed using aptitude) was working >> >> >> > fine >> >> >> > for >> >> >> > PV and HVM guest until an aptitude upgrade on Monday, >> >> >> >> >> >> Was it also 4.0.1, or 4.0.0 (before aptitude upgrade)? >> >> > >> >> > it was also 4.0.1 but a release candidate (RC6): >> >> >> >> In that case, the easy way is to downgrade using the working package :) >> >> I''d start with downgrading the kernel first, then if doesn''t work, >> >> start with other packages. Or compile yourself from source. >> > >> > >> > I had only attempted downgrading xen last week, yesterday I started >> > downgrading DomO kernels from >> > >> > http://snapshot.debian.org/archive/debian/20100812T210958Z/pool/main/l/linux-2.6/ >> > >> > and downgrading to 2.6.32-20 did not help, 2.6.32-19 did not help, but >> > finally with 2.6.32-18 from july the problem disappeared. >> > >> > I think this is very strange, but I have to keep the server running this >> > way >> > until Monday, then I will try to recreate the error and potentially file >> > a >> > bug report at Debian. >> > >> > btw with this kernel, there''s no gntdev in /dev/xen : >> > >> > erikh@zimbu:~$ ls -l /dev/xen/ >> > total 0 >> > crw------- 1 root root 10, 57 Sep 21 05:44 evtchn >> > >> > >> > /Erik >> > >> >> >> >> I have a xen 4.0.1 environment, which (for most part) works as >> >> expected, and not having your problems. So I''d suggest you also ask >> >> Debian guys. >> >> >> >> -- >> >> Fajar >> >> >> >> > >> >> > zimbu:/var/cache/apt/archives# ls -ltr *xen-hypervisor* >> >> > -rw-r--r-- 1 root root 687128 Aug 17 23:32 >> >> > xen-hypervisor-4.0-amd64_4.0.1~rc6-1_amd64.deb >> >> > -rw-r--r-- 1 root root 687022 Sep 3 18:32 >> >> > xen-hypervisor-4.0-amd64_4.0.1-1_amd64.deb >> >> > zimbu:/var/cache/apt/archives# >> >> > >> >> >> >> >> >> > zimbu:/home/erikh# dpkg -l | grep xen >> >> >> > libxenstore3.0 4.0.1-1 >> >> >> > linux-image-2.6.32-5-xen-amd64 2.6.32-21 >> >> >> > xen-hypervisor-4.0-amd64 4.0.1-1 >> >> >> > xen-linux-system-2.6.32-5-xen-amd64 2.6.32-21 >> >> >> > xen-qemu-dm-4.0 4.0.1-1 >> >> >> > xen-tools 4.2~rc1-1 >> >> >> > xen-utils-4.0 4.0.1-1 >> >> >> > xen-utils-common 4.0.0-1 >> >> >> > xenstore-utils 4.0.1-1 >> >> >> >> >> >> AFAIK you usually need a matching version of hypervisor and tools. >> >> >> Your tools version says 4.2~rc1-1, while hypervisor is 4.0.1-1. That >> >> >> might be the cause. >> >> > >> >> > yes, I was thinking this as well, but I dont think it applies to the >> >> > xen-tools (only to xen, xenstore, and corresponding utils packages) >> >> > and >> >> > it >> >> > doesnt look like there has been a 4.0.1 version of xen-tools either >> >> > >> >> > >> >> > http://packages.debian.org/changelogs/pool/main/x/xen-tools/xen-tools_4.2~rc1-1/changelog >> >> > >> >> > /Erik >> >> > >> > >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xensource.com >> > http://lists.xensource.com/xen-users >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users