Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3FMH-00041C-Id for qemu-devel@nongnu.org; Fri, 03 Sep 2004 10:48:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3FMG-000409-Pv for qemu-devel@nongnu.org; Fri, 03 Sep 2004 10:48:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3FMG-000402-Mc for qemu-devel@nongnu.org; Fri, 03 Sep 2004 10:48:08 -0400 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3FGi-0007gk-6K for qemu-devel@nongnu.org; Fri, 03 Sep 2004 10:42:24 -0400 Date: Fri, 3 Sep 2004 16:42:23 +0200 From: Lennert Buytenhek Subject: Re: cause found for qemu-arm problems on fedora 2 (Re: [Qemu-devel] Problem with running machine code specified in the program) Message-ID: <20040903144223.GA23423@xi.wantstofly.org> References: <20040903133400.GA22817@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040903133400.GA22817@xi.wantstofly.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yangh@coretek.com.cn, qemu-devel@nongnu.org On Fri, Sep 03, 2004 at 03:34:00PM +0200, Lennert Buytenhek wrote: > > I got "qemu: uncaught target signal 11 (Segmentation fault) - exiting" when > > running program like that: > > I was running into this too, and just checked it out. You should do: > > 1. Run 'setarch i686 qemu-arm' instead of 'qemu-arm'. > 2. Downgrade to the original 2.6.5 kernel that came with FC2. > > It seems that qemu-arm broke somewhere between fedora's version of > 2.6.6 and 2.6.8, their current kernel. I'm trying the intermediate > releases right now. OK, here are my findings. I tried qemu-arm from qemu 0.5.5 and from all daily qemu CVS snapshots between 20040504 and 20040901. Of those, there are actually only 16 different qemu-arm binaries (with a distinct md5 sum), so I only used those. I tried the Fedora Core 2 kernels 2.6.5-1.358 (original), 2.6.6-1.427, 2.6.6-1.435, 2.6.6-1.435.2.1, 2.6.6-1.435.2.3, 2.6.7-1.494.2.2 and 2.6.8-1.521 (the latest.) On all kernels, you get a sig11 if you run without 'setarch i686'. If you run with 'setarch i686', kernel 2.6.6-1.435.2.3 still runs everything fine, but 2.6.7-1.494.2.2 breaks all qemu versions except for the 20040519 CVS snapshot. And on the kernel after that, 2.6.8-1.521, all qemu versions are broken. If I then try to set vm.legacy_vm_layout to 1, 20040519 starts working again, but all other snapshots before and after remain broken. Puzzled. --L