From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JDqV4-0000fB-54 for mharc-grub-devel@gnu.org; Sat, 12 Jan 2008 19:14:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDqV1-0000ev-Sw for grub-devel@gnu.org; Sat, 12 Jan 2008 19:14:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDqV0-0000ej-Bv for grub-devel@gnu.org; Sat, 12 Jan 2008 19:14:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDqV0-0000eg-6y for grub-devel@gnu.org; Sat, 12 Jan 2008 19:14:50 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JDqV0-0001Fi-4g for grub-devel@gnu.org; Sat, 12 Jan 2008 19:14:50 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JDqUq-00089X-Sg for grub-devel@gnu.org; Sun, 13 Jan 2008 00:14:40 +0000 Received: from adsl-69-234-217-53.dsl.irvnca.pacbell.net ([69.234.217.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 00:14:40 +0000 Received: from wa1ter by adsl-69-234-217-53.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 00:14:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Sat, 12 Jan 2008 16:14:38 -0800 Organization: none Message-ID: References: <20071227100553.GB30225@thorin> <20071230134643.GA21397@thorin> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-217-53.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008011207) In-Reply-To: <20071230134643.GA21397@thorin> Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: ata.mod hangs (Re: Some grub2 problems/questions) 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, 13 Jan 2008 00:14:52 -0000 Robert Millan wrote: > On Thu, Dec 27, 2007 at 09:33:58AM -0800, walt wrote: >>>> The other Athlon machine has one PATA drive on a VIA 8235 controller >>>> and one SATA drive on a Promise controller. This machine makes it >>>> through grub_ata_dumpinfo for both disks but then it hangs forever >>>> without printing anything else. >>> Could you re-run this part with `debug' variable set to `ata' >>> ("set debug=ata", then "insmod ata") and see what's the last thing >>> printed ? >> Ah, I didn't notice before that grub2 only recognizes the PATA drive >> and the cd-burner on the PATA controller. Grub2 stops dumping >> info after the cd-burner and never gets to the SATA disk on the >> Promise controller. The Promise controller is built into the mobo >> and the BIOS recognizes it and will boot from it, but the ata module >> in grub2 will not. Would this explain why grub2 hangs? >> >> I should mention that I've never installed grub2 because I don't >> really want it on my boot record yet. I build the grub2 image using >> ./grub-mkimage -d . -o mygrub *.mod (as I read on the wiki) and then >> use old grub to load grub2. I loaded ata.mod by accident because I'm >> too lazy to type all of those module names :o) I certainly don't >> mind testing and debugging the ata module, though, if I can be of >> any help to you. > > Thank you. Marco knows the ATA side of things better, although he's a bit > busy lately. Let's see if he picks up on this... > I'm happy to report that the ata module no longer hangs as I described above. I'm guessing (just a guess) that this commit fixed it: 2008-01-10 Robert Millan * kern/device.c (grub_device_iterate): Do not abort device iteration when one of the devices cannot be opened. Unfortunately, ata.mod still doesn't recognize the disk on the Promise sata controller. But, that's expected at this point?