All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Andrew Lyon <andrew.lyon@gmail.com>
Cc: bderzhavets@yahoo.com, Xen-devel <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it
Date: Wed, 11 Mar 2009 18:21:22 -0700	[thread overview]
Message-ID: <49B86392.1000502@goop.org> (raw)
In-Reply-To: <f4527be0903111213p75487cc9nb6df3b2d0aac1841@mail.gmail.com>

Andrew Lyon wrote:
> On Wed, Mar 11, 2009 at 4:27 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
>   
>> It's not so important for me. The important thing is:-
>>
>> CentOS 5.2 PV DomU may be loaded only the very first time under Suse's
>> 2.6.27 xen-ified kernel & Xen Unstable ( the most recent). Attempt to
>> shutdown and start it again gives VBD cannot be connected . Hotplug scripts
>> not working. That's a core issue, same behavior as under 2.6.29-rc7 (with
>> XSAVE patch ). Kernel doesn't seem to be a root cause.
>> I believe Xen unstable is broken in some way.
>>
>> Boris.
>>     
>
> This sounds very much like the problem I described in thread subject
> "domain id number on xen unstable", I maintain my own 2.6.27 dom0
> kernel using opensuse Xen patches which I rebase to apply to vanilla
> without the many other patches opensuse usually applies to the kernel
> tree, so from a Xen point of view I am using a very similar kernel to
> yours, I found that I could start a hvm but after shutting it down
> attempting to restart it would fail or hang, sometimes I got hotplug
> error that vbd could not be connected.
>
> The script that has problems on my system is xen-hotplug-cleanup , the
> first time it is run it puts a lock in /var/run/xen-hotplug and never
> removes it, so the next time the script runs it blocks waiting for the
> lock and eventually times out.
>
> The offending line in the script is:
>
> vm=$(xenstore-read "/local/domain/${path_array[2]}/vm")
>
> putting a echo immediately after that line shows that nothing after it
> is executed, which is why the lock is not released.
>
> replacing xen-hotplug-cleanup and xen-hotplug-common with the ones
> from 3.3.1 seems to help, but after starting and stopping a few vm's
> the entire system reboots, so I think some objects are not being
> cleaned up, not surprising really, can hardly expect scripts to work
> with the wrong version of Xen.
>
> This problem has got me stuck into a nasty corner, only Xen unstable
> can fit our virtualization requirements (need viridian for stable
> windows smp), but the Xensource kernel is too old for our hardware.
>
> I am going to put some serious effort into debugging this in the next few days.
>   

Change 19242:226031d62fc5 is the last one which works for me.  I haven't 
managed to bisect which specific change the problem starts occuring in, 
but 19250:b3774712e654 seems like a good starting point.

    J
> Andy
>
>   
>>
>> --- On Wed, 3/11/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>>
>> From: Jeremy Fitzhardinge <jeremy@goop.org>
>> Subject: Re: [Xen-devel] Re: [PATCH] xen: mask XSAVE in cpuid since we don't
>> allow guests to use it
>> To: bderzhavets@yahoo.com
>> Cc: "Xen-devel" <xen-devel@lists.xensource.com>, "Keir Fraser"
>> <keir.fraser@eu.citrix.com>
>> Date: Wednesday, March 11, 2009, 12:09 PM
>>
>> Boris Derzhavets wrote:
>>     
>>> Blktap helps out for multiple CentOS PV DomU restarts (with image on FS)
>>>       
>> under  Suse's 2.6.27 xen-ified kernel & Xen Unstable ( the most recent).
>>     
>>> But it seems not implemented yet for 2.6.29-rc7
>>>
>>>       
>> So your conclusion is that there's a regression in the tools stack when
>> using blkback rather than blktab?
>>
>>    J
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>>     
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>   

  reply	other threads:[~2009-03-12  1:21 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08  5:31 [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it Jeremy Fitzhardinge
2009-03-08  8:52 ` Boris Derzhavets
2009-03-08  9:13 ` Keir Fraser
2009-03-09 11:31   ` [PATCH] xen: mask XSAVE in cpuid since we don'tallow " Jan Beulich
2009-03-09 11:45     ` Keir Fraser
2009-03-09 11:18 ` [PATCH] xen: mask XSAVE in cpuid since we don't allow " Boris Derzhavets
2009-03-09 11:26   ` Keir Fraser
2009-03-09 14:31     ` Boris Derzhavets
2009-03-10 22:24       ` Boris Derzhavets
2009-03-11  0:29         ` Jeremy Fitzhardinge
2009-03-11  7:26           ` Boris Derzhavets
2009-03-11  8:40             ` Boris Derzhavets
2009-03-11  9:09               ` Attempt to install SNV_106 under Suse's 2.6.27 xen-ified kernel & Xen Unstable Boris Derzhavets
2009-03-11 11:36               ` Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it Boris Derzhavets
2009-03-11 16:09                 ` Jeremy Fitzhardinge
2009-03-11 16:27                   ` Boris Derzhavets
2009-03-11 16:50                     ` Jeremy Fitzhardinge
2009-03-11 16:57                       ` Boris Derzhavets
2009-03-11 17:04                         ` Jeremy Fitzhardinge
2009-03-11 17:21                           ` Boris Derzhavets
2009-03-11 17:43                           ` Boris Derzhavets
2009-03-11 17:47                             ` Jeremy Fitzhardinge
2009-03-11 19:49                               ` Boris Derzhavets
2009-03-12  0:41                                 ` Jeremy Fitzhardinge
2009-03-13 14:39                           ` Boris Derzhavets
2009-03-13 15:20                             ` Jeremy Fitzhardinge
2009-03-13 15:46                               ` Hot plug scripts not working c/s 19355 (was: Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it) Dan Magenheimer
2009-03-13 16:05                                 ` Hot plug scripts not working c/s 19355 Jeremy Fitzhardinge
2009-03-13 16:59                                 ` Hot plug scripts not working c/s 19355 (was: Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it) Keir Fraser
2009-03-13 17:09                                   ` Jeremy Fitzhardinge
2009-03-13 18:15                                     ` Boris Derzhavets
2009-03-13 18:49                                     ` Andrew Lyon
2009-03-13 19:08                                       ` Boris Derzhavets
2009-03-16 17:17                                     ` Dan Magenheimer
2009-03-16 18:00                                       ` Hot plug scripts not working c/s 19355 Jeremy Fitzhardinge
2009-03-11 19:13                     ` Re: [PATCH] xen: mask XSAVE in cpuid since we don't allow guests to use it Andrew Lyon
2009-03-12  1:21                       ` Jeremy Fitzhardinge [this message]
2009-03-12  1:54                         ` Jeremy Fitzhardinge
2009-03-12  8:48                           ` Boris Derzhavets
2009-03-12  8:55                       ` Andrew Lyon
2009-03-12  9:34                         ` Keir Fraser
2009-03-12 12:36                           ` Boris Derzhavets
2009-03-09 11:26 ` [PATCH] xen: mask XSAVE in cpuid since we don't allowguests " Jan Beulich
2009-03-09 11:29   ` Keir Fraser
2009-03-09 16:40     ` Jeremy Fitzhardinge
2009-03-09 17:54       ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B86392.1000502@goop.org \
    --to=jeremy@goop.org \
    --cc=andrew.lyon@gmail.com \
    --cc=bderzhavets@yahoo.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.