linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Yaroslav Halchenko <yoh@onerussian.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test2-bk3 phantom I/O errors
Date: Tue, 29 Jul 2003 13:50:25 -0700	[thread overview]
Message-ID: <20030729135025.335de3a0.akpm@osdl.org> (raw)
In-Reply-To: <20030729153114.GA30071@washoe.rutgers.edu>

Yaroslav Halchenko <yoh@onerussian.com> wrote:
>
> Buffer I/O error on device hda2, logical block 3861502
> Buffer I/O error on device hda2, logical block 3861504
> Buffer I/O error on device hda2, logical block 3861506

Odd.

> dmesg bears also signs about 
> buffer layer error at fs/buffer.c:416
> Call Trace:
>  [<c0154f30>] __find_get_block_slow+0x80/0xe0
>  [<c0155f51>] __find_get_block+0x91/0xf0

Yes, this mystery has been floating about for some time.

What filesystem types are in use?

Are you using some sort of initrd setup?

Could you please run with this patch, send the traces?

diff -puN fs/buffer.c~buffer-debug fs/buffer.c
--- 25/fs/buffer.c~buffer-debug	Tue Jul 29 12:11:59 2003
+++ 25-akpm/fs/buffer.c	Tue Jul 29 13:48:48 2003
@@ -163,6 +163,7 @@ static void buffer_io_error(struct buffe
 	printk(KERN_ERR "Buffer I/O error on device %s, logical block %Lu\n",
 			bdevname(bh->b_bdev, b),
 			(unsigned long long)bh->b_blocknr);
+	dump_stack();
 }
 
 /*
@@ -414,6 +415,9 @@ __find_get_block_slow(struct block_devic
 		bh = bh->b_this_page;
 	} while (bh != head);
 	buffer_error();
+	printk("block=%llu, b_blocknr=%llu\n",
+		(unsigned long long)block, (unsigned long long)bh->b_blocknr);
+	printk("b_state=0x%08lx, b_size=%u\n", bh->b_state, bh->b_size);
 out_unlock:
 	spin_unlock(&bd_mapping->private_lock);
 	page_cache_release(page);

_


  reply	other threads:[~2003-07-29 21:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 15:31 2.6.0-test2-bk3 phantom I/O errors Yaroslav Halchenko
2003-07-29 20:50 ` Andrew Morton [this message]
2003-07-29 21:11   ` Yaroslav Halchenko
2003-07-30 17:04   ` Sander van Malssen
2003-07-30 17:23     ` Yaroslav Halchenko
2003-07-30 19:00     ` Andrew Morton
2003-07-30 19:11       ` Sander van Malssen
2003-08-03  9:10         ` Sander van Malssen
2003-08-03  9:17           ` Andrew Morton
2003-08-03  9:46             ` Sander van Malssen
2003-08-04  0:42               ` Matt Mackall
2003-08-04 10:59                 ` Sander van Malssen
  -- strict thread matches above, loose matches on Subject: below --
2003-07-27 19:10 Sander van Malssen

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=20030729135025.335de3a0.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yoh@onerussian.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;
as well as URLs for NNTP newsgroup(s).