mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Drokin <green@linuxhacker.ru>
To: hwli98@yahoo.com, linux-kernel@vger.kernel.org
Subject: Re: reiserfs bug
Date: Thu, 1 Jul 2004 23:44:46 +0300	[thread overview]
Message-ID: <200407012044.i61Kikfk016519@car.linuxhacker.ru> (raw)
In-Reply-To: <20040701060924.11587.qmail@web11202.mail.yahoo.com>

Hello!

Hongwei Li <hwli98@yahoo.com> wrote:
HL> My machine am running linux-2.4.25, it crash in the
HL> reiser_panic.
HL> I looked at the oops and find out the followings:
HL> check_leaf_block_head pass the 0 as "sb" value, and
HL> cause reiser_panic crash.
HL> Any fix for this?

Well, reiserfs_panic is supposed to crash with BUG().
And the reason for the reiserfs_panic call seems to be on-disk corruption
in your case.

HL>     reiserfs_panic (0, "vs-6020:
HL> check_leaf_block_head: invalid free space %z", bh);

This is fine.

HL> void reiserfs_panic (struct super_block * sb, const
HL> char * fmt, ...)
HL> {
HL>   show_reiserfs_locks() ;
HL>   do_reiserfs_warning(fmt);
HL>   printk ( KERN_EMERG "%s (device %s)\n", error_buf,
HL> bdevname(sb->s_dev));

This line looks this way in current bk tree:
  panic ("REISERFS: panic (device %s): %s\n",
         sb ? kdevname(sb->s_dev) : "sb == 0", error_buf);
And I think it was like this for some significant time already.
bk diffs output suggest that this change was in there since Feb 4th, 2002.

Are you using vanilla tree?
I seem to remember that bdevname was used early in 2.5.

Bye,
    Oleg

  reply	other threads:[~2004-07-01 20:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01  6:09 Hongwei Li
2004-07-01 20:44 ` Oleg Drokin [this message]
2004-10-05 15:01 ` Vladimir Saveliev
  -- strict thread matches above, loose matches on Subject: below --
2005-01-22 23:26 Pablo Barbáchano
2005-01-23 11:13 ` Pablo Barbáchano
2002-11-28  8:28 Sönke Ruempler
2002-11-28  8:47 ` Oleg Drokin
2002-11-28  8:50   ` Sonke Ruempler
2002-11-28  8:57     ` Oleg Drokin
2002-11-28  9:04       ` Sonke Ruempler
2002-11-28  9:09         ` Oleg Drokin
2002-11-28  9:12           ` Sonke Ruempler
2002-11-28  9:13       ` Henning P. Schmiedehausen
2002-11-28 10:03         ` Oleg Drokin
2001-10-08 16:44 ReiserFS Bug Aleksander Adamowski

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=200407012044.i61Kikfk016519@car.linuxhacker.ru \
    --to=green@linuxhacker.ru \
    --cc=hwli98@yahoo.com \
    --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

Powered by JetHome