From: Dave Hansen <haveblue@us.ibm.com>
To: Andrew Morton <akpm@zip.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: truncate_list_pages() BUG and confusion
Date: Thu, 07 Mar 2002 18:54:54 -0800 [thread overview]
Message-ID: <3C8827FE.8000509@us.ibm.com> (raw)
In-Reply-To: <3C8809BA.4070003@us.ibm.com> <3C880EFF.A0789715@zip.com.au>
Andrew Morton wrote:
>>ksymoopsed output follows:
>>
>>kernel BUG at page_alloc.c:109!
>>
>
> Now how did you manage that? Looks like someone re-locked
> the page after truncate_list_pages unlocked it.
I stopped getting oopses from the dbench 64 on a small partition, and
started getting these BUG()s instead.
The oopses I _was_ getting were because create_buffers() was returning a
buffer chain with one of the bh->b_this_page entries set to 0x01010101.
The funny part was that it was always the same number, not a memory
address, or NULL, it was always 0x01010101! The next time through the
loop, "bh->b_end_io = NULL;" was blowing up. (no surprise there :)
I put some code into create_buffers() to look for that magic number, but
stopped getting the oopses after I added a couple of if( XX == 0x0101010
) panic("foo"). I now can't recreate the original oopses. The
disassembly of create_empty_buffers() looked screwy the first time I
looked, so I'm guessing that I just encountered a transient gcc bug or
something. But, I'm still getting those damn "__block_prepare_write:
zeroing uptodate buffer!" messages, in addition to the new BUG(), which
never happened before. The hardware is extremely stable, and 2.4
doesn't show any of these problems.
Have you had anyone else try the dbench torture test on other SMP machines?
--
Dave Hansen
haveblue@us.ibm.com
next prev parent reply other threads:[~2002-03-08 2:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-08 0:45 truncate_list_pages() BUG and confusion Dave Hansen
2002-03-08 1:08 ` Andrew Morton
2002-03-08 2:54 ` Dave Hansen [this message]
2002-03-08 2:55 ` Martin J. Bligh
2002-03-08 3:02 ` Andrew Morton
2002-03-08 3:04 ` Dave Hansen
2002-03-08 21:14 ` Martin J. Bligh
2002-03-08 21:53 ` Andrew Morton
2002-03-08 22:13 ` Dave Hansen
2002-03-08 22:35 ` Andrew Morton
2002-03-09 0:04 ` Martin J. Bligh
2002-03-09 0:17 ` Andrew Morton
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=3C8827FE.8000509@us.ibm.com \
--to=haveblue@us.ibm.com \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox