linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@cse.unsw.edu.au>
To: cwebster@ec.rr.com
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Software RAID Stopped Working With Aurora Kernel
Date: Tue, 21 May 2002 22:10:09 +1000 (EST)	[thread overview]
Message-ID: <15594.14625.624567.495812@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Calvin D. Webster on Tuesday May 21

On Tuesday May 21, cwebster@ec.rr.com wrote:
> 
> This looks much better, but not just right. I would expect that the list
> following "Chunk Size" would be close to the /etc/raidtab that was being
> used prior to the Aurora upgrade when it was last working. At any rate,
> the "this" device and the last device listed are definitely not correct.
> I'm not sure what "this" should be, but I assume it should list
> parameters for the device being queried. 

Thanks for the detail.  I see my mistake.
Please apply this patch and try again.. (memcpy counts in words, even
when I give it pointers to __u32's (ofcourse!)).

NeilBrown

--- Examine.c	2002/05/21 12:07:44	1.1
+++ Examine.c	2002/05/21 12:08:01
@@ -170,7 +170,7 @@
 				__u32 *sb32 = (__u32*)&super;
 				memcpy(sb32+MD_SB_GENERIC_CONSTANT_WORDS+7,
 				       sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1,
-				       MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1));
+				       (MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4);
 				printf (" --- adjusting superblock for 2.2/sparc compatability ---\n");
 			}
 			printf("         Events : %d.%d\n", super.events_hi, super.events_lo);

  reply	other threads:[~2002-05-21 12:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-19 23:38 Software RAID Stopped Working With Aurora Kernel Calvin Webster
2002-05-20 11:26 ` Neil Brown
2002-05-20 19:25   ` Cal Webster
2002-05-20 21:09     ` Neil Brown
2002-05-20 21:33       ` Calvin D. Webster
2002-05-21 11:24   ` Calvin D. Webster
2002-05-21 12:10     ` Neil Brown [this message]
2002-05-21 17:30       ` Cal Webster
2002-05-21 20:46         ` Neil Brown
2002-05-21 22:12           ` Calvin D. Webster
2002-05-21 23:51             ` Neil Brown
2002-05-22 12:00               ` Calvin D. Webster
2002-05-27  4:59                 ` Neil Brown
2002-05-29 13:07                   ` Calvin Webster
2002-05-29 23:16                     ` Neil Brown

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=15594.14625.624567.495812@notabene.cse.unsw.edu.au \
    --to=neilb@cse.unsw.edu.au \
    --cc=cwebster@ec.rr.com \
    --cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).