From: Yinghai Lu <yinghai@kernel.org>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
mingo@elte.hu, rdreier@cisco.com,
Suresh Siddha <suresh.b.siddha@intel.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: kexec boot regression
Date: Tue, 15 Dec 2009 11:44:30 -0800 [thread overview]
Message-ID: <4B27E71E.6020709@kernel.org> (raw)
In-Reply-To: <20091215191129.GQ28252@kernel.dk>
Jens Axboe wrote:
> On Tue, Dec 15 2009, Yinghai Lu wrote:
>> Jens Axboe wrote:
>>> On Tue, Dec 15 2009, Yinghai Lu wrote:
>>>> [ 13.018720] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0x80000000-0x8fffffff] (base 0x80000000)
>>>>
>>>> [ 13.100724] [Firmware Bug]: PCI: MMCONFIG at [mem 0x80000000-0x8fffffff] not reserved in ACPI motherboard resources
>>> On a "normal" non-kexec boot, I get:
>>>
>>> [ 12.173583] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0x80000000-0x8fffffff] (base 0x80000000)
>>> [ 12.184075] PCI: MMCONFIG at [mem 0x80000000-0x8fffffff] reserved in E820
>>> [ 12.216874] PCI: Using configuration type 1 for base access
>>>
>> can you run following scripts in first kernel?
>>
>> cd /sys/firmware/memmap
>> for dir in * ; do
>> start=$(cat $dir/start)
>> end=$(cat $dir/end)
>> type=$(cat $dir/type)
>> printf "%016x-%016x (%s)\n" $start $[ $end +1] "$type" >> /tmp/memmap.txt
>> done
>>
>> and send out /tmp/memmap.txt
>
> Below.
>
>> what is your kexec tools version? could be too old?
>
> It says:
>
> kexec-tools-testing 20080324 released 24th March 2008
>
>
> 0000000000000000-0000000000098800 (System RAM)
> 0000000000098800-00000000000a0000 (reserved)
> 0000000079301000-0000000079303000 (reserved)
> 0000000079303000-0000000079305000 (ACPI Tables)
> 0000000079305000-0000000079310000 (reserved)
> 0000000079310000-0000000079314000 (ACPI Tables)
> 0000000079314000-0000000079319000 (reserved)
> 0000000079319000-0000000079336000 (ACPI Tables)
> 0000000079336000-0000000079358000 (reserved)
> 0000000079358000-0000000079388000 (ACPI Tables)
> 0000000079388000-00000000793c9000 (reserved)
> 00000000793c9000-000000007968f000 (ACPI Tables)
> 00000000000e0000-0000000000100000 (reserved)
> 000000007968f000-00000000796bb000 (reserved)
> 00000000796bb000-00000000799d8000 (ACPI Tables)
> 00000000799d8000-0000000079bd8000 (ACPI Non-volatile Storage)
> 0000000079bd8000-0000000079d8b000 (ACPI Tables)
> 0000000079d8b000-0000000079d8c000 (reserved)
> 0000000079d8c000-0000000079dc8000 (ACPI Tables)
> 0000000079dc8000-0000000079dcb000 (reserved)
> 0000000079dcb000-0000000079e1c000 (ACPI Tables)
> 0000000079e1c000-0000000079e87000 (reserved)
> 0000000079e87000-000000007bd5f000 (ACPI Tables)
> 0000000000100000-0000000078c59000 (System RAM)
> 000000007bd5f000-000000007be4f000 (reserved)
> 000000007be4f000-000000007bf87000 (ACPI Tables)
so following ranges are not passed to second kernel by kexec?
> 000000007bf87000-000000007bfcf000 (ACPI Non-volatile Storage)
> 000000007bfcf000-000000007bfff000 (ACPI Tables)
> 000000007bfff000-0000000090000000 (reserved)
> 00000000fc000000-00000000fd000000 (reserved)
> 00000000fed1c000-00000000fed20000 (reserved)
> 00000000ff000000-0000000100000000 (reserved)
> 0000000100000000-0000001080000000 (System RAM)
> 0000000078c59000-0000000078e6d000 (ACPI Non-volatile Storage)
> 0000000078e6d000-000000007924e000 (ACPI Tables)
> 000000007924e000-00000000792c2000 (reserved)
> 00000000792c2000-00000000792d2000 (ACPI Tables)
> 00000000792d2000-00000000792e7000 (reserved)
> 00000000792e7000-0000000079301000 (ACPI Tables)
>
second kernel only get
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000100 - 0000000000098800 (usable)
[ 0.000000] BIOS-e820: 0000000000098800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000078c63000 (usable)
[ 0.000000] BIOS-e820: 0000000078c63000 - 0000000078e77000 (ACPI NVS)
[ 0.000000] BIOS-e820: 0000000078e77000 - 000000007924e000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007924e000 - 00000000792c2000 (reserved)
[ 0.000000] BIOS-e820: 00000000792c2000 - 00000000792d2000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000792d2000 - 00000000792e7000 (reserved)
[ 0.000000] BIOS-e820: 00000000792e7000 - 0000000079301000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079301000 - 0000000079303000 (reserved)
[ 0.000000] BIOS-e820: 0000000079303000 - 0000000079305000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079305000 - 0000000079310000 (reserved)
[ 0.000000] BIOS-e820: 0000000079310000 - 0000000079314000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079314000 - 0000000079319000 (reserved)
[ 0.000000] BIOS-e820: 0000000079319000 - 0000000079336000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079336000 - 0000000079358000 (reserved)
[ 0.000000] BIOS-e820: 0000000079358000 - 0000000079388000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079388000 - 00000000793c9000 (reserved)
[ 0.000000] BIOS-e820: 00000000793c9000 - 000000007968f000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007968f000 - 00000000796bb000 (reserved)
[ 0.000000] BIOS-e820: 00000000796bb000 - 00000000799d8000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000799d8000 - 0000000079bd8000 (ACPI NVS)
[ 0.000000] BIOS-e820: 0000000079bd8000 - 0000000079d87000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079d87000 - 0000000079d8a000 (reserved)
[ 0.000000] BIOS-e820: 0000000079d8a000 - 0000000079dca000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079dca000 - 0000000079dcb000 (reserved)
[ 0.000000] BIOS-e820: 0000000079dcb000 - 0000000079e1c000 (ACPI data)
[ 0.000000] BIOS-e820: 0000000079e1c000 - 0000000079e87000 (reserved)
[ 0.000000] BIOS-e820: 0000000079e87000 - 000000007bd5f000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007bd5f000 - 000000007be4f000 (reserved)
[ 0.000000] BIOS-e820: 000000007be4f000 - 000000007bf87000 (ACPI data)
so mmconf range is not reserved, and some ACPI data
> 0000000078c59000-0000000078e6d000 (ACPI Non-volatile Storage)
0000000078c59000 - 0000000078c63000 get currupted...
YH
next prev parent reply other threads:[~2009-12-15 19:45 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 11:50 kexec boot regression Jens Axboe
2009-12-15 12:01 ` Yinghai Lu
2009-12-15 12:14 ` Jens Axboe
2009-12-15 12:31 ` Yinghai Lu
2009-12-15 12:39 ` Jens Axboe
2009-12-15 12:55 ` Yinghai Lu
2009-12-15 14:11 ` Jens Axboe
2009-12-15 18:39 ` Yinghai Lu
2009-12-15 18:47 ` Matthew Wilcox
2009-12-15 18:54 ` Jens Axboe
2009-12-15 18:59 ` Jens Axboe
2009-12-15 19:04 ` Yinghai Lu
2009-12-15 19:11 ` Jens Axboe
2009-12-15 19:17 ` Yinghai Lu
2009-12-15 19:22 ` Jens Axboe
2009-12-15 19:28 ` Jens Axboe
2009-12-15 19:44 ` Yinghai Lu [this message]
2009-12-15 19:48 ` Jens Axboe
2009-12-15 19:49 ` Yinghai Lu
2009-12-15 19:57 ` Jens Axboe
2009-12-15 21:30 ` Markus Trippelsdorf
2009-12-15 23:02 ` kexec boot regression radeon/kms (bisected) Markus Trippelsdorf
2009-12-15 19:43 ` kexec boot regression Jens Axboe
2009-12-15 19:48 ` Yinghai Lu
2009-12-15 19:51 ` Jens Axboe
2009-12-15 19:56 ` Yinghai Lu
2009-12-15 20:09 ` Jens Axboe
2009-12-15 20:14 ` Yinghai Lu
2009-12-15 20:19 ` Jens Axboe
2009-12-15 20:21 ` Yinghai Lu
2009-12-15 20:42 ` Jens Axboe
2009-12-15 20:55 ` Jens Axboe
2009-12-15 21:01 ` Jens Axboe
2009-12-15 21:26 ` Yinghai Lu
2009-12-15 21:30 ` Jens Axboe
2009-12-15 21:40 ` Jens Axboe
2009-12-15 21:43 ` Yinghai Lu
2009-12-15 21:47 ` Jens Axboe
2009-12-15 21:50 ` Yinghai Lu
2009-12-15 21:52 ` Jens Axboe
2009-12-15 22:24 ` Yinghai Lu
2009-12-16 10:01 ` Jens Axboe
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=4B27E71E.6020709@kernel.org \
--to=yinghai@kernel.org \
--cc=jbarnes@virtuousgeek.org \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rdreier@cisco.com \
--cc=suresh.b.siddha@intel.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