Re: 2.1.88: rpc.nfsd hanging in __wait_on_page, the saga continues

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Fri, 27 Feb 1998 22:09:33 +0100 (CET)


> > I still have this bug. I've got a few questions and
> > observations that I'd like to pose to cleverer kernel
> > hackers than me on this list. Any suggestions would
> > be a great help.
> >
> > - Every time I've seen the bug, just before rpc.nfsd hangs,
> > I see the following message printed by the kernel:
> >
> > raid5: bug: stripe->bh_new[5], sector XXX exists

could people with this bug try the following debug patch, it forces an
oops when the bug happens. An oops tells us alot more than the above
message. Please send back ksymoops-ed oopses.

-- mingo

--- linux/raid5.c.orig Thu Mar 5 10:15:27 1998
+++ linux/drivers/block/raid5.c Thu Mar 5 10:16:17 1998
@@ -837,8 +837,11 @@
struct raid5_data *raid_conf = sh->raid_conf;
struct buffer_head *bh_req;

- if (sh->bh_new[dd_idx])
+ if (sh->bh_new[dd_idx]) {
printk("raid5: bug: stripe->bh_new[%d], sector %lu exists\n", dd_idx, sh->sector);
+ printk("forcing oops.\n");
+ *(int*)=0;
+ }

set_bit(BH_Lock, &bh->b_state);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu