* Stock 2.6.27 kernel hanging on WP test
@ 2009-10-08 22:32 Jeremy Fitzhardinge
2009-10-08 22:56 ` Jeremy Fitzhardinge
2009-10-13 12:18 ` Gianluca Guida
0 siblings, 2 replies; 5+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-08 22:32 UTC (permalink / raw)
To: Keir Fraser; +Cc: Xen-devel
When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
hanging forever in the WP test. I'm running current xen-unstable
1d7221667204.
Another kernel (I think non-PAE this time) complained that the WP test
failed (ie, supervisor was allowed to write to a RO page without fault).
The previous version of Xen I tried (only a couple of days ago), crashed
with "(XEN) Assertion 'v->arch.paging.mode' failed at multi.c:4069" when
starting the same domain, but I'm not sure if it got to the same point.
J
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stock 2.6.27 kernel hanging on WP test
2009-10-08 22:32 Stock 2.6.27 kernel hanging on WP test Jeremy Fitzhardinge
@ 2009-10-08 22:56 ` Jeremy Fitzhardinge
2009-10-12 16:14 ` Jeremy Fitzhardinge
2009-10-13 12:18 ` Gianluca Guida
1 sibling, 1 reply; 5+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-08 22:56 UTC (permalink / raw)
To: Keir Fraser; +Cc: Xen-devel, Tim Deegan
On 10/08/09 15:32, Jeremy Fitzhardinge wrote:
> When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
> hanging forever in the WP test. I'm running current xen-unstable
> 1d7221667204.
>
> Another kernel (I think non-PAE this time) complained that the WP test
> failed (ie, supervisor was allowed to write to a RO page without fault).
>
> The previous version of Xen I tried (only a couple of days ago), crashed
> with "(XEN) Assertion 'v->arch.paging.mode' failed at multi.c:4069" when
> starting the same domain, but I'm not sure if it got to the same point.
>
Oh, I guess I should have pointed out this is an HVM domain. PV is no
problem.
A 64-bit HVM Linux guest seems to die very quickly, but I'm not sure
where its dying (I don't think 64-bit kernels bother testing for WP, so
it could be another crash with the same root cause).
J
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stock 2.6.27 kernel hanging on WP test
2009-10-08 22:56 ` Jeremy Fitzhardinge
@ 2009-10-12 16:14 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 5+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-12 16:14 UTC (permalink / raw)
To: Keir Fraser; +Cc: Xen-devel, Tim Deegan
On 10/08/09 15:56, Jeremy Fitzhardinge wrote:
> On 10/08/09 15:32, Jeremy Fitzhardinge wrote:
>
>> When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
>> hanging forever in the WP test. I'm running current xen-unstable
>> 1d7221667204.
>>
>> Another kernel (I think non-PAE this time) complained that the WP test
>> failed (ie, supervisor was allowed to write to a RO page without fault).
>>
>> The previous version of Xen I tried (only a couple of days ago), crashed
>> with "(XEN) Assertion 'v->arch.paging.mode' failed at multi.c:4069" when
>> starting the same domain, but I'm not sure if it got to the same point.
>>
>>
> Oh, I guess I should have pointed out this is an HVM domain. PV is no
> problem.
>
> A 64-bit HVM Linux guest seems to die very quickly, but I'm not sure
> where its dying (I don't think 64-bit kernels bother testing for WP, so
> it could be another crash with the same root cause).
>
Any thoughts about this? When I look at the domain context with
debug-key 'd', the eip is on the write to the RO page doing the WP test,
and the VCPU is stuck in run state. It looks like the Xen fault handler
is endlessly restarting the instruction rather than injecting a guest fault.
Presumably that path must mostly work or not much would run at all. The
only thing that occurs to me is that some heuristic is putting Xen down
some unusual path that has a bug in it. The fault is a bit unusual
because it's a deliberate write to a RO fixmap slot, high in the 32-bit
address space.
J
^ permalink raw reply [flat|nested] 5+ messages in thread
* Stock 2.6.27 kernel hanging on WP test
2009-10-08 22:32 Stock 2.6.27 kernel hanging on WP test Jeremy Fitzhardinge
2009-10-08 22:56 ` Jeremy Fitzhardinge
@ 2009-10-13 12:18 ` Gianluca Guida
2009-10-13 12:24 ` Gianluca Guida
1 sibling, 1 reply; 5+ messages in thread
From: Gianluca Guida @ 2009-10-13 12:18 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: Xen-devel, Keir Fraser
Jeremy Fitzhardinge writes:
> When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
> hanging forever in the WP test. I'm running current xen-unstable
> 1d7221667204.
>
> Another kernel (I think non-PAE this time) complained that the WP test
> failed (ie, supervisor was allowed to write to a RO page without fault).
Hm. Given what you say in the follow-up emails, this looks like a
pretty huge bug. Something must be very wrong since we're not
distinguishing between user-driven faults and actual shadow bugs. *OR*
we're failing injecting the fault (very unlikely).
>
> The previous version of Xen I tried (only a couple of days ago), crashed
> with "(XEN) Assertion 'v->arch.paging.mode' failed at multi.c:4069" when
> starting the same domain, but I'm not sure if it got to the same point.
This seems more like a race at domain creation.
Gianluca
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Stock 2.6.27 kernel hanging on WP test
2009-10-13 12:18 ` Gianluca Guida
@ 2009-10-13 12:24 ` Gianluca Guida
0 siblings, 0 replies; 5+ messages in thread
From: Gianluca Guida @ 2009-10-13 12:24 UTC (permalink / raw)
To: Gianluca Guida; +Cc: Jeremy Fitzhardinge, Xen-devel, Keir Fraser
Gianluca Guida writes:
> Jeremy Fitzhardinge writes:
> > When I boot Fedora 9 with a stock 2.7.26.25 32-bit-PAE kernel, it's
> > hanging forever in the WP test. I'm running current xen-unstable
> > 1d7221667204.
> >
> > Another kernel (I think non-PAE this time) complained that the WP test
> > failed (ie, supervisor was allowed to write to a RO page without fault).
>
> Hm. Given what you say in the follow-up emails, this looks like a
> pretty huge bug. Something must be very wrong since we're not
> distinguishing between user-driven faults and actual shadow bugs. *OR*
Ehr. I meant shadow *faults*. It is a pun anyway.
Gianluca
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-13 12:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 22:32 Stock 2.6.27 kernel hanging on WP test Jeremy Fitzhardinge
2009-10-08 22:56 ` Jeremy Fitzhardinge
2009-10-12 16:14 ` Jeremy Fitzhardinge
2009-10-13 12:18 ` Gianluca Guida
2009-10-13 12:24 ` Gianluca Guida
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.