public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Drokin <green@namesys.com>
To: venom@sns.it
Cc: linux-kernel@vger.kernel.org
Subject: Re: reiserFS problem switching from 2.5.66/67 to 2.4.20
Date: Tue, 8 Apr 2003 17:18:32 +0400	[thread overview]
Message-ID: <20030408171832.A12020@namesys.com> (raw)
In-Reply-To: <Pine.LNX.4.43.0304081142480.8816-100000@cibs9.sns.it>

Hello!

On Tue, Apr 08, 2003 at 11:48:55AM +0200, venom@sns.it wrote:

> After running for a while kernel 2.5.66 and then for some hour 2.5.67
> I rebboted my desktop with kernel 2.4.20.
> during mount of reiserFS filesystem i GOT those messages:
> Apr  8 11:40:07 Blackdeath kernel: transaction
> Apr  8 11:40:07 Blackdeath kernel: journal-2018: Bad transaction length 4
> encountered, ignoring transaction
> Apr  8 11:40:07 Blackdeath kernel: journal-2018: Bad transaction length 11
> encountered, ignoring transaction
> Apr  8 11:40:07 Blackdeath kernel: journal-2018: Bad transaction length 4
> encountered, ignoring transaction
> Apr  8 11:40:07 Blackdeath kernel: journal-2018: Bad transaction length 4
> encountered, ignoring transaction
> Apr  8 11:40:07 Blackdeath kernel: journal-2018: Bad transaction length 11
> encountered, ignoring transaction
> this is just a few, I got hundreds of them.

Well, seems that you are runninf 2.4.21-pre7 or pre6, not vanilla 2.4.20.

Following patch should help.

Bye,
    Oleg
===== fs/reiserfs/journal.c 1.26 vs edited =====
--- 1.26/fs/reiserfs/journal.c	Thu Mar 13 14:52:15 2003
+++ edited/fs/reiserfs/journal.c	Tue Mar 25 16:38:55 2003
@@ -1401,7 +1401,7 @@
 		     *newest_mount_id) ;
       return -1 ;
     }
-    if ( le32_to_cpu(desc->j_len) > sb_journal_trans_max(SB_DISK_SUPER_BLOCK(p_s_sb)) ) {
+    if ( le32_to_cpu(desc->j_len) > JOURNAL_TRANS_MAX ) {
       reiserfs_warning("journal-2018: Bad transaction length %d encountered, ignoring transaction\n", le32_to_cpu(desc->j_len));
       return -1 ;
     }

      reply	other threads:[~2003-04-08 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08  9:48 reiserFS problem switching from 2.5.66/67 to 2.4.20 venom
2003-04-08 13:18 ` Oleg Drokin [this message]

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=20030408171832.A12020@namesys.com \
    --to=green@namesys.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=venom@sns.it \
    /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