From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 4 09:41:20 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AEE416A41F for ; Sun, 4 Sep 2005 09:41:20 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA64C43D49 for ; Sun, 4 Sep 2005 09:41:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D36B.dip.t-dialin.net [84.165.211.107]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j849VSr2066204; Sun, 4 Sep 2005 11:31:39 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j849ePjO066019; Sun, 4 Sep 2005 11:40:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 4 Sep 2005 11:40:24 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20050904114024.3864b603@Magellan.Leidinger.net> In-Reply-To: <62142359@srv.sem.ipt.ru> References: <08559700@srv.sem.ipt.ru> <20050903114015.38238e72@Magellan.Leidinger.net> <62142359@srv.sem.ipt.ru> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linux directory hier X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2005 09:41:20 -0000 On Sat, 03 Sep 2005 15:18:16 +0400 Boris Samorodov wrote: > Right now we install (almost?) all linux programs to LINUXBASE. Do we > have an example of your approach at ports? Quick examples: linux-opera and linux-firefox install into X11BASE. I haven't looked further. > To use linux programs we replace at run time root to LINUXBASE. Hence > all that programms needed is there. Wouldn't it me a pain to decide at > run time where to look needed files? For example, conf files, paths, > etc. Besides, we will have to use /opt and other linux hiers at > FreeBSD's /... No. We first look into LINUXBASE, if the file isn't there, the linuxolator looks in the FreeBSD path. Therefore it's possible to look at /home/foobar even if LINUXBASE doesn't contain a "home". > > > The task is to create a static plist for emulation/linux_base-8 > > > port. Now I should decide which directories are used only by > > > linux_base port and which may be used by other programms. Seems to me >=20 > > As long as the dependency is correctly registered, one shouldn't > > remove the dependency. If he removes it, it's ok to get errors (e.g. > > from dirrm). The only big no-no is to overwrite existing files. If this > > is the case we have to find the right solution (somethimes we have to > > allow such behavior -- like with ld.so.cache -- and look how to solve > > this cleanly). >=20 > Well, thats right. At normal conditions all does well. If we install > packages with dependencies and remove them in revers order. Then no > files and directories should remain. But pointyhat doesn't remove > packages in revers order. Look at >=20 > http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.7.2005072221/acro= read7-7.0.1.log >=20 > after the line "Deleting acroread7-7.0.1". We see deleting rpm, popt, > linux_base(!)... leaving all other linux stuff to later deletion. The line reads "Deleting rpm-3.0.6_10 popt-1.7 linux_base-8-8.0_6 linux-tiff-3.6.1_3 linux-png-1.2.7_6 linux-pango-1.2.1_3"... I'm not sure if this is the order in which pointyhat removes the files... can someone from portmgr clarify this issue? =46rom a quick look the reverse order in which the packages are listed would make sense. I've never looked into the scripts for this, since it only makes sense to remove them in reverse dependency order and I always assumed this is the case. > > The acroread port is not a good example how to do a linux port. It > > generates a plist at install time, it isn't PREFIX clean, and it plays > > tricks in the plist (setting the cwd). All of this isn't necessary and > > could be done cleanly. >=20 > It seems to me that the problem should be quite common for linux programs > if pointyhat is not removing packages in revers order. Why does only > acroread suffer it? I would change the question to: What's wrong in the dependency chain of the acroread port? > BTW, at my patch I used "@exec mkdir" to create some empty directories > needed by the port. FreeBSD's package manager can't deal with empty > dirs when creating a package. If you like, I'll do it at pkg-install > script. I don't have a preference here. Bye, Alexander. --=20 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 4 14:35:05 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ED4716A41F for ; Sun, 4 Sep 2005 14:35:05 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16DD43D45 for ; Sun, 4 Sep 2005 14:35:04 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 557505EC; Sun, 4 Sep 2005 09:35:04 -0500 (CDT) Date: Sun, 4 Sep 2005 09:35:04 -0500 To: Alexander Leidinger Message-ID: <20050904143504.GB4221@soaustin.net> References: <08559700@srv.sem.ipt.ru> <20050903114015.38238e72@Magellan.Leidinger.net> <62142359@srv.sem.ipt.ru> <20050904114024.3864b603@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050904114024.3864b603@Magellan.Leidinger.net> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: freebsd-emulation@freebsd.org Subject: Re: linux directory hier X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2005 14:35:05 -0000 On Sun, Sep 04, 2005 at 11:40:24AM +0200, Alexander Leidinger wrote: > The line reads "Deleting rpm-3.0.6_10 popt-1.7 linux_base-8-8.0_6 > linux-tiff-3.6.1_3 linux-png-1.2.7_6 linux-pango-1.2.1_3"... > > I'm not sure if this is the order in which pointyhat removes the > files... can someone from portmgr clarify this issue? The dependencies appear to me to be removed in the order that they are listed in the dependency. e.g. if EXTRACT_DEPENDS=foo bar then after the extact is done, foo will be removed, then bar. At the end, they are removed in a tricky order, which appears to be: "concatenate RUN_DEPENDS and BUILD_DEPENDS and then drop duplicates". That should correspond to the list above. The script is in ports/Tools/portbuild/scripts/buildscript. I am not the person most familiar with it. mcl From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 5 11:01:55 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C74FC16A41F for ; Mon, 5 Sep 2005 11:01:55 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13CD943D48 for ; Mon, 5 Sep 2005 11:01:55 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j85B1s4o076714 for ; Mon, 5 Sep 2005 11:01:54 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j85B1rfn076708 for emulation@freebsd.org; Mon, 5 Sep 2005 11:01:53 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Sep 2005 11:01:53 GMT Message-Id: <200509051101.j85B1rfn076708@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: 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, 05 Sep 2005 11:01:56 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] i386/77710 emulation Linux page fault sigcontext information i o [2005/05/05] ports/80679 emulation emulators/linux_base-8: Use ${MACHINE_ARC o [2005/05/09] ports/80837 emulation x11-toolkits/linux-gtk: cannot install by o [2005/05/12] ports/80926 emulation running $PREFIX/etc/rc.d/vmware.sh return 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal o [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE o [2004/10/20] kern/72920 emulation linux emulation : path "prefixing" is not o [2004/11/08] kern/73663 emulation [ibcs2] module_register_init: MOD_LOAD (i o [2004/11/10] kern/73777 emulation [patch] linux emulation: root dir special o [2004/11/15] kern/73978 emulation [ibsc2] an error message appears during l o [2005/02/08] kern/77253 emulation [linprocfs] meminfo in linprocfs returns o [2005/03/19] ports/79009 emulation [patch] Some linux ports are incorrectly o [2005/04/07] ports/79655 emulation linux_base-8 fails to install as non-root o [2005/06/08] kern/82026 emulation [ibcs2] module_register_init: MOD_LOAD (i s [2005/07/01] ports/82853 emulation [wish] working linux_base port for alpha o [2005/08/21] kern/85175 emulation [patch] linux emulation layer without COM o [2005/09/02] ports/85625 emulation [patch] emulators/linux_base-8, plist fix 21 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 6 19:11:16 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C95ED16A41F; Tue, 6 Sep 2005 19:11:16 +0000 (GMT) (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 88F3443D4C; Tue, 6 Sep 2005 19:11:12 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j86JBAnZ020189; Tue, 6 Sep 2005 21:11:10 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j86JBA8T020187; Tue, 6 Sep 2005 21:11:10 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j86J81md009197; Tue, 6 Sep 2005 21:08:01 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j86J81jw009196; Tue, 6 Sep 2005 21:08:01 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 6 Sep 2005 21:07:53 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Message-ID: <20050906190753.GA8560@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: FreeBSD qemu port update - some success with kqemu/amd64 :) 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: Tue, 06 Sep 2005 19:11:17 -0000 KNOPPIX_V3.7-2004-12-08-DE.iso now seems to work in qemu-system-x86_64 when booted with 2.4 kernel (yeah!), the 2.6 kernel (booted with `knoppix26 vga=0') crashes after printing `checking if image is initramfs...', both with and without kqemu: qemu: fatal: Trying to execute code outside RAM or ROM at 0xffffffffc00f9ca0 EAX=49435024 EBX=00000000 ECX=00000000 EDX=00000010 ESI=00000286 EDI=c0361424 EBP=00000000 ESP=c1251f94 EIP=c00f9ca0 EFL=00000002 [-------] CPL=0 II=0 A20=1 ES =007b 00000000 ffffffff 00cff300 CS =0060 00000000 ffffffff 00cf9a00 SS =0068 00000000 ffffffff 00cf9300 DS =007b 00000000 ffffffff 00cff300 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0088 c03f1ba0 00000027 c000823f TR =0080 c1102060 00002073 c1008910 GDT= c1104260 000000ff IDT= c039a000 000007ff CR0=8005003b CR2=ffe3e000 CR3=003ef000 CR4=00000690 CCS=00000008 CCD=00000000 CCO=LOGICL FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=800bf60000000000 4015 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 Abort trap (core dumped) 5.4-RELEASE-amd64-disc1.iso with kqemu hangs after printing `Mounting root from ufs:/dev/md0', eating CPU; apparently it fails to enter userland (next message without kqemu is `/stand/sysinstall running as init on vty0', then comes the sysinstall menu.) 5.4-RELEASE-i386-disc1.iso still panics at 0x8:0xc0762fbc, both with and witout kqemu (see my first post about qemu-system-x86_64 for details.) KANOTIX-2005-03.iso (2.6.11 kernel) crashes after printing `Freeing initrd memory', sometimes it even gets one line further, printing `NET: registered protocol family 16', both with and without kqemu. Crash otherwise looks very similar to knoppix: qemu: fatal: Trying to execute code outside RAM or ROM at 0xffffffffc00f9ca0 EAX=49435024 EBX=00000000 ECX=00000000 EDX=00000010 ESI=00000000 EDI=c0481764 EBP=00000287 ESP=c7e81f9c EIP=c00f9ca0 EFL=00000002 [-------] CPL=0 II=0 A20=1 ES =007b 00000000 ffffffff 00cff300 CS =0060 00000000 ffffffff 00cf9a00 SS =0068 00000000 ffffffff 00cf9300 DS =007b 00000000 ffffffff 00cff300 FS =0000 00000000 00000000 00000000 GS =0000 00000000 00000000 00000000 LDT=0088 c0509a40 00000027 c0008250 TR =0080 c0427040 00002073 c0008942 GDT= c050b0e0 000000ff IDT= c04bc000 000007ff CR0=8005003b CR2=fffd9000 CR3=00507000 CR4=00000690 CCS=40000000 CCD=00000000 CCO=LOGICL FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=800bf60000000000 4015 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 Abort trap (core dumped) Here comes the update, please test! if no new problems show up i think this can be committed... - first (partly) working kqemu/amd64 version - added a note about RELENG_6 guests to pkg-message (PREEMPTION) Removed files: files/BSDmakefile files/kmod_bsd.c New files: files/kqemu-freebsd-patch files/patch-libmath2 files/patch-vl.c Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- Makefile 19 Jul 2005 06:06:56 -0000 1.27 +++ Makefile 6 Sep 2005 18:02:11 -0000 @@ -6,12 +6,11 @@ # PORTNAME= qemu -PORTVERSION= 0.7.0s.20050717 +PORTVERSION= 0.7.2 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/ \ http://people.fruitsalad.org/nox/qemu/ \ http://dad-answers.com/qemu/ -DISTNAME= ${PORTNAME}-snapshot-2005-07-17_23 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nox@jelal.kn-bremen.de @@ -23,12 +22,12 @@ .endif .if defined(WITH_KQEMU) -DISTKQEMU= kqemu-0.6.2-1.tar.gz +DISTKQEMU= kqemu-0.7.2.tar.gz DISTFILES= ${EXTRACT_ONLY} ${DISTKQEMU} +EXTRA_PATCHES= ${FILESDIR}/kqemu-freebsd-patch .endif HAS_CONFIGURE= yes -USE_BZIP2= yes USE_GMAKE= yes USE_GETOPT_LONG= yes USE_SDL= sdl @@ -40,9 +39,11 @@ ONLY_FOR_ARCHS= amd64 i386 .if defined(WITH_KQEMU) NO_PACKAGE= Depends on kernel, and module not redistributable +CONFIGURE_ARGS+= --enable-kqemu PLIST_SUB= WITH_KQEMU="" PLIST_SUB+= KMODDIR=${KMODDIR} .else +CONFIGURE_ARGS+= --disable-kqemu PLIST_SUB= WITH_KQEMU="@comment " .endif @@ -52,7 +53,7 @@ .if ${ARCH} == "amd64" ARCH= x86_64 -.if ${OSVERSION} >= 502126 +.if ${OSVERSION} >= 502126 && ${OSVERSION} <= 600029 BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 GCCVERSION= 030402 CC= gcc34 @@ -63,16 +64,12 @@ USE_GCC= 3.4 .endif -.if defined(WITH_KQEMU) && ${ARCH} != "i386" -IGNORE= kqemu only supported on i386 -.endif - .if defined(WITH_KQEMU) && !exists(${SRC_BASE}/sys/Makefile) IGNORE= kqemu requires kernel source to be installed .endif pre-everything:: -.if !defined(WITH_KQEMU) && ${ARCH} == "i386" +.if !defined(WITH_KQEMU) @${ECHO_MSG} "Notice: you can build qemu with the (alpha!) kqemu accelerator kernel module" @${ECHO_MSG} "by defining WITH_KQEMU." .endif @@ -85,7 +82,7 @@ .if defined(WITH_KQEMU) post-extract: @cd ${WRKSRC} && ${TAR} xfz ${_DISTDIR}/${DISTKQEMU} - @${CP} ${FILESDIR}/BSDmakefile ${FILESDIR}/kmod_bsd.c ${WRKSRC}/kqemu + @${LN} -s Makefile.freebsd ${WRKSRC}/kqemu/BSDmakefile .endif pre-patch: Index: distinfo =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/distinfo,v retrieving revision 1.20 diff -u -r1.20 distinfo --- distinfo 19 Jul 2005 06:06:56 -0000 1.20 +++ distinfo 6 Sep 2005 18:02:22 -0000 @@ -1,4 +1,4 @@ -MD5 (qemu-snapshot-2005-07-17_23.tar.bz2) = 5d21295c1f328ea00de19a54715ee7c3 -SIZE (qemu-snapshot-2005-07-17_23.tar.bz2) = 1114748 -MD5 (kqemu-0.6.2-1.tar.gz) = c6bb3b40fb3d526d731eb0f1f9dee7ee -SIZE (kqemu-0.6.2-1.tar.gz) = 21002 +MD5 (qemu-0.7.2.tar.gz) = 7d69dd96edf7ae5298a9a7283a0e9fb8 +SIZE (qemu-0.7.2.tar.gz) = 1341993 +MD5 (kqemu-0.7.2.tar.gz) = 02cfdecda90458d6393781496ec6b48b +SIZE (kqemu-0.7.2.tar.gz) = 79314 Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/pkg-message,v retrieving revision 1.8 diff -u -r1.8 pkg-message --- pkg-message 1 May 2005 07:39:10 -0000 1.8 +++ pkg-message 6 Sep 2005 18:23:22 -0000 @@ -1,6 +1,9 @@ ==== FreeBSD host notes: - needs to run as root in order to use /dev/tap* networking (why?) +(actually RELENG_6 and above now has a sysctl net.link.tap.user_open +to allow users to use it too. don't forget to adjust device node +permissions in /etc/devfs.rules.) - slirp (usermode networking) is fixed now in cvs, on FreeSBIE 1.0 guests you still have to manually do: echo nameserver 10.0.2.3 >/etc/resolv.conf @@ -18,4 +21,9 @@ ioctl.) - the -smb option (smb-export local dir to guest) needs the net/samba port/package installed in addition to qemu. +- RELENG_6 and up guests often crash while accessing the emulated cdrom +(see kern/84102, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84102), +using a kernel without PREEMPTION has been reported to fix this problem. +(or do an ftp install instead of installing from the emulated cdrom, and +then make a new kernel.) ==== Index: files/patch-fbsd =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/files/patch-fbsd,v retrieving revision 1.2 diff -u -r1.2 patch-fbsd --- files/patch-fbsd 5 May 2005 12:41:10 -0000 1.2 +++ files/patch-fbsd 11 Aug 2005 16:38:42 -0000 @@ -13,7 +13,7 @@ $(MAKE) -C kqemu -f Makefile.winnt else - $(MAKE) -C kqemu -+ cd kqemu && $(BSD_MAKE) ++ ( cd kqemu && $(BSD_MAKE) ) endif endif Index: files/kqemu-freebsd-patch @@ -0,0 +1,501 @@ +Index: qemu/kqemu/Makefile.freebsd +@@ -1,9 +1,13 @@ ++# $Id: Makefile.freebsd,v 1.1 2005/04/17 17:21:31 bellard Exp $ + KMOD= kqemu + SRCS= kqemu-freebsd.c + .if ${MACHINE_ARCH} == "i386" + OBJS= kqemu-mod-i386.o + .elif ${MACHINE_ARCH} == "amd64" + OBJS= kqemu-mod-x86_64.o ++.endif ++.if ${OSVERSION} >= 500000 ++CC= cc + .endif + WERROR= + +Index: qemu/kqemu/kqemu-freebsd.c +@@ -3,20 +3,33 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include + #include + #include ++#include ++#if __FreeBSD_version >= 500000 + #include ++#endif + #include + #include ++#include ++#include ++#if __FreeBSD_version < 500000 ++#include ++#endif ++ + #include + #include + #include + #include + #include + #include ++#include ++ + #include + #include + +@@ -27,10 +40,14 @@ + MALLOC_DECLARE(M_KQEMU); + MALLOC_DEFINE(M_KQEMU, "kqemu", "kqemu buffers"); + ++int kqemu_debug; ++SYSCTL_INT(_debug, OID_AUTO, kqemu_debug, CTLFLAG_RW, &kqemu_debug, 0, ++ "kqemu debug flag"); ++ + #define USER_BASE 0x1000 + + /* lock the page at virtual address 'user_addr' and return its +- physical page index. Return -1 if error */ ++ physical page index. Return NULL if error */ + struct kqemu_user_page *CDECL kqemu_lock_user_page(unsigned long *ppage_index, + unsigned long user_addr) + { +@@ -39,14 +56,18 @@ + vm_paddr_t pa = 0; + int ret; + pmap_t pmap; ++#if __FreeBSD_version >= 500000 + ret = vm_map_wire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, FALSE); ++#endif + if (ret != KERN_SUCCESS) { +- printf("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); ++ kqemu_log("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); + return NULL; + } + pmap = vm_map_pmap(&vm->vm_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); ++ // kqemu_log("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_user_page *)va; + } +@@ -56,12 +77,16 @@ + struct vmspace *vm = curproc->p_vmspace; + vm_offset_t va; + int ret; +- // printf("kqemu_unlock_user_page(%08lx)\n", page_index); ++ // kqemu_log("kqemu_unlock_user_page(%08lx)\n", page_index); + va = (vm_offset_t)page; ++#if __FreeBSD_version >= 500000 + ret = vm_map_unwire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, TRUE); ++#endif + #if 0 + if (ret != KERN_SUCCESS) { +- printf("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); ++ kqemu_log("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); + } + #endif + } +@@ -78,20 +103,21 @@ + + va = kmem_alloc(kernel_map, PAGE_SIZE); + if (va == 0) { +- printf("kqemu_alloc_zeroed_page: NULL\n"); +- return -1; ++ kqemu_log("kqemu_alloc_zeroed_page: NULL\n"); ++ return NULL; + } + pmap = vm_map_pmap(kernel_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_alloc_zeroed_page: %08x\n", pa); ++ // kqemu_log("kqemu_alloc_zeroed_page: %08x\n", pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_page *)va; + } + + void CDECL kqemu_free_page(struct kqemu_page *page) + { +- // printf("kqemu_free_page(%08lx)\n", page_index); +- /* XXX: do it */ ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_free_page(%p)\n", page); ++ kmem_free(kernel_map, (vm_offset_t) page, PAGE_SIZE); + } + + /* return kernel address of the physical page page_index */ +@@ -105,42 +131,29 @@ + GB of physical memory */ + void * CDECL kqemu_vmalloc(unsigned int size) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_offset_t va = USER_BASE; +- int rv; +- if (size % PAGE_SIZE != 0) { +- printf("kqemu_vmalloc(%d) not a multiple of page size\n", size); +- return NULL; +- } +- rv = vm_map_find(&vm->vm_map, NULL, 0, &va, size, 1, +- VM_PROT_ALL, VM_PROT_ALL, 0); +- if (rv != KERN_SUCCESS) { +- printf("kqemu_vmalloc(%d) failed rv=%d\n", size, rv); +- return NULL; +- } +- printf("kqemu_vmalloc(%d): %08x\n", size, va); +- return (void *)va; ++ void *ptr = malloc(size, M_KQEMU, M_WAITOK); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc(%d): %p\n", size, ptr); ++ return ptr; + } + + void CDECL kqemu_vfree(void *ptr) + { +- printf("kqemu_vfree(%p)\n", ptr); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vfree(%p)\n", ptr); ++ free(ptr, M_KQEMU); + } + + /* return the physical page index for a given virtual page */ + unsigned long CDECL kqemu_vmalloc_to_phys(const void *vaddr) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_paddr_t pa; +- pmap_t pmap; +- +- pmap = vm_map_pmap(&vm->vm_map); +- pa = pmap_extract(pmap, (vm_offset_t)vaddr); ++ vm_paddr_t pa = vtophys(vaddr); + if (pa == 0) { +- printf("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); + return -1; + } +- printf("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); + return pa >> PAGE_SHIFT; + } + +@@ -156,16 +169,48 @@ + { + } + ++#if __FreeBSD_version < 500000 ++static int ++curpriority_cmp(struct proc *p) ++{ ++ int c_class, p_class; ++ ++ c_class = RTP_PRIO_BASE(curproc->p_rtprio.type); ++ p_class = RTP_PRIO_BASE(p->p_rtprio.type); ++ if (p_class != c_class) ++ return (p_class - c_class); ++ if (p_class == RTP_PRIO_NORMAL) ++ return (((int)p->p_priority - (int)curpriority) / PPQ); ++ return ((int)p->p_rtprio.prio - (int)curproc->p_rtprio.prio); ++} ++ ++/* return TRUE if a signal is pending (i.e. the guest must stop ++ execution) */ ++int CDECL kqemu_schedule(void) ++{ ++ struct proc *p = curproc; ++ if (curpriority_cmp(p) > 0) { ++ int s = splhigh(); ++ p->p_priority = MAXPRI; ++ setrunqueue(p); ++ p->p_stats->p_ru.ru_nvcsw++; ++ mi_switch(); ++ splx(s); ++ } ++ return issignal(curproc) != 0; ++} ++#else + /* return TRUE if a signal is pending (i.e. the guest must stop + execution) */ + int CDECL kqemu_schedule(void) + { +- // printf("kqemu_schedule\n"); ++ // kqemu_log("kqemu_schedule\n"); + mtx_lock_spin(&sched_lock); + mi_switch(SW_VOL, NULL); + mtx_unlock_spin(&sched_lock); + return SIGPENDING(curthread); + } ++#endif + + static char log_buf[4096]; + +@@ -178,47 +223,149 @@ + va_end(ap); + } + ++#define KQEMU_MAX_INSTANCES 4 ++ + struct kqemu_instance { ++#if __FreeBSD_version >= 500000 ++ TAILQ_ENTRY(kqemu_instance) kqemu_ent; ++ struct cdev *kqemu_dev; ++#endif + // struct semaphore sem; + struct kqemu_state *state; + }; + ++static int kqemu_ref_count = 0; ++static int max_locked_pages; ++ ++#if __FreeBSD_version < 500000 ++static dev_t kqemu_dev; ++#else ++static struct clonedevs *kqemuclones; ++static TAILQ_HEAD(,kqemu_instance) kqemuhead = TAILQ_HEAD_INITIALIZER(kqemuhead); ++static eventhandler_tag clonetag; ++#endif ++ + static d_close_t kqemu_close; + static d_open_t kqemu_open; + static d_ioctl_t kqemu_ioctl; + + static struct cdevsw kqemu_cdevsw = { ++#if __FreeBSD_version < 500000 ++ /* open */ kqemu_open, ++ /* close */ kqemu_close, ++ /* read */ noread, ++ /* write */ nowrite, ++ /* ioctl */ kqemu_ioctl, ++ /* poll */ nopoll, ++ /* mmap */ nommap, ++ /* strategy */ nostrategy, ++ /* name */ "kqemu", ++ /* maj */ KQEMU_MAJOR, ++ /* dump */ nodump, ++ /* psize */ nopsize, ++ /* flags */ 0, ++ /* bmaj */ -1 ++#else + .d_version = D_VERSION, + .d_flags = D_NEEDGIANT, + .d_open = kqemu_open, + .d_ioctl = kqemu_ioctl, + .d_close = kqemu_close, + .d_name = "kqemu" ++#endif + }; + +-/* For use with make_dev(9)/destroy_dev(9). */ +-static struct cdev *kqemu_dev; ++#if __FreeBSD_version >= 500000 ++static void ++kqemu_clone(void *arg, char *name, int namelen, struct cdev **dev) ++{ ++ int unit, r; ++ if (*dev != NULL) ++ return; ++ ++ if (strcmp(name, "kqemu") == 0) ++ unit = -1; ++ else if (dev_stdclone(name, NULL, "kqemu", &unit) != 1) ++ return; /* Bad name */ ++ if (unit != -1 && unit > KQEMU_MAX_INSTANCES) ++ return; ++ ++ r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); ++ if (r) { ++ *dev = make_dev(&kqemu_cdevsw, unit2minor(unit), ++ UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); ++ if (*dev != NULL) { ++ dev_ref(*dev); ++ (*dev)->si_flags |= SI_CHEAPCLONE; ++ } ++ } ++} ++#endif ++ ++static void kqemu_destroy(struct kqemu_instance *ks) ++{ ++ struct cdev *dev = ks->kqemu_dev; ++ ++ if (ks->state) { ++ kqemu_delete(ks->state); ++ ks->state = NULL; ++ } ++ ++ free(ks, M_KQEMU); ++ dev->si_drv1 = NULL; ++#if __FreeBSD_version >= 500000 ++ TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); ++ destroy_dev(dev); ++#endif ++ --kqemu_ref_count; ++} + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_open(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_open(struct cdev *dev, int flags, int fmt __unused, + struct thread *td) + { ++ struct proc *p = td->td_proc; ++#endif + struct kqemu_instance *ks; ++ ++ if (dev->si_drv1 || kqemu_ref_count >= KQEMU_MAX_INSTANCES) ++ return(EBUSY); ++ ++ if ((flags & (FREAD|FWRITE)) == FREAD) ++ return(EPERM); ++ + ks = malloc(sizeof(struct kqemu_instance), M_KQEMU, M_WAITOK); + if (ks == NULL) { +- printf("malloc failed\n"); ++ kqemu_log("malloc failed\n"); + return ENOMEM; + } +- ks->state = NULL; ++ memset(ks, 0, sizeof *ks); ++#if __FreeBSD_version >= 500000 ++ ks->kqemu_dev = dev; ++ TAILQ_INSERT_TAIL(&kqemuhead, ks, kqemu_ent); ++#endif ++ kqemu_ref_count++; ++ + dev->si_drv1 = ks; ++ if (kqemu_debug > 0) ++ kqemu_log("opened by pid=%d\n", p->p_pid); + return 0; + } + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_ioctl(dev_t dev, u_long cmd, caddr_t addr, ++ int flags __unused, struct proc *p) ++#else + kqemu_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, + int flags __unused, struct thread *td) ++#endif + { + int error = 0; + int ret; +@@ -233,8 +380,9 @@ + break; + } + d1 = *(struct kqemu_init *)addr; +- printf("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); +- s = kqemu_init(d, 16000); ++ if (kqemu_debug > 0) ++ kqemu_log("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); ++ s = kqemu_init(d, max_locked_pages); + if (s == NULL) { + error = ENOMEM; + break; +@@ -250,9 +398,16 @@ + } + ctx = kqemu_get_cpu_state(s); + *ctx = *(struct kqemu_cpu_state *)addr; ++#if __FreeBSD_version >= 500000 + DROP_GIANT(); ++#endif + ret = kqemu_exec(s); ++#if __FreeBSD_version >= 500000 + PICKUP_GIANT(); ++ td->td_retval[0] = ret; ++#else ++ p->p_retval[0] = ret; ++#endif + *(struct kqemu_cpu_state *)addr = *ctx; + break; + } +@@ -267,10 +422,22 @@ + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_close(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_close(struct cdev *dev __unused, int flags, int fmt __unused, + struct thread *td) + { +- return 0; ++ struct proc *p = td->td_proc; ++#endif ++ struct kqemu_instance *ks = (struct kqemu_instance *) dev->si_drv1; ++ ++ kqemu_destroy(ks); ++ ++ if (kqemu_debug > 0) ++ kqemu_log("closed by pid=%d\n", p->p_pid); ++ return 0; + } + + /* ARGSUSED */ +@@ -278,15 +445,55 @@ + kqemu_modevent(module_t mod __unused, int type, void *data __unused) + { + int error = 0; ++#if __FreeBSD_version < 500000 ++ int rc; ++#else ++ struct kqemu_instance *ks; ++#endif + + switch (type) { + case MOD_LOAD: + printf("kqemu version 0x%08x\n", KQEMU_VERSION); ++ max_locked_pages = physmem / (2 * KQEMU_MAX_INSTANCES); ++ if (max_locked_pages > 32768) ++ max_locked_pages = 32768; ++#if __FreeBSD_version < 500000 ++ if ((rc = cdevsw_add(&kqemu_cdevsw))) { ++ kqemu_log("error registering cdevsw, rc=%d\n", rc); ++ error = ENOENT; ++ break; ++ } + kqemu_dev = make_dev(&kqemu_cdevsw, 0, +- UID_ROOT, GID_WHEEL, 0666, "kqemu"); ++ UID_ROOT, GID_WHEEL, 0660, "kqemu"); ++#else ++ clone_setup(&kqemuclones); ++ clonetag = EVENTHANDLER_REGISTER(dev_clone, kqemu_clone, 0, 1000); ++ if (!clonetag) { ++ error = ENOMEM; ++ break; ++ } ++#endif ++ kqemu_log("KQEMU installed, max_instances=%d max_locked_mem=%dkB.\n", ++ KQEMU_MAX_INSTANCES, max_locked_pages * 4); ++ ++ kqemu_ref_count = 0; + break; + case MOD_UNLOAD: ++ if (kqemu_ref_count > 0) { ++ error = EBUSY; ++ break; ++ } ++#if __FreeBSD_version < 500000 + destroy_dev(kqemu_dev); ++ if ((rc = cdevsw_remove(&kqemu_cdevsw))) ++ kqemu_log("error unregistering, rc=%d\n", rc); ++#else ++ EVENTHANDLER_DEREGISTER(dev_clone, clonetag); ++ while ((ks = TAILQ_FIRST(&kqemuhead)) != NULL) { ++ kqemu_destroy(ks); ++ } ++ clone_cleanup(&kqemuclones); ++#endif + break; + case MOD_SHUTDOWN: + break; Index: files/patch-libmath2 @@ -0,0 +1,67 @@ +Index: qemu/bsd/Makefile +@@ -16,7 +16,8 @@ + ${MACHINE_ARCH}/s_rintl.c \ + ${MACHINE_ARCH}/s_round.c \ + ${MACHINE_ARCH}/s_sinl.S \ +- ${MACHINE_ARCH}/s_tanl.S ++ ${MACHINE_ARCH}/s_tanl.S \ ++ ${MACHINE_ARCH}/s_ldexpl.c + + OBJS= ${SRCS:R:S/$/.o/} + +Index: qemu/bsd/i386/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/bsd/amd64/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/target-i386/helper.c +@@ -2886,6 +2886,8 @@ + ST0 = floatx_round_to_int(ST0, &env->fp_status); + } + ++long double ldexpl(long double, int); ++ + void helper_fscale(void) + { + ST0 = ldexp (ST0, (int)(ST1)); Index: files/patch-vl.c @@ -0,0 +1,21 @@ +Index: qemu/vl.c +@@ -40,6 +40,10 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#include ++#endif + #ifdef _BSD + #include + #ifndef __APPLE__ +@@ -1280,7 +1284,7 @@ + return chr; + } + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + CharDriverState *qemu_chr_open_pty(void) + { + char slave_name[1024]; From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 6 19:59:00 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8359016A41F; Tue, 6 Sep 2005 19:59:00 +0000 (GMT) (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 C850C43D46; Tue, 6 Sep 2005 19:58:56 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j86Jwsr1023827; Tue, 6 Sep 2005 21:58:54 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j86Jwsa1023825; Tue, 6 Sep 2005 21:58:54 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j86JsnA3010555; Tue, 6 Sep 2005 21:54:49 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j86Jsnko010554; Tue, 6 Sep 2005 21:54:49 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 6 Sep 2005 21:54:49 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Message-ID: <20050906195449.GA10388@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org References: <20050906190753.GA8560@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050906190753.GA8560@saturn.kn-bremen.de> User-Agent: Mutt/1.4.2.1i Cc: Subject: oops! (was: FreeBSD qemu port update - some success with kqemu/amd64 :) 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: Tue, 06 Sep 2005 19:59:00 -0000 Jung-uk Kim just made me aware of a device cloning change which requires a patch to the kqemu wrapper for __FreeBSD_version >= 600034. So here is a new port update: Removed files: files/BSDmakefile files/kmod_bsd.c New files: files/kqemu-freebsd-patch files/patch-libmath2 files/patch-vl.c Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- Makefile 19 Jul 2005 06:06:56 -0000 1.27 +++ Makefile 6 Sep 2005 18:02:11 -0000 @@ -6,12 +6,11 @@ # PORTNAME= qemu -PORTVERSION= 0.7.0s.20050717 +PORTVERSION= 0.7.2 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/ \ http://people.fruitsalad.org/nox/qemu/ \ http://dad-answers.com/qemu/ -DISTNAME= ${PORTNAME}-snapshot-2005-07-17_23 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nox@jelal.kn-bremen.de @@ -23,12 +22,12 @@ .endif .if defined(WITH_KQEMU) -DISTKQEMU= kqemu-0.6.2-1.tar.gz +DISTKQEMU= kqemu-0.7.2.tar.gz DISTFILES= ${EXTRACT_ONLY} ${DISTKQEMU} +EXTRA_PATCHES= ${FILESDIR}/kqemu-freebsd-patch .endif HAS_CONFIGURE= yes -USE_BZIP2= yes USE_GMAKE= yes USE_GETOPT_LONG= yes USE_SDL= sdl @@ -40,9 +39,11 @@ ONLY_FOR_ARCHS= amd64 i386 .if defined(WITH_KQEMU) NO_PACKAGE= Depends on kernel, and module not redistributable +CONFIGURE_ARGS+= --enable-kqemu PLIST_SUB= WITH_KQEMU="" PLIST_SUB+= KMODDIR=${KMODDIR} .else +CONFIGURE_ARGS+= --disable-kqemu PLIST_SUB= WITH_KQEMU="@comment " .endif @@ -52,7 +53,7 @@ .if ${ARCH} == "amd64" ARCH= x86_64 -.if ${OSVERSION} >= 502126 +.if ${OSVERSION} >= 502126 && ${OSVERSION} <= 600029 BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 GCCVERSION= 030402 CC= gcc34 @@ -63,16 +64,12 @@ USE_GCC= 3.4 .endif -.if defined(WITH_KQEMU) && ${ARCH} != "i386" -IGNORE= kqemu only supported on i386 -.endif - .if defined(WITH_KQEMU) && !exists(${SRC_BASE}/sys/Makefile) IGNORE= kqemu requires kernel source to be installed .endif pre-everything:: -.if !defined(WITH_KQEMU) && ${ARCH} == "i386" +.if !defined(WITH_KQEMU) @${ECHO_MSG} "Notice: you can build qemu with the (alpha!) kqemu accelerator kernel module" @${ECHO_MSG} "by defining WITH_KQEMU." .endif @@ -85,7 +82,7 @@ .if defined(WITH_KQEMU) post-extract: @cd ${WRKSRC} && ${TAR} xfz ${_DISTDIR}/${DISTKQEMU} - @${CP} ${FILESDIR}/BSDmakefile ${FILESDIR}/kmod_bsd.c ${WRKSRC}/kqemu + @${LN} -s Makefile.freebsd ${WRKSRC}/kqemu/BSDmakefile .endif pre-patch: Index: distinfo =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/distinfo,v retrieving revision 1.20 diff -u -r1.20 distinfo --- distinfo 19 Jul 2005 06:06:56 -0000 1.20 +++ distinfo 6 Sep 2005 18:02:22 -0000 @@ -1,4 +1,4 @@ -MD5 (qemu-snapshot-2005-07-17_23.tar.bz2) = 5d21295c1f328ea00de19a54715ee7c3 -SIZE (qemu-snapshot-2005-07-17_23.tar.bz2) = 1114748 -MD5 (kqemu-0.6.2-1.tar.gz) = c6bb3b40fb3d526d731eb0f1f9dee7ee -SIZE (kqemu-0.6.2-1.tar.gz) = 21002 +MD5 (qemu-0.7.2.tar.gz) = 7d69dd96edf7ae5298a9a7283a0e9fb8 +SIZE (qemu-0.7.2.tar.gz) = 1341993 +MD5 (kqemu-0.7.2.tar.gz) = 02cfdecda90458d6393781496ec6b48b +SIZE (kqemu-0.7.2.tar.gz) = 79314 Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/pkg-message,v retrieving revision 1.8 diff -u -r1.8 pkg-message --- pkg-message 1 May 2005 07:39:10 -0000 1.8 +++ pkg-message 6 Sep 2005 18:23:22 -0000 @@ -1,6 +1,9 @@ ==== FreeBSD host notes: - needs to run as root in order to use /dev/tap* networking (why?) +(actually RELENG_6 and above now has a sysctl net.link.tap.user_open +to allow users to use it too. don't forget to adjust device node +permissions in /etc/devfs.rules.) - slirp (usermode networking) is fixed now in cvs, on FreeSBIE 1.0 guests you still have to manually do: echo nameserver 10.0.2.3 >/etc/resolv.conf @@ -18,4 +21,9 @@ ioctl.) - the -smb option (smb-export local dir to guest) needs the net/samba port/package installed in addition to qemu. +- RELENG_6 and up guests often crash while accessing the emulated cdrom +(see kern/84102, http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84102), +using a kernel without PREEMPTION has been reported to fix this problem. +(or do an ftp install instead of installing from the emulated cdrom, and +then make a new kernel.) ==== Index: files/patch-fbsd =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/files/patch-fbsd,v retrieving revision 1.2 diff -u -r1.2 patch-fbsd --- files/patch-fbsd 5 May 2005 12:41:10 -0000 1.2 +++ files/patch-fbsd 11 Aug 2005 16:38:42 -0000 @@ -13,7 +13,7 @@ $(MAKE) -C kqemu -f Makefile.winnt else - $(MAKE) -C kqemu -+ cd kqemu && $(BSD_MAKE) ++ ( cd kqemu && $(BSD_MAKE) ) endif endif Index: files/kqemu-freebsd-patch @@ -0,0 +1,506 @@ +Index: qemu/kqemu/Makefile.freebsd +@@ -1,9 +1,13 @@ ++# $Id: Makefile.freebsd,v 1.1 2005/04/17 17:21:31 bellard Exp $ + KMOD= kqemu + SRCS= kqemu-freebsd.c + .if ${MACHINE_ARCH} == "i386" + OBJS= kqemu-mod-i386.o + .elif ${MACHINE_ARCH} == "amd64" + OBJS= kqemu-mod-x86_64.o ++.endif ++.if ${OSVERSION} >= 500000 ++CC= cc + .endif + WERROR= + +Index: qemu/kqemu/kqemu-freebsd.c +@@ -3,20 +3,33 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include + #include + #include ++#include ++#if __FreeBSD_version >= 500000 + #include ++#endif + #include + #include ++#include ++#include ++#if __FreeBSD_version < 500000 ++#include ++#endif ++ + #include + #include + #include + #include + #include + #include ++#include ++ + #include + #include + +@@ -25,10 +38,14 @@ + MALLOC_DECLARE(M_KQEMU); + MALLOC_DEFINE(M_KQEMU, "kqemu", "kqemu buffers"); + ++int kqemu_debug; ++SYSCTL_INT(_debug, OID_AUTO, kqemu_debug, CTLFLAG_RW, &kqemu_debug, 0, ++ "kqemu debug flag"); ++ + #define USER_BASE 0x1000 + + /* lock the page at virtual address 'user_addr' and return its +- physical page index. Return -1 if error */ ++ physical page index. Return NULL if error */ + struct kqemu_user_page *CDECL kqemu_lock_user_page(unsigned long *ppage_index, + unsigned long user_addr) + { +@@ -37,14 +54,18 @@ + vm_paddr_t pa = 0; + int ret; + pmap_t pmap; ++#if __FreeBSD_version >= 500000 + ret = vm_map_wire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, FALSE); ++#endif + if (ret != KERN_SUCCESS) { +- printf("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); ++ kqemu_log("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); + return NULL; + } + pmap = vm_map_pmap(&vm->vm_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); ++ // kqemu_log("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_user_page *)va; + } +@@ -54,12 +75,16 @@ + struct vmspace *vm = curproc->p_vmspace; + vm_offset_t va; + int ret; +- // printf("kqemu_unlock_user_page(%08lx)\n", page_index); ++ // kqemu_log("kqemu_unlock_user_page(%08lx)\n", page_index); + va = (vm_offset_t)page; ++#if __FreeBSD_version >= 500000 + ret = vm_map_unwire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, TRUE); ++#endif + #if 0 + if (ret != KERN_SUCCESS) { +- printf("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); ++ kqemu_log("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); + } + #endif + } +@@ -76,20 +101,21 @@ + + va = kmem_alloc(kernel_map, PAGE_SIZE); + if (va == 0) { +- printf("kqemu_alloc_zeroed_page: NULL\n"); +- return -1; ++ kqemu_log("kqemu_alloc_zeroed_page: NULL\n"); ++ return NULL; + } + pmap = vm_map_pmap(kernel_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_alloc_zeroed_page: %08x\n", pa); ++ // kqemu_log("kqemu_alloc_zeroed_page: %08x\n", pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_page *)va; + } + + void CDECL kqemu_free_page(struct kqemu_page *page) + { +- // printf("kqemu_free_page(%08lx)\n", page_index); +- /* XXX: do it */ ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_free_page(%p)\n", page); ++ kmem_free(kernel_map, (vm_offset_t) page, PAGE_SIZE); + } + + /* return kernel address of the physical page page_index */ +@@ -103,42 +129,29 @@ + GB of physical memory */ + void * CDECL kqemu_vmalloc(unsigned int size) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_offset_t va = USER_BASE; +- int rv; +- if (size % PAGE_SIZE != 0) { +- printf("kqemu_vmalloc(%d) not a multiple of page size\n", size); +- return NULL; +- } +- rv = vm_map_find(&vm->vm_map, NULL, 0, &va, size, 1, +- VM_PROT_ALL, VM_PROT_ALL, 0); +- if (rv != KERN_SUCCESS) { +- printf("kqemu_vmalloc(%d) failed rv=%d\n", size, rv); +- return NULL; +- } +- printf("kqemu_vmalloc(%d): %08x\n", size, va); +- return (void *)va; ++ void *ptr = malloc(size, M_KQEMU, M_WAITOK); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc(%d): %p\n", size, ptr); ++ return ptr; + } + + void CDECL kqemu_vfree(void *ptr) + { +- printf("kqemu_vfree(%p)\n", ptr); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vfree(%p)\n", ptr); ++ free(ptr, M_KQEMU); + } + + /* return the physical page index for a given virtual page */ + unsigned long CDECL kqemu_vmalloc_to_phys(const void *vaddr) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_paddr_t pa; +- pmap_t pmap; +- +- pmap = vm_map_pmap(&vm->vm_map); +- pa = pmap_extract(pmap, (vm_offset_t)vaddr); ++ vm_paddr_t pa = vtophys(vaddr); + if (pa == 0) { +- printf("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); + return -1; + } +- printf("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); + return pa >> PAGE_SHIFT; + } + +@@ -154,16 +167,48 @@ + { + } + ++#if __FreeBSD_version < 500000 ++static int ++curpriority_cmp(struct proc *p) ++{ ++ int c_class, p_class; ++ ++ c_class = RTP_PRIO_BASE(curproc->p_rtprio.type); ++ p_class = RTP_PRIO_BASE(p->p_rtprio.type); ++ if (p_class != c_class) ++ return (p_class - c_class); ++ if (p_class == RTP_PRIO_NORMAL) ++ return (((int)p->p_priority - (int)curpriority) / PPQ); ++ return ((int)p->p_rtprio.prio - (int)curproc->p_rtprio.prio); ++} ++ + /* return TRUE if a signal is pending (i.e. the guest must stop + execution) */ + int CDECL kqemu_schedule(void) + { +- // printf("kqemu_schedule\n"); ++ struct proc *p = curproc; ++ if (curpriority_cmp(p) > 0) { ++ int s = splhigh(); ++ p->p_priority = MAXPRI; ++ setrunqueue(p); ++ p->p_stats->p_ru.ru_nvcsw++; ++ mi_switch(); ++ splx(s); ++ } ++ return issignal(curproc) != 0; ++} ++#else ++/* return TRUE if a signal is pending (i.e. the guest must stop ++ execution) */ ++int CDECL kqemu_schedule(void) ++{ ++ // kqemu_log("kqemu_schedule\n"); + mtx_lock_spin(&sched_lock); + mi_switch(SW_VOL, NULL); + mtx_unlock_spin(&sched_lock); + return SIGPENDING(curthread); + } ++#endif + + static char log_buf[4096]; + +@@ -176,47 +221,154 @@ + va_end(ap); + } + ++#define KQEMU_MAX_INSTANCES 4 ++ + struct kqemu_instance { ++#if __FreeBSD_version >= 500000 ++ TAILQ_ENTRY(kqemu_instance) kqemu_ent; ++ struct cdev *kqemu_dev; ++#endif + // struct semaphore sem; + struct kqemu_state *state; + }; + ++static int kqemu_ref_count = 0; ++static int max_locked_pages; ++ ++#if __FreeBSD_version < 500000 ++static dev_t kqemu_dev; ++#else ++static struct clonedevs *kqemuclones; ++static TAILQ_HEAD(,kqemu_instance) kqemuhead = TAILQ_HEAD_INITIALIZER(kqemuhead); ++static eventhandler_tag clonetag; ++#endif ++ + static d_close_t kqemu_close; + static d_open_t kqemu_open; + static d_ioctl_t kqemu_ioctl; + + static struct cdevsw kqemu_cdevsw = { ++#if __FreeBSD_version < 500000 ++ /* open */ kqemu_open, ++ /* close */ kqemu_close, ++ /* read */ noread, ++ /* write */ nowrite, ++ /* ioctl */ kqemu_ioctl, ++ /* poll */ nopoll, ++ /* mmap */ nommap, ++ /* strategy */ nostrategy, ++ /* name */ "kqemu", ++ /* maj */ KQEMU_MAJOR, ++ /* dump */ nodump, ++ /* psize */ nopsize, ++ /* flags */ 0, ++ /* bmaj */ -1 ++#else + .d_version = D_VERSION, + .d_flags = D_NEEDGIANT, + .d_open = kqemu_open, + .d_ioctl = kqemu_ioctl, + .d_close = kqemu_close, + .d_name = "kqemu" ++#endif + }; + +-/* For use with make_dev(9)/destroy_dev(9). */ +-static struct cdev *kqemu_dev; ++#if __FreeBSD_version >= 500000 ++static void ++#if __FreeBSD_version >= 600034 ++kqemu_clone(void *arg, struct ucred *cred, char *name, int namelen, ++struct cdev **dev) ++#else ++kqemu_clone(void *arg, char *name, int namelen, struct cdev **dev) ++#endif ++{ ++ int unit, r; ++ if (*dev != NULL) ++ return; ++ ++ if (strcmp(name, "kqemu") == 0) ++ unit = -1; ++ else if (dev_stdclone(name, NULL, "kqemu", &unit) != 1) ++ return; /* Bad name */ ++ if (unit != -1 && unit > KQEMU_MAX_INSTANCES) ++ return; ++ ++ r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); ++ if (r) { ++ *dev = make_dev(&kqemu_cdevsw, unit2minor(unit), ++ UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); ++ if (*dev != NULL) { ++ dev_ref(*dev); ++ (*dev)->si_flags |= SI_CHEAPCLONE; ++ } ++ } ++} ++#endif ++ ++static void kqemu_destroy(struct kqemu_instance *ks) ++{ ++ struct cdev *dev = ks->kqemu_dev; ++ ++ if (ks->state) { ++ kqemu_delete(ks->state); ++ ks->state = NULL; ++ } ++ ++ free(ks, M_KQEMU); ++ dev->si_drv1 = NULL; ++#if __FreeBSD_version >= 500000 ++ TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); ++ destroy_dev(dev); ++#endif ++ --kqemu_ref_count; ++} + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_open(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_open(struct cdev *dev, int flags, int fmt __unused, + struct thread *td) + { ++ struct proc *p = td->td_proc; ++#endif + struct kqemu_instance *ks; ++ ++ if (dev->si_drv1 || kqemu_ref_count >= KQEMU_MAX_INSTANCES) ++ return(EBUSY); ++ ++ if ((flags & (FREAD|FWRITE)) == FREAD) ++ return(EPERM); ++ + ks = malloc(sizeof(struct kqemu_instance), M_KQEMU, M_WAITOK); + if (ks == NULL) { +- printf("malloc failed\n"); ++ kqemu_log("malloc failed\n"); + return ENOMEM; + } +- ks->state = NULL; ++ memset(ks, 0, sizeof *ks); ++#if __FreeBSD_version >= 500000 ++ ks->kqemu_dev = dev; ++ TAILQ_INSERT_TAIL(&kqemuhead, ks, kqemu_ent); ++#endif ++ kqemu_ref_count++; ++ + dev->si_drv1 = ks; ++ if (kqemu_debug > 0) ++ kqemu_log("opened by pid=%d\n", p->p_pid); + return 0; + } + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_ioctl(dev_t dev, u_long cmd, caddr_t addr, ++ int flags __unused, struct proc *p) ++#else + kqemu_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, + int flags __unused, struct thread *td) ++#endif + { + int error = 0; + int ret; +@@ -231,8 +383,9 @@ + break; + } + d1 = *(struct kqemu_init *)addr; +- printf("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); +- s = kqemu_init(d, 16000); ++ if (kqemu_debug > 0) ++ kqemu_log("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); ++ s = kqemu_init(d, max_locked_pages); + if (s == NULL) { + error = ENOMEM; + break; +@@ -248,9 +401,16 @@ + } + ctx = kqemu_get_cpu_state(s); + *ctx = *(struct kqemu_cpu_state *)addr; ++#if __FreeBSD_version >= 500000 + DROP_GIANT(); ++#endif + ret = kqemu_exec(s); ++#if __FreeBSD_version >= 500000 + PICKUP_GIANT(); ++ td->td_retval[0] = ret; ++#else ++ p->p_retval[0] = ret; ++#endif + *(struct kqemu_cpu_state *)addr = *ctx; + break; + } +@@ -265,10 +425,22 @@ + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_close(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_close(struct cdev *dev __unused, int flags, int fmt __unused, + struct thread *td) + { +- return 0; ++ struct proc *p = td->td_proc; ++#endif ++ struct kqemu_instance *ks = (struct kqemu_instance *) dev->si_drv1; ++ ++ kqemu_destroy(ks); ++ ++ if (kqemu_debug > 0) ++ kqemu_log("closed by pid=%d\n", p->p_pid); ++ return 0; + } + + /* ARGSUSED */ +@@ -276,15 +448,55 @@ + kqemu_modevent(module_t mod __unused, int type, void *data __unused) + { + int error = 0; ++#if __FreeBSD_version < 500000 ++ int rc; ++#else ++ struct kqemu_instance *ks; ++#endif + + switch (type) { + case MOD_LOAD: + printf("kqemu version 0x%08x\n", KQEMU_VERSION); ++ max_locked_pages = physmem / (2 * KQEMU_MAX_INSTANCES); ++ if (max_locked_pages > 32768) ++ max_locked_pages = 32768; ++#if __FreeBSD_version < 500000 ++ if ((rc = cdevsw_add(&kqemu_cdevsw))) { ++ kqemu_log("error registering cdevsw, rc=%d\n", rc); ++ error = ENOENT; ++ break; ++ } + kqemu_dev = make_dev(&kqemu_cdevsw, 0, +- UID_ROOT, GID_WHEEL, 0666, "kqemu"); ++ UID_ROOT, GID_WHEEL, 0660, "kqemu"); ++#else ++ clone_setup(&kqemuclones); ++ clonetag = EVENTHANDLER_REGISTER(dev_clone, kqemu_clone, 0, 1000); ++ if (!clonetag) { ++ error = ENOMEM; ++ break; ++ } ++#endif ++ kqemu_log("KQEMU installed, max_instances=%d max_locked_mem=%dkB.\n", ++ KQEMU_MAX_INSTANCES, max_locked_pages * 4); ++ ++ kqemu_ref_count = 0; + break; + case MOD_UNLOAD: ++ if (kqemu_ref_count > 0) { ++ error = EBUSY; ++ break; ++ } ++#if __FreeBSD_version < 500000 + destroy_dev(kqemu_dev); ++ if ((rc = cdevsw_remove(&kqemu_cdevsw))) ++ kqemu_log("error unregistering, rc=%d\n", rc); ++#else ++ EVENTHANDLER_DEREGISTER(dev_clone, clonetag); ++ while ((ks = TAILQ_FIRST(&kqemuhead)) != NULL) { ++ kqemu_destroy(ks); ++ } ++ clone_cleanup(&kqemuclones); ++#endif + break; + case MOD_SHUTDOWN: + break; Index: files/patch-libmath2 @@ -0,0 +1,67 @@ +Index: qemu/bsd/Makefile +@@ -16,7 +16,8 @@ + ${MACHINE_ARCH}/s_rintl.c \ + ${MACHINE_ARCH}/s_round.c \ + ${MACHINE_ARCH}/s_sinl.S \ +- ${MACHINE_ARCH}/s_tanl.S ++ ${MACHINE_ARCH}/s_tanl.S \ ++ ${MACHINE_ARCH}/s_ldexpl.c + + OBJS= ${SRCS:R:S/$/.o/} + +Index: qemu/bsd/i386/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/bsd/amd64/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/target-i386/helper.c +@@ -2886,6 +2886,8 @@ + ST0 = floatx_round_to_int(ST0, &env->fp_status); + } + ++long double ldexpl(long double, int); ++ + void helper_fscale(void) + { + ST0 = ldexp (ST0, (int)(ST1)); Index: files/patch-vl.c @@ -0,0 +1,21 @@ +Index: qemu/vl.c +@@ -40,6 +40,10 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#include ++#endif + #ifdef _BSD + #include + #ifndef __APPLE__ +@@ -1280,7 +1284,7 @@ + return chr; + } + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + CharDriverState *qemu_chr_open_pty(void) + { + char slave_name[1024]; From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 6 20:10:50 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC77416A41F; Tue, 6 Sep 2005 20:10:50 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7723543D46; Tue, 6 Sep 2005 20:10:47 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j86KFpLe066208; Tue, 6 Sep 2005 16:15:51 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-amd64@FreeBSD.org Date: Tue, 6 Sep 2005 16:10:22 -0400 User-Agent: KMail/1.6.2 References: <20050906190753.GA8560@saturn.kn-bremen.de> <20050906195449.GA10388@saturn.kn-bremen.de> In-Reply-To: <20050906195449.GA10388@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Message-Id: <200509061610.24704.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.85.1/1066/Tue Sep 6 07:42:41 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org, Juergen Lock , qemu-devel@nongnu.org Subject: Re: oops! (was: FreeBSD qemu port update - some success with kqemu/amd64 :) 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: Tue, 06 Sep 2005 20:10:51 -0000 On Tuesday 06 September 2005 03:54 pm, Juergen Lock wrote: > Jung-uk Kim just made me aware of a device cloning change which > requires a patch to the kqemu wrapper for __FreeBSD_version >= > 600034.  So here is a new port update: --- >8 --- SNIP!!! --- >8 --- It is working as advertised on FreeBSD/amd64 -CURRENT host now. :-) BTW, I just confirmed FreeBSD 6.0-BETA4 guest works when PREEMPTION option is removed from kernel configuration. Thanks for the update, Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 7 07:35:29 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CDC216A41F for ; Wed, 7 Sep 2005 07:35:29 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D669A43D48 for ; Wed, 7 Sep 2005 07:35:26 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1ECuSo-0000Od-Q2 for emulation@freebsd.org; Wed, 07 Sep 2005 11:35:22 +0400 From: Vladimir Grebenschikov To: emulation@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Wed, 07 Sep 2005 11:35:21 +0400 Message-Id: <1126078521.1128.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Subject: FreeBSD and Xen ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 07:35:29 -0000 Hi Does anybody working on running FreeBSD under Xen hyper-visor ? -- Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 7 11:22:23 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B5C16A423 for ; Wed, 7 Sep 2005 11:22:23 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBFCF43D46 for ; Wed, 7 Sep 2005 11:22:22 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1ECy21-000CEP-J9; Wed, 07 Sep 2005 15:23:57 +0400 To: freebsd-emulation@FreeBSD.org From: Boris Samorodov Date: Wed, 07 Sep 2005 15:23:57 +0400 Message-ID: <72813026@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: Alexander Leidinger Subject: ports/85827: [patch] print/acroread7: prefix changes from LINUXBASE to X11BASE and more 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: Wed, 07 Sep 2005 11:22:23 -0000 Hi! I've just filed a PR: ----- http://www.freebsd.org/cgi/query-pr.cgi?pr=85827 >Category: ports >Responsible: freebsd-ports-bugs >Synopsis: [patch] print/acroread7: prefix changes from LINUXBASE to X11BASE and more >Arrival-Date: Wed Sep 07 11:10:13 GMT 2005 ----- >From the "Fix" item: Changes: 1. PREFIX changes to X11BASE. 2. Programs are installed to X11BASE/share/Adobe, docs are installes to X11BASE/share/doc/Adobe. 3. Doesn't use rpm and its database. Partially deprecates PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/84877 4. KDE stuff is added. 5. pkg-install and pkg-deinstall files are fixed. 6. Static pkg-plist file is created. 7. Clean uninstall, seems to solve a pointyhat problem: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.7.2005072221/acroread7-7.0.1.log hence maybe partially deprecates: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/85625 8. PORTREVISION is bumpted. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 03:10:40 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EEC816A41F for ; Thu, 8 Sep 2005 03:10:40 +0000 (GMT) (envelope-from timopie@fastmail.fm) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11EC643D46 for ; Thu, 8 Sep 2005 03:10:39 +0000 (GMT) (envelope-from timopie@fastmail.fm) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 83F47CCF2FC for ; Wed, 7 Sep 2005 23:10:37 -0400 (EDT) Received: from web3.messagingengine.com ([10.202.2.212]) by frontend1.internal (MEProxy); Wed, 07 Sep 2005 23:10:37 -0400 Received: by web3.messagingengine.com (Postfix, from userid 99) id E13C7B1E5; Wed, 7 Sep 2005 23:10:38 -0400 (EDT) Message-Id: <1126149038.26984.242420480@webmail.messagingengine.com> X-Sasl-Enc: sp6RXb2mRqLmKi8ru1r7Ug+Bcnp1GvpHJ7fNZZlaWltc 1126149038 From: "Tim Opie" To: freebsd-emulation@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Thu, 08 Sep 2005 06:10:38 +0300 Subject: QEMU cdrom option 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, 08 Sep 2005 03:10:40 -0000 Hi all, I thought this issue was fixed a while back, but I can't get QEMU to access my cd-rom drive, it will only use image files. QEMU version 0.7.0 FreeBSD 5.4 %qemu -no-kqemu -enable-audio -hda dosbox.qcow -cdrom /dev/cd0 qemu: could not open hard disk image 'dev/cd0' cheers, Tim / All wiyht. Rho sritched mg kegtops awound? / * Timothy Opie * timopie@fastmail.fm / http://www.granularsynthesis.com '--- FreeBSD? Naturally! ---http://www.freebsd.org -- From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 04:17:27 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96B9216A41F for ; Thu, 8 Sep 2005 04:17:27 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from mail.rdu.kirov.ru (ns.rdu.kirov.ru [217.9.151.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE77B43D49 for ; Thu, 8 Sep 2005 04:17:24 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id B6D8611565A; Thu, 8 Sep 2005 08:17:21 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id 8894415C74; Thu, 8 Sep 2005 08:17:21 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id C66D115C73; Thu, 8 Sep 2005 08:17:20 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id EA22515C69; Thu, 8 Sep 2005 08:17:19 +0400 (MSD) Message-ID: <431FBB34.8010709@yandex.ru> Date: Thu, 08 Sep 2005 08:16:52 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.0.6 (FreeBSD/20050716) X-Accept-Language: ru, en MIME-Version: 1.0 To: Tim Opie References: <1126149038.26984.242420480@webmail.messagingengine.com> In-Reply-To: <1126149038.26984.242420480@webmail.messagingengine.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: QEMU cdrom option X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bu7cher@yandex.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 04:17:27 -0000 Tim Opie wrote: > %qemu -no-kqemu -enable-audio -hda dosbox.qcow -cdrom /dev/cd0 > qemu: could not open hard disk image 'dev/cd0' Try: -cdrom /dev/acd0 and you must have permission for reading /dev/acd0 see ls -l /dev/acd* -- WBR, Andrey V. Elsukov From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 05:33:27 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43F8A16A41F for ; Thu, 8 Sep 2005 05:33:27 +0000 (GMT) (envelope-from timopie@fastmail.fm) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF6A943D49 for ; Thu, 8 Sep 2005 05:33:25 +0000 (GMT) (envelope-from timopie@fastmail.fm) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 579E6CCF089; Thu, 8 Sep 2005 01:33:24 -0400 (EDT) Received: from web3.messagingengine.com ([10.202.2.212]) by frontend1.internal (MEProxy); Thu, 08 Sep 2005 01:33:24 -0400 Received: by web3.messagingengine.com (Postfix, from userid 99) id 5032EB884; Thu, 8 Sep 2005 01:33:24 -0400 (EDT) Message-Id: <1126157604.5526.242426167@webmail.messagingengine.com> X-Sasl-Enc: yKuwAlQpkD+jOU0cQ+cMczcFQd7b0mg4KqHBZYkAHhUQ 1126157604 From: "Tim Opie" To: bu7cher@yandex.ru Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <1126149038.26984.242420480@webmail.messagingengine.com> <431FBB34.8010709@yandex.ru> In-Reply-To: <431FBB34.8010709@yandex.ru> Date: Thu, 08 Sep 2005 08:33:24 +0300 Cc: freebsd-emulation Subject: Re: QEMU cdrom option 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, 08 Sep 2005 05:33:27 -0000 On Thu, 08 Sep 2005 08:16:52 +0400, "Andrey V. Elsukov" said: > Tim Opie wrote: > > %qemu -no-kqemu -enable-audio -hda dosbox.qcow -cdrom /dev/cd0 > > qemu: could not open hard disk image 'dev/cd0' > > Try: -cdrom /dev/acd0 > and you must have permission for reading /dev/acd0 > see ls -l /dev/acd* > > -- > WBR, Andrey V. Elsukov ahh permissions....I thought I had done that long ago....oops! It is cd0 - CAM scsi device thougts after reboot: This is slightly off topic, but I rebooted my machine and it reset the dev permissions, how do I make the permissions permanent. thanks for the help :) / All wiyht. Rho sritched mg kegtops awound? / * Timothy Opie * timopie@fastmail.fm / http://www.granularsynthesis.com '--- FreeBSD? Naturally! ---http://www.freebsd.org -- From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 05:42:28 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1F1216A41F for ; Thu, 8 Sep 2005 05:42:28 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from mail.rdu.kirov.ru (ns.rdu.kirov.ru [217.9.151.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BFC243D46 for ; Thu, 8 Sep 2005 05:42:27 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id 78F3A115651 for ; Thu, 8 Sep 2005 09:42:26 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id 65A1F15C73 for ; Thu, 8 Sep 2005 09:42:26 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id 0D9EC15C6B; Thu, 8 Sep 2005 09:42:26 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id D046015C2E for ; Thu, 8 Sep 2005 09:42:25 +0400 (MSD) Message-ID: <431FCF26.5070202@yandex.ru> Date: Thu, 08 Sep 2005 09:41:58 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.0.6 (FreeBSD/20050716) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <1126149038.26984.242420480@webmail.messagingengine.com> <431FBB34.8010709@yandex.ru> <1126157604.5526.242426167@webmail.messagingengine.com> In-Reply-To: <1126157604.5526.242426167@webmail.messagingengine.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: QEMU cdrom option X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bu7cher@yandex.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 05:42:28 -0000 Tim Opie wrote: > thougts after reboot: > This is slightly off topic, but I rebooted my machine and it reset the > dev permissions, how do I make the permissions permanent. See devfs.conf(5) -- WBR, Andrey V. Elsukov From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 08:50:33 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6A7D16A41F; Thu, 8 Sep 2005 08:50:33 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E7D643D49; Thu, 8 Sep 2005 08:50:32 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EDI75-0003rT-Ec; Thu, 08 Sep 2005 12:50:31 +0400 From: Vladimir Grebenschikov To: current Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Thu, 08 Sep 2005 12:50:30 +0400 Message-Id: <1126169430.1104.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: emulation@freebsd.org Subject: bad dependance on -> linux_base while upgrade 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, 08 Sep 2005 08:50:34 -0000 Hi all After upgrade almost any linux* port I have same problem - dependence is broken. I have WITH_LINUX=rh-9 in my make.conf and all linux-* port built with this define, but they all install dependence to not existed linux_base-8-8.0_6. Any clues for that ? (7-CURRENT src tree, fresh ports tree) # portupgrade -p -f linux-flashplugin ---> Reinstalling 'linux-flashplugin-7.0r25_2' (www/linux-flashplugin7) ---> Building '/usr/ports/www/linux-flashplugin7' ===> Cleaning for rpm-3.0.6_10 (skip) ===> Cleaning for linux-flashplugin-7.0r25_2 ===> Extracting for linux-flashplugin-7.0r25_2 => Checksum OK for flashplugin/7.0r25/install_flash_player_7_linux.tar.gz. ===> Patching for linux-flashplugin-7.0r25_2 ===> Configuring for linux-flashplugin-7.0r25_2 ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'linux-flashplugin-7.0r25_2' [Updating the pkgdb in /var/db/pkg ... - 587 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for linux-flashplugin-7.0r25_2 ===> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/etc/redhat-release - found ===> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1 - found ===> Generating temporary packing list ===> Registering installation for linux-flashplugin-7.0r25_2 ===> Building package for linux-flashplugin-7.0r25_2 Creating package /usr/ports/packages/All/linux-flashplugin-7.0r25_2.tbz Registering depends: linux-XFree86-libs-4.3.99.902_3 linux-fontconfig-2.1_3 rpm-3.0.6_10 linux-expat-1.95.5_3 popt-1.7 linux_base-8-8.0_6 gettext-0.14.5 libiconv-1.9.2_1. Creating bzip'd tar ball in '/usr/ports/packages/All/linux-flashplugin-7.0r25_2.tbz' (skip) # pkgdb -F ---> Checking the package registry database Stale dependency: linux-flashplugin-7.0r25_2 -> linux_base-8-8.0_6 (emulators/linux_base-8): linux_base-rh-9 (score:68%) ? ([y]es/[n]o/[a]ll) [no] yes Fixed. (-> linux_base-rh-9) # pkg_info -I linux_base\* linux_base-rh-9 Base set of packages needed in Linux mode (only for i386) # -- Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 09:04:17 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 597FD16A41F; Thu, 8 Sep 2005 09:04:17 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6CE343D45; Thu, 8 Sep 2005 09:04:16 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EDIJw-000349-Dt; Thu, 08 Sep 2005 11:03:50 +0200 Date: Thu, 8 Sep 2005 11:04:03 +0200 From: Marcin Jessa To: Vladimir Grebenschikov Message-Id: <20050908110403.71c0c5fd.lists@yazzy.org> In-Reply-To: <1126169430.1104.15.camel@localhost> References: <1126169430.1104.15.camel@localhost> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: emulation@freebsd.org, current@freebsd.org Subject: Re: bad dependance on -> linux_base while upgrade 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, 08 Sep 2005 09:04:17 -0000 Hi Vladimir, guys. I've had the same problem. The only way I could use newer linux base than 7.3 was using OVERRIDE_LINUX_BASE_PORT=8 in make.conf I tried using suse port as well with the same result/problems as you're facing. On Thu, 08 Sep 2005 12:50:30 +0400 Vladimir Grebenschikov wrote: > Hi all > > After upgrade almost any linux* port I have same problem - dependence is > broken. > > I have WITH_LINUX=rh-9 in my make.conf and all linux-* port built with > this define, but they all install dependence to not existed > linux_base-8-8.0_6. > > Any clues for that ? > > (7-CURRENT src tree, fresh ports tree) > > # portupgrade -p -f linux-flashplugin > ---> Reinstalling 'linux-flashplugin-7.0r25_2' (www/linux-flashplugin7) > ---> Building '/usr/ports/www/linux-flashplugin7' > ===> Cleaning for rpm-3.0.6_10 > (skip) > ===> Cleaning for linux-flashplugin-7.0r25_2 > ===> Extracting for linux-flashplugin-7.0r25_2 > => Checksum OK for flashplugin/7.0r25/install_flash_player_7_linux.tar.gz. > ===> Patching for linux-flashplugin-7.0r25_2 > ===> Configuring for linux-flashplugin-7.0r25_2 > ---> Backing up the old version > ---> Uninstalling the old version > ---> Deinstalling 'linux-flashplugin-7.0r25_2' > [Updating the pkgdb in /var/db/pkg ... - 587 packages found (-1 +0) (...) done] > ---> Installing the new version via the port > ===> Installing for linux-flashplugin-7.0r25_2 > ===> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/etc/redhat-release - found > ===> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1 - found > ===> Generating temporary packing list > ===> Registering installation for linux-flashplugin-7.0r25_2 > ===> Building package for linux-flashplugin-7.0r25_2 > Creating package /usr/ports/packages/All/linux-flashplugin-7.0r25_2.tbz > Registering depends: linux-XFree86-libs-4.3.99.902_3 linux-fontconfig-2.1_3 rpm-3.0.6_10 linux-expat-1.95.5_3 popt-1.7 linux_base-8-8.0_6 gettext-0.14.5 libiconv-1.9.2_1. > Creating bzip'd tar ball in '/usr/ports/packages/All/linux-flashplugin-7.0r25_2.tbz' > (skip) > # pkgdb -F > ---> Checking the package registry database > Stale dependency: linux-flashplugin-7.0r25_2 -> linux_base-8-8.0_6 (emulators/linux_base-8): > linux_base-rh-9 (score:68%) ? ([y]es/[n]o/[a]ll) [no] yes > Fixed. (-> linux_base-rh-9) > # pkg_info -I linux_base\* > linux_base-rh-9 Base set of packages needed in Linux mode (only for i386) > # > > -- > Vladimir B. Grebenschikov > SWsoft Inc. vova@sw-soft.com > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 16:51:58 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F98D16A41F; Thu, 8 Sep 2005 16:51:58 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6112343D46; Thu, 8 Sep 2005 16:51:56 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5ED2B.dip.t-dialin.net [84.165.237.43]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j88Gf4YC009089; Thu, 8 Sep 2005 18:41:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j88GorKW053319; Thu, 8 Sep 2005 18:50:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 8 Sep 2005 18:50:53 +0200 From: Alexander Leidinger To: Marcin Jessa Message-ID: <20050908185053.4c9b7015@Magellan.Leidinger.net> In-Reply-To: <20050908110403.71c0c5fd.lists@yazzy.org> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, Vladimir Grebenschikov , current@freebsd.org Subject: Re: bad dependance on -> linux_base while upgrade X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: emulation@freebsd.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 16:51:58 -0000 On Thu, 8 Sep 2005 11:04:03 +0200 Marcin Jessa wrote: F'up to emulation please... > Hi Vladimir, guys. > > I've had the same problem. > The only way I could use newer linux base than 7.3 was using OVERRIDE_LINUX_BASE_PORT=8 in make.conf > I tried using suse port as well with the same result/problems as you're facing. There's no autodetection of the used linux_base version. We have a default linux_base and everything is supposed to work with only this version. Everything else is pure luck (or good "upward-compatibility" of the linux ports, but this isn't required). If you want to use another linux_base, you have to use OVERRIDE_LINUX_BASE_PORT in make.conf. Now that we talked about the current policy, the strange part above is, that you have to specify v8 in the override. This is *very* strange. Please make sure you have the latest /usr/ports/Mk/bsd.port.mk. > On Thu, 08 Sep 2005 12:50:30 +0400 > Vladimir Grebenschikov wrote: > > > Hi all > > > > After upgrade almost any linux* port I have same problem - dependence is > > broken. > > > > I have WITH_LINUX=rh-9 in my make.conf and all linux-* port built with > > this define, but they all install dependence to not existed > > linux_base-8-8.0_6. WITH_LINUX is wrong. It was usable for a moment in time, but is wasn't done properly (since it changed the meaning of the former usage of it). For this reason I introduced OVERRIDE_LINUX_BASE_PORT. It's used like you do it with WITH_LINUX. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 8 17:11:26 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F51E16A41F; Thu, 8 Sep 2005 17:11:26 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A757343D75; Thu, 8 Sep 2005 17:11:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j88HBA0r011568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Sep 2005 13:11:10 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j88HB56P004150; Thu, 8 Sep 2005 13:11:06 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D02D151506; Thu, 8 Sep 2005 13:11:03 -0400 (EDT) Date: Thu, 8 Sep 2005 13:11:02 -0400 From: Kris Kennaway To: Marcin Jessa Message-ID: <20050908171100.GB42045@xor.obsecurity.org> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <20050908110403.71c0c5fd.lists@yazzy.org> User-Agent: Mutt/1.4.2.1i Cc: emulation@freebsd.org, Vladimir Grebenschikov , current@freebsd.org Subject: Re: bad dependance on -> linux_base while upgrade 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, 08 Sep 2005 17:11:26 -0000 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 08, 2005 at 11:04:03AM +0200, Marcin Jessa wrote: > Hi Vladimir, guys. >=20 > I've had the same problem.=20 > The only way I could use newer linux base than 7.3 was using OVERRIDE_LIN= UX_BASE_PORT=3D8 in make.conf > I tried using suse port as well with the same result/problems as you're f= acing. AFAIK that's the correct thing to do - see /usr/ports/UPDATING. WITH_LINUX is not even used by the port infrastructure. Kris > On Thu, 08 Sep 2005 12:50:30 +0400 > Vladimir Grebenschikov wrote: >=20 > > Hi all > >=20 > > After upgrade almost any linux* port I have same problem - dependence is > > broken. > >=20 > > I have WITH_LINUX=3Drh-9 in my make.conf and all linux-* port built with > > this define, but they all install dependence to not existed > > linux_base-8-8.0_6. > >=20 > > Any clues for that ? > >=20 > > (7-CURRENT src tree, fresh ports tree) > >=20 > > # portupgrade -p -f linux-flashplugin > > ---> Reinstalling 'linux-flashplugin-7.0r25_2' (www/linux-flashplugin7) > > ---> Building '/usr/ports/www/linux-flashplugin7' > > =3D=3D=3D> Cleaning for rpm-3.0.6_10 > > (skip) > > =3D=3D=3D> Cleaning for linux-flashplugin-7.0r25_2 > > =3D=3D=3D> Extracting for linux-flashplugin-7.0r25_2 > > =3D> Checksum OK for flashplugin/7.0r25/install_flash_player_7_linux.ta= r.gz. > > =3D=3D=3D> Patching for linux-flashplugin-7.0r25_2 > > =3D=3D=3D> Configuring for linux-flashplugin-7.0r25_2 > > ---> Backing up the old version > > ---> Uninstalling the old version > > ---> Deinstalling 'linux-flashplugin-7.0r25_2' > > [Updating the pkgdb in /var/db/pkg ... - 587 packag= es found (-1 +0) (...) done] > > ---> Installing the new version via the port > > =3D=3D=3D> Installing for linux-flashplugin-7.0r25_2 > > =3D=3D=3D> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/= etc/redhat-release - found > > =3D=3D=3D> linux-flashplugin-7.0r25_2 depends on file: /compat/linux/= usr/X11R6/lib/libXrender.so.1 - found > > =3D=3D=3D> Generating temporary packing list > > =3D=3D=3D> Registering installation for linux-flashplugin-7.0r25_2 > > =3D=3D=3D> Building package for linux-flashplugin-7.0r25_2 > > Creating package /usr/ports/packages/All/linux-flashplugin-7.0r25_2.tbz > > Registering depends: linux-XFree86-libs-4.3.99.902_3 linux-fontconfig-2= .1_3 rpm-3.0.6_10 linux-expat-1.95.5_3 popt-1.7 linux_base-8-8.0_6 gettext-= 0.14.5 libiconv-1.9.2_1. > > Creating bzip'd tar ball in '/usr/ports/packages/All/linux-flashplugin-= 7.0r25_2.tbz' > > (skip) > > # pkgdb -F > > ---> Checking the package registry database > > Stale dependency: linux-flashplugin-7.0r25_2 -> linux_base-8-8.0_6 (emu= lators/linux_base-8): > > linux_base-rh-9 (score:68%) ? ([y]es/[n]o/[a]ll) [no] yes > > Fixed. (-> linux_base-rh-9) > > # pkg_info -I linux_base\* > > linux_base-rh-9 Base set of packages needed in Linux mode (only for= i386) > > # > >=20 > > --=20 > > Vladimir B. Grebenschikov > > SWsoft Inc. vova@sw-soft.com > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >=20 --l76fUT7nc3MelDdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDIHCkWry0BWjoQKURAk1kAKDmrkgnCTZlQWwHUg2sXrzOvCtWVgCg1dAI qsmYA1pYsU+h+gtVnHxlQEo= =25f7 -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI-- From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 9 07:43:55 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2D4416A41F; Fri, 9 Sep 2005 07:43:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6222643D46; Fri, 9 Sep 2005 07:43:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EDdY8-0000Og-TG; Fri, 09 Sep 2005 11:43:52 +0400 From: Vladimir Grebenschikov To: emulation@freebsd.org In-Reply-To: <20050908185053.4c9b7015@Magellan.Leidinger.net> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Fri, 09 Sep 2005 11:43:52 +0400 Message-Id: <1126251832.1107.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Marcin Jessa , current@freebsd.org Subject: Re: bad dependance on -> linux_base while upgrade 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, 09 Sep 2005 07:43:55 -0000 =F7 =DE=D4, 08/09/2005 =D7 18:50 +0200, Alexander Leidinger =D0=C9=DB=C5=D4= : > On Thu, 8 Sep 2005 11:04:03 +0200 > Marcin Jessa wrote: >=20 > F'up to emulation please... >=20 > > Hi Vladimir, guys. > >=20 > > I've had the same problem.=20 > > The only way I could use newer linux base than 7.3 was using OVERRIDE_L= INUX_BASE_PORT=3D8 in make.conf > > I tried using suse port as well with the same result/problems as you're= facing. >=20 > There's no autodetection of the used linux_base version. We have a > default linux_base and everything is supposed to work with only this > version. Everything else is pure luck (or good "upward-compatibility" > of the linux ports, but this isn't required). Probably we should register same dependence as we check ? I mean we check existence of /compat/linux/etc/redhat-release as dependence,=20 Then check related port: # pkg_which /compat/linux/etc/redhat-release=20 linux_base-rh-9 # And then register valid dependence. > If you want to use another linux_base, you have to use > OVERRIDE_LINUX_BASE_PORT in make.conf. Ok > Now that we talked about the current policy, the strange part above is, > that you have to specify v8 in the override. This is *very* strange. > Please make sure you have the latest /usr/ports/Mk/bsd.port.mk. Actually I want to have rh9 to run some linux software, and it works only with rh9 base. And I want to get working other linux software (like flash plugins). > > On Thu, 08 Sep 2005 12:50:30 +0400 > > Vladimir Grebenschikov wrote: > >=20 > > > Hi all > > >=20 > > > After upgrade almost any linux* port I have same problem - dependence= is > > > broken. > > >=20 > > > I have WITH_LINUX=3Drh-9 in my make.conf and all linux-* port built w= ith > > > this define, but they all install dependence to not existed > > > linux_base-8-8.0_6. >=20 > WITH_LINUX is wrong. It was usable for a moment in time, but is wasn't > done properly (since it changed the meaning of the former usage of it). > For this reason I introduced OVERRIDE_LINUX_BASE_PORT. It's used like > you do it with WITH_LINUX. >=20 > Bye, > Alexander. >=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 9 08:17:49 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EBBB16A41F for ; Fri, 9 Sep 2005 08:17:49 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF86243D46 for ; Fri, 9 Sep 2005 08:17:47 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D9F0.dip.t-dialin.net [84.165.217.240]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j8986p9i017784; Fri, 9 Sep 2005 10:07:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j898GlZ0095489; Fri, 9 Sep 2005 10:16:47 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by netchild.homeip.net (Horde MIME library) with HTTP; Fri, 09 Sep 2005 10:16:47 +0200 Message-ID: <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 09 Sep 2005 10:16:47 +0200 From: Alexander Leidinger To: Vladimir Grebenschikov References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> <1126251832.1107.6.camel@localhost> In-Reply-To: <1126251832.1107.6.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, Marcin Jessa Subject: Re: bad dependance on -> linux_base while upgrade 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, 09 Sep 2005 08:17:49 -0000 Vladimir Grebenschikov wrote: Removing current@ from CC. > ? ??, 08/09/2005 ? 18:50 +0200, Alexander Leidinger ?????: >> There's no autodetection of the used linux_base version. We have a >> default linux_base and everything is supposed to work with only this >> version. Everything else is pure luck (or good "upward-compatibility" >> of the linux ports, but this isn't required). > > Probably we should register same dependence as we check ? > I mean we check existence of /compat/linux/etc/redhat-release as > dependence, > Then check related port: > # pkg_which /compat/linux/etc/redhat-release > linux_base-rh-9 > # > And then register valid dependence. This would result in the expectation that every linux port (or at least most ports) are able to run with every linux_base. We can't guarantee this. So we require to make the override explicit. This way the user has to live with the decission he decided to make. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 A is for Apple. -- Hester Pryne From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 9 08:34:53 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0398616A420 for ; Fri, 9 Sep 2005 08:34:53 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7318843D46 for ; Fri, 9 Sep 2005 08:34:52 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EDeLT-0000St-4z; Fri, 09 Sep 2005 12:34:51 +0400 From: Vladimir Grebenschikov To: Alexander Leidinger In-Reply-To: <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> <1126251832.1107.6.camel@localhost> <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Fri, 09 Sep 2005 12:34:50 +0400 Message-Id: <1126254890.1107.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: emulation@freebsd.org, Marcin Jessa Subject: Re: bad dependance on -> linux_base while upgrade 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, 09 Sep 2005 08:34:53 -0000 =F7 =D0=D4, 09/09/2005 =D7 10:16 +0200, Alexander Leidinger =D0=C9=DB=C5=D4= : > Vladimir Grebenschikov wrote: >=20 > Removing current@ from CC. >=20 > > ? ??, 08/09/2005 ? 18:50 +0200, Alexander Leidinger ?????: >=20 > >> There's no autodetection of the used linux_base version. We have a > >> default linux_base and everything is supposed to work with only this > >> version. Everything else is pure luck (or good "upward-compatibility" > >> of the linux ports, but this isn't required). > > > > Probably we should register same dependence as we check ? > > I mean we check existence of /compat/linux/etc/redhat-release as > > dependence, > > Then check related port: > > # pkg_which /compat/linux/etc/redhat-release > > linux_base-rh-9 > > # > > And then register valid dependence. >=20 > This would result in the expectation that every linux port (or at least m= ost > ports) are able to run with every linux_base. We can't guarantee this. So= we > require to make the override explicit. This way the user has to live with= the > decission he decided to make. Probably we should introduce something like COMPAT_LINUX_BASES list. > Bye, > Alexander. >=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 9 08:37:14 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F3B816A41F for ; Fri, 9 Sep 2005 08:37:14 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1299D43D45 for ; Fri, 9 Sep 2005 08:37:14 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EDeNl-0000T4-8h; Fri, 09 Sep 2005 12:37:13 +0400 From: Vladimir Grebenschikov To: Alexander Leidinger In-Reply-To: <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> <1126251832.1107.6.camel@localhost> <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Fri, 09 Sep 2005 12:37:12 +0400 Message-Id: <1126255032.1107.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: emulation@freebsd.org, Marcin Jessa Subject: Re: bad dependance on -> linux_base while upgrade 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, 09 Sep 2005 08:37:14 -0000 =F7 =D0=D4, 09/09/2005 =D7 10:16 +0200, Alexander Leidinger =D0=C9=DB=C5=D4= : > Vladimir Grebenschikov wrote: >=20 > Removing current@ from CC. >=20 > > ? ??, 08/09/2005 ? 18:50 +0200, Alexander Leidinger ?????: >=20 > >> There's no autodetection of the used linux_base version. We have a > >> default linux_base and everything is supposed to work with only this > >> version. Everything else is pure luck (or good "upward-compatibility" > >> of the linux ports, but this isn't required). > > > > Probably we should register same dependence as we check ? > > I mean we check existence of /compat/linux/etc/redhat-release as > > dependence, > > Then check related port: > > # pkg_which /compat/linux/etc/redhat-release > > linux_base-rh-9 > > # > > And then register valid dependence. >=20 > This would result in the expectation that every linux port (or at least m= ost > ports) are able to run with every linux_base. We can't guarantee this. So= we > require to make the override explicit.=20 Ok, but after explicit override we should not lie to user about real (tested by build) dependence's. > Bye, > Alexander. >=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 10 08:29:18 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10E916A41F for ; Sat, 10 Sep 2005 08:29:18 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from mail.droso.net (koala.droso.net [193.88.12.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8524F43D55 for ; Sat, 10 Sep 2005 08:29:11 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by mail.droso.net (Postfix) with ESMTP id DBBD122984 for ; Sat, 10 Sep 2005 10:29:10 +0200 (CEST) Received: from koala.ipv6.droso.net (localhost [IPv6:::1]) by mail.droso.net (Postfix) with ESMTP id F2F0D22983 for ; Sat, 10 Sep 2005 10:29:09 +0200 (CEST) From: linimon@FreeBSD.org To: freebsd-emulation@freebsd.org Message-Id: <20050910082909.F2F0D22983@mail.droso.net> Date: Sat, 10 Sep 2005 10:29:09 +0200 (CEST) X-Virus-Scanned: by amavisd 0.1 Subject: FreeBSD ports that you maintain which are currently marked broken 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, 10 Sep 2005 08:29:18 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we are attempting to notify maintainers of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc3.4, which is much stricter about such things as function declarations, literal strings constants that continue over several physical lines, and forcing the deprecation of antique header files such as varargs.h (we should now be using stdargs.h). The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. If you need help in one or more build environments that you do not have access to, please ask for help on the freebsd-ports mailing list. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 4.x/5.x/6.x with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: devel/linux_devtools-6 broken because: dependent on linux_base-6 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux_devtools-6 portname: devel/linux_devtools-7 broken because: Incomplete pkg-plist build errors: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005072423/linux_devtools-7.1_3.log (Aug 21 17:57:41 GMT 2005) overview: http://portsmon.FreeBSD.org/portoverview.py?category=devel&portname=linux_devtools-7 If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 10 17:08:55 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8252716A41F; Sat, 10 Sep 2005 17:08:55 +0000 (GMT) (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 92CAC43D45; Sat, 10 Sep 2005 17:08:52 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j8AH8oW6023061; Sat, 10 Sep 2005 19:08:50 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j8AH8oeY023059; Sat, 10 Sep 2005 19:08:50 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j8AH6MxK033953; Sat, 10 Sep 2005 19:06:22 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j8AH6MpH033952; Sat, 10 Sep 2005 19:06:22 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 10 Sep 2005 19:06:22 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Message-ID: <20050910170622.GA33797@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org References: <20050906190753.GA8560@saturn.kn-bremen.de> <20050906195449.GA10388@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050906195449.GA10388@saturn.kn-bremen.de> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: oops! (was: FreeBSD qemu port update - some success with kqemu/amd64 :) 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, 10 Sep 2005 17:08:55 -0000 On Tue, Sep 06, 2005 at 09:54:49PM +0200, Juergen Lock wrote: > Jung-uk Kim just made me aware of a device cloning change which requires > a patch to the kqemu wrapper for __FreeBSD_version >= 600034. So here > is a new port update: >[...] Ok I have send-pr'd now (updated to 20050909 snapshot because that contains a div64 fix which fixes ssh): http://www.freebsd.org/cgi/query-pr.cgi?pr=85947 As always, use the Raw PR link at the bottom of the page if you want to manually apply it to your ports tree... Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 10 17:20:18 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 777F416A41F; Sat, 10 Sep 2005 17:20:18 +0000 (GMT) (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 84A9243D45; Sat, 10 Sep 2005 17:20:16 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j8AHKFFl023615; Sat, 10 Sep 2005 19:20:15 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j8AHKFWL023613; Sat, 10 Sep 2005 19:20:15 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j8AHJdeD034207; Sat, 10 Sep 2005 19:19:39 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j8AHJdl4034206; Sat, 10 Sep 2005 19:19:39 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 10 Sep 2005 19:19:39 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Message-ID: <20050910171939.GA34190@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org References: <20050906190753.GA8560@saturn.kn-bremen.de> <20050906195449.GA10388@saturn.kn-bremen.de> <20050910170622.GA33797@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050910170622.GA33797@saturn.kn-bremen.de> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: oops! (was: FreeBSD qemu port update - some success with kqemu/amd64 :) 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, 10 Sep 2005 17:20:18 -0000 On Sat, Sep 10, 2005 at 07:06:22PM +0200, Juergen Lock wrote: > On Tue, Sep 06, 2005 at 09:54:49PM +0200, Juergen Lock wrote: > > Jung-uk Kim just made me aware of a device cloning change which requires > > a patch to the kqemu wrapper for __FreeBSD_version >= 600034. So here > > is a new port update: > >[...] > > Ok I have send-pr'd now (updated to 20050909 snapshot because that > contains a div64 fix which fixes ssh): > http://www.freebsd.org/cgi/query-pr.cgi?pr=85947 > > As always, use the Raw PR link at the bottom of the page if you want > to manually apply it to your ports tree... Already committed... Hey, i think this is the fastest commit i have ever seen! :) Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Sep 10 18:15:03 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7DA016A41F for ; Sat, 10 Sep 2005 18:15:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDF3443D49 for ; Sat, 10 Sep 2005 18:15:02 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EC88.dip.t-dialin.net [84.165.236.136]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j8AI3hmd031626; Sat, 10 Sep 2005 20:03:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j8AIDu7U082555; Sat, 10 Sep 2005 20:13:56 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 10 Sep 2005 20:13:55 +0200 From: Alexander Leidinger To: Vladimir Grebenschikov Message-ID: <20050910201355.43fc1ec5@Magellan.Leidinger.net> In-Reply-To: <1126254890.1107.8.camel@localhost> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> <1126251832.1107.6.camel@localhost> <20050909101647.saopph7c4kwgg4ck@netchild.homeip.net> <1126254890.1107.8.camel@localhost> X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, Marcin Jessa Subject: Re: bad dependance on -> linux_base while upgrade 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, 10 Sep 2005 18:15:03 -0000 On Fri, 09 Sep 2005 12:34:50 +0400 Vladimir Grebenschikov wrote: > Probably we should introduce something like COMPAT_LINUX_BASES list. We don't need to, there's only one supported compatible linux base. That's the default one. We don't have the man-power for more. Everyone spending time on determining if a port works with linux-base A oder B or whatever should help with switching to a newer default one. Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7