From owner-freebsd-emulation@FreeBSD.ORG Sun Mar 4 20:20:56 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAC3D16A401 for ; Sun, 4 Mar 2007 20:20:56 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 975DC13C481 for ; Sun, 4 Mar 2007 20:20:56 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l24KKtSj086225; Sun, 4 Mar 2007 14:20:55 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45EB2A26.3060904@centtech.com> Date: Sun, 04 Mar 2007 14:20:54 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Juergen Lock References: <45DB10D3.8040807@centtech.com> <200702241917.l1OJHNlC008923@saturn.kn-bremen.de> <20070224192754.GA9905@saturn.kn-bremen.de> <200703031932.l23JWt6m039021@saturn.kn-bremen.de> In-Reply-To: <200703031932.l23JWt6m039021@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2722/Sun Mar 4 12:06:42 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: experimental qemu-devel port (update), please test! X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 20:20:56 -0000 On 03/03/07 13:32, Juergen Lock wrote: > In article <45E5CDE3.7030509@centtech.com> anderson@centtech.com (Eric Anderson)writes: > >> On 02/24/07 13:27, Juergen Lock wrote: >>> On Sat, Feb 24, 2007 at 08:17:23PM +0100, Juergen Lock wrote: >>>> In article <45DB10D3.8040807@centtech.com> you write: >>>>> Is anyone else experiencing a nearly useless qemu experience with the >>>>> latest versions? >>>>> >>>>> I'm running -CURRENT from yesterday, and the latest qemu port (and kqemu). >>>>> >>>>> These combinations segfault: >>>>> >>>>> Anything with the -vnc option, when disconnecting the vnc viewer, will >>>>> segfault: >>>>> sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic >>>>> -net tap -snapshot -vnc :1 -serial /dev/ttyv8 -kernel-kqemu >>>>> >>>>> This used to work nicely, now it dies when I connect to port 1111: >>>>> sudo qemu -hda /alt/images/fs.img -hdb /alt/images/swapfile -net nic >>>>> -net tap -snapshot -serial telnet::1111,server,nowait -std-vga -monitor >>>>> stdio -full-screen -kernel-kqemu >>>>> >>>>> Which, when it dies, ktrace shows me: >>>>> ... >>>> Hmm I don't know much about the code in question, you may have more >>>> luck reposting this on the qemu list: >>>> http://lists.gnu.org/mailman/listinfo/qemu-devel >>> And just when I posted this... There were just patches posted on that >>> list that fix vnc disconnect segfaults, so I think the next port update >>> will fix at least that problem. >> Thanks! I've been hoping to see the update, but still not there yet.. >> :( Oh well. > > Sorry things are going a little slow around here... But now I have > the following update for you all to test: > > 1. copy the qemu port dir (/usr/ports/emulators/qemu) to > emulators/qemu-devel > 2. apply the patch below in emulators > 3. deinstall qemu > 3. run `make install' in the new qemu-devel port dir (you probably > cannot use portinstall/portupgrade unless you add the new port to > INDEX yourself, that is until it is committed...) > 4. test! > > Should you want to go back, deinstall qemu-devel and then install the > originall qemu port again. > >> I wonder if that will also fix my telnet issue with qemu. > > Not sure, but now you should be able to check yourself. :) I can confirm, this patch fixes both the vnc problem *and* the telnet issue. Woohoo!!! Thanks a ton! The only issue I see with VNC is one I've had since I tried using it 5-6 months ago, is corrupt video (during FreeBSD kernel boots, and console output, etc). I've never really tried it with higher resolution stuff though. Not a big deal.. Thanks for the patch!! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------