From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 1 22:59:53 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 CCC5716A421; Sun, 1 Jul 2007 22:59:53 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 54CFC13C484; Sun, 1 Jul 2007 22:59:53 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 6FFF21EA44D; Mon, 2 Jul 2007 00:59:52 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id l61MwakI015258; Mon, 2 Jul 2007 00:58:36 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l61MwZgP015257; Mon, 2 Jul 2007 00:58:35 +0200 (CEST) (envelope-from nox) Date: Mon, 2 Jul 2007 00:58:35 +0200 (CEST) From: Juergen Lock Message-Id: <200707012258.l61MwZgP015257@saturn.kn-bremen.de> To: anderson@freebsd.org X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <4659D601.3060707@freebsd.org> References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> <20070527125824.GA1982@saturn.kn-bremen.de> <4659C0A2.6030808@freebsd.org> <20070527185235.GA21463@saturn.kn-bremen.de> Organization: home Cc: freebsd-emulation@freebsd.org Subject: Re: another qemu-devel port update ready for testing 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, 01 Jul 2007 22:59:54 -0000 In article <4659D601.3060707@freebsd.org> you write: >On 05/27/07 13:52, Juergen Lock wrote: >> On Sun, May 27, 2007 at 12:32:18PM -0500, Eric Anderson wrote: >>> On 05/27/07 07:58, Juergen Lock wrote: >>>> On Sat, May 26, 2007 at 06:02:06PM -0500, Eric Anderson wrote: >>>>> On a recent -CURRENT (with the new GCC): >>>>> >>>>> # make >>>>> ... >>>>> ===> Configuring for qemu-devel-0.9.0s.20070526 >>>>> WARNING: "cc" looks like gcc 4.x >>>>> QEMU is known to have problems when compiled with gcc 4.x >>>>> It is recommended that you use gcc 3.x to build QEMU >>>>> To use this compiler anyway, configure with --disable-gcc-check >>>>> ===> Script "configure" failed unexpectedly. >>>>> Please report the problem to nox@FreeBSD.org [maintainer] and attach the >>>>> >"/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-05-26_05/config.log" >>>>> including the output of the failure of your make command. Also, it might >>>>> be >>>>> a good idea to provide an overview of all packages installed on your >>>>> system >>>>> (e.g. an `ls /var/db/pkg`). >>>>> *** Error code 1 >>>>> >>>>> Stop in /usr/ports/emulators/qemu-devel. >>>>> *** Error code 1 >>>>> >>>>> Stop in /usr/ports/emulators/qemu-devel. >>>> Hmm that should not happen... Do you have an old version of >>>> bsd.gcc.mk maybe? >>>> >>>> Juergen >>> >>> # $FreeBSD: ports/Mk/bsd.gcc.mk,v 1.12 2007/05/19 22:06:14 pav Exp $ >>> >>> >>> That the right one? >> >> Yeah. Ok probably CONFIGURE_ARGS needs to come after the >> bsd.port.pre.mk include for it to pick up the right ${CC}... try this: > > >Same thing.. > >===> Vulnerability check disabled, database not found >===> Found saved configuration for qemu-devel-0.9.0s.20070526 >===> Extracting for qemu-devel-0.9.0s.20070526 >=> MD5 Checksum OK for qemu/qemu-snapshot-2007-05-26_05.tar.bz2. >=> SHA256 Checksum OK for qemu/qemu-snapshot-2007-05-26_05.tar.bz2. >===> qemu-devel-0.9.0s.20070526 depends on file: >/usr/local/bin/perl5.8.8 - found >===> Patching for qemu-devel-0.9.0s.20070526 >===> qemu-devel-0.9.0s.20070526 depends on file: >/usr/local/bin/perl5.8.8 - found >===> Applying FreeBSD patches for qemu-devel-0.9.0s.20070526 >===> qemu-devel-0.9.0s.20070526 depends on package: >kqemu-kmod>=1.3.0pre5 - found >===> qemu-devel-0.9.0s.20070526 depends on executable in : texi2html - >found >===> qemu-devel-0.9.0s.20070526 depends on executable in : gmake - found >===> qemu-devel-0.9.0s.20070526 depends on file: >/usr/local/bin/perl5.8.8 - found >===> qemu-devel-0.9.0s.20070526 depends on file: >/usr/local/bin/sdl-config - found >===> qemu-devel-0.9.0s.20070526 depends on shared library: SDL.11 - found >===> Configuring for qemu-devel-0.9.0s.20070526 >WARNING: "cc" looks like gcc 4.x >QEMU is known to have problems when compiled with gcc 4.x >It is recommended that you use gcc 3.x to build QEMU >To use this compiler anyway, configure with --disable-gcc-check >===> Script "configure" failed unexpectedly. >Please report the problem to nox@FreeBSD.org [maintainer] and attach the >"/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-05-26_05/config.log" >including the output of the failure of your make command. Also, it might be >a good idea to provide an overview of all packages installed on your system >(e.g. an `ls /var/db/pkg`). >*** Error code 1 > >Stop in /usr/ports/emulators/qemu-devel. >*** Error code 1 > >Stop in /usr/ports/emulators/qemu-devel. Ok just in case this still hasn't been resolved yet (and for the benefit of other readers): When this happened on bento it was casued by a stale sourcetree that appaently was stuck beween the gcc4 import and the correspondig OSVERSION bump, so bsd.gcc.mk was thinking gcc3 was still in base (note how a line like ===> qemu-devel-0.9.0s.20070526 depends on executable in : gcc34 ... is missing there too.) bye, Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 2 02:18:05 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 07F2416A41F for ; Mon, 2 Jul 2007 02:18:05 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id CA11113C484 for ; Mon, 2 Jul 2007 02:18:04 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.vnode.org (r74-193-81-203.pfvlcmta01.grtntx.tl.dh.suddenlink.net [74.193.81.203]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l622I2QI009199 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 1 Jul 2007 21:18:03 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46886055.9010907@freebsd.org> Date: Sun, 01 Jul 2007 21:17:57 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.4 (X11/20070629) MIME-Version: 1.0 To: Juergen Lock References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> <20070527125824.GA1982@saturn.kn-bremen.de> <4659C0A2.6030808@freebsd.org> <20070527185235.GA21463@saturn.kn-bremen.de> <200707012258.l61MwZgP015257@saturn.kn-bremen.de> In-Reply-To: <200707012258.l61MwZgP015257@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: freebsd-emulation@freebsd.org Subject: Re: another qemu-devel port update ready for testing 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: Mon, 02 Jul 2007 02:18:05 -0000 On 07/01/07 17:58, Juergen Lock wrote: > In article <4659D601.3060707@freebsd.org> you write: >> On 05/27/07 13:52, Juergen Lock wrote: >>> On Sun, May 27, 2007 at 12:32:18PM -0500, Eric Anderson wrote: >>>> On 05/27/07 07:58, Juergen Lock wrote: >>>>> On Sat, May 26, 2007 at 06:02:06PM -0500, Eric Anderson wrote: >>>>>> On a recent -CURRENT (with the new GCC): >>>>>> >>>>>> # make >>>>>> ... >>>>>> ===> Configuring for qemu-devel-0.9.0s.20070526 >>>>>> WARNING: "cc" looks like gcc 4.x >>>>>> QEMU is known to have problems when compiled with gcc 4.x >>>>>> It is recommended that you use gcc 3.x to build QEMU >>>>>> To use this compiler anyway, configure with --disable-gcc-check >>>>>> ===> Script "configure" failed unexpectedly. >>>>>> Please report the problem to nox@FreeBSD.org [maintainer] and attach the >>>>>> >> "/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-05-26_05/config.log" >>>>>> including the output of the failure of your make command. Also, it might >>>>>> be >>>>>> a good idea to provide an overview of all packages installed on your >>>>>> system >>>>>> (e.g. an `ls /var/db/pkg`). >>>>>> *** Error code 1 >>>>>> >>>>>> Stop in /usr/ports/emulators/qemu-devel. >>>>>> *** Error code 1 >>>>>> >>>>>> Stop in /usr/ports/emulators/qemu-devel. >>>>> Hmm that should not happen... Do you have an old version of >>>>> bsd.gcc.mk maybe? >>>>> >>>>> Juergen >>>> # $FreeBSD: ports/Mk/bsd.gcc.mk,v 1.12 2007/05/19 22:06:14 pav Exp $ >>>> >>>> >>>> That the right one? >>> Yeah. Ok probably CONFIGURE_ARGS needs to come after the >>> bsd.port.pre.mk include for it to pick up the right ${CC}... try this: >> >> Same thing.. >> >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for qemu-devel-0.9.0s.20070526 >> ===> Extracting for qemu-devel-0.9.0s.20070526 >> => MD5 Checksum OK for qemu/qemu-snapshot-2007-05-26_05.tar.bz2. >> => SHA256 Checksum OK for qemu/qemu-snapshot-2007-05-26_05.tar.bz2. >> ===> qemu-devel-0.9.0s.20070526 depends on file: >> /usr/local/bin/perl5.8.8 - found >> ===> Patching for qemu-devel-0.9.0s.20070526 >> ===> qemu-devel-0.9.0s.20070526 depends on file: >> /usr/local/bin/perl5.8.8 - found >> ===> Applying FreeBSD patches for qemu-devel-0.9.0s.20070526 >> ===> qemu-devel-0.9.0s.20070526 depends on package: >> kqemu-kmod>=1.3.0pre5 - found >> ===> qemu-devel-0.9.0s.20070526 depends on executable in : texi2html - >> found >> ===> qemu-devel-0.9.0s.20070526 depends on executable in : gmake - found >> ===> qemu-devel-0.9.0s.20070526 depends on file: >> /usr/local/bin/perl5.8.8 - found >> ===> qemu-devel-0.9.0s.20070526 depends on file: >> /usr/local/bin/sdl-config - found >> ===> qemu-devel-0.9.0s.20070526 depends on shared library: SDL.11 - found >> ===> Configuring for qemu-devel-0.9.0s.20070526 >> WARNING: "cc" looks like gcc 4.x >> QEMU is known to have problems when compiled with gcc 4.x >> It is recommended that you use gcc 3.x to build QEMU >> To use this compiler anyway, configure with --disable-gcc-check >> ===> Script "configure" failed unexpectedly. >> Please report the problem to nox@FreeBSD.org [maintainer] and attach the >> "/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-05-26_05/config.log" >> including the output of the failure of your make command. Also, it might be >> a good idea to provide an overview of all packages installed on your system >> (e.g. an `ls /var/db/pkg`). >> *** Error code 1 >> >> Stop in /usr/ports/emulators/qemu-devel. >> *** Error code 1 >> >> Stop in /usr/ports/emulators/qemu-devel. > > Ok just in case this still hasn't been resolved yet (and for the benefit > of other readers): When this happened on bento it was casued by a > stale sourcetree that appaently was stuck beween the gcc4 import and > the correspondig OSVERSION bump, so bsd.gcc.mk was thinking gcc3 was > still in base (note how a line like > ===> qemu-devel-0.9.0s.20070526 depends on executable in : gcc34 ... > is missing there too.) Ok - that makes a bunch of sense. It all seems to be working for me (at least compiles) now. Now I can get back to my file system development. :) Thanks! Eric From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 2 11:08:33 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 3DA4E16A4C4 for ; Mon, 2 Jul 2007 11:08:33 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2DEC613C487 for ; Mon, 2 Jul 2007 11:08:33 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l62B8XJG082624 for ; Mon, 2 Jul 2007 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l62B8VL7082620 for freebsd-emulation@FreeBSD.org; Mon, 2 Jul 2007 11:08:31 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Jul 2007 11:08:31 GMT Message-Id: <200707021108.l62B8VL7082620@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 02 Jul 2007 11:08:33 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/77710 emulation [linux] Linux page fault sigcontext information is wro o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 4 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/112355 emulation [PATCH] emulators/vmware3: cleanup non-supported FreeB 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 2 20:32:01 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 BB03316A41F; Mon, 2 Jul 2007 20:32:01 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 214BC13C4C9; Mon, 2 Jul 2007 20:32:01 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 4A1FC1EA914; Mon, 2 Jul 2007 22:32:00 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id l62KURbA045471; Mon, 2 Jul 2007 22:30:27 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l62KUR5T045470; Mon, 2 Jul 2007 22:30:27 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 2 Jul 2007 22:30:27 +0200 To: freebsd-emulation@FreeBSD.org, freebsd-ports@FreeBSD.org Message-ID: <20070702203027.GA45302@saturn.kn-bremen.de> Mail-Followup-To: freebsd-emulation@FreeBSD.org, freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: 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: Mon, 02 Jul 2007 20:32:01 -0000 Looks like its time for this again... Many bugs have been fixed, some features have been added, like, qemu-system-arm has grown emulation of a few PDAs like some Zaurus models, etc. As always, please test now, before I commit this, so we won't be in for nasty surprises afterwards... Thanx & enjoy, Juergen Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.78 diff -u -r1.78 Makefile --- Makefile 31 May 2007 18:24:19 -0000 1.78 +++ Makefile 2 Jul 2007 17:38:56 -0000 @@ -6,7 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070526 +PORTVERSION= 0.9.0s.20070702 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -15,7 +15,7 @@ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc PKGNAMESUFFIX= -devel -DISTNAME= ${PORTNAME}-snapshot-2007-05-26_05 +DISTNAME= ${PORTNAME}-snapshot-2007-07-02_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} Index: distinfo =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/distinfo,v retrieving revision 1.46 diff -u -r1.46 distinfo --- distinfo 31 May 2007 18:24:19 -0000 1.46 +++ distinfo 2 Jul 2007 17:39:47 -0000 @@ -1,6 +1,6 @@ -MD5 (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 3fe2cf8c5cb26431499056bd08bb5be8 -SHA256 (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 55e73f0593c5d31ba3483e8034542c5ab33217cc3048995dd94edf9640e8411e -SIZE (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 1964534 +MD5 (qemu/qemu-snapshot-2007-07-02_05.tar.bz2) = 624b513bbd86e0c7529344584639fba1 +SHA256 (qemu/qemu-snapshot-2007-07-02_05.tar.bz2) = 62474848fda0dacb1c6238b33b6b272e49dfa3821352ec57f38388246e0aa8c2 +SIZE (qemu/qemu-snapshot-2007-07-02_05.tar.bz2) = 2003505 MD5 (qemu/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 Index: pkg-descr =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/pkg-descr,v retrieving revision 1.5 diff -u -r1.5 pkg-descr --- pkg-descr 10 Mar 2007 17:03:05 -0000 1.5 +++ pkg-descr 2 Jul 2007 18:56:38 -0000 @@ -17,4 +17,4 @@ See also the preconfigured system images on http://oszoo.org/ Many live cd isos also work. -WWW: http://qemu.org/ +WWW: http://fabrice.bellard.free.fr/qemu/ Index: files/patch-90_security =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/files/patch-90_security,v retrieving revision 1.1 diff -u -r1.1 patch-90_security --- files/patch-90_security 2 May 2007 19:55:07 -0000 1.1 +++ files/patch-90_security 2 Jul 2007 17:43:23 -0000 @@ -185,32 +185,6 @@ } } retval = fdctrl->fifo[pos]; -Index: qemu-0.8.2/hw/ne2000.c -=================================================================== ---- qemu-0.8.2.orig/hw/ne2000.c 2007-04-20 06:05:59.000000000 +0300 -+++ qemu-0.8.2/hw/ne2000.c 2007-04-20 06:05:59.000000000 +0300 -@@ -230,7 +230,7 @@ static void ne2000_receive(void *opaque, - { - NE2000State *s = opaque; - uint8_t *p; -- int total_len, next, avail, len, index, mcast_idx; -+ unsigned int total_len, next, avail, len, index, mcast_idx; - uint8_t buf1[60]; - static const uint8_t broadcast_macaddr[6] = - { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; -@@ -299,7 +299,11 @@ static void ne2000_receive(void *opaque, - - /* write packet data */ - while (size > 0) { -- avail = s->stop - index; -+ /* taviso: this can wrap, so check its okay. */ -+ if (index <= s->stop) -+ avail = s->stop - index; -+ else -+ avail = 0; - len = size; - if (len > avail) - len = avail; Index: qemu-0.8.2/hw/pc.c =================================================================== --- qemu-0.8.2.orig/hw/pc.c 2007-04-20 06:05:58.000000000 +0300 @@ -272,20 +246,6 @@ =================================================================== --- qemu-0.8.2.orig/target-i386/translate.c 2006-07-22 20:23:34.000000000 +0300 +++ qemu-0.8.2/target-i386/translate.c 2007-04-20 06:05:59.000000000 +0300 -@@ -5244,7 +5244,12 @@ static target_ulong disas_insn(DisasCont - if (CODE64(s)) - goto illegal_op; - val = ldub_code(s->pc++); -- gen_op_aam(val); -+ /* taviso: operand can be zero */ -+ if (val) { -+ gen_op_aam(val); -+ } else { -+ gen_exception(s, EXCP00_DIVZ, s->pc - s->cs_base); -+ } - s->cc_op = CC_OP_LOGICB; - break; - case 0xd5: /* aad */ @@ -5292,6 +5297,7 @@ static target_ulong disas_insn(DisasCont gen_jmp_im(pc_start - s->cs_base); gen_op_into(s->pc - pc_start); Index: files/patch-bsdusb.patch =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/files/patch-bsdusb.patch,v retrieving revision 1.8 diff -u -r1.8 patch-bsdusb.patch --- files/patch-bsdusb.patch 10 Mar 2007 17:03:05 -0000 1.8 +++ files/patch-bsdusb.patch 2 Jul 2007 17:45:36 -0000 @@ -36,15 +36,15 @@ for target in $target_list; do target_dir="$target" Index: qemu/Makefile.target -@@ -329,7 +329,7 @@ +@@ -408,7 +408,7 @@ VL_OBJS+= scsi-disk.o cdrom.o lsi53c895a.o # USB layer -VL_OBJS+= usb.o usb-hub.o usb-linux.o usb-hid.o usb-ohci.o usb-msd.o +VL_OBJS+= usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-ohci.o usb-msd.o + VL_OBJS+= usb-wacom.o - # PCI network cards - VL_OBJS+= ne2000.o rtl8139.o pcnet.o + # EEPROM emulation Index: qemu/usb-stub.c @@ -0,0 +1,11 @@ +#include "vl.h" Index: files/patch-bt =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/files/patch-bt,v retrieving revision 1.4 diff -u -r1.4 patch-bt --- files/patch-bt 10 Mar 2007 17:03:05 -0000 1.4 +++ files/patch-bt 2 Jul 2007 18:53:07 -0000 @@ -1,14 +1,14 @@ Index: qemu/vl.c -@@ -43,6 +43,9 @@ - #ifndef __APPLE__ - #include +@@ -76,6 +76,9 @@ + #endif + #endif #endif +#ifdef __FreeBSD__ +#include +#endif - #else - #include - #include + + #if defined(CONFIG_SLIRP) + #include "libslirp.h" @@ -1059,6 +1062,34 @@ #endif /* CONFIG_SLIRP */ Index: files/patch-vl.c =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/files/patch-vl.c,v retrieving revision 1.7 diff -u -r1.7 patch-vl.c --- files/patch-vl.c 10 Mar 2007 17:15:07 -0000 1.7 +++ files/patch-vl.c 2 Jul 2007 19:39:03 -0000 @@ -1,21 +1,4 @@ Index: qemu/vl.c -@@ -1510,7 +1510,7 @@ - return chr; - } - --#if defined(__linux__) -+#if defined(__linux__) || defined(__FreeBSD__) - static CharDriverState *qemu_chr_open_pty(void) - { - struct termios tty; -@@ -1904,6 +1907,7 @@ - return chr; - } - -+#if defined(__linux__) - typedef struct { - int fd; - int mode; @@ -1727,6 +1728,7 @@ chr->chr_ioctl = pp_ioctl; return chr; @@ -24,3 +7,29 @@ #else CharDriverState *qemu_chr_open_pty(void) +@@ -1771,14 +1771,14 @@ + return chr; + } + +-#if defined(__linux__) || defined(__sun__) ++#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__) + static CharDriverState *qemu_chr_open_pty(void) + { + struct termios tty; + char slave_name[1024]; + int master_fd, slave_fd; + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + /* Not satisfying */ + if (openpty(&master_fd, &slave_fd, slave_name, NULL, NULL) < 0) { + return NULL; +@@ -3036,7 +3036,7 @@ + return qemu_chr_open_pp(filename); + } else + #endif +-#if defined(__linux__) || defined(__sun__) ++#if defined(__linux__) || defined(__sun__) || defined(__FreeBSD__) + if (strstart(filename, "/dev/", NULL)) { + return qemu_chr_open_tty(filename); + } else Index: files/patch-vl.c-ppbus =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/files/patch-vl.c-ppbus,v retrieving revision 1.3 diff -u -r1.3 patch-vl.c-ppbus --- files/patch-vl.c-ppbus 10 Mar 2007 17:03:05 -0000 1.3 +++ files/patch-vl.c-ppbus 2 Jul 2007 18:53:31 -0000 @@ -1,20 +1,19 @@ ---- vl.c.orig Mon Aug 21 23:06:11 2006 -+++ vl.c Mon Aug 21 23:04:49 2006 -@@ -48,6 +48,8 @@ +Index: qemu/vl.c +@@ -78,6 +78,8 @@ #endif #ifdef __FreeBSD__ #include +#include +#include #endif - #else - #ifndef __sun__ + + #if defined(CONFIG_SLIRP) @@ -1728,7 +1730,64 @@ chr->chr_ioctl = pp_ioctl; return chr; } -#endif /* defined(__linux__) */ -+#elif defined(__FreeBSD__) ++#if defined(__FreeBSD__) +static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) +{ + int fd = (int)chr->opaque; From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 6 03:31:36 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 0A9A116A400 for ; Fri, 6 Jul 2007 03:31:36 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id D5CD913C43E for ; Fri, 6 Jul 2007 03:31:35 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.vnode.org (r74-193-81-203.pfvlcmta01.grtntx.tl.dh.suddenlink.net [74.193.81.203]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l663VYZ5068403 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Thu, 5 Jul 2007 22:31:34 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <468DB791.9020502@freebsd.org> Date: Thu, 05 Jul 2007 22:31:29 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.4 (X11/20070629) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org References: <20070702203027.GA45302@saturn.kn-bremen.de> In-Reply-To: <20070702203027.GA45302@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: 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: Fri, 06 Jul 2007 03:31:36 -0000 On 07/02/07 15:30, Juergen Lock wrote: > Looks like its time for this again... Many bugs have been fixed, > some features have been added, like, qemu-system-arm has grown > emulation of a few PDAs like some Zaurus models, etc. As always, > please test now, before I commit this, so we won't be in for > nasty surprises afterwards... Works great so far on -CURRENT, thanks! Did the vmwarevga thing ever settle down, and become stable? Eric From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 6 03:59:19 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 4A7E516A400 for ; Fri, 6 Jul 2007 03:59:19 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id C164613C465 for ; Fri, 6 Jul 2007 03:59:18 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l663mx8a006693; Fri, 6 Jul 2007 13:18:59 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.9) with ESMTP id ; Fri, 6 Jul 2007 13:29:11 +0930 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 6 Jul 2007 13:29:11 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.14.1/8.14.1) with ESMTP id l663x57Q099516; Fri, 6 Jul 2007 11:59:05 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.14.1/8.14.1/Submit) id l663x5xw099515; Fri, 6 Jul 2007 11:59:05 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 6 Jul 2007 11:59:05 +0800 From: "Wilkinson, Alex" To: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20070706035905.GV98353@obelix.dsto.defence.gov.au> Mail-Followup-To: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org References: <20070702203027.GA45302@saturn.kn-bremen.de> <468DB791.9020502@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <468DB791.9020502@freebsd.org> Organisation: Defence Science Technology Organisation User-Agent: Mutt/1.5.16 (2007-06-09) X-OriginalArrivalTime: 06 Jul 2007 03:59:11.0711 (UTC) FILETIME=[02CECEF0:01C7BF82] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-5.0.1021-15280.000 X-TM-AS-Result: No--3.955700-0.000000-31 Content-Transfer-Encoding: 7bit Cc: 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: Fri, 06 Jul 2007 03:59:19 -0000 0n Thu, Jul 05, 2007 at 10:31:29PM -0500, Eric Anderson wrote: >On 07/02/07 15:30, Juergen Lock wrote: >> Looks like its time for this again... Many bugs have been fixed, >> some features have been added, like, qemu-system-arm has grown >> emulation of a few PDAs like some Zaurus models, etc. As always, >> please test now, before I commit this, so we won't be in for >> nasty surprises afterwards... > >Works great so far on -CURRENT, thanks! >Did the vmwarevga thing ever settle down, and become stable? Whats the "vmwarevga thing" ? -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 7 02:49:49 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 8DB0916A468; Sat, 7 Jul 2007 02:49:49 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 62F7813C458; Sat, 7 Jul 2007 02:49:49 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.vnode.org (r74-193-81-203.pfvlcmta01.grtntx.tl.dh.suddenlink.net [74.193.81.203]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l672nlku078515 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 6 Jul 2007 21:49:48 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <468EFF46.4060001@freebsd.org> Date: Fri, 06 Jul 2007 21:49:42 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.4 (X11/20070629) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org References: <20070702203027.GA45302@saturn.kn-bremen.de> <468DB791.9020502@freebsd.org> In-Reply-To: <468DB791.9020502@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: 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: Sat, 07 Jul 2007 02:49:49 -0000 On 07/05/07 22:31, Eric Anderson wrote: > On 07/02/07 15:30, Juergen Lock wrote: >> Looks like its time for this again... Many bugs have been fixed, >> some features have been added, like, qemu-system-arm has grown >> emulation of a few PDAs like some Zaurus models, etc. As always, >> please test now, before I commit this, so we won't be in for >> nasty surprises afterwards... > > Works great so far on -CURRENT, thanks! > > Did the vmwarevga thing ever settle down, and become stable? Although now I have the issue where using kqemu-kmod causes my system to reboot or power off. :( Any ideas? Eric From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 7 14:05:21 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 B311816A468; Sat, 7 Jul 2007 14:05:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 695CB13C44B; Sat, 7 Jul 2007 14:05:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 7EE531EDD6D; Sat, 7 Jul 2007 16:05:19 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id l67DY3p1050780; Sat, 7 Jul 2007 15:34:03 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l67DY2KC050779; Sat, 7 Jul 2007 15:34:02 +0200 (CEST) (envelope-from nox) Date: Sat, 7 Jul 2007 15:34:02 +0200 (CEST) From: Juergen Lock Message-Id: <200707071334.l67DY2KC050779@saturn.kn-bremen.de> To: alex.wilkinson@dsto.defence.gov.au X-Newsgroups: local.list.freebsd.ports In-Reply-To: <20070706035905.GV98353@obelix.dsto.defence.gov.au> References: <20070702203027.GA45302@saturn.kn-bremen.de> <468DB791.9020502@freebsd.org> Organization: home 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: Sat, 07 Jul 2007 14:05:21 -0000 In article <20070706035905.GV98353@obelix.dsto.defence.gov.au> you write: > 0n Thu, Jul 05, 2007 at 10:31:29PM -0500, Eric Anderson wrote: > > >On 07/02/07 15:30, Juergen Lock wrote: >>> Looks like its time for this again... Many bugs have been fixed, >>> some features have been added, like, qemu-system-arm has grown >>> emulation of a few PDAs like some Zaurus models, etc. As always, >>> please test now, before I commit this, so we won't be in for >>> nasty surprises afterwards... > > > >Works great so far on -CURRENT, thanks! > >Did the vmwarevga thing ever settle down, and become stable? > >Whats the "vmwarevga thing" ? vmware svga emulation (so, display), enabled via -vmwarevga in qemu cvs and the -devel port. xorg knows it as Driver "vmware", and there are drivers for windows too. This seems to work mostly, tho sometimes the mouse cursor jumps into the bottom right corner for me with a linux guest, and it still causes FreeBSD guests failing to attach the default nic (ed0) and pcm0 (snd_es137x, only active when passing -soundhw es1370 to qemu.) Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 7 14:05:21 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 B329A16A469; Sat, 7 Jul 2007 14:05:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6928213C448; Sat, 7 Jul 2007 14:05:21 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 9807D1EDD5E; Sat, 7 Jul 2007 16:05:19 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id l67E2GlS051151; Sat, 7 Jul 2007 16:02:16 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l67E2Gpm051150; Sat, 7 Jul 2007 16:02:16 +0200 (CEST) (envelope-from nox) Date: Sat, 7 Jul 2007 16:02:16 +0200 (CEST) From: Juergen Lock Message-Id: <200707071402.l67E2Gpm051150@saturn.kn-bremen.de> To: anderson@freebsd.org X-Newsgroups: local.list.freebsd.ports In-Reply-To: <468EFF46.4060001@freebsd.org> References: <20070702203027.GA45302@saturn.kn-bremen.de> <468DB791.9020502@freebsd.org> Organization: home 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: Sat, 07 Jul 2007 14:05:21 -0000 In article <468EFF46.4060001@freebsd.org> you write: >On 07/05/07 22:31, Eric Anderson wrote: >> On 07/02/07 15:30, Juergen Lock wrote: >>> Looks like its time for this again... Many bugs have been fixed, >>> some features have been added, like, qemu-system-arm has grown >>> emulation of a few PDAs like some Zaurus models, etc. As always, >>> please test now, before I commit this, so we won't be in for >>> nasty surprises afterwards... >> >> Works great so far on -CURRENT, thanks! >> >> Did the vmwarevga thing ever settle down, and become stable? > > > >Although now I have the issue where using kqemu-kmod causes my system to >reboot or power off. :( > >Any ideas? This seems to be a -current issue, it doesn't happen for me at least (6.2 and previously also 6.1.) You could check if it is dependent on the version of the used qemu (the 0.9.0 port, the version of qemu-devel in ports, or the not-yet-committed updated I posted), but I doubt it. What may help is finding out which commit to -current started kqemu to break (find an older version that worked, then binary-search), or at least a backtrace from a kernel compiled without -fomit-frame-pointer (putting DDB in the config seems to do that for amd64 at least, but rebuild the entire kernel.) There also is an open issue for kqemu on amd64 smp, http://www.freebsd.org/cgi/query-pr.cgi?pr=113430 dunno if its related... Juergen