I hope that this is not my second post to this list, if so I apologize!
(I went and looked at the archive of this list at
http://linuxwww.db.erau.edu/mail_archives/
and it only went through Jan 2000, so not only do I not know if
my posting got in, I cannot check to see what answers may have
been posted.

So, with apologies ahead of time, let me ask again:

I am running RedHat 6.2, kernel 2.2.14, with the raid patch
'raid0145-1999082402.2.11'.
(I rejected the query about undoing a patch that seemed to have already been
done).

It seems to work just fine, except that when I try to run a script to change
the 
block and chunk sizes (for performance testing), I get a kernel
panic partway through (*), as follows:

        Kernel panic: B_FREE inserted into queues

I dug through the code and found where this call was happening.  Its at line
767 of fs/buffer.c where it says something like:

        remove_from_queues( bh );
        bh->b_dev = B_FREE;
        insert_into_queues ( bh );  <--- not surprisingly, this causes a
panic

So, I modified the above code to just call printk and leave the buffer free
but not
inserted into the queues.  (I bet its now a memory leak, eh? ;-)  I'm
betting this
was a bad choice.  Perhaps someone who knows this code better than I
could come up with a better solution?  Or am I just dumb?  ;-) / 2



* - the panic happens after the first (or second, its been a while) change
in
either block size or chunk size.  If anyone wants to see the scripts I'd be
happy to either email them privately or 'post' them here on the list,
whatever.

 [EMAIL PROTECTED]

finally - my apologies if this is stupidly formatted, my
only access to external email is via Micro$loth Outlook...

Reply via email to