From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PNdlK-0008Fh-Te for mharc-grub-devel@gnu.org; Tue, 30 Nov 2010 22:53:47 -0500 Received: from [140.186.70.92] (port=45354 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNdky-0007Hu-SM for grub-devel@gnu.org; Tue, 30 Nov 2010 22:53:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNWHL-0003Zi-SG for grub-devel@gnu.org; Tue, 30 Nov 2010 14:54:21 -0500 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:54964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNWHL-0002GK-KU for grub-devel@gnu.org; Tue, 30 Nov 2010 14:54:19 -0500 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=psusi@cfl.rr.com; auth=pass (PLAIN) X-Authority-Analysis: v=1.1 cv=pepdxKapwHuwCZNFD5uob2wvham6E+RljB0uXw08FdQ= c=1 sm=0 a=8nJEP1OIZ-IA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:17 a=Wl_1wsA2bwH7mZfQ6WYA:9 a=Zya2cQON-3P5TMC4XniRajRi-G0A:4 a=wPNLvfGTeEIA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 72.242.190.170 Received: from [72.242.190.170] ([72.242.190.170:3698] helo=[10.1.1.235]) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 07/B4-19545-05655FC4; Tue, 30 Nov 2010 19:53:53 +0000 Message-ID: <4CF55680.5010703@cfl.rr.com> Date: Tue, 30 Nov 2010 14:54:40 -0500 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: The development of GNU GRUB References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: linux-raid@vger.kernel.org, John Sheu Subject: Re: Software RAID and Fakeraid 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, 01 Dec 2010 03:53:44 -0000 On 11/25/2010 5:26 AM, John Sheu wrote: > What's the preferred way to differentiate BIOS fakeraid from regular > software mdraid? The only way I know of is detecting that it is a dmraid device as opposed to md, which is why grub does it that way. This worked well in the past when each tool exclusively handled one type of raid. > I ask this as I'm booting with GRUB2 off a system that has one of those > Intel fakeraid chipsets. As of a few months ago, the mdadm package has > supported these fakeraid setups, so the RAID array comes up as a /dev/md### > device. This is unfortunate, as GRUB2 assumes that any device of the type > /dev/md### must be a pure software RAID device, and in > util/grub-setup.c:939, tries to install itself to the RAID members > individually: For grub to support fakeraids activated by the md driver, it needs some way to find out that it is actually a fake raid, and not a software raid. Adding linux-raid to Cc list to see if they can suggest a way of doing that.