From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OeCy1-0006ev-SR for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 16:11:05 -0400 Received: from [140.186.70.92] (port=41149 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeCxy-0006eT-BT for grub-devel@gnu.org; Wed, 28 Jul 2010 16:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeCxw-0001oK-Cv for grub-devel@gnu.org; Wed, 28 Jul 2010 16:11:01 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:51172) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeCxw-0001oF-8Q for grub-devel@gnu.org; Wed, 28 Jul 2010 16:11:00 -0400 Received: by gwj16 with SMTP id 16so1422426gwj.0 for ; Wed, 28 Jul 2010 13:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=qhyCoWItcN+YPLidUmWAX/IdCAPu4Ccpb5YSMV0GFKs=; b=SuYfnqRndCr9BD0cxms03I2mj/M+6fARaZacs3BtZu2zBJVIcsBI/Ros/kTIiKOsfX +hkkpV3TDTrqd+rzryTgGKFZTzQmTHMn1W85g12Dpl5onHqvt7VnpShgpS0hM0nS8BqY VKu84mTS+pKOoxB3wZ4qfev47o4AVH395GA8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=XIfrwWlPrm/tWA2KDYRHIO3NoDgqHbWGoltd3U+vBeYWY4umGUkyqDV4m2+eXVIXTX al/j4Cu/aR5NIhW/VVYxZslutb0VSoZVRxJ+D6GSGR/Igm25md8jVNPmgxR+yvGLBHLC y0Ft41sCY+tKkhAHO6leRdNK9Vd8YSy6gh9Pg= Received: by 10.101.109.20 with SMTP id l20mr7808776anm.194.1280347859732; Wed, 28 Jul 2010 13:10:59 -0700 (PDT) Received: from [192.168.21.179] (bas1-toronto05-1177663517.dsl.bell.ca [70.49.184.29]) by mx.google.com with ESMTPS id c19sm11271638ana.22.2010.07.28.13.10.58 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 13:10:59 -0700 (PDT) Message-ID: <4C508ED2.3030402@gmail.com> Date: Wed, 28 Jul 2010 16:10:58 -0400 From: Doug Nazar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: grub-devel@gnu.org References: <20100727152625.GX2632@caffeine.csclub.uwaterloo.ca> <4C4FEF8C.5060200@gmail.com> <20100728150037.GC2632@caffeine.csclub.uwaterloo.ca> <20100728155158.GE2632@caffeine.csclub.uwaterloo.ca> <4C505B37.2020009@gmail.com> <20100728170155.GG2632@caffeine.csclub.uwaterloo.ca> <4C5064F0.6000501@gmail.com> <20100728174219.GI2632@caffeine.csclub.uwaterloo.ca> <20100728175237.GJ2632@caffeine.csclub.uwaterloo.ca> <4C507426.1000209@gmail.com> <20100728184936.GK2632@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20100728184936.GK2632@caffeine.csclub.uwaterloo.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Big Endian fix patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 20:11:04 -0000 On 2010-07-28 2:49 PM, Lennart Sorensen wrote: > > mdadm: device 1 in /dev/md/0 has wrong state in superblock, but /dev/sdb2 seems Ok, I think this is a bug in mdadm. I couldn't replicate it on a x86 box but then tried it in the ppc image and it got the same message. Not sure if it's because of an endian issue or version issue my x86 boxes have version 3.1.2 while the Ubuntu ppc is running 2.6.7.1. The error seems kinda strange as devices are 0 numbered so sdb2 is probably device 1 (I assume sda2 is device 0). Unfortunately the mdadm source has half a dozen structs with the same members so it's almost impossible to grep for where things are. It looks like that error happens when it's detecting if the drives are in the right roles. There's a __cpu_to_le32 that seems suspicious to me (super1.c:676). What version of mdadm do you have? > That's the first raid1. > The superblocks are correct. Doug