From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5qKW-0002qA-CQ for qemu-devel@nongnu.org; Sat, 24 Apr 2010 21:08:16 -0400 Received: from [140.186.70.92] (port=43813 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5qKV-0002pC-4q for qemu-devel@nongnu.org; Sat, 24 Apr 2010 21:08:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5qKT-0005Sc-Py for qemu-devel@nongnu.org; Sat, 24 Apr 2010 21:08:14 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:40289) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5qKT-0005SY-KH for qemu-devel@nongnu.org; Sat, 24 Apr 2010 21:08:13 -0400 Received: by pvg4 with SMTP id 4so21777pvg.4 for ; Sat, 24 Apr 2010 18:08:12 -0700 (PDT) Sender: Richard Henderson Message-ID: <4BD395EE.2090409@twiddle.net> Date: Sat, 24 Apr 2010 18:07:58 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] Help getting an qemu-alpha environment to work References: <20100424155146.GB17412@zensonic.dk> In-Reply-To: <20100424155146.GB17412@zensonic.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu@zensonic.dk Cc: qemu-devel@nongnu.org On 04/24/2010 08:51 AM, qemu@zensonic.dk wrote: > I was a bit surprised not being greeted with "hello world", so I ran: > > $ ../../alpha-linux-user/qemu-alpha -strace hello-alpha > 17682 write(1,0,536871368) = -1 errno=14 (Bad address) > 17682 exit(0) There's a problem with the current implementation of mmap in linux-user such that it can return addresses that are outside the "valid" address space of the guest. I have a patch sequence that fixes this, but it's not terribly clean and has bad worst-case performance so I havn't bothered submitting it. r~