From: David Miller <davem@davemloft.net>
To: nish.aravamudan@gmail.com
Cc: greg@kroah.com, linux-kernel@vger.kernel.org, akpm@osdl.org,
torvalds@osdl.org, stable@kernel.org, sparclinux@vger.kernel.org
Subject: Re: Linux 2.6.20.3
Date: Wed, 14 Mar 2007 05:40:35 +0000 [thread overview]
Message-ID: <20070313.224035.70218068.davem@davemloft.net> (raw)
In-Reply-To: <29495f1d0703131729y56a99d9cj15288e7c18e277a8@mail.gmail.com>
From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
Date: Tue, 13 Mar 2007 17:29:17 -0700
> Ok, truly bizarre, I found that I was not running stock 2.6.20.3, but
> had your small hugetlb patch on top.
>
> So I went back and patched 2.6.20.1 with your patch, rebooted, got a
> soft lockup. Went back to stock 2.6.20.1 and did not.
>
> I don't see how your patch (C&P below for reference) could make any
> difference...Especially because no hugepages were in use at the time.
> On patched 2.6.20.1, I was just trying to check if my source tree had
> your patch applied (by `patch -p1 < davem.patch`) and got the
> soft-lockup I saw in 2.6.20.3 with the patch applied. I am going to
> try a clean 2.6.20.3 as well, now.
We've seen cases in the past where something benign like this
triggers a bug because it moves the data/bss/etc. sections
around.
For example, if the used parts of the kernel image end up extending
into another page, this can influence the bootup memory detection
logic.
The softlockup in your first trace shows it spinning in the journaling
code. Perhaps what is happening is that it is looping endlessly over
some data structure which is in a corrupted state. This could happen
if the bootup code erroneously frees up pages it should not have.
I would recommend figuring out exactly what the journaling code is
stuck on, then try to trace the life of that page of memory from
early bootup until it is allocated.
I hope this can help you figure out this bug as I can't reproduce it
here at all, and I did merge the hugetlb fix into Linus's tree
already (and that is the right thing to do as we certainly have some
unrelated bug here).
On the flip side, I bet removing some kernel config option might make
the heisenbug go away if you're just eager to test the hugetlb patch
:-)
WARNING: multiple messages have this Message-ID (diff)
From: David Miller <davem@davemloft.net>
To: nish.aravamudan@gmail.com
Cc: greg@kroah.com, linux-kernel@vger.kernel.org, akpm@osdl.org,
torvalds@osdl.org, stable@kernel.org, sparclinux@vger.kernel.org
Subject: Re: Linux 2.6.20.3
Date: Tue, 13 Mar 2007 22:40:35 -0700 (PDT) [thread overview]
Message-ID: <20070313.224035.70218068.davem@davemloft.net> (raw)
In-Reply-To: <29495f1d0703131729y56a99d9cj15288e7c18e277a8@mail.gmail.com>
From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
Date: Tue, 13 Mar 2007 17:29:17 -0700
> Ok, truly bizarre, I found that I was not running stock 2.6.20.3, but
> had your small hugetlb patch on top.
>
> So I went back and patched 2.6.20.1 with your patch, rebooted, got a
> soft lockup. Went back to stock 2.6.20.1 and did not.
>
> I don't see how your patch (C&P below for reference) could make any
> difference...Especially because no hugepages were in use at the time.
> On patched 2.6.20.1, I was just trying to check if my source tree had
> your patch applied (by `patch -p1 < davem.patch`) and got the
> soft-lockup I saw in 2.6.20.3 with the patch applied. I am going to
> try a clean 2.6.20.3 as well, now.
We've seen cases in the past where something benign like this
triggers a bug because it moves the data/bss/etc. sections
around.
For example, if the used parts of the kernel image end up extending
into another page, this can influence the bootup memory detection
logic.
The softlockup in your first trace shows it spinning in the journaling
code. Perhaps what is happening is that it is looping endlessly over
some data structure which is in a corrupted state. This could happen
if the bootup code erroneously frees up pages it should not have.
I would recommend figuring out exactly what the journaling code is
stuck on, then try to trace the life of that page of memory from
early bootup until it is allocated.
I hope this can help you figure out this bug as I can't reproduce it
here at all, and I did merge the hugetlb fix into Linus's tree
already (and that is the right thing to do as we certainly have some
unrelated bug here).
On the flip side, I bet removing some kernel config option might make
the heisenbug go away if you're just eager to test the hugetlb patch
:-)
next prev parent reply other threads:[~2007-03-14 5:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 18:33 Linux 2.6.20.3 Greg KH
2007-03-13 18:34 ` Greg KH
2007-03-13 21:57 ` Nish Aravamudan
2007-03-13 21:57 ` Nish Aravamudan
2007-03-13 21:58 ` Nish Aravamudan
2007-03-13 21:58 ` Nish Aravamudan
2007-03-13 22:20 ` David Miller
2007-03-13 22:20 ` David Miller
2007-03-13 22:51 ` Nish Aravamudan
2007-03-13 22:51 ` Nish Aravamudan
2007-03-14 0:29 ` Nish Aravamudan
2007-03-14 0:29 ` Nish Aravamudan
2007-03-14 5:40 ` Bill Irwin
2007-03-14 5:40 ` Bill Irwin
2007-03-14 5:41 ` David Miller
2007-03-14 5:41 ` David Miller
2007-03-14 5:40 ` David Miller [this message]
2007-03-14 5:40 ` David Miller
2007-03-14 1:29 ` mdew .
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=20070313.224035.70218068.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nish.aravamudan@gmail.com \
--cc=sparclinux@vger.kernel.org \
--cc=stable@kernel.org \
--cc=torvalds@osdl.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.