From: ebiederm@xmission.com (Eric W. Biederman)
To: Vivek Goyal <vgoyal@redhat.com>
Cc: "Heber, Troy" <troy.heber@hp.com>,
Kexec Mailing List <kexec@lists.infradead.org>,
"Loftin, Terry" <terry.loftin@hp.com>,
Bob Montgomery <bob.montgomery@hp.com>
Subject: Re: Trying to test my gart/iommu vmcore problem on RH
Date: Wed, 20 Aug 2008 21:50:21 -0700 [thread overview]
Message-ID: <m1wsib3raq.fsf@frodo.ebiederm.org> (raw)
In-Reply-To: <20080819134748.GC18972@redhat.com> (Vivek Goyal's message of "Tue, 19 Aug 2008 09:47:48 -0400")
Vivek Goyal <vgoyal@redhat.com> writes:
> Hi Bob,
>
> I am CCing this thread to kexec mailing list. It is good to discuss
> the issue there to get the ideas.
>
> I will summarize the discussion so far.
>
> Bob is running into MCA in second kernel in kdump. Reason seems to be
> that second kernel is trying to access the memory area marked as
> GART aperture (by first kernel). Because GART aperture does not appear
> as "reserved" or something else in /proc/iomem (in case kernel has
> overridden the BIOS settings and has reserved a memory area), second
> kernel thinks it is a valid RAM area and tries to dump it and runs into
> issues.
>
> Few options Bob is considering are.
>
> - Update "e820" memory map to mark GART aperture as reserved, which will
> be reflected in /proc/iomem also. Kexec-tools will not pass reserved
> area to second kernel and it will not try to dump this area.
>
>
> - Mark GART aperture as "GART aperture" in /proc/iomem and modify
> kexec-tools to filter out this memroy from memory map passed to second
> kernel.
We should definitely reserve the resource, and it should definitely
show up in /proc/iomem.
> - Disable cpu side GART access in first kernel so that even if second
> kernel tries to access it, it does not run into isseus.
This is an interesting one. When I looked at this years ago I had the
feeling that if we did this we could actually always use a 2G Aperture
at a fixed address, and require going through the gart for all of lowmem.
But that is a little more than we are talking about.
Eric
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2008-08-21 4:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1218138156.3361.386.camel@amd.troyhebe>
[not found] ` <20080808014024.GB3911@redhat.com>
[not found] ` <1218750773.3361.425.camel@amd.troyhebe>
[not found] ` <20080815131359.GA10208@redhat.com>
[not found] ` <1219081942.3361.436.camel@amd.troyhebe>
2008-08-19 13:47 ` Trying to test my gart/iommu vmcore problem on RH Vivek Goyal
2008-08-21 4:50 ` Eric W. Biederman [this message]
2008-08-22 22:05 ` Bob Montgomery
2008-08-22 23:48 ` Eric W. Biederman
2008-08-25 13:16 ` Vivek Goyal
2008-08-25 13:46 ` Eric W. Biederman
2008-09-04 23:28 ` Bob Montgomery
2008-09-05 1:46 ` Eric W. Biederman
2008-09-05 15:12 ` Vivek Goyal
2008-09-09 21:12 ` Bob Montgomery
2008-09-22 23:31 ` Bob Montgomery
2008-09-23 2:29 ` Eric W. Biederman
2008-09-23 19:12 ` Bob Montgomery
2008-08-25 13:02 ` Vivek Goyal
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=m1wsib3raq.fsf@frodo.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=bob.montgomery@hp.com \
--cc=kexec@lists.infradead.org \
--cc=terry.loftin@hp.com \
--cc=troy.heber@hp.com \
--cc=vgoyal@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox