From: "James Kirin" <james.kirin40@gmail.com>
To: "Yinghai Lu" <yinghai@kernel.org>
Cc: "Roland Dreier" <rdreier@cisco.com>, linux-kernel@vger.kernel.org
Subject: Re: memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y
Date: Thu, 15 Jan 2009 15:35:02 -0500 [thread overview]
Message-ID: <baeb34bc0901151235v3c19306enaa2b6b11a18e1275@mail.gmail.com> (raw)
In-Reply-To: <baeb34bc0901151150w4ad88du78d91f6db50983e1@mail.gmail.com>
I tried disabing CONFIG_MTRR_SANITIZER and CONFIG_X86_PAT in the
kernel, and now a different kernel panic occurs:
[... ] Write protecting the kernel text: 3040k
[...] Write protecting the kernel read-only data: 1352k
[... ] khelper used greatest stack depth: 6724 bytes left
[ ...] Kernel panic - not syncing: No init found. Try passing init=
option to kernel.
Is an "init=" option necessary when using disable_mtrr_trim?
Thanks in advance,
James
On Thu, Jan 15, 2009 at 2:50 PM, James Kirin <james.kirin40@gmail.com> wrote:
> Hi Yinghai,
>
>> please do
>> 1. boot linux with "disable_mtrr_trim" in grub.conf etc
>> 2. after booting input:
>> echo "base=0x100000000 size=0x20000000 type=write-back" >/proc/mtrr
>
> Thank you for your suggestion.
>
> Unfortunately, booting with disable_mtrr_trim leads to a kernel panic:
>
> [<c0103abb>] kernel_thread_helper+0x7/0x1c
> ===========
> Code: 0c 31 d2 89 e8 e8 c2 f4 ff ff 89 c3 eb 8e 8b 85 cc 00 00 00 89 44 24 10 83
> bd ec 00 01 00 04 0f 84 cf 00 00 00 8b 9d f0 00 01 00 <8b> 43 10 3b 43 0c 0f 84
> d5 00 00 00 8b 53 10 8b 85 ec 00 01 00
> EIP: [<c026bc2f] hid_parser_main+0xcf/0x290 SS:ESP 0068:f7c2bd7c
> ---[ end trace 34615b445589fbb6 ]---
> Kernel panic - not syncing: Attempted to kill init!
>
> I am attaching the kernel config file. The system boots fine if I
> remove "disable_mtrr_trim" from lilo.conf (and rerun lilo).
>
> Thank you for any help,
>
> James
>
next prev parent reply other threads:[~2009-01-15 21:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 1:46 memory beyond4GB invisible to the system even though CONFIG_HIGHMEM64G=y James Kirin
2009-01-14 2:22 ` Roland Dreier
2009-01-14 3:10 ` James Kirin
2009-01-14 6:07 ` Yinghai Lu
2009-01-14 16:14 ` Roland Dreier
2009-01-14 18:16 ` Yinghai Lu
2009-01-15 19:50 ` James Kirin
2009-01-15 20:35 ` James Kirin [this message]
2009-01-15 20:45 ` Yinghai Lu
2009-01-15 20:51 ` Yinghai Lu
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=baeb34bc0901151235v3c19306enaa2b6b11a18e1275@mail.gmail.com \
--to=james.kirin40@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdreier@cisco.com \
--cc=yinghai@kernel.org \
/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.