From: Alex Zarochentsev <zam@namesys.com>
To: Jake Maciejewski <maciejej@msoe.edu>
Cc: reiserfs-list@namesys.com
Subject: Re: making reiser4/AMD64 hardlock
Date: Wed, 8 Dec 2004 19:24:29 +0300 [thread overview]
Message-ID: <20041208162429.GK5368@backtop.namesys.com> (raw)
In-Reply-To: <1102456018.17113.3.camel@localhost>
Hi
On Tue, Dec 07, 2004 at 03:46:58PM -0600, Jake Maciejewski wrote:
> With this patch get
>
> reiser4[cc1(10284)]: check_blocks_bitmap
> (fs/reiser4/plugin/space/bitmap.c:1174)[zam-623]:
> code: -2 at fs/reiser4/search.c:1285
> reiser4 panicked cowardly: assertion failed: reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset, start_offset) >= end_offset
did you begin the tests with mkfs.reiser4 /dev/.... ?
>
> details at
> http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/12-07-04/zam-patch/
>
> which is pretty much the same thing documented in 11-20-04/sync_mount/ ,
> 11-10-04/with_bitmap.c.diff/ , 11-09-04/ , 11-08-04/test2/ ,
> 11-04-04/all-R4/ , and 11-04-04/R3-R4/
>
>
> When I also used Vladimir's "10 Nov 2004 19:08:47 +0300" bitmap.c.diff,
> my logs filled (~1.7 million lines) with
>
> WARNING: Wrong level found in node: 1 != 0
> reiser4[cc1(11554)]: parse_node40
> (fs/reiser4/plugin/node/node40.c:767)[nikita-494]:
> code: -2 at fs/reiser4/search.c:1312
>
> see 12-07-04/both-patches/
>
> The only other time I've seen an error like this was 11-08-04/test1/
> repeating
>
> WARNING: Failed to delete file body 84672
> reiser4[make(22140)]: parse_node40
> (fs/reiser4/plugin/node/node40.c:767)[nikita-494]:
> code: -2 at fs/reiser4/search.c:1278
>
>
> If you want, I'll run it again and probably hit the
> reiser4_find_next_zero_bit error instead. I didn't bother with
> fsck.reiser4 --build-fs and --check because now that I think about it,
> this isn't the sort of thing fsck needs to be able to fix. If fsck
> should be able to handle these cases, someone speak up and I'll provide
> more reports like 11-20-04/sync_mount/corruption/.
>
> On Tue, 2004-12-07 at 15:20 +0300, Alex Zarochentsev wrote:
> > On Wed, Nov 10, 2004 at 01:45:40PM -0600, Jake Maciejewski wrote:
> > > Does this show what you want?
> > > http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/11-10-04/with_bitmap.c.diff/
> >
> > Please apply the patch below. it definitely fixes one reiser4/amd64 bug.
> >
> >
> > ===== plugin/space/bitmap.c 1.183 vs edited =====
> > --- 1.183/plugin/space/bitmap.c Wed Oct 13 17:22:01 2004
> > +++ edited/plugin/space/bitmap.c Sun Dec 5 00:18:55 2004
> > @@ -170,7 +170,7 @@
> > static int
> > find_next_zero_bit_in_word(ulong_t word, int start_bit)
> > {
> > - unsigned int mask = 1 << start_bit;
> > + ulong_t mask = 1 << start_bit;
> > int i = start_bit;
> >
> > while ((word & mask) != 0) {
> > @@ -234,7 +234,7 @@
> > /* search for the first set bit in single word. */
> > static int find_last_set_bit_in_word (ulong_t word, int start_bit)
> > {
> > - unsigned bit_mask;
> > + ulong_t bit_mask;
> > int nr = start_bit;
> >
> > assert ("zam-965", start_bit < BITS_PER_LONG);
> --
> Jake Maciejewski <maciejej@msoe.edu>
>
--
Alex.
next prev parent reply other threads:[~2004-12-08 16:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 8:59 making reiser4/AMD64 hardlock Jake Maciejewski
2004-11-03 20:18 ` Hendrik Visage
2004-11-04 9:52 ` Vladimir Saveliev
2004-11-04 10:39 ` Vladimir Saveliev
2004-11-05 5:41 ` Jake Maciejewski
2004-11-10 8:01 ` Jake Maciejewski
2004-11-10 16:08 ` Vladimir Saveliev
2004-11-10 19:45 ` Jake Maciejewski
2004-12-07 12:20 ` Alex Zarochentsev
2004-12-07 21:46 ` Jake Maciejewski
2004-12-08 16:24 ` Alex Zarochentsev [this message]
2004-12-08 17:26 ` Jake Maciejewski
2004-12-08 19:47 ` Jake Maciejewski
2004-11-12 18:17 ` Vitaly Fertman
2004-11-12 20:03 ` Jake Maciejewski
2004-11-20 5:35 ` Julia Wolf
2004-11-04 21:53 ` Julia Wolf
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=20041208162429.GK5368@backtop.namesys.com \
--to=zam@namesys.com \
--cc=maciejej@msoe.edu \
--cc=reiserfs-list@namesys.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 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.