From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KSsvr-0000Ay-F7 for mharc-grub-devel@gnu.org; Tue, 12 Aug 2008 08:24:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSsvp-00008w-Fq for grub-devel@gnu.org; Tue, 12 Aug 2008 08:24:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSsvo-00007N-LW for grub-devel@gnu.org; Tue, 12 Aug 2008 08:24:56 -0400 Received: from [199.232.76.173] (port=38374 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSsvo-00006x-7h for grub-devel@gnu.org; Tue, 12 Aug 2008 08:24:56 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:50841) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSsvn-0007hq-Vp for grub-devel@gnu.org; Tue, 12 Aug 2008 08:24:56 -0400 Received: from [85.180.52.249] (e180052249.adsl.alicedsl.de [85.180.52.249]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1KSsvm2bAR-000788; Tue, 12 Aug 2008 14:24:54 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: References: <20080810142913.GB27953@thorin> <20080811203024.GA6883@thorin> Content-Type: multipart/mixed; boundary="=-9/mZMMIoXOUISCPBCdRg" Date: Tue, 12 Aug 2008 14:24:58 +0200 Message-Id: <1218543898.7497.16.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-Provags-ID: V01U2FsdGVkX18tKNWN4Mw/rIx9rwdBZs6KW+9UYduI69OKF3b xNU0uyObwwVoB1uwbRN+ozPav4wuaFFDEZZUxdcNMM57HYXs4H JsB/9QHbISCuNENOJJa90fApYEjv+sR X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: [PATCH] Split of raid scan code X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 12:24:58 -0000 --=-9/mZMMIoXOUISCPBCdRg Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Dienstag, den 12.08.2008, 19:49 +0800 schrieb Bean: > Hi, > > Ok, I make some adjustment, now grub-install & update-grub works for > raid device. > > If no one objects, I'd commit this soon. > Before your mail came in, I just talked with Robert about the fixes which I'd like to have in lenny. 13:54:48 < nyu> fzielcke: okay then. if you see bean could you ask him to commit this fix separately? He wants to have your little one line raid 0 fix commited separately I attached the .diff for this against current SVN so you don't need to make one. This patch will be in the next upload targeted for lenny. --=-9/mZMMIoXOUISCPBCdRg Content-Disposition: attachment; filename=raid0_fix.diff Content-Type: text/x-patch; name=raid0_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: disk/raid.c =================================================================== --- disk/raid.c (Revision 1800) +++ disk/raid.c (Arbeitskopie) @@ -177,7 +177,7 @@ if (err) break; - buf += read_size; + buf += (read_size << GRUB_DISK_SECTOR_BITS); size -= read_size; if (! size) break; --=-9/mZMMIoXOUISCPBCdRg--