From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 12: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 1277D16A496; Sun, 27 May 2007 12:59:19 +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 ACB5513C4B0; Sun, 27 May 2007 12:59:18 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id ADC7219B841; Sun, 27 May 2007 14:59:17 +0200 (CEST) Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4RCwO8n003871; Sun, 27 May 2007 14:58:24 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4RCwO6x003870; Sun, 27 May 2007 14:58:24 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 27 May 2007 14:58:24 +0200 To: Eric Anderson Message-ID: <20070527125824.GA1982@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@FreeBSD.org, freebsd-ports@FreeBSD.org References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4658BC6E.5080208@freebsd.org> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-emulation@freebsd.org, freebsd-ports@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, 27 May 2007 12:59:19 -0000 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 From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 17:32: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 49DF516A421; Sun, 27 May 2007 17:32:19 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from omta02.suddenlink.net (omta02-pub.suddenlink.net [208.180.40.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8F29E13C469; Sun, 27 May 2007 17:32:18 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.vnode.org ([74.193.81.203]) by omta02.suddenlink.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070527173218.BBQR10446.omta02.suddenlink.net@neutrino.vnode.org>; Sun, 27 May 2007 12:32:18 -0500 Message-ID: <4659C0A2.6030808@freebsd.org> Date: Sun, 27 May 2007 12:32:18 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Eric Anderson , freebsd-emulation@FreeBSD.org, freebsd-ports@FreeBSD.org References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> <20070527125824.GA1982@saturn.kn-bremen.de> In-Reply-To: <20070527125824.GA1982@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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, 27 May 2007 17:32:19 -0000 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? Eric From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 18:18:52 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 ACA1B16A41F; Sun, 27 May 2007 18:18:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 644A513C45E; Sun, 27 May 2007 18:18:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5EB87.dip.t-dialin.net [84.165.235.135]) by redbull.bpaserver.net (Postfix) with ESMTP id E9EF62E23E; Sun, 27 May 2007 20:18:46 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5F1815B4B25; Sun, 27 May 2007 20:18:30 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4RIIUc3026436; Sun, 27 May 2007 20:18:30 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from proxy.Leidinger.net (proxy.Leidinger.net [192.168.1.103]) by webmail.leidinger.net (Horde MIME library) with HTTP; Sun, 27 May 2007 20:18:29 +0200 Message-ID: <20070527201829.scmt0cs3ok8og0gs@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Sun, 27 May 2007 20:18:29 +0200 From: Alexander Leidinger To: Roman Divacky References: <1180083709.19278.13.camel@neo.zion> <20070525130226.GA56503@freebsd.org> In-Reply-To: <20070525130226.GA56503@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-15.364, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linux_base-fc6 and linux-sun-jdk* problems 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, 27 May 2007 18:18:52 -0000 Quoting Roman Divacky (from Fri, 25 May 2007 15:02:26 +0200): > On Fri, May 25, 2007 at 11:01:49AM +0200, Pascal Hofstee wrote: >> Hi, >> >> I decided after the recent gcc-4.2.0, symbol versioning and xorg-7.2 >> update i might as well give the new linux_base-fc6 a whirl and see how >> that works out. >> A simple invocation of the command "javac" (no parameters whatsoever .. >> plain javac) bails out with the following problem (under >> linux-sun-jdk15): > > I am currently playing with a problem that might be related to it and I hope > to have a fix soon. I hope you'll be able to test the fix out ;) Is everything jdk related committed from the pre GSoC-2007 branch in P4 to -current? Bye, Alexander. -- If you've seen one redwood, you've seen them all. -- Ronald Reagan http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 18:53:51 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 658F716A47F; Sun, 27 May 2007 18:53:51 +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 E203F13C484; Sun, 27 May 2007 18:53:50 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 2D13919B8E5; Sun, 27 May 2007 20:53:49 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4RIqaIB021621; Sun, 27 May 2007 20:52:36 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4RIqZMZ021620; Sun, 27 May 2007 20:52:35 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 27 May 2007 20:52:35 +0200 To: Eric Anderson Message-ID: <20070527185235.GA21463@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@FreeBSD.org, freebsd-ports@FreeBSD.org References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> <20070527125824.GA1982@saturn.kn-bremen.de> <4659C0A2.6030808@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4659C0A2.6030808@freebsd.org> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-emulation@freebsd.org, freebsd-ports@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, 27 May 2007 18:53:51 -0000 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: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.77 diff -u -r1.77 Makefile --- Makefile 19 May 2007 20:04:37 -0000 1.77 +++ Makefile 27 May 2007 18:21:12 -0000 @@ -6,8 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070405 -PORTREVISION= 4 +PORTVERSION= 0.9.0s.20070526 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -15,11 +14,11 @@ http://www.volny.cz/xnavara/qemu/:snapshot \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc -DISTNAME= ${PORTNAME}-snapshot-2007-04-05_05 +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-snapshot-2007-05-26_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -PKGNAMESUFFIX= -devel MAINTAINER= nox@FreeBSD.org COMMENT= QEMU CPU Emulator - development snapshot @@ -31,7 +30,6 @@ USE_PERL5= yes USE_GCC= 3.4 PATCH_STRIP= -p1 -CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 @@ -47,6 +45,7 @@ .include WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation +CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} .if defined(WITHOUT_SDL) CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check Index: distinfo =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/distinfo,v retrieving revision 1.45 diff -u -r1.45 distinfo --- distinfo 7 Apr 2007 19:14:42 -0000 1.45 +++ distinfo 26 May 2007 14:06:06 -0000 @@ -1,6 +1,6 @@ -MD5 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48321d0997db88f09f01d38500c52807 -SHA256 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48835ca90ced5cba2230fc95502b648167b5ca7247f885ee398ba891dbbf4c1b -SIZE (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 1721640 +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/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/pkg-plist,v retrieving revision 1.21 diff -u -r1.21 pkg-plist --- pkg-plist 9 Apr 2007 22:11:23 -0000 1.21 +++ pkg-plist 26 May 2007 14:32:52 -0000 @@ -1,6 +1,7 @@ bin/qemu bin/qemu-img bin/qemu-system-arm +bin/qemu-system-m68k bin/qemu-system-mips bin/qemu-system-mips64 bin/qemu-system-mips64el @@ -13,7 +14,6 @@ %%PORTDOCS%%%%DOCSDIR%%/qemu-tech.html %%PORTDOCS%%@dirrm %%DOCSDIR%% %%DATADIR%%/bios.bin -%%DATADIR%%/linux_boot.bin %%DATADIR%%/vgabios.bin %%DATADIR%%/vgabios-cirrus.bin %%DATADIR%%/ppc_rom.bin From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 19:31:08 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 CD3B516A473; Sun, 27 May 2007 19:31:08 +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 A11F013C4B0; Sun, 27 May 2007 19:31:08 +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.13.8/8.13.8) with ESMTP id l4RJ3aCc066475 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 27 May 2007 14:03:36 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4659D601.3060707@freebsd.org> Date: Sun, 27 May 2007 14:03:29 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, freebsd-ports@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> In-Reply-To: <20070527185235.GA21463@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90.1/3304/Sat May 26 23:35:19 2007 on ns.trinitel.com X-Virus-Status: Clean 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: 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, 27 May 2007 19:31:08 -0000 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. From owner-freebsd-emulation@FreeBSD.ORG Sun May 27 20:55:13 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 6A37416A400; Sun, 27 May 2007 20:55:13 +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 E581813C44B; Sun, 27 May 2007 20:55:12 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 04DFA19BC2E; Sun, 27 May 2007 22:55:12 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4RKsFi9026483; Sun, 27 May 2007 22:54:15 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4RKsF1r026482; Sun, 27 May 2007 22:54:15 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 27 May 2007 22:54:15 +0200 To: Eric Anderson Message-ID: <20070527205415.GA26330@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@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> <4659D601.3060707@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4659D601.3060707@freebsd.org> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-emulation@freebsd.org, freebsd-ports@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, 27 May 2007 20:55:13 -0000 On Sun, May 27, 2007 at 02:03:29PM -0500, Eric Anderson wrote: > 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.. Ok we'll have to find out what configure is doing there, use this and send me the output: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.77 diff -u -r1.77 Makefile --- Makefile 19 May 2007 20:04:37 -0000 1.77 +++ Makefile 27 May 2007 20:49:10 -0000 @@ -6,8 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070405 -PORTREVISION= 4 +PORTVERSION= 0.9.0s.20070526 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -15,11 +14,11 @@ http://www.volny.cz/xnavara/qemu/:snapshot \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc -DISTNAME= ${PORTNAME}-snapshot-2007-04-05_05 +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-snapshot-2007-05-26_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -PKGNAMESUFFIX= -devel MAINTAINER= nox@FreeBSD.org COMMENT= QEMU CPU Emulator - development snapshot @@ -31,7 +30,6 @@ USE_PERL5= yes USE_GCC= 3.4 PATCH_STRIP= -p1 -CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 @@ -47,6 +45,7 @@ .include WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation +CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} .if defined(WITHOUT_SDL) CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check @@ -111,4 +110,19 @@ post-install: @${CAT} ${PKGMESSAGE} +# debug: +do-configure: + @(cd ${CONFIGURE_WRKSRC} && \ + if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \ + INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + ${CONFIGURE_ENV} ${SH} -x ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \ + ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ + (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ + ${FALSE}; \ + fi) + .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/distinfo,v retrieving revision 1.45 diff -u -r1.45 distinfo --- distinfo 7 Apr 2007 19:14:42 -0000 1.45 +++ distinfo 26 May 2007 14:06:06 -0000 @@ -1,6 +1,6 @@ -MD5 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48321d0997db88f09f01d38500c52807 -SHA256 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48835ca90ced5cba2230fc95502b648167b5ca7247f885ee398ba891dbbf4c1b -SIZE (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 1721640 +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/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/pkg-plist,v retrieving revision 1.21 diff -u -r1.21 pkg-plist --- pkg-plist 9 Apr 2007 22:11:23 -0000 1.21 +++ pkg-plist 26 May 2007 14:32:52 -0000 @@ -1,6 +1,7 @@ bin/qemu bin/qemu-img bin/qemu-system-arm +bin/qemu-system-m68k bin/qemu-system-mips bin/qemu-system-mips64 bin/qemu-system-mips64el @@ -13,7 +14,6 @@ %%PORTDOCS%%%%DOCSDIR%%/qemu-tech.html %%PORTDOCS%%@dirrm %%DOCSDIR%% %%DATADIR%%/bios.bin -%%DATADIR%%/linux_boot.bin %%DATADIR%%/vgabios.bin %%DATADIR%%/vgabios-cirrus.bin %%DATADIR%%/ppc_rom.bin From owner-freebsd-emulation@FreeBSD.ORG Mon May 28 11:08:20 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 A843C16A4A1 for ; Mon, 28 May 2007 11:08:20 +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 94C3D13C46C for ; Mon, 28 May 2007 11:08:20 +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 l4SB8KVQ068436 for ; Mon, 28 May 2007 11:08:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4SB8JSG068432 for freebsd-emulation@FreeBSD.org; Mon, 28 May 2007 11:08:19 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 May 2007 11:08:19 GMT Message-Id: <200705281108.l4SB8JSG068432@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, 28 May 2007 11:08:20 -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 May 28 11:49:41 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 D442316A475; Mon, 28 May 2007 11:49:41 +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 5C7CD13C483; Mon, 28 May 2007 11:49:41 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 3D9A21CCC31; Mon, 28 May 2007 13:49:40 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4SBmRt8052045; Mon, 28 May 2007 13:48:27 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4SBmR3Y052044; Mon, 28 May 2007 13:48:27 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 28 May 2007 13:48:26 +0200 To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20070528114826.GA51871@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@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> <4659D601.3060707@freebsd.org> <20070527205415.GA26330@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070527205415.GA26330@saturn.kn-bremen.de> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: 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, 28 May 2007 11:49:41 -0000 On Sun, May 27, 2007 at 10:54:15PM +0200, I wrote: > On Sun, May 27, 2007 at 02:03:29PM -0500, Eric Anderson wrote: > > 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.. > > Ok we'll have to find out what configure is doing there, use this and > send me the output: >... s/use/please use/ o_O This is getting stranger and stranger... I just diff'd this snapshot's configure script with the one thats in ports and saw nothing relevant, and the one in ports does build on pointyhat with configure picking up the right compiler: http://pointyhat.freebsd.org/errorlogs/i386-7-latest-logs/qemu-devel-0.9.0s.20070405_4.log So I'd really like to know whats going on there... Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon May 28 20:25:55 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 7226916A476; Mon, 28 May 2007 20:25:55 +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 CE50313C4BE; Mon, 28 May 2007 20:25:54 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 2C0EE1B044D; Mon, 28 May 2007 22:25:53 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4SKOAeg071393; Mon, 28 May 2007 22:24:10 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4SKO9VT071392; Mon, 28 May 2007 22:24:09 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 28 May 2007 22:24:09 +0200 To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20070528202409.GA71207@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@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> <4659D601.3060707@freebsd.org> <20070527205415.GA26330@saturn.kn-bremen.de> <20070528114826.GA51871@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070528114826.GA51871@saturn.kn-bremen.de> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: 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, 28 May 2007 20:25:55 -0000 On Mon, May 28, 2007 at 01:48:26PM +0200, Juergen Lock wrote: > On Sun, May 27, 2007 at 10:54:15PM +0200, I wrote: > > On Sun, May 27, 2007 at 02:03:29PM -0500, Eric Anderson wrote: > > > 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.. > > > > Ok we'll have to find out what configure is doing there, use this and > > send me the output: > >... > > s/use/please use/ o_O > > This is getting stranger and stranger... I just diff'd this snapshot's > configure script with the one thats in ports and saw nothing relevant, > and the one in ports does build on pointyhat with configure picking up > the right compiler: > http://pointyhat.freebsd.org/errorlogs/i386-7-latest-logs/qemu-devel-0.9.0s.20070405_4.log Ok it built on miwi's tb correctly picking up gcc34: http://miwi.homeunix.com/tb/logs/7.0-HEAD/qemu-devel-0.9.0s.20070526.log I forgot bin/qemu-system-ppcemb in plist, so below is the update again, could you try this on your box and look for differences in the configure log against miwi's? That may tell us whats happening there... Thx, Juergen Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.77 diff -u -r1.77 Makefile --- Makefile 19 May 2007 20:04:37 -0000 1.77 +++ Makefile 27 May 2007 20:49:10 -0000 @@ -6,8 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070405 -PORTREVISION= 4 +PORTVERSION= 0.9.0s.20070526 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -15,11 +14,11 @@ http://www.volny.cz/xnavara/qemu/:snapshot \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc -DISTNAME= ${PORTNAME}-snapshot-2007-04-05_05 +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-snapshot-2007-05-26_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -PKGNAMESUFFIX= -devel MAINTAINER= nox@FreeBSD.org COMMENT= QEMU CPU Emulator - development snapshot @@ -31,7 +30,6 @@ USE_PERL5= yes USE_GCC= 3.4 PATCH_STRIP= -p1 -CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 @@ -47,6 +45,7 @@ .include WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation +CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} .if defined(WITHOUT_SDL) CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check @@ -111,4 +110,19 @@ post-install: @${CAT} ${PKGMESSAGE} +# debug: +do-configure: + @(cd ${CONFIGURE_WRKSRC} && \ + if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \ + INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + ${CONFIGURE_ENV} ${SH} -x ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \ + ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ + (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ + ${FALSE}; \ + fi) + .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/distinfo,v retrieving revision 1.45 diff -u -r1.45 distinfo --- distinfo 7 Apr 2007 19:14:42 -0000 1.45 +++ distinfo 26 May 2007 14:06:06 -0000 @@ -1,6 +1,6 @@ -MD5 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48321d0997db88f09f01d38500c52807 -SHA256 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48835ca90ced5cba2230fc95502b648167b5ca7247f885ee398ba891dbbf4c1b -SIZE (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 1721640 +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/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/pkg-plist,v retrieving revision 1.21 diff -u -r1.21 pkg-plist --- pkg-plist 9 Apr 2007 22:11:23 -0000 1.21 +++ pkg-plist 28 May 2007 20:05:17 -0000 @@ -1,19 +1,20 @@ bin/qemu bin/qemu-img bin/qemu-system-arm +bin/qemu-system-m68k bin/qemu-system-mips bin/qemu-system-mips64 bin/qemu-system-mips64el bin/qemu-system-mipsel bin/qemu-system-ppc bin/qemu-system-ppc64 +bin/qemu-system-ppcemb bin/qemu-system-sparc bin/qemu-system-x86_64 %%PORTDOCS%%%%DOCSDIR%%/qemu-doc.html %%PORTDOCS%%%%DOCSDIR%%/qemu-tech.html %%PORTDOCS%%@dirrm %%DOCSDIR%% %%DATADIR%%/bios.bin -%%DATADIR%%/linux_boot.bin %%DATADIR%%/vgabios.bin %%DATADIR%%/vgabios-cirrus.bin %%DATADIR%%/ppc_rom.bin From owner-freebsd-emulation@FreeBSD.ORG Mon May 28 21:18:08 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 788E416A4FB for ; Mon, 28 May 2007 21:18:08 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 3550713C4DB for ; Mon, 28 May 2007 21:18:07 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CE98C8BDE46 for ; Mon, 28 May 2007 23:18:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9zTLBUZ5J9QW for ; Mon, 28 May 2007 23:18:04 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1225F8BDE41 for ; Mon, 28 May 2007 23:18:04 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4SLI3sX035789 for freebsd-emulation@FreeBSD.org; Mon, 28 May 2007 23:18:03 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 28 May 2007 23:18:03 +0200 From: Roman Divacky To: freebsd-emulation@FreeBSD.org Message-ID: <20070528211803.GA35740@freebsd.org> References: <200705281108.l4SB8JSG068432@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705281108.l4SB8JSG068432@freefall.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: 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, 28 May 2007 21:18:08 -0000 On Mon, May 28, 2007 at 11:08:19AM +0000, FreeBSD bugmaster wrote: > Current FreeBSD problem reports > Critical problems > Serious problems can someone check my comments on the PRs I made some time ago? www.stud.fit.vutbr.cz/~xdivac02/linux-pr I currently dont have much time (final school exams coming at 19th of June) :( thnx roman From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 01:39:15 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 9594116A400 for ; Thu, 31 May 2007 01:39:15 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5CB13C4B7 for ; Thu, 31 May 2007 01:39:15 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.191]) by hub.org (Postfix) with ESMTP id A8FFD118AC3E for ; Wed, 30 May 2007 22:22:09 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 00657-10 for ; Wed, 30 May 2007 22:22:14 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 4D25F118AC04 for ; Wed, 30 May 2007 22:22:09 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id A0EC945C15 for ; Wed, 30 May 2007 22:22:19 -0300 (ADT) Date: Wed, 30 May 2007 22:22:18 -0300 From: "Marc G. Fournier" To: freebsd-emulation@freebsd.org Message-ID: <26A3E6A53C6ED82CAEB46893@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Ability to run a "Windows Service" ... 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: Thu, 31 May 2007 01:39:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have what I *believe* should be a fairly simple thing to accomplish, but am not 100% certain the best way to accomplish it ... Basically, I need to run a "Windows Service", but within FreeBSD ... from my limited knowledge of Windows, a service has no graphics requirements, so figure that it should be alot easier to do this then if I was dealing with full graphics, but no idea where to start ... I'm trying to go 'least resource requirement', so would love to use something like Wine, but not sure if that is feasible ... Thoughts? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXiNL4QvfyHIvDvMRAjSIAJ4kJSVJLtCM0RLYTNEnyOLzFjilkwCcD7Of XR5lxCKymOeXB2B73CfXEoo= =LEYp -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 04:18:12 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 A91E616A46B for ; Thu, 31 May 2007 04:18:12 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 70E5613C455 for ; Thu, 31 May 2007 04:18:12 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 0F61A118AC05 for ; Thu, 31 May 2007 01:18:11 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 82131-06 for ; Thu, 31 May 2007 01:18:11 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 78508118AC04 for ; Thu, 31 May 2007 01:18:08 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3397E45DEE for ; Thu, 31 May 2007 01:18:08 -0300 (ADT) Date: Thu, 31 May 2007 01:18:07 -0300 From: "Marc G. Fournier" To: freebsd-emulation@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 04:18:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I want to run a Windows environment for one piece of software, but, I don't want to run it on my machine, I want to run it on a remote server ... basically, what I'd like to do is start up the 'VM', and connect to it using vnc ... the idea is that the software needs to run 24x7, but I need to be able to connect to it from multiple locations throughout the day ... Is there something that I can do using ... Xvfb? Or something like that? Anyone have experience with this sort of thing? - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXkx/4QvfyHIvDvMRAuquAKCMyKo4K5PNTTDtEdUAbKIwS6/O9QCaAt62 ySutXUjo5AfIzL/fGlyYty0= =fq12 -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 04:33:30 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 E812E16A421 for ; Thu, 31 May 2007 04:33:30 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-02.rdc-nyc.rr.com (ms-smtp-02.rdc-nyc.rr.com [24.29.109.6]) by mx1.freebsd.org (Postfix) with ESMTP id AC70313C447 for ; Thu, 31 May 2007 04:33:30 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-69-203-84-92.nyc.res.rr.com [69.203.84.92]) by ms-smtp-02.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id l4V4XTUT008246 for ; Thu, 31 May 2007 00:33:29 -0400 (EDT) Date: Thu, 31 May 2007 00:33:28 -0400 From: Scott Robbins To: freebsd-emulation@freebsd.org Message-ID: <20070531043328.GA35983@mail.scottro.net> Mail-Followup-To: freebsd-emulation@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 04:33:31 -0000 On Thu, May 31, 2007 at 01:18:07AM -0300, Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I want to run a Windows environment for one piece of software, but, I don't > want to run it on my machine, I want to run it on a remote server ... > basically, what I'd like to do is start up the 'VM', and connect to it using > vnc ... the idea is that the software needs to run 24x7, but I need to be able > to connect to it from multiple locations throughout the day ... > > Is there something that I can do using ... Xvfb? Or something like that? > Anyone have experience with this sort of thing? I'm not sure if you mean you wish to run an MS headless server, or have a server, running FreeBSD (or something else) with a Windows virtual machine. It should be relatively easy either way. We run a headless MS server, running Win2K (workstation actually--all it does is serve out the antivirus program). We have VNC server running on it, and therefore, it's accessible, from Linux, *BSD or Mac with vncviewer. If you were running the MS machine as a virtual machine, you might, at this point, want to use qemu, rather than vmware3. Others, as well as myself, have been running into various problems with VMware, especially on CURRENT (though if it's a server, I doubt you'd be running CURRENT.) At any rate, with qemu, you could set up the server with tap networking, give the MS machine its own address on the subnet, and run tightvnc server. (If the host machine runs Linux, then, you're probably better off with vmware-server, which is free.) Put tightvncserver on the the MS machine (whether actual or virtual) and choose to install it as a service to run at startup. Then, you should be able to leave it running 24/7. For example, I have a Linux machine with an address of 192.168.8.5, set up vmware server for bridged networking--it gets an address from our DHCP server, something like 192.168.8.100 something. If I ran vncserver on it, I could simply connect to it as if it's another host on the network. HTH -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Vampires are creeps. Giles: Yes. That's why one slays them. From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 14:07:41 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 A538D16A468 for ; Thu, 31 May 2007 14:07:41 +0000 (UTC) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 7273113C483 for ; Thu, 31 May 2007 14:07:41 +0000 (UTC) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l4VDmPdl067902; Thu, 31 May 2007 08:48:26 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Thu, 31 May 2007 08:47:58 -0500 (CDT) From: "Sean C. Farley" To: Scott Robbins In-Reply-To: <20070531043328.GA35983@mail.scottro.net> Message-ID: <20070531084434.F22646@thor.farley.org> References: <20070531043328.GA35983@mail.scottro.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 14:07:41 -0000 On Thu, 31 May 2007, Scott Robbins wrote: > On Thu, May 31, 2007 at 01:18:07AM -0300, Marc G. Fournier wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I want to run a Windows environment for one piece of software, but, I >> don't want to run it on my machine, I want to run it on a remote >> server ... basically, what I'd like to do is start up the 'VM', and >> connect to it using vnc ... the idea is that the software needs to >> run 24x7, but I need to be able to connect to it from multiple >> locations throughout the day ... >> >> Is there something that I can do using ... Xvfb? Or something like >> that? Anyone have experience with this sort of thing? > At any rate, with qemu, you could set up the server with tap > networking, give the MS machine its own address on the subnet, and run > tightvnc server. Actually, QEMU has a built-in VNC server (-vnc). Sean -- sean-freebsd@farley.org From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 17:49:12 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 7467D16A421 for ; Thu, 31 May 2007 17:49:12 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 1E22E13C45B for ; Thu, 31 May 2007 17:49:12 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.187]) by hub.org (Postfix) with ESMTP id BEA60118AC3E; Thu, 31 May 2007 14:30:31 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 00460-06; Thu, 31 May 2007 14:30:31 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id CECA2118AC5C; Thu, 31 May 2007 14:30:30 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3F82645914; Thu, 31 May 2007 14:30:32 -0300 (ADT) Date: Thu, 31 May 2007 14:30:31 -0300 From: "Marc G. Fournier" To: "Sean C. Farley" , Scott Robbins Message-ID: In-Reply-To: <20070531084434.F22646@thor.farley.org> References: <20070531043328.GA35983@mail.scottro.net> <20070531084434.F22646@thor.farley.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 17:49:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can I run two or more QEMU instances on the same server with different IPs? I thought that that wasn't available yet ... some kernel module that is being worked on? - --On Thursday, May 31, 2007 08:47:58 -0500 "Sean C. Farley" wrote: > On Thu, 31 May 2007, Scott Robbins wrote: > >> On Thu, May 31, 2007 at 01:18:07AM -0300, Marc G. Fournier wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> I want to run a Windows environment for one piece of software, but, I >>> don't want to run it on my machine, I want to run it on a remote >>> server ... basically, what I'd like to do is start up the 'VM', and >>> connect to it using vnc ... the idea is that the software needs to >>> run 24x7, but I need to be able to connect to it from multiple >>> locations throughout the day ... >>> >>> Is there something that I can do using ... Xvfb? Or something like >>> that? Anyone have experience with this sort of thing? > > > >> At any rate, with qemu, you could set up the server with tap >> networking, give the MS machine its own address on the subnet, and run >> tightvnc server. > > Actually, QEMU has a built-in VNC server (-vnc). > > Sean > -- > sean-freebsd@farley.org > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXwY44QvfyHIvDvMRAkuaAJ4/ERwk1C0c+FNx4maMdpr9pb2ZEQCfbYyX og0vWs3WeQWu4V/HZ751oSg= =BYKl -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 18:06: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 BA31C16A468 for ; Thu, 31 May 2007 18:06:36 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail14.simplicato.com (host65.simplicato.com [207.99.47.65]) by mx1.freebsd.org (Postfix) with ESMTP id 95A1A13C455 for ; Thu, 31 May 2007 18:06:36 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail14.simplicato.com (localhost [127.0.0.1]) by mail14.simplicato.com (Postfix) with ESMTP id 522A7EBEFE for ; Thu, 31 May 2007 14:06:35 -0400 (EDT) Received: from uws1.starlofashions.com (unknown [12.44.50.124]) by mail14.simplicato.com (Postfix) with ESMTP id 14D59EBEE2 for ; Thu, 31 May 2007 14:06:35 -0400 (EDT) Received: by uws1.starlofashions.com (sSMTP sendmail emulation); Thu, 31 May 2007 14:06:34 -0400 Date: Thu, 31 May 2007 14:06:34 -0400 From: Scott Robbins To: freebsd-emulation@freebsd.org Message-ID: <20070531180634.GA83032@uws1.starlofashions.com> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20070531043328.GA35983@mail.scottro.net> <20070531084434.F22646@thor.farley.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 18:06:36 -0000 On Thu, May 31, 2007 at 02:30:31PM -0300, Marc G. Fournier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Can I run two or more QEMU instances on the same server with different IPs? I > thought that that wasn't available yet ... some kernel module that is being > worked on? The quick answer is yes--but apparently not necessary since, as was posted by Sean, qemu has its own VNC server. To run it with its own IP address, simply use tap networking. For information on that, you can see my post on bsdnexus forums for CURRENT, or the link I post there to STABLE. http://forums.bsdnexus.com/viewtopic.php?id=1563 -- Scott GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Riley: I thought maybe we could have a little spread. Sandwiches, maybe some ants. Could be fun. Buffy: We were talking about a picnic? Riley: Oh... so, was that a conversation I actually had or one I was just practicing? From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 19:52:57 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 7345916A41F for ; Thu, 31 May 2007 19:52:57 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 5C90113C447 for ; Thu, 31 May 2007 19:52:57 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 1661C5B3E; Thu, 31 May 2007 12:22:57 -0700 (PDT) To: "Marc G. Fournier" In-reply-to: Your message of "Thu, 31 May 2007 14:30:31 -0300." Date: Thu, 31 May 2007 12:22:56 -0700 From: Bakul Shah Message-Id: <20070531192257.1661C5B3E@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 19:52:57 -0000 > Can I run two or more QEMU instances on the same server with different IPs? Yes. But you have to make sure each machine gets its own mac address. From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 21:22:48 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 ECF3F16A46D for ; Thu, 31 May 2007 21:22:48 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id AE70213C4CC for ; Thu, 31 May 2007 21:22:48 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.187]) by hub.org (Postfix) with ESMTP id 24D5D118AC5C; Thu, 31 May 2007 18:22:43 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 50951-07; Thu, 31 May 2007 18:22:43 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id ED9D4118AC3F; Thu, 31 May 2007 18:22:42 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 69E9345E4E; Thu, 31 May 2007 18:22:43 -0300 (ADT) Date: Thu, 31 May 2007 18:22:43 -0300 From: "Marc G. Fournier" To: Scott Robbins , freebsd-emulation@freebsd.org Message-ID: In-Reply-To: <20070531180634.GA83032@uws1.starlofashions.com> References: <20070531043328.GA35983@mail.scottro.net> <20070531084434.F22646@thor.farley.org> <20070531180634.GA83032@uws1.starlofashions.com> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 21:22:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sweet, thanks ... bookmarked to study later ... :) - --On Thursday, May 31, 2007 14:06:34 -0400 Scott Robbins wrote: > On Thu, May 31, 2007 at 02:30:31PM -0300, Marc G. Fournier wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> Can I run two or more QEMU instances on the same server with different IPs? >> I thought that that wasn't available yet ... some kernel module that is >> being worked on? > > The quick answer is yes--but apparently not necessary since, as was > posted by Sean, qemu has its own VNC server. > > To run it with its own IP address, simply use tap networking. For > information on that, you can see my post on bsdnexus forums for CURRENT, > or the link I post there to STABLE. > > http://forums.bsdnexus.com/viewtopic.php?id=1563 > > > -- > > Scott > > GPG KeyID EB3467D6 > ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) > gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 > > Riley: I thought maybe we could have a little spread. Sandwiches, > maybe some ants. Could be fun. > Buffy: We were talking about a picnic? > Riley: Oh... so, was that a conversation I actually had or one I > was just practicing? > > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXzyj4QvfyHIvDvMRAkAiAKCr0U5TcZD2lsriX5vApOXhy5f1JACgirst GKA4RwofxNQfxsp0eD1zPI8= =eorB -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 21:31:20 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 D3D4E16A46B for ; Thu, 31 May 2007 21:31:20 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 9560913C4AD for ; Thu, 31 May 2007 21:31:20 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.184]) by hub.org (Postfix) with ESMTP id 23001118AC3E; Thu, 31 May 2007 18:31:16 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 52284-05; Thu, 31 May 2007 18:31:12 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 40054118AC00; Thu, 31 May 2007 18:31:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 5DD5D45E4E; Thu, 31 May 2007 18:31:16 -0300 (ADT) Date: Thu, 31 May 2007 18:31:16 -0300 From: "Marc G. Fournier" To: Bakul Shah Message-ID: <67A57A9DEDC22CBEE0C436C1@ganymede.hub.org> In-Reply-To: <20070531192257.1661C5B3E@mail.bitblocks.com> References: <20070531192257.1661C5B3E@mail.bitblocks.com> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 21:31:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Thursday, May 31, 2007 12:22:56 -0700 Bakul Shah wrote: >> Can I run two or more QEMU instances on the same server with different IPs? > > Yes. But you have to make sure each machine gets its own mac > address. Is that addressed using the tap interface, as Scott mentioned? Also, just curious, but what is the performance like? I have one application that I need to run, so I'm kinda hoping that maybe it will work with wine without all of the extra Windows overhead, but if it doesn't ... - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGXz6k4QvfyHIvDvMRAmCyAKDQKU4dWL2BXux60wMDKQvfva/RxQCcDMr4 DWPrwM8YHtHLHYIxNrF1dZc= =u2Tw -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Thu May 31 22:02:41 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 0046416A41F for ; Thu, 31 May 2007 22:02:40 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id D894913C43E for ; Thu, 31 May 2007 22:02:40 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 82E585B3E; Thu, 31 May 2007 15:02:40 -0700 (PDT) To: "Marc G. Fournier" In-reply-to: Your message of "Thu, 31 May 2007 18:31:16 -0300." <67A57A9DEDC22CBEE0C436C1@ganymede.hub.org> Date: Thu, 31 May 2007 15:02:40 -0700 From: Bakul Shah Message-Id: <20070531220240.82E585B3E@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Thu, 31 May 2007 22:02:41 -0000 > >> Can I run two or more QEMU instances on the same server with different IPs > ? > > > > Yes. But you have to make sure each machine gets its own mac > > address. > > Is that addressed using the tap interface, as Scott mentioned? Yes. You'd probably want to put tap devices in a bridge (in /etc/qemu-ifup: ifconfig $1 up; ifconfig bridge0 addm $1). > Also, just curious, but what is the performance like? I have one application > that I need to run, so I'm kinda hoping that maybe it will work with wine > without all of the extra Windows overhead, but if it doesn't ... Performance will be worse. But I guess you knew that:-) Only you can decide if you can live with degraded performance. You can try running on an SMP machine but I am not sure if kqemu is SMP safe. Make sure you have enough RAM to avoid each Qemu from paging and allocate enough RAM to each VM to avoid paging within each VM. Finally, if the primary use of your machine is for running a bunch of VMs, consider other alternatives such as Linux + xen, Linux + kvm, vmware etc. From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 13:03:48 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 CB34316A400 for ; Fri, 1 Jun 2007 13:03:48 +0000 (UTC) (envelope-from p.pisati@oltrelinux.com) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8A413C458 for ; Fri, 1 Jun 2007 13:03:48 +0000 (UTC) (envelope-from p.pisati@oltrelinux.com) Received: from krisma.oltrelinux.com (krisma [127.0.0.1]) by mail.oltrelinux.com (Postfix) with ESMTP id 6727711AE43 for ; Fri, 1 Jun 2007 14:40:28 +0200 (CEST) Received: from xs-217-221-237-206.mi2.albacom.net ([217.221.237.206]) (SquirrelMail authenticated user flag@oltrelinux.com) by krisma.oltrelinux.com with HTTP; Fri, 1 Jun 2007 14:40:28 +0200 (CEST) Message-ID: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> Date: Fri, 1 Jun 2007 14:40:28 +0200 (CEST) From: "Paolo Pisati" To: freebsd-emulation@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Subject: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 01 Jun 2007 13:03:48 -0000 Hi, here are some binaries that don't run on FreeBSD with Linux compat: http://downloads.sourceforge.net/devkitpro/devkitARM_r20-linux.tar.bz2?modtime=1170066539 (use fetch to get it). [piso@piso ~/devkitARM]$ uname -a FreeBSD piso.tomato.it 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [piso@piso ~/devkitARM]$ pkg_info | grep linux linux_base-fc-4_9 Base set of packages needed in Linux mode (for i386/amd64) [piso@piso ~/devkitARM]$ kldstat | grep linux 3 2 0xc376c000 16000 linux.ko [piso@piso ~/devkitARM]$ mount | grep linux linprocfs on /usr/compat/linux/proc (linprocfs, local) some binaries are ok: [piso@piso ~/devkitARM]$ ./bin/arm-eabi-ar Usage: ./bin/arm-eabi-ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file... ./bin/arm-eabi-ar -M [ 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 2BC7A16A469 for ; Fri, 1 Jun 2007 13:17:45 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id DDE5D13C45D for ; Fri, 1 Jun 2007 13:17:44 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 281058BD87C; Fri, 1 Jun 2007 15:17:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r-cpuxXXBRYS; Fri, 1 Jun 2007 15:17:42 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4D45C66C8F6; Fri, 1 Jun 2007 15:17:42 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l51DHf9n055548; Fri, 1 Jun 2007 15:17:41 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 1 Jun 2007 15:17:41 +0200 From: Roman Divacky To: Paolo Pisati Message-ID: <20070601131741.GA55533@freebsd.org> References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 01 Jun 2007 13:17:45 -0000 > [piso@piso ~/devkitARM]$ file ./bin/git > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > linked, corrupted section header size hard to say whats going on but "corrupted section header size" looks bad to me. maybe its something we look at but linux ignore. From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 15:37: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 7A14116A421 for ; Fri, 1 Jun 2007 15:37:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 29C7A13C4BF for ; Fri, 1 Jun 2007 15:37:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Hu9Bz-00068B-MH; Fri, 01 Jun 2007 19:37:31 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Hu9DD-0000H0-BY; Fri, 01 Jun 2007 19:38:47 +0400 To: Roman Divacky References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> <20070601131741.GA55533@freebsd.org> From: Boris Samorodov Date: Fri, 01 Jun 2007 19:38:47 +0400 In-Reply-To: <20070601131741.GA55533@freebsd.org> (Roman Divacky's message of "Fri\, 1 Jun 2007 15\:17\:41 +0200") Message-ID: <34078888@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, Paolo Pisati Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 01 Jun 2007 15:37:33 -0000 On Fri, 1 Jun 2007 15:17:41 +0200 Roman Divacky wrote: > > [piso@piso ~/devkitARM]$ file ./bin/git > > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > > linked, corrupted section header size > hard to say whats going on but "corrupted section header size" looks bad > to me. Do we support linux binaries which are packed with UPX executable packer? ;-) ----- $ strings b2fxec | head -3 Linux $Info: This file is packed with the UPX executable packer http://upx.sf.net $ $Id: UPX 1.25 Copyright (C) 1996-2004 the UPX Team. All Rights Reserved. $ ----- > maybe its something we look at but linux ignore. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 19:07:55 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 7DEA016A421 for ; Fri, 1 Jun 2007 19:07:55 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id DE59913C447 for ; Fri, 1 Jun 2007 19:07:54 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l51J7mEc002190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 21:07:48 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l51J7jH2002189; Fri, 1 Jun 2007 21:07:45 +0200 (CEST) (envelope-from per) Date: Fri, 1 Jun 2007 21:07:45 +0200 (CEST) From: Per Hedeland Message-Id: <200706011907.l51J7jH2002189@pluto.hedeland.org> To: bakul@bitblocks.com, freebsd@hub.org In-Reply-To: <20070531220240.82E585B3E@mail.bitblocks.com> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 19:07:55 -0000 Bakul Shah wrote: > >> >> Can I run two or more QEMU instances on the same server with different IPs >> ? >> > >> > Yes. But you have to make sure each machine gets its own mac >> > address. >> >> Is that addressed using the tap interface, as Scott mentioned? > >Yes. Hm, maybe I misunderstand the question or the answer, but I disagree.:-) The tap devices get their own MAC addresses, but they're basically irrelevant - what you *do* need to do is give the *qemu* instances their own MAC addresses, e.g. as '-net nic,macaddr=52:54:00:12:34:67' (the default is 52:54:00:12:34:56 - I have no idea if qemu has reserved the 52:54:00 prefix, but I'm sticking to it:-). This is the MAC address that shows up on the interface in the guest, and that everyone else on the same network uses to reach it. > You'd probably want to put tap devices in a bridge (in >/etc/qemu-ifup: ifconfig $1 up; ifconfig bridge0 addm $1). That's what I do, and it works great. Actually I have a setup very similar to what is described by Scott, but none of the problems he seems to run into:-) - running on 6.1-RELEASE, so it's not specific to CURRENT (I believe the description for 6.x that he linked to might possibly be needed on earlier versions - since it's much less convenient, I think it should be avoided). Actually I suspect that Scott's problems might just be general "CURRENTness" rather than having anything to do with qemu - I start and stop qemus all the time, at the moment I have 5 of them bridged together with my physical interface, and though I occasionally encounter some qemu flakiness, the networking is rock solid. Comparing notes, I see these differences in my setup: - I never unload modules - what's the point of that? - I never give an IP address to the bridge interface - this is wrong(tm) IMHO, and in any case there should not be any need for it. - I don't have anything about tap in devfs.conf - but I have the corresponding thing set up via devfs.rules, which I believe is the right place for it to work "dynamically": [localrules=10] add path 'tap*' user per - which correlates to an entry in rc.conf: devfs_system_ruleset="localrules" And not difference, but choice: I create the bridge and add the physical interface to it at boot via rc.conf: cloned_interfaces="bridge0" ifconfig_bridge0="addm bge0 up" - and it stays that way all the time, and my qemu-up is: sudo /sbin/ifconfig $1 up sudo /sbin/ifconfig bridge0 addm $1 Now, I *do* get the error message: ifconfig: BRDGADD tap0: File exists the second and subsequent time a qemu happens to choose tap0 (and ditto for the other tapN of course), but this is totally harmless - the fix is to redirect stderr for the addm line to /dev/null, but one day it might have something important to tell you.:-) >Performance will be worse. But I guess you knew that:-) Only >you can decide if you can live with degraded performance. >You can try running on an SMP machine but I am not sure if >kqemu is SMP safe. I'm using kqemu on SMP (dual core), but that doesn't mean that it's safe:-) - as I wrote, I occasionally see some flakiness, like an unexplainable kernel panic in a Linux guest (though actually that qemu runs with -kernel-kqemu - which I've never found to be reliable to do on more than one qemu at a time btw). It's certainly stable enough for me though, and it has never caused any FreeBSD-host problems. --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 19:40:23 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 8E7AF16A41F for ; Fri, 1 Jun 2007 19:40:23 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail13.simplicato.com (mail13.simplicato.com [207.99.47.68]) by mx1.freebsd.org (Postfix) with ESMTP id 6563A13C447 for ; Fri, 1 Jun 2007 19:40:23 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from mail13.simplicato.com (localhost [127.0.0.1]) by mail13.simplicato.com (Postfix) with ESMTP id 59CA277B309 for ; Fri, 1 Jun 2007 15:40:22 -0400 (EDT) Received: from uws1.starlofashions.com (unknown [12.44.50.124]) by mail13.simplicato.com (Postfix) with ESMTP id C750377B188 for ; Fri, 1 Jun 2007 15:40:20 -0400 (EDT) Received: by uws1.starlofashions.com (sSMTP sendmail emulation); Fri, 1 Jun 2007 15:40:18 -0400 Date: Fri, 1 Jun 2007 15:40:18 -0400 From: Scott Robbins To: freebsd-emulation@freebsd.org Message-ID: <20070601194018.GB88270@uws1.starlofashions.com> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20070531220240.82E585B3E@mail.bitblocks.com> <200706011907.l51J7jH2002189@pluto.hedeland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706011907.l51J7jH2002189@pluto.hedeland.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 19:40:23 -0000 On Fri, Jun 01, 2007 at 09:07:45PM +0200, Per Hedeland wrote: > Bakul Shah wrote: > > > > That's what I do, and it works great. Actually I have a setup very > similar to what is described by Scott, but none of the problems he seems > to run into:-) - running on 6.1-RELEASE, so it's not specific to CURRENT > (I believe the description for 6.x that he linked to might possibly be > needed on earlier versions - since it's much less convenient, I think it > should be avoided). Actually I suspect that Scott's problems might just > be general "CURRENTness" rather than having anything to do with qemu - I > start and stop qemus all the time, at the moment I have 5 of them > bridged together with my physical interface, and though I occasionally > encounter some qemu flakiness, the networking is rock solid. Recently, as I've managed to break vmware3 on my 6.2 workstation, I'm running qemu there as well. I use that acidos howto and it works well for me. Some of the things I mention in CURRENT are definitely only workable in CURRENT, at this point. > > Comparing notes, I see these differences in my setup: > > - I never unload modules - what's the point of that? An anal sense of cleanliness? :) I usually only open qemu to do what I have to do and close it afterwards. Also, to avoid the tap errors you mention below. > > - I never give an IP address to the bridge interface - this is wrong(tm) > IMHO, and in any case there should not be any need for it. It probably is, and when Bakul spent a lot of time working with me on this, I believe he also thought it was wrong. However, it was a workaround for a problem at the time--as I say in my howto, I don't really understand bridging very well. If I were constantly running qemu I would also do it as you do, in rc.conf--AND, in rc.conf it was definitely unnecessary to give the bridge an address. Interestingly enough, in Linux, the way to do it (only tried with VirtualBox, not qemu) is to take the address off the interface, eg ifconfig 0.0.0.0 eth0 and give an address to the bridge. (I think that is the accepted method with Linux0. > > - I don't have anything about tap in devfs.conf - but I have the > corresponding thing set up via devfs.rules, which I believe is the > right place for it to work "dynamically": > > [localrules=10] > add path 'tap*' user per > > - which correlates to an entry in rc.conf: > > devfs_system_ruleset="localrules" Yes, I think that's just a difference in the way we do things--I'm more used to using devfs.conf. Doing it that way was suggested to me by someone--possibly Bakul, but I honestly don't remember. > > And not difference, but choice: I create the bridge and add the physical > interface to it at boot via rc.conf: > > cloned_interfaces="bridge0" > ifconfig_bridge0="addm bge0 up" > > - and it stays that way all the time, and my qemu-up is: > > sudo /sbin/ifconfig $1 up > sudo /sbin/ifconfig bridge0 addm $1 > > Now, I *do* get the error message: > > ifconfig: BRDGADD tap0: File exists > > the second and subsequent time a qemu happens to choose tap0 (and ditto > for the other tapN of course), but this is totally harmless - the fix is > to redirect stderr for the addm line to /dev/null, but one day it might > have something important to tell you.:-) This doesn't seem to be harmless for me, and if I get a chance this weekend, I'll doublecheck that. It seems that it kills the networking, but that might also be due to various errors or differences in my setup. > --Per Hedeland -- Scott Robbins GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 19:50: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 E4E9316A400 for ; Fri, 1 Jun 2007 19:50:53 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id C79D213C4BE for ; Fri, 1 Jun 2007 19:50:53 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id F060B5B49; Fri, 1 Jun 2007 12:50:49 -0700 (PDT) To: Per Hedeland In-reply-to: Your message of "Fri, 01 Jun 2007 21:07:45 +0200." <200706011907.l51J7jH2002189@pluto.hedeland.org> Date: Fri, 01 Jun 2007 12:50:49 -0700 From: Bakul Shah Message-Id: <20070601195049.F060B5B49@mail.bitblocks.com> Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 19:50:54 -0000 > >> >> Can I run two or more QEMU instances on the same server with different > IPs > >> ? > >> > > >> > Yes. But you have to make sure each machine gets its own mac > >> > address. > >> > >> Is that addressed using the tap interface, as Scott mentioned? > > > >Yes. > > Hm, maybe I misunderstand the question or the answer, but I disagree.:-) I interepreted "Is that addressed using the tap interface" to mean "Is that done (by) using the tap interface". So I was not talking about mac address of the tap interface! > The tap devices get their own MAC addresses, but they're basically > irrelevant - what you *do* need to do is give the *qemu* instances their > own MAC addresses, e.g. as '-net nic,macaddr=52:54:00:12:34:67' (the > default is 52:54:00:12:34:56 - I have no idea if qemu has reserved the > 52:54:00 prefix, but I'm sticking to it:-). This is the MAC address that > shows up on the interface in the guest, and that everyone else on the > same network uses to reach it. Right. I use a shell function to create a macaddress based on directory of the image file. Something like: macaddr() { echo 52:54:0:$(echo $1|md5 |cut -c1-6|sed 's/\(..\)\(..\)/\1:\2:/') } qemu -net nic,macaddr=$(macaddr $(dirname $(realpath $1))) -hda $* And invoke it as, for example, my-qemu /usr/oszoo/plan9 ... > - I never give an IP address to the bridge interface - this is wrong(tm) > IMHO, and in any case there should not be any need for it. I do, to simulate this: bridge0 --[ ] | | | | 0 1 2 3 <- tap interfaces In effect tap0 .. tapN are to individual VMs and the host uses just bridge0 to talk to them all. Also see below. > > - I don't have anything about tap in devfs.conf - but I have the > corresponding thing set up via devfs.rules, which I believe is the > right place for it to work "dynamically": Good idea. > cloned_interfaces="bridge0" > ifconfig_bridge0="addm bge0 up" Bridging with the phys device won't work if your VMs are on a wifi connected laptop. For this reason I use NAT (and it is good enough for what I want). From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 20:52: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 AFEA316A468 for ; Fri, 1 Jun 2007 20:52:49 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id 115EC13C448 for ; Fri, 1 Jun 2007 20:52:48 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l51Kqbpr004140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 22:52:38 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l51Kqa9s004139; Fri, 1 Jun 2007 22:52:36 +0200 (CEST) (envelope-from per) Date: Fri, 1 Jun 2007 22:52:36 +0200 (CEST) From: Per Hedeland Message-Id: <200706012052.l51Kqa9s004139@pluto.hedeland.org> To: scottro@nyc.rr.com, sean-freebsd@farley.org In-Reply-To: <20070531084434.F22646@thor.farley.org> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 20:52:49 -0000 Backing up a bit here... "Sean C. Farley" wrote: > >On Thu, 31 May 2007, Scott Robbins wrote: > >> On Thu, May 31, 2007 at 01:18:07AM -0300, Marc G. Fournier wrote: >>> >>> I want to run a Windows environment for one piece of software, but, I >>> don't want to run it on my machine, I want to run it on a remote >>> server ... basically, what I'd like to do is start up the 'VM', and >>> connect to it using vnc ... the idea is that the software needs to >>> run 24x7, but I need to be able to connect to it from multiple >>> locations throughout the day ... >>> >>> Is there something that I can do using ... Xvfb? Or something like >>> that? Anyone have experience with this sort of thing? For this purpose, I've found Xvnc (part of the tightvnc port/package) to work great. In particular back when I ran (mutiple) vmware it was *the* way to have them going regardless of the state of my X session, and available remotely - though actually for Windows in vmware I connected to a vnc server running on Windows rather than to Xvnc, that way I got rid of the annoying vmware console window altogether:-) (for *nix in vmware I had no use for the console other than when something got b0rken). >> At any rate, with qemu, you could set up the server with tap >> networking, give the MS machine its own address on the subnet, and run >> tightvnc server. > >Actually, QEMU has a built-in VNC server (-vnc). As far as I've been able to figure out, it doesn't have any support for authentication though, which may or may not be an issue depending on your environment. Personally I try to mitigate that by having it listen only on loopback, and tunnel vnc through ssh to the host for remote connections. I've also found it (too:-) to be a bit flaky, e.g. it seems to have a tendency to die (possibly pulling the whole qemu down) if you move the window around or hide/expose it a lot. The big advantage with it for me is that it brings total "headlessness" though, i.e. generally no need to run qemu under Xvnc, which I did back before -vnc existed. --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 21:31: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 B386716A41F for ; Fri, 1 Jun 2007 21:31:49 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0962813C457 for ; Fri, 1 Jun 2007 21:31:48 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l51LVlYH005236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 23:31:47 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l51LVlKU005235; Fri, 1 Jun 2007 23:31:47 +0200 (CEST) (envelope-from per) Date: Fri, 1 Jun 2007 23:31:47 +0200 (CEST) From: Per Hedeland Message-Id: <200706012131.l51LVlKU005235@pluto.hedeland.org> To: scottro@nyc.rr.com In-Reply-To: <20070601194018.GB88270@uws1.starlofashions.com> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 21:31:49 -0000 Scott Robbins wrote: > >Recently, as I've managed to break vmware3 on my 6.2 workstation, I'm >running qemu there as well. I basically had to abandon vmware because I needed to run Linux 2.6 as guest, which didn't work in vmware 3. That and the fact that it seemed to require ongoing support to keep up with evolving FreeBSD, and no-one was able/willing to provide that. > I use that acidos howto and it works well for me. I'm sure it works, just that it seems very static - I don't know if it would be possible to diddle that sysctl in qemu-ifup, maybe it is. I do believe I tried to use it when I first started to use qemu, but ran into some problems. > Some of the things I mention in CURRENT are definitely only >workable in CURRENT, at this point. Could you be specific? >> - I never unload modules - what's the point of that? > >An anal sense of cleanliness? :) I usually only open qemu to do what I >have to do and close it afterwards. Also, to avoid the tap errors you >mention below. You don't need to unload the module for that, and it's not possible if you have some qemu instance still running anyway - just 'deletem' the tap interface instead. I've never tried it, but it's the "right" thing to do - if there was a qemu-ifdown I might put it there. >> - I never give an IP address to the bridge interface - this is wrong(tm) >> IMHO, and in any case there should not be any need for it. > >It probably is, and when Bakul spent a lot of time working with me on >this, I believe he also thought it was wrong. However, it was a >workaround for a problem at the time Yes, but I suspect that the problem just got fixed as a side effect of your putting an IP address on the interface - e.g. if it lost its UP state, ifconfig would bring it up again if you configured an address, but 'ifconfig bridge0 up' would have sufficed. >Interestingly enough, in Linux, the way to do it (only tried with >VirtualBox, not qemu) is to take the address off the interface, eg >ifconfig 0.0.0.0 eth0 and give an address to the bridge. (I think that >is the accepted method with Linux0. Hm, from a networking point of view, having the address on the physical *or* the bridge interface is equally "right" - but if Linux *requires* that you have it on the bridge i/f, I would condsider it a bug or at least a limitation. >> the second and subsequent time a qemu happens to choose tap0 (and ditto >> for the other tapN of course), but this is totally harmless - the fix is >> to redirect stderr for the addm line to /dev/null, but one day it might >> have something important to tell you.:-) > >This doesn't seem to be harmless for me, and if I get a chance this >weekend, I'll doublecheck that. It seems that it kills the networking, >but that might also be due to various errors or differences in my setup. If it does kill your networking, I'd (again:-) consider it a bug (and of course CURRENT occasionally has bugs...) - you asked the system to do something, the system said that it couldn't, then things should be just as they were before (at least if you didn't ask ifconfig to do umpteen things on one invocation - making such stuff fully "transactional" is probably hard enough to not be worth trying). --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 21:55:27 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 0230A16A47D for ; Fri, 1 Jun 2007 21:55:27 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id 57C7513C44C for ; Fri, 1 Jun 2007 21:55:26 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l51LtMbX005671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 23:55:22 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l51LtKLa005670; Fri, 1 Jun 2007 23:55:20 +0200 (CEST) (envelope-from per) Date: Fri, 1 Jun 2007 23:55:20 +0200 (CEST) From: Per Hedeland Message-Id: <200706012155.l51LtKLa005670@pluto.hedeland.org> To: bakul@bitblocks.com In-Reply-To: <20070601195049.F060B5B49@mail.bitblocks.com> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 21:55:27 -0000 Bakul Shah wrote: >> >> > >> >> > Yes. But you have to make sure each machine gets its own mac >> >> > address. >> >> >> >> Is that addressed using the tap interface, as Scott mentioned? >> > >> >Yes. >> >> Hm, maybe I misunderstand the question or the answer, but I disagree.:-) > >I interepreted "Is that addressed using the tap interface" to >mean "Is that done (by) using the tap interface". So I was not >talking about mac address of the tap interface! OK, I interpreted your response as saying that something was making sure that something got its own mac address by using the tap interface, and the only thing that fit was the mac address of the tap interface.:-) Anyway the point is that the qemus don't get their own mac addresses unless you give them to them.:-) >Right. I use a shell function to create a macaddress based on >directory of the image file. Something like: > >macaddr() { > echo 52:54:0:$(echo $1|md5 |cut -c1-6|sed 's/\(..\)\(..\)/\1:\2:/') >} Nice! I've been assigning them manually (writing a dedicated little start script for each image), but it gets old pretty quickly. >> - I never give an IP address to the bridge interface - this is wrong(tm) >> IMHO, and in any case there should not be any need for it. > >I do, to simulate this: > >bridge0 --[ ] > | | | | > 0 1 2 3 <- tap interfaces > >In effect tap0 .. tapN are to individual VMs and the host >uses just bridge0 to talk to them all. Also see below. Yes, but you *don't* put the physical interface in the bridge, right? Then the bridge interface should definitely have its own address - it's your host's (single) interface on the bridged network. When the physical interface is also added to the bridge, your host effectively has two interfaces on the combined physical and bridge-tap network - there's no point in both having addresses, and it may even cause problems. >Bridging with the phys device won't work if your VMs are on a >wifi connected laptop. I saw that, not a problem for me though. > For this reason I use NAT (and it is good enough for what I want). It could work for me too, but it's nice to have the qemus getting their IP addresses from the already existing DHCP server on the physical network, as well as being able to log in to them directly from other hosts on occasion. --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 22:54:48 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 3CD3516A421 for ; Fri, 1 Jun 2007 22:54:48 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-02.rdc-nyc.rr.com (ms-smtp-02.rdc-nyc.rr.com [24.29.109.6]) by mx1.freebsd.org (Postfix) with ESMTP id ECC9013C458 for ; Fri, 1 Jun 2007 22:54:47 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-69-203-84-92.nyc.res.rr.com [69.203.84.92]) by ms-smtp-02.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id l51MskUF013562 for ; Fri, 1 Jun 2007 18:54:46 -0400 (EDT) Date: Fri, 1 Jun 2007 18:54:43 -0400 From: Scott Robbins To: freebsd-emulation@freebsd.org Message-ID: <20070601225443.GA1636@mail.scottro.net> Mail-Followup-To: freebsd-emulation@freebsd.org References: <20070601194018.GB88270@uws1.starlofashions.com> <200706012131.l51LVlKU005235@pluto.hedeland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200706012131.l51LVlKU005235@pluto.hedeland.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Running "Windows Emulation" headless ... possible? 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, 01 Jun 2007 22:54:48 -0000 On Fri, Jun 01, 2007 at 11:31:47PM +0200, Per Hedeland wrote: > Scott Robbins wrote: > > > > > I use that acidos howto and it works well for me. > > I'm sure it works, just that it seems very static - I don't know if it > would be possible to diddle that sysctl in qemu-ifup, maybe it is. I do > believe I tried to use it when I first started to use qemu, but ran into > some problems. My needs are, I think, far simpler than yours or Bakul's--basically, I just need a simple Windows install that will reach the Internet (which could be done with slirp) and work with our company's Nortel VPN client (which doesn't work with slirp) > > > Some of the things I mention in CURRENT are definitely only > >workable in CURRENT, at this point. > > Could you be specific? Sorry, I meant giving the IP address to the bridge, as well as that if_tap, allowing the user to open it. > > >An anal sense of cleanliness? :) I usually only open qemu to do what I > >have to do and close it afterwards. Also, to avoid the tap errors you > >mention below. > > You don't need to unload the module for that, and it's not possible if > you have some qemu instance still running anyway - just 'deletem' the > tap interface instead. I've never tried it, but it's the "right" thing > to do - if there was a qemu-ifdown I might put it there. Yes, the reason it caused me problems turned out to be (I did a bit of experimenting when I got home) is because my qemu-ifup script ends with bridge0 addm ${1}. If I comment that line out, it causes me no problems. A bit more with the bridge and the IP address. In CURRENT, if I don't assign it an IP address, then networking in the guest simply doesn't work. However, casual testing indicates the following. (I see I went through some of this already, as this next sentence is mentioned in my howto). If I set it in rc.conf, that is cloned_interface and ifconfig bridge0 addm, then I don't have to give it an address. If I manually assign one, I have to give it a 32 bit mask (on the 24 bit subnet). HOWEVER--this is odd, but I don't have the energy to play around and delve further into it--if I don't use cloned interface in rc.conf, and don't assign the bridge an address manually, it will work without problem if I do dhclient bridge0--where it gets a 24 bit mask on the host's subnet. So, I can see that, especially since you set it in rc.conf, that you don't need to assign the bridge an address--I'm sure you're right if you tell me I'm wrong to do so. However, it's just a matter, on an aging machine, of running as little as possible when not needed, so I prefer to just start it manually each time I need qemu--which might be once or twice a week. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: So, Buffy, how'd the slaying go last night? Buffy: Xander! Xander: I mean, how'd the laying go? No, I don't mean that either. From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 05:34:12 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 A34D316A468 for ; Sat, 2 Jun 2007 05:34:12 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB7A13C455 for ; Sat, 2 Jun 2007 05:34:12 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id B6F93118AC3D for ; Sat, 2 Jun 2007 02:16:55 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 80246-01 for ; Sat, 2 Jun 2007 02:16:54 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 6CC39118AC00 for ; Sat, 2 Jun 2007 02:01:34 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 9AD9245903 for ; Sat, 2 Jun 2007 02:01:35 -0300 (ADT) Date: Sat, 02 Jun 2007 02:01:35 -0300 From: "Marc G. Fournier" To: freebsd-emulation@freebsd.org Message-ID: <3ADCDD3D6FF7FB9B690ACE80@ganymede.hub.org> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Wine 'works very bad' under FreeBSD ... 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, 02 Jun 2007 05:34:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm in the process of trying to get some software running, using Wine, that one of the Linux'ers on wine-devel states works perfectly under Linux/wine ... his comment was as above, that Wine 'works very bad' under FreeBSD ... I'm not out to start a Linux vs FreeBSD discussion here, I'm only interested in finding out if there is anyone on these lists that is working 'under the hood' with FreeBSD/wine that is interested in determining why this software does run under Linux, but not under FreeBSD ... I hate it when someone says we aren't up to snuff *sigh* - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGYPmv4QvfyHIvDvMRAhg6AJ9xYQqRjmgj1j3ej+ELKqMGVxSdHwCdFAwj 4mr2SH4Z0oW9Bl3gZ7CWVr4= =cyWq -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 11:03:40 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 206F316A400 for ; Sat, 2 Jun 2007 11:03:40 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id 787F013C447 for ; Sat, 2 Jun 2007 11:03:39 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l52B3cPL021569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Jun 2007 13:03:38 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l52B3bvb021568; Sat, 2 Jun 2007 13:03:37 +0200 (CEST) (envelope-from per) Date: Sat, 2 Jun 2007 13:03:37 +0200 (CEST) From: Per Hedeland Message-Id: <200706021103.l52B3bvb021568@pluto.hedeland.org> To: scottro@nyc.rr.com In-Reply-To: <20070601225443.GA1636@mail.scottro.net> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 02 Jun 2007 11:03:40 -0000 Scott Robbins wrote: > >On Fri, Jun 01, 2007 at 11:31:47PM +0200, Per Hedeland wrote: >> Scott Robbins wrote: >> >> > Some of the things I mention in CURRENT are definitely only >> >workable in CURRENT, at this point. >> >> Could you be specific? > >Sorry, I meant giving the IP address to the bridge, Hm? If you mean that it is required to give it an IP address in CURRENT, that's hardly a feature:-) - and I still believe you're wrong about that requirement, see below. It's certainly *possible* to do it in 6.x too. > as well as that >if_tap, allowing the user to open it. $ uname -sr FreeBSD 6.1-RELEASE $ sysctl -a | grep tap.user_open net.link.tap.user_open: 1 It doesn't have tap.up_on_open though, but of course you don't need it either given the existence of qemu-ifup. >Yes, the reason it caused me problems turned out to be (I did a bit of >experimenting when I got home) is because my qemu-ifup script ends with >bridge0 addm ${1}. So does mine - of course, that's the line that is causing the error message - but it doesn't cause any actual problems. >So, I can see that, especially since you set it in rc.conf, that you >don't need to assign the bridge an address--I'm sure you're right if you >tell me I'm wrong to do so. There is nothing magic with putting it in rc.conf, just a convenience to have the rc scripts do the commands for you at boot instead of doing them manually. However I see now that your "manual" commands are neglecting to "up" the bridge interface (see also my previous message): # ifconfig bridge2 create # ifconfig bridge2 addm bge0 # ifconfig bridge2 bridge2: flags=8002 mtu 1500 ether ac:de:48:6d:e2:e9 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: bge0 flags=3 # ifconfig bridge2 deletem bge0 # ifconfig bridge2 addm bge0 up # ifconfig bridge2 bridge2: flags=8043 mtu 1500 ether ac:de:48:6d:e2:e9 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: bge0 flags=3 I.e. change your 'ifconfig bridge0 addm vr0' to 'ifconfig bridge0 addm vr0 up' and it should work. Or you can just do 'ifconfig bridge0 up' at any time. When you put ifconfig_bridge0="addm vr0" in rc.conf, the rc scripts will actually execute that 'ifconfig bridge0 addm vr0 up' - and when you use ifconfig to configure an IP address on an interface, it will silently do the "up" for you. --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 11:14:17 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 200FC16A41F for ; Sat, 2 Jun 2007 11:14:17 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id D11C013C448 for ; Sat, 2 Jun 2007 11:14:16 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2370E8BD879; Sat, 2 Jun 2007 13:14:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9vdDkNfxctP5; Sat, 2 Jun 2007 13:14:13 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DFF8966C8F0; Sat, 2 Jun 2007 13:14:13 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l52BED4E002524; Sat, 2 Jun 2007 13:14:13 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 2 Jun 2007 13:14:12 +0200 From: Roman Divacky To: Boris Samorodov Message-ID: <20070602111412.GA2515@freebsd.org> References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> <20070601131741.GA55533@freebsd.org> <34078888@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34078888@srv.sem.ipt.ru> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, Paolo Pisati Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 02 Jun 2007 11:14:17 -0000 On Fri, Jun 01, 2007 at 07:38:47PM +0400, Boris Samorodov wrote: > On Fri, 1 Jun 2007 15:17:41 +0200 Roman Divacky wrote: > > > > [piso@piso ~/devkitARM]$ file ./bin/git > > > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > > > linked, corrupted section header size > > > hard to say whats going on but "corrupted section header size" looks bad > > to me. > > Do we support linux binaries which are packed with UPX executable > packer? ;-) never heard about it... is there any way how to "unpack" it, thus making it normal linux elf? From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 14:21:38 2007 Return-Path: X-Original-To: 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 5EC7C16A421 for ; Sat, 2 Jun 2007 14:21:38 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id D027413C480 for ; Sat, 2 Jun 2007 14:21:37 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l52Dte2M025182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Jun 2007 15:55:40 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l52DtdDj025181; Sat, 2 Jun 2007 15:55:39 +0200 (CEST) (envelope-from per) Date: Sat, 2 Jun 2007 15:55:39 +0200 (CEST) From: Per Hedeland Message-Id: <200706021355.l52DtdDj025181@pluto.hedeland.org> To: scottro@nyc.rr.com In-Reply-To: <20070602123424.GA8977@mail.scottro.net> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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, 02 Jun 2007 14:21:38 -0000 Scott Robbins wrote: > >On Sat, Jun 02, 2007 at 01:03:37PM +0200, Per Hedeland wrote: >> >> Hm? If you mean that it is required to give it an IP address in CURRENT, >> that's hardly a feature:-) - and I still believe you're wrong about that >> requirement, see below. It's certainly *possible* to do it in 6.x too. > >(You're right, see below). > >I should have added, also NOT using the suggestions in the acidos howto, >as the sysctl variables he gives are no longer available in CURRENT. And good riddance, as far as I'm concerned.:-) But we were talking about things that were only possible in CURRENT... Anyway, the point is that the ifconfig method works at least from 6.1 onwards - I can say for sure that it doesn't in 5.3, as that is what the box I'm writing this on runs, and I think it's a pretty safe bet to say that it works in 6.0 but not earlier. >> So does mine - of course, that's the line that is causing the error >> message - but it doesn't cause any actual problems. > >Now, in my case, and there may be something (else) that I've missed, if >tap is open I get that device exists error and qemu won't start. Humm, earlier you said that the networking failed... If qemu fails altogether, I think I see the reason: I actually have an 'exit 0' at the end of my qemu-ifup script, forgot to mention that before... - try it, I think you'll like it.:-) Without that, the non-zero exit code from 'ifconfig addm' becomes the exit code of the script, and qemu probably concludes that the network setup failed altogether. (Which is probably the reason I added that 'exit 0', but I have no memory of that...:-) --Per Hedeland From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 14:22:02 2007 Return-Path: X-Original-To: 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 88DA816A468 for ; Sat, 2 Jun 2007 14:22:02 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-04.rdc-nyc.rr.com (ms-smtp-04.rdc-nyc.rr.com [24.29.109.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4EFCF13C4BB for ; Sat, 2 Jun 2007 14:22:02 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-69-203-84-92.nyc.res.rr.com [69.203.84.92]) by ms-smtp-04.rdc-nyc.rr.com (8.13.4/8.13.4) with ESMTP id l52EM0IJ024116 for ; Sat, 2 Jun 2007 10:22:01 -0400 (EDT) Date: Sat, 2 Jun 2007 10:22:00 -0400 From: Scott Robbins To: emulation@freebsd.org Message-ID: <20070602142200.GB10223@mail.scottro.net> Mail-Followup-To: emulation@freebsd.org References: <20070602123424.GA8977@mail.scottro.net> <200706021355.l52DtdDj025181@pluto.hedeland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200706021355.l52DtdDj025181@pluto.hedeland.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Subject: Re: Running "Windows Emulation" headless ... possible? 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, 02 Jun 2007 14:22:02 -0000 On Sat, Jun 02, 2007 at 03:55:39PM +0200, Per Hedeland wrote: > Scott Robbins wrote: > > > >On Sat, Jun 02, 2007 at 01:03:37PM +0200, Per Hedeland wrote: > >> > >> So does mine - of course, that's the line that is causing the error > >> message - but it doesn't cause any actual problems. > > > >Now, in my case, and there may be something (else) that I've missed, if > >tap is open I get that device exists error and qemu won't start. > > Humm, earlier you said that the networking failed... If qemu fails > altogether, I think I see the reason: I actually have an 'exit 0' at the > end of my qemu-ifup script, forgot to mention that before... - try it, I > think you'll like it.:-) Darn, you are GOOD. Yup, that fixes that problem. :) Thanks again. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 What exactly does buildworld build anyway? If it really does build the world then there's the mother of all bug reports to file somewhere! (It's a FreeBSD joke) From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 16:46:41 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 4236C16A41F for ; Sat, 2 Jun 2007 16:46:41 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 0E14613C44C for ; Sat, 2 Jun 2007 16:46:40 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id l52G8KUv004469; Sat, 2 Jun 2007 10:08:20 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id l52G8HVg008280; Sat, 2 Jun 2007 10:08:17 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.1/8.14.1/Submit) id l52G8GmZ008277; Sat, 2 Jun 2007 10:08:16 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18017.38384.749310.450410@gromit.timing.com> Date: Sat, 2 Jun 2007 10:08:16 -0600 From: John E Hein To: Roman Divacky In-Reply-To: <20070602111412.GA2515@freebsd.org> References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> <20070601131741.GA55533@freebsd.org> <34078888@srv.sem.ipt.ru> <20070602111412.GA2515@freebsd.org> X-Mailer: VM 7.19 under Emacs 22.0.99.1 X-Spam-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on Daffy.timing.com Cc: freebsd-emulation@freebsd.org, Paolo Pisati Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 02 Jun 2007 16:46:41 -0000 Roman Divacky wrote at 13:14 +0200 on Jun 2, 2007: > On Fri, Jun 01, 2007 at 07:38:47PM +0400, Boris Samorodov wrote: > > On Fri, 1 Jun 2007 15:17:41 +0200 Roman Divacky wrote: > > > > > > [piso@piso ~/devkitARM]$ file ./bin/git > > > > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > > > > linked, corrupted section header size > > > > > hard to say whats going on but "corrupted section header size" looks bad > > > to me. > > > > Do we support linux binaries which are packed with UPX executable > > packer? ;-) I tried a simple hello world program (with extra spaces to make it compressable), compiled and upx'd under linux. It worked fine under FreeBSD 6-stable (and file reported the same 'corrupted section header size'). That doesn't prove that it will work with all programs, of course. > never heard about it... is there any way how to "unpack" it, thus making > it normal linux elf? Yep. 'upx -d' From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 21:25: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 D35EC16A469 for ; Sat, 2 Jun 2007 21:25:53 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB3F13C455 for ; Sat, 2 Jun 2007 21:25:53 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E9D038BD9A0; Sat, 2 Jun 2007 23:25:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fJ4KLVFvB9J3; Sat, 2 Jun 2007 23:25:51 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id EB9D066C8F6; Sat, 2 Jun 2007 23:25:50 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l52LPn3b017143; Sat, 2 Jun 2007 23:25:49 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 2 Jun 2007 23:25:49 +0200 From: Roman Divacky To: John E Hein Message-ID: <20070602212549.GA17133@freebsd.org> References: <32640.217.221.237.206.1180701628.squirrel@krisma.oltrelinux.com> <20070601131741.GA55533@freebsd.org> <34078888@srv.sem.ipt.ru> <20070602111412.GA2515@freebsd.org> <18017.38384.749310.450410@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18017.38384.749310.450410@gromit.timing.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, Paolo Pisati Subject: Re: Linux_base-fc4/6, FreeBSD 6/7 and some Linux binaries 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, 02 Jun 2007 21:25:53 -0000 On Sat, Jun 02, 2007 at 10:08:16AM -0600, John E Hein wrote: > Roman Divacky wrote at 13:14 +0200 on Jun 2, 2007: > > On Fri, Jun 01, 2007 at 07:38:47PM +0400, Boris Samorodov wrote: > > > On Fri, 1 Jun 2007 15:17:41 +0200 Roman Divacky wrote: > > > > > > > > [piso@piso ~/devkitARM]$ file ./bin/git > > > > > ./bin/git: ELF 32-bit LSB executable, Intel 80386, version 1, statically > > > > > linked, corrupted section header size > > > > > > > hard to say whats going on but "corrupted section header size" looks bad > > > > to me. > > > > > > Do we support linux binaries which are packed with UPX executable > > > packer? ;-) > > I tried a simple hello world program (with extra spaces to make it > compressable), compiled and upx'd under linux. It worked fine under > FreeBSD 6-stable (and file reported the same 'corrupted section header > size'). > > That doesn't prove that it will work with all programs, of course. > > > > never heard about it... is there any way how to "unpack" it, thus making > > it normal linux elf? > > Yep. 'upx -d' ok.. problem solved ;) given that we support the upx program with the ports collection From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 23:05:10 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 152CA16A400 for ; Sat, 2 Jun 2007 23:05:10 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C40D713C44B for ; Sat, 2 Jun 2007 23:05:09 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Huc10-0006B4-D0 for freebsd-emulation@freebsd.org; Sun, 03 Jun 2007 00:24:06 +0200 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jun 2007 00:24:06 +0200 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jun 2007 00:24:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: martinko Date: Sun, 03 Jun 2007 00:23:47 +0200 Lines: 33 Message-ID: References: <67A57A9DEDC22CBEE0C436C1@ganymede.hub.org> <20070531220240.82E585B3E@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.4) Gecko/20070531 SeaMonkey/1.1.2 In-Reply-To: <20070531220240.82E585B3E@mail.bitblocks.com> Sender: news Subject: Re: Running "Windows Emulation" headless ... possible? 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, 02 Jun 2007 23:05:10 -0000 Bakul Shah wrote: >>>> Can I run two or more QEMU instances on the same server with different IPs >> ? >>> Yes. But you have to make sure each machine gets its own mac >>> address. >> Is that addressed using the tap interface, as Scott mentioned? > > Yes. You'd probably want to put tap devices in a bridge (in > /etc/qemu-ifup: ifconfig $1 up; ifconfig bridge0 addm $1). > >> Also, just curious, but what is the performance like? I have one application >> that I need to run, so I'm kinda hoping that maybe it will work with wine >> without all of the extra Windows overhead, but if it doesn't ... > > Performance will be worse. But I guess you knew that:-) Only > you can decide if you can live with degraded performance. > You can try running on an SMP machine but I am not sure if > kqemu is SMP safe. Make sure you have enough RAM to avoid > each Qemu from paging and allocate enough RAM to each VM to > avoid paging within each VM. Finally, if the primary use of > your machine is for running a bunch of VMs, consider other > alternatives such as Linux + xen, Linux + kvm, vmware etc. hello, i plan to run windows in qemu and i have this question: should i give more memory to qemu instance (via -m) and decrease windows pagefile size or possibly not use it all, or should i just leave pagefile as set up by windows ? cheers, martin From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 23:51:41 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 6095A16A468 for ; Sat, 2 Jun 2007 23:51:41 +0000 (UTC) (envelope-from saper@SYSTEM.PL) Received: from system.pl (system.pl [87.98.232.30]) by mx1.freebsd.org (Postfix) with ESMTP id B9A2C13C44C for ; Sat, 2 Jun 2007 23:51:40 +0000 (UTC) (envelope-from saper@SYSTEM.PL) Received: (qmail 13049 invoked from network); 3 Jun 2007 01:24:58 +0200 Received: from unknown (HELO saperski.saper.info) (81.210.224.242) by system.pl with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Jun 2007 01:24:58 +0200 Received: from saperski.saper.info (saper@saperski.saper.info [127.0.0.1]) by saperski.saper.info (8.14.1/8.14.1) with ESMTP id l52NLPjO055377; Sun, 3 Jun 2007 01:21:25 +0200 (CEST) (envelope-from saper@SYSTEM.PL) Message-ID: <4661FB74.9040903@SYSTEM.PL> Date: Sun, 03 Jun 2007 01:21:24 +0200 From: Marcin Cieslak User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070309 SeaMonkey/1.1.1 MIME-Version: 1.0 To: scottro@nyc.rr.com References: <20070601194018.GB88270@uws1.starlofashions.com> <200706012131.l51LVlKU005235@pluto.hedeland.org> <20070601225443.GA1636@mail.scottro.net> In-Reply-To: <20070601225443.GA1636@mail.scottro.net> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: (off-topic) Running "Windows Emulation" - 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, 02 Jun 2007 23:51:41 -0000 Scott Robbins wrote: > My needs are, I think, far simpler than yours or Bakul's--basically, I > just need a simple Windows install that will reach the Internet (which > could be done with slirp) and work with our company's Nortel VPN client > (which doesn't work with slirp) Just curious, what kind of VPN connection do you require? Could FreeBSD do the job itself? I am fighting to setup a working L2TP/IPSec connection to the Microsoft Windows server, I *think* I am 70% done :) (Feel free to reply off the list) -- << Marcin Cieslak // saper@system.pl >>