From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KnsgM-0003ma-Ak for mharc-grub-devel@gnu.org; Thu, 09 Oct 2008 06:23:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnsgK-0003mM-5N for grub-devel@gnu.org; Thu, 09 Oct 2008 06:23:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnsgH-0003m6-IH for grub-devel@gnu.org; Thu, 09 Oct 2008 06:23:42 -0400 Received: from [199.232.76.173] (port=54298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnsgG-0003lw-VF for grub-devel@gnu.org; Thu, 09 Oct 2008 06:23:41 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:57632) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnsgF-0000be-G0 for grub-devel@gnu.org; Thu, 09 Oct 2008 06:23:40 -0400 Received: from helfmeier.de (port-92-195-87-176.dynamic.qsc.de [92.195.87.176]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1Knsg01hFR-0001nI; Thu, 09 Oct 2008 12:23:26 +0200 Received: by helfmeier.de (sSMTP sendmail emulation); Thu, 09 Oct 2008 12:23:25 +0200 Date: Thu, 9 Oct 2008 12:23:25 +0200 From: Clemens Helfmeier To: The development of GRUB 2 Message-ID: <20081009102325.GA856@helfmeier.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 X-Provags-ID: V01U2FsdGVkX1+6Xr22tS6CQs8E5NzWgKHjApsc7b9ZZ65gZzL pd31ULz3tm/kxGKFeehAFwnlmEr6x96I32/d2zTGUupC8xWea7 EZT+wpX7RBqpI5L2F2GRQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) Subject: ATAPI Driver problems 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: Thu, 09 Oct 2008 10:23:44 -0000 Hi everybody, I am trying to access the qemu cdrom drive (atapi) with grub2. Unfortunately, qemu crashes with "triple faults". A bit of google revealed that this would also reboot a real machine, so qemu has reasons for it. This always happens at the same location of code (0xb3a0 in my case) but the output bofore the crash is not always the same. I don't know if output is delayed either in qemu or in grub, does anyone know that? I also wonder why the qemu cdrom drive is not detected as removable nor as cdrom drive: grub> ls (ata2)/ ../disk/ata.c:798: opened device ata0 successfully. ../disk/ata.c:803: using block size 0x200 for device ata0. ../disk/ata.c:816: closed device ata0,1. ../disk/ata.c:920: opening ATAPI dev `ata2' ../disk/scsi.c:261: dev opened ../disk/scsi.c:270: inquiry: devtype=0x00 removable=0 qemu: fatal: triple fault How can i debug the running grub2 in the qemu machine? Is there an easy way with gdb? Did someone already get the ATAPI code working somehow? Where can i find information on how to access atapi/ata drives? (the snipped above has been created with my sector size patched svn version) Any ideas, commens, ...? Clemens