From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KUkTA-000664-Mo for mharc-grub-devel@gnu.org; Sun, 17 Aug 2008 11:47:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUkT8-00065r-F4 for grub-devel@gnu.org; Sun, 17 Aug 2008 11:47:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUkT6-00065f-33 for grub-devel@gnu.org; Sun, 17 Aug 2008 11:47:01 -0400 Received: from [199.232.76.173] (port=52511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUkT5-00065c-T9 for grub-devel@gnu.org; Sun, 17 Aug 2008 11:46:59 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:56191) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KUkT5-00041U-7u for grub-devel@gnu.org; Sun, 17 Aug 2008 11:46:59 -0400 Received: from [85.180.60.24] (e180060024.adsl.alicedsl.de [85.180.60.24]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1KUkT33FOe-0005OQ; Sun, 17 Aug 2008 17:46:58 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20080817153419.GB9696@thorin> References: <1218648926.9951.12.camel@fz.local> <87ljz021w9.fsf@xs4all.nl> <1218654844.10474.13.camel@fz.local> <87zlngyszj.fsf@xs4all.nl> <1218699584.4065.26.camel@fz.local> <87r68syqeo.fsf@xs4all.nl> <20080814175415.GA5614@thorin> <1218899178.4036.3.camel@fz.local> <20080817150708.GC9153@thorin> <1218986647.4080.19.camel@fz.local> <20080817153419.GB9696@thorin> Content-Type: text/plain Date: Sun, 17 Aug 2008 17:47:03 +0200 Message-Id: <1218988023.4080.31.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19ZClwLnjf1nii3q19H1zxFS1UgOkax9q5ndHp N09jz+tBaKv4UrO3M7BTGwOPiMNSjPzzCOnWqdhNGFLAit3EAQ k+Li5R1GQkZPgNqqGqTzgdVrxevPoGY X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: [RFC] change grub_print_error to use stderr for the utils 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: Sun, 17 Aug 2008 15:47:03 -0000 Am Sonntag, den 17.08.2008, 17:34 +0200 schrieb Robert Millan: > Hiding errors is a very bad practice. And hiding them because the output > is ugly or because something is reporting false positives is even worse > IMHO. > > This "out of disk" sounds like a false positive indeed. It's a bug, > somewhere. Something is handling errors in a place where this particular > error shouldn't be reported. Maybe it should handle them somewhere else, > or maybe they should be handled selectively. This is because of my nForce 4 Hardware RAID 0 (i.e. dmraid). Linux sees 2 disks (sda,sdb) and the partition table of the first is for the 2 disks combined. Both disk have only 80 GB but both combined have 160 GB. > > The error won't be shown on real GRUB anyway. > > Why not? Oh I should have said in my case. The BIOS presents GRUB only one (hd0) for the combined 2 disks. Whereas the ata.mod from Marco sees both (well it fails to detect one but in theory) The BIOS does handle the RAID 0 for booting, but just for that. As soon as the OS takes over it has to handle it. > > Maybe just grub-install and update-grub should be a little changed to > > supress repeating the errors that much, i.e. not on every grub-probe > > run? > > That's difficult to archieve due to current design, but sounds to me as > a minor problem in comparison with what we had before. Yes it isn't that important, as I already said I only want to find a clean solution for the long term. The current way is better then before, but at least I don't like it to have a error message shown more then needed. This doestn't look that good either ;) [...] error: out of disk Installation finished. No error reported.