From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClMcq-0002fS-JS for qemu-devel@nongnu.org; Mon, 03 Jan 2005 02:27:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClMcq-0002fG-3W for qemu-devel@nongnu.org; Mon, 03 Jan 2005 02:27:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClMcp-0002fD-U9 for qemu-devel@nongnu.org; Mon, 03 Jan 2005 02:27:36 -0500 Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ClMRY-0005m0-AV for qemu-devel@nongnu.org; Mon, 03 Jan 2005 02:15:56 -0500 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ClMRX-0001dg-00 for ; Mon, 03 Jan 2005 08:15:55 +0100 Received: from inet.ycc.ru ([217.148.52.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2005 08:15:55 +0100 Received: from patrakov by inet.ycc.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2005 08:15:55 +0100 From: "Alexander E. Patrakov" Date: Mon, 03 Jan 2005 12:16:47 +0500 Message-ID: References: <20050102145606.GA18712@xi.wantstofly.org> <20050102155730.GB18712@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Sender: news Subject: [Qemu-devel] Re: Re: Firefox crashes inside qemu Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Alexander E. Patrakov wrote: > Lennert Buytenhek wrote: > >> On Sun, Jan 02, 2005 at 08:36:30PM +0500, Alexander E. Patrakov wrote: >> >>> >> Firefox will crash. I suppose that there is some bug in the CPU >>> >> emulation. >>> >> >>> >> How can I help debugging this problem further? >>> > >>> > Can you try that disk image on a 'real' machine and see if it crashes >>> > then also? >>> >>> I instaled win2k from the same CD to a real computer. Firefox downloaded >>> from the same URL doesn't crash under the same condition. >> >> There are many different factors in both scenarios besides that one of >> them uses qemu and the other one does not: disk size, video card, network >> card, etc. >> >> >>> But how do I test a qemu image on a real machine? >> >> I would just dd it to an old IDE disk, even though that might give issues >> with differing head/sector counts. >> >> dd if=disk.img of=/dev/hdx bs=1024k >> >> (Where /dev/hdx is the old IDE disk.) > > I see. The problem is that I don't have any old IDE disk at hand. But I > will dd that into VMware tomorrow in order to see if the installation is > really bad. As for the geometry, the doc at > http://linux-ntfs.sourceforge.net/ntfs/files/boot.html is known sufficient > for fixing such issues. > After changing the IDE driver to "generic dual-channel" (in order to avoid "inaccessible boot device" blue screen) and dd'ing the disk image into VMware (using Knoppix and ssh to the host), Firefox doesn't crash. So the problem is indeed in qemu. I also had private mail conversation with marc, who suggested to try his "interp" patch. Since qemu cannot boot win2k with this patch, I had to boot win2k with the regular qemu, savevm, loadvm into patched qemu and only then start Firefox. It then crashed as described in the first mail in this thread. I hope this information is useful. -- Alexander E. Patrakov