From patchwork Mon May 12 20:07:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin O'Connor X-Patchwork-Id: 348101 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E5817140082 for ; Tue, 13 May 2014 06:08:12 +1000 (EST) Received: from localhost ([::1]:39616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjwWA-0005zo-L3 for incoming@patchwork.ozlabs.org; Mon, 12 May 2014 16:08:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjwVm-0005gV-SJ for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjwVb-0000J5-IG for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:46 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:40596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjwVb-0000Iu-DZ for qemu-devel@nongnu.org; Mon, 12 May 2014 16:07:35 -0400 Received: by mail-pb0-f54.google.com with SMTP id uo5so45276pbc.27 for ; Mon, 12 May 2014 13:07:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Dd5E1NLhh/dayW89/H+GDhYbB4ljdru61x1bMQSD1bw=; b=AQJl72xT0UO2NXxK1mkR0T5ymvuElbT4FB8GbXxZPWCtLCWvkaapuvrpOTZWFWYh/L EKHTz//5Ho/L+rSr2vkFaoKpOPsaZmAHIRQ5EX8+ZYDbk87ICH3dec52+tgKayt1HV87 bwMilONtVEZIYXF7Yonq2R1YOJJn5CO5nyYd+bRtURbOcye1okCHlgQK1/ingMPVNGAd mHXG7oujR/XWBqyHI4JRKSni/d5DgDauB2zO5Yzk/R+9zujqw+h2mwqZXHrbrxRyO0qu lcXoAHtFxgrAHhWjo/hIdAGKJvb2WNNiDTTYC6UXxv6lbHvXhoQKEaF1UXM8qiQFF/z6 THhA== X-Gm-Message-State: ALoCoQnorMxHLGWgz7//oZSPkZLB1ZoIOEJ6LaZsEiFHF5SJZZDyvrpudl1DH/yzQyMjgGHWigVd X-Received: by 10.66.66.66 with SMTP id d2mr60011205pat.36.1399925254349; Mon, 12 May 2014 13:07:34 -0700 (PDT) Received: from localhost (207-172-170-53.c3-0.avec-ubr1.nyr-avec.ny.cable.rcn.com. [207.172.170.53]) by mx.google.com with ESMTPSA id qv9sm24298960pbc.71.2014.05.12.13.07.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 May 2014 13:07:33 -0700 (PDT) Date: Mon, 12 May 2014 16:07:31 -0400 From: Kevin O'Connor To: Bernhard Walle Message-ID: <20140512200731.GA15678@morn.localdomain> References: <20140509150621.GA9474@euler.fritz.box> <20140510150739.GA29484@morn.localdomain> <536F6241.2060806@bwalle.de> <20140511123720.GA20468@morn.localdomain> <705f2182cbc05c35147afbe7c06c62a6@bwalle.de> <20140512052918.GA2100@morn.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.54 Cc: qemu-devel@nongnu.org, kraxel@redhat.com Subject: Re: [Qemu-devel] uvesafb doesn't work with seabios X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org On Mon, May 12, 2014 at 08:53:53PM +0200, Bernhard Walle wrote: > Am 2014-05-12 07:29, schrieb Kevin O'Connor: > > > >It does look like the x86emu issue. You can try applying the > >SeaVGABIOS patch below to confirm it. > > The output doesn't appear. But I'm sure that I copied the correct files > because modifications of other strings worked. Heh - old versions of x86emu apparently don't support "rep outsb" either. Can you test the patch below instead? -Kevin --- a/vgasrc/vgaentry.S +++ b/vgasrc/vgaentry.S @@ -47,7 +47,17 @@ _rom_header_signature: // Force a fault if found to be running on broken x86emu versions. DECLFUNC x86emu_fault +msg: .ascii "SeaVGABIOS: x86emu leal trap!\n" x86emu_fault: +#if CONFIG_DEBUG_IO + movw %cs:DebugOutputPort, %dx + movw $msg, %si +1: movb %cs:(%si), %al + outb %al, (%dx) + incw %si + cmpw $x86emu_fault, %si + jl 1b +#endif 1: hlt jmp 1b