From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.xensource.com
Subject: Re: What is the current state of Dom0 kernel support? / crash with 2.6.31-rc5 32bit PAE
Date: Tue, 11 Aug 2009 13:12:41 -0700 [thread overview]
Message-ID: <4A81D0B9.2000902@goop.org> (raw)
In-Reply-To: <20090811195844.GJ24960@edu.joroinen.fi>
On 08/11/09 12:58, Pasi Kärkkäinen wrote:
> On Mon, Aug 10, 2009 at 10:27:50PM +0300, Pasi Kärkkäinen wrote:
>
>> On Mon, Aug 10, 2009 at 09:52:35AM -0700, Jeremy Fitzhardinge wrote:
>>
>>> On 08/10/09 09:43, Pasi Kärkkäinen wrote:
>>>
>>>> Did I mess up something here or was this patch against some other tree than
>>>> rebase/master?
>>>>
>>>>
>>> No, it needed another change in there. rebase/master now has that fix
>>> in it, but I'm seeing other interrupt-related strangeness which I still
>>> don't understand. I'd be interested in any reports you have about
>>> current rebase/master.
>>>
>>>
>> I just updated rebase/master and rebuilt (now 2.6.31-rc5).
>>
>> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/pv_ops-dom0-log-11-rebase-master-with-highpte.txt
>>
>> (gdb) list *0xc058c93f
>> 0xc058c93f is in active_evtchns (drivers/xen/events.c:237).
>> 232
>> 233 static inline unsigned long active_evtchns(unsigned int cpu,
>> 234 struct shared_info *sh,
>> 235 unsigned int idx)
>> 236 {
>> 237 return (sh->evtchn_pending[idx] &
>> 238 cpu_evtchn_mask(cpu)[idx] &
>> 239 ~sh->evtchn_mask[idx]);
>> 240 }
>> 241
>> (gdb)
>>
>>
>>
>
> I just added some debug printk()'s to the very beginning of the function and found out this:
>
> DEBUG active_evtchns: cpu: 0, sh: 4117237760, idx: 0
> DEBUG sh->evtchn_pending: 4117239808, sh->evtchn_mask: 4117239936
> DEBUG cpu_evtchn_mask(cpu): 0
>
> so.. looks like the buggy piece of code (null pointer dereference) is: cpu_evtchn_mask(cpu)[idx]
>
Yes; something is trying to use that stuff before the array is
allocated. I'm trying to work out a fix now, and I wonder if its
related to some (more subtle) interrupt-related problems I'm seeing.
J
next prev parent reply other threads:[~2009-08-11 20:12 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 9:32 Xen Source Code Overview Document Stephen Spector
2009-06-18 22:35 ` What is the current state of Dom0 kernel support? Anthony Wright
2009-06-22 4:48 ` Thiago Camargo Martins Cordeiro
2009-06-22 9:21 ` Dennis Krul
2009-06-26 18:04 ` Jeremy Fitzhardinge
2009-06-26 18:21 ` Tim Post
2009-06-26 18:29 ` Jeremy Fitzhardinge
2009-07-08 22:14 ` Pasi Kärkkäinen
2009-07-09 0:23 ` Jeremy Fitzhardinge
2009-07-09 8:58 ` M A Young
2009-07-09 22:24 ` Pasi Kärkkäinen
2009-07-15 8:22 ` Pasi Kärkkäinen
2009-07-21 13:03 ` What is the current state of Dom0 kernel support? / crash Pasi Kärkkäinen
2009-07-22 19:14 ` Jeremy Fitzhardinge
2009-07-22 19:35 ` Pasi Kärkkäinen
2009-07-22 19:55 ` Jeremy Fitzhardinge
2009-07-22 19:58 ` Pasi Kärkkäinen
2009-07-22 19:57 ` Pasi Kärkkäinen
2009-07-22 20:25 ` Jeremy Fitzhardinge
2009-07-22 20:53 ` Pasi Kärkkäinen
2009-07-29 20:48 ` Jeremy Fitzhardinge
2009-07-30 8:48 ` Pasi Kärkkäinen
2009-07-30 11:35 ` Pasi Kärkkäinen
2009-08-10 16:43 ` Pasi Kärkkäinen
2009-08-10 16:52 ` Jeremy Fitzhardinge
2009-08-10 19:27 ` Pasi Kärkkäinen
2009-08-11 19:58 ` What is the current state of Dom0 kernel support? / crash with 2.6.31-rc5 32bit PAE Pasi Kärkkäinen
2009-08-11 20:12 ` Jeremy Fitzhardinge [this message]
2009-08-13 20:17 ` Jeremy Fitzhardinge
2009-08-14 14:15 ` Pasi Kärkkäinen
2009-08-17 15:04 ` What is the current state of Dom0 kernel support? / 2.6.31-rc5 32bit PAE works now! Pasi Kärkkäinen
2009-08-17 15:26 ` Pasi Kärkkäinen
2009-08-17 17:51 ` Jeremy Fitzhardinge
2009-07-23 8:22 ` What is the current state of Dom0 kernel support? Anthony Wright
2009-07-23 8:31 ` Pasi Kärkkäinen
2009-07-23 8:37 ` Keir Fraser
2009-07-24 2:55 ` Simon Horman
2009-07-09 10:11 ` Xen Source Code Overview Document Zhigang Wang
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=4A81D0B9.2000902@goop.org \
--to=jeremy@goop.org \
--cc=pasik@iki.fi \
--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.