From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OeBBs-0005ZE-VH for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 14:17:16 -0400 Received: from [140.186.70.92] (port=36526 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeBBq-0005Z1-Fd for grub-devel@gnu.org; Wed, 28 Jul 2010 14:17:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeBBp-0007Lj-9R for grub-devel@gnu.org; Wed, 28 Jul 2010 14:17:14 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:52048) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeBBp-0007LX-4Y for grub-devel@gnu.org; Wed, 28 Jul 2010 14:17:13 -0400 Received: by gxk4 with SMTP id 4so2402503gxk.0 for ; Wed, 28 Jul 2010 11:17:12 -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=sc6KjmBZS9mqmL0PIEga9VJn0+2pSYMEMBi7vTG0brM=; b=hU98Xn2t6ac5DZ/z98vjrXxteFjlURy5Tbp3dnY1iHs+lWY9hVUGBOkt8LFjrqDfwB 8MAwZC3gyNmy31vk6mQKC9asrOsbIYQkXOpbAdCpHSi/lJUBuDJ9fWzr/az7kjR4148y cHVPgSXcr4DsURZy9DKF1QZeI8ZyXl/ukKEI4= 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=tp0BtZTNPz5kGgM4wmkyEvsMW7QFuEWSba2JO/e6Mu8VWThV7/0BC8vphZZzxVY9qo 3hEMlc0r5BuvM33DOy1YNzkqRnypxvJ7kCdgNsNNbt0k/kKBGSVy0WAJ9j9SQfazRjbJ HHdV2bC/of8NaviGf42kdlc4tFYQOK/NM5l/Q= Received: by 10.101.75.5 with SMTP id c5mr11952505anl.190.1280341032524; Wed, 28 Jul 2010 11:17:12 -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 h5sm11138290anb.8.2010.07.28.11.17.11 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 11:17:12 -0700 (PDT) Message-ID: <4C507426.1000209@gmail.com> Date: Wed, 28 Jul 2010 14:17:10 -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: <4C4E2FC5.10607@gmail.com> <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> In-Reply-To: <20100728175237.GJ2632@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 18:17:15 -0000 On 2010-07-28 1:52 PM, Lennart Sorensen wrote: > > Another thing that puzzles me is that when I boot linux, I always get > a message that says the state is wrong with the superblock on the sda > partitions, but the sdb partitions have the right state. I have no idea > if grub messes with this, or if the system isn't shutting down the raid > properly on reboots. It manages to assemble the raid and fix it > automatically, but the error is strange since I have never seen that > before. Of course I haven't really used 1.x raid before either, so > maybe that's part of it. > It really shouldn't be doing that. Grub shouldn't be doing any writes at all during boot (unless you're using some of the more exotic commands or save_env) and the raid code specifically errors on writes to it. If it was linux I'd expect both drives to be wrong unless there is something silly in the init scripts. When you say it fixes it, is that a full re-sync or something else? Could you check the superblocks? In grub use the following on each device for 1.2 arrays. hexdump -s 4096 -n 256 (dev,p) Doug