From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 20 11:08:15 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC99716A47D for ; Mon, 20 Aug 2007 11:08:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A8E3D13C4B3 for ; Mon, 20 Aug 2007 11:08:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KB8F4Z087374 for ; Mon, 20 Aug 2007 11:08:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7KB8EVd087370 for freebsd-emulation@FreeBSD.org; Mon, 20 Aug 2007 11:08:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Aug 2007 11:08:14 GMT Message-Id: <200708201108.l7KB8EVd087370@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 11:08:15 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/77710 emulation [linux] Linux page fault sigcontext information is wro o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/112355 emulation [PATCH] emulators/vmware3: cleanup non-supported FreeB 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 20 20:10:25 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BD016A418; Mon, 20 Aug 2007 20:10:25 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F239E13C442; Mon, 20 Aug 2007 20:10:24 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KKAOjM027649; Mon, 20 Aug 2007 20:10:24 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7KKAO6V027645; Mon, 20 Aug 2007 20:10:24 GMT (envelope-from edwin) Date: Mon, 20 Aug 2007 20:10:24 GMT Message-Id: <200708202010.l7KKAO6V027645@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/115655: [UPDATE] devel/linux-sdl12 to 1.2.12 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, 20 Aug 2007 20:10:25 -0000 Synopsis: [UPDATE] devel/linux-sdl12 to 1.2.12 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-emulation Responsible-Changed-By: edwin Responsible-Changed-When: Mon Aug 20 20:10:23 UTC 2007 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=115655 From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 21 07:40:24 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 626CA16A50D; Tue, 21 Aug 2007 07:40:24 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (crsd-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2d5::2]) by mx1.freebsd.org (Postfix) with ESMTP id 91AA213C461; Tue, 21 Aug 2007 07:40:21 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l7L7e1F6047221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Aug 2007 11:40:02 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l7L7e1of047220; Tue, 21 Aug 2007 11:40:01 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Tue, 21 Aug 2007 11:40:01 +0400 From: Yuri Pankov To: Boris Samorodov Message-ID: <20070821074001.GA44272@darklight.org.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-emulation@FreeBSD.org Subject: Small update for linux_base-fc6 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, 21 Aug 2007 07:40:24 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I've been reinstalling linux_base-fc6 recently and have noticed that some rpms are not found on lots of mirrors. I've attached diff changing their versions to what is actually on the main mirrors. (Sorry if such small updates are not welcome...) TIA, Yuri --M9NhX3UHpAaciwkO Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="linux_base-fc6.diff" diff -ruN /usr/ports/emulators/linux_base-fc6.orig/Makefile /usr/ports/emulators/linux_base-fc6/Makefile --- /usr/ports/emulators/linux_base-fc6.orig/Makefile 2007-08-21 07:47:25.000000000 +0400 +++ /usr/ports/emulators/linux_base-fc6/Makefile 2007-08-21 11:18:19.000000000 +0400 @@ -23,40 +23,40 @@ BIN_DISTFILES= basesystem-8.0-5.1.1.noarch.rpm \ bash-3.1-16.1.${LINUX_RPM_ARCH}.rpm \ - bzip2-1.0.3-3.${LINUX_RPM_ARCH}.rpm \ - bzip2-libs-1.0.3-3.${LINUX_RPM_ARCH}.rpm \ + bzip2-1.0.3-6.fc6.${LINUX_RPM_ARCH}.rpm \ + bzip2-libs-1.0.3-6.fc6.${LINUX_RPM_ARCH}.rpm \ compat-db-4.2.52-5.1.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-296-2.96-138.${LINUX_RPM_ARCH}.rpm \ compat-libstdc++-33-3.2.3-61.${LINUX_RPM_ARCH}.rpm \ - coreutils-5.97-12.3.fc6.${LINUX_RPM_ARCH}.rpm \ + coreutils-5.97-12.5.fc6.${LINUX_RPM_ARCH}.rpm \ db4-4.3.29-9.fc6.${LINUX_RPM_ARCH}.rpm \ e2fsprogs-1.39-7.fc6.${LINUX_RPM_ARCH}.rpm \ - elfutils-libelf-0.126-1.fc6.${LINUX_RPM_ARCH}.rpm \ + elfutils-libelf-0.128-2.fc6.${LINUX_RPM_ARCH}.rpm \ fedora-release-6-4.noarch.rpm \ filesystem-2.4.0-1.${LINUX_RPM_ARCH}.rpm \ - freetype-2.2.1-16.fc6.${LINUX_RPM_ARCH}.rpm \ + freetype-2.2.1-17.fc6.${LINUX_RPM_ARCH}.rpm \ gdbm-1.8.0-26.2.1.${LINUX_RPM_ARCH}.rpm \ glib2-2.12.9-1.fc6.${LINUX_RPM_ARCH}.rpm \ - glibc-2.5-10.fc6.${LINUX_RPM_ARCH}.rpm \ - glibc-common-2.5-10.fc6.${LINUX_RPM_ARCH}.rpm \ + glibc-2.5-18.fc6.${LINUX_RPM_ARCH}.rpm \ + glibc-common-2.5-18.fc6.${LINUX_RPM_ARCH}.rpm \ grep-2.5.1-54.1.2.fc6.${LINUX_RPM_ARCH}.rpm \ info-4.8-14.fc6.${LINUX_RPM_ARCH}.rpm \ - krb5-libs-1.5-13.${LINUX_RPM_ARCH}.rpm \ + krb5-libs-1.5-21.1.${LINUX_RPM_ARCH}.rpm \ libacl-2.2.39-1.1.${LINUX_RPM_ARCH}.rpm \ libattr-2.4.32-1.1.${LINUX_RPM_ARCH}.rpm \ - libgcc-4.1.1-51.fc6.${LINUX_RPM_ARCH}.rpm \ + libgcc-4.1.2-13.fc6.${LINUX_RPM_ARCH}.rpm \ libselinux-1.33.4-2.fc6.${LINUX_RPM_ARCH}.rpm \ libsepol-1.15.3-1.fc6.${LINUX_RPM_ARCH}.rpm \ - libstdc++-4.1.1-51.fc6.${LINUX_RPM_ARCH}.rpm \ + libstdc++-4.1.2-13.fc6.${LINUX_RPM_ARCH}.rpm \ libtermcap-2.0.8-46.1.${LINUX_RPM_ARCH}.rpm \ ncurses-5.5-24.20060715.${LINUX_RPM_ARCH}.rpm \ pcre-6.6-1.1.${LINUX_RPM_ARCH}.rpm \ - popt-1.10.2-32.${LINUX_RPM_ARCH}.rpm \ + popt-1.10.2-33.fc6.${LINUX_RPM_ARCH}.rpm \ readline-5.1-1.1.${LINUX_RPM_ARCH}.rpm \ - rpm-4.4.2-32.${LINUX_RPM_ARCH}.rpm \ + rpm-4.4.2-33.fc6.${LINUX_RPM_ARCH}.rpm \ setserial-2.17-19.2.2.${LINUX_RPM_ARCH}.rpm \ setup-2.6.1.1-1.fc6.noarch.rpm \ - slang-2.0.6-3.${LINUX_RPM_ARCH}.rpm \ + slang-2.0.7-1.fc6.${LINUX_RPM_ARCH}.rpm \ termcap-5.5-1.20060701.1.noarch.rpm \ zlib-1.2.3-3.${LINUX_RPM_ARCH}.rpm diff -ruN /usr/ports/emulators/linux_base-fc6.orig/distinfo.i386 /usr/ports/emulators/linux_base-fc6/distinfo.i386 --- /usr/ports/emulators/linux_base-fc6.orig/distinfo.i386 2007-08-21 07:47:25.000000000 +0400 +++ /usr/ports/emulators/linux_base-fc6/distinfo.i386 2007-08-21 11:20:02.000000000 +0400 @@ -4,12 +4,12 @@ MD5 (rpm/i386/fedora/6/bash-3.1-16.1.i386.rpm) = a70b47d248faafe73f51d7ebb42fd396 SHA256 (rpm/i386/fedora/6/bash-3.1-16.1.i386.rpm) = 9fe7a4b410ba2bbceb49f2beba6b041fcffacf44d86005e2c7b4c9223dd63128 SIZE (rpm/i386/fedora/6/bash-3.1-16.1.i386.rpm) = 1925627 -MD5 (rpm/i386/fedora/6/bzip2-1.0.3-3.i386.rpm) = 320bef9d16d09316e40e819399bbc8c3 -SHA256 (rpm/i386/fedora/6/bzip2-1.0.3-3.i386.rpm) = c4caa2b1cfae240df843294d7b385a25d6c20d795ed60d9b692156b08e665369 -SIZE (rpm/i386/fedora/6/bzip2-1.0.3-3.i386.rpm) = 49099 -MD5 (rpm/i386/fedora/6/bzip2-libs-1.0.3-3.i386.rpm) = c814e4c309609b3edff5f769e73c7b1e -SHA256 (rpm/i386/fedora/6/bzip2-libs-1.0.3-3.i386.rpm) = 09ead789301bc5b7e73262488a85e2db04b962c8a32462a316a23cd902a6de5f -SIZE (rpm/i386/fedora/6/bzip2-libs-1.0.3-3.i386.rpm) = 37195 +MD5 (rpm/i386/fedora/6/bzip2-1.0.3-6.fc6.i386.rpm) = 3caef4efbb213c6830fe7a190f4bf5bc +SHA256 (rpm/i386/fedora/6/bzip2-1.0.3-6.fc6.i386.rpm) = 55384b42d5ff7d5e02c2e4a27a553c17742533a4937acad12b03fba31f8ce378 +SIZE (rpm/i386/fedora/6/bzip2-1.0.3-6.fc6.i386.rpm) = 49686 +MD5 (rpm/i386/fedora/6/bzip2-libs-1.0.3-6.fc6.i386.rpm) = d89ee2a906b74361cba4e53f8f4a1a32 +SHA256 (rpm/i386/fedora/6/bzip2-libs-1.0.3-6.fc6.i386.rpm) = fa6addb23419991a62bc856a611ee28de5899e45303c30cb26ccdb6567568a36 +SIZE (rpm/i386/fedora/6/bzip2-libs-1.0.3-6.fc6.i386.rpm) = 37731 MD5 (rpm/i386/fedora/6/compat-db-4.2.52-5.1.i386.rpm) = 724d38dd6f5249607109b971f171b03a SHA256 (rpm/i386/fedora/6/compat-db-4.2.52-5.1.i386.rpm) = 6b21a8f841c969963b106c57392c11e1468727d7e2b6254fcf40422ef204b62f SIZE (rpm/i386/fedora/6/compat-db-4.2.52-5.1.i386.rpm) = 1756815 @@ -19,66 +19,66 @@ MD5 (rpm/i386/fedora/6/compat-libstdc++-33-3.2.3-61.i386.rpm) = 35381fa1fd8513e7ebb5d47c8ac79f53 SHA256 (rpm/i386/fedora/6/compat-libstdc++-33-3.2.3-61.i386.rpm) = a1761e97700a8755ba34a52c35d1e1922afa4471a76ad85a1978d7c6796af2f9 SIZE (rpm/i386/fedora/6/compat-libstdc++-33-3.2.3-61.i386.rpm) = 237109 -MD5 (rpm/i386/fedora/6/coreutils-5.97-12.3.fc6.i386.rpm) = 6210d175b53e690e9ed728a66c139dab -SHA256 (rpm/i386/fedora/6/coreutils-5.97-12.3.fc6.i386.rpm) = 98bd7e9ebc73596ebdb88dff56ba691971da60464624ebe86f879918e728a2bb -SIZE (rpm/i386/fedora/6/coreutils-5.97-12.3.fc6.i386.rpm) = 3785958 +MD5 (rpm/i386/fedora/6/coreutils-5.97-12.5.fc6.i386.rpm) = d86c3775470c508aba82c02d2bdd761a +SHA256 (rpm/i386/fedora/6/coreutils-5.97-12.5.fc6.i386.rpm) = c2669e52371e50227263d29e69687dde2ed8a8d8ae74601a7a6944d25da8fe45 +SIZE (rpm/i386/fedora/6/coreutils-5.97-12.5.fc6.i386.rpm) = 3790694 MD5 (rpm/i386/fedora/6/db4-4.3.29-9.fc6.i386.rpm) = 2e30a816feb5b48e4bdb767fe1aadeb1 SHA256 (rpm/i386/fedora/6/db4-4.3.29-9.fc6.i386.rpm) = 76c9208ecee08a0f30725fc09c4ccffcbbe222cb77c0d3d380a0b2cf0f2161d6 SIZE (rpm/i386/fedora/6/db4-4.3.29-9.fc6.i386.rpm) = 937944 MD5 (rpm/i386/fedora/6/e2fsprogs-1.39-7.fc6.i386.rpm) = 23d1876813ada80d4a601341e1bad3b1 SHA256 (rpm/i386/fedora/6/e2fsprogs-1.39-7.fc6.i386.rpm) = d05c04617c528213a6554d7662eda776eed900adeffe5e2a1ed8c28dca4300f1 SIZE (rpm/i386/fedora/6/e2fsprogs-1.39-7.fc6.i386.rpm) = 977557 -MD5 (rpm/i386/fedora/6/elfutils-libelf-0.126-1.fc6.i386.rpm) = 1b11a50b266777c727af3cefd6a42ee7 -SHA256 (rpm/i386/fedora/6/elfutils-libelf-0.126-1.fc6.i386.rpm) = 57401c63762c2fd667360b36cb16c01a0d89ce464f0b1c47b5b70161461138cc -SIZE (rpm/i386/fedora/6/elfutils-libelf-0.126-1.fc6.i386.rpm) = 54287 +MD5 (rpm/i386/fedora/6/elfutils-libelf-0.128-2.fc6.i386.rpm) = d6a9780d451d3868ceb7a7b5bb366161 +SHA256 (rpm/i386/fedora/6/elfutils-libelf-0.128-2.fc6.i386.rpm) = 58a898e4aa51e7bc6ee2e0360eea1e2c73c2f733875c61c05dc64f5a20e15b92 +SIZE (rpm/i386/fedora/6/elfutils-libelf-0.128-2.fc6.i386.rpm) = 54915 MD5 (rpm/i386/fedora/6/fedora-release-6-4.noarch.rpm) = 2e684e74542c96d31de70e3ce9477d8a SHA256 (rpm/i386/fedora/6/fedora-release-6-4.noarch.rpm) = 6bd11ed30bfedafc79022db605584a436c2c84ca65fb360d49dfa722dbc4e8a4 SIZE (rpm/i386/fedora/6/fedora-release-6-4.noarch.rpm) = 28167 MD5 (rpm/i386/fedora/6/filesystem-2.4.0-1.i386.rpm) = c5f33b6362ae4367f38746d9a42219d4 SHA256 (rpm/i386/fedora/6/filesystem-2.4.0-1.i386.rpm) = d05fa34d93a39e0a94a150c4074b43106b673ae3b2655b4f3373faa887620a49 SIZE (rpm/i386/fedora/6/filesystem-2.4.0-1.i386.rpm) = 119216 -MD5 (rpm/i386/fedora/6/freetype-2.2.1-16.fc6.i386.rpm) = d51d2f0d669c4350b1e18065d9623f1f -SHA256 (rpm/i386/fedora/6/freetype-2.2.1-16.fc6.i386.rpm) = 1a1ccee905f3476d23116d945d59fafc022853e90745e9b9d0a171a3419dc817 -SIZE (rpm/i386/fedora/6/freetype-2.2.1-16.fc6.i386.rpm) = 319895 +MD5 (rpm/i386/fedora/6/freetype-2.2.1-17.fc6.i386.rpm) = 2206864a8e8347f8fa09530746297430 +SHA256 (rpm/i386/fedora/6/freetype-2.2.1-17.fc6.i386.rpm) = 176ea1f84a3372efef39c8da8db4ce7ca8a5340e4513e2f3b6716665ed7a86e9 +SIZE (rpm/i386/fedora/6/freetype-2.2.1-17.fc6.i386.rpm) = 320457 MD5 (rpm/i386/fedora/6/gdbm-1.8.0-26.2.1.i386.rpm) = 40acf76169f0e74edb23140c7c22da94 SHA256 (rpm/i386/fedora/6/gdbm-1.8.0-26.2.1.i386.rpm) = 9beb2c64c2b96f2f55cb1b8200605a00fbc6db73eee84f0ac8c19f4fadce2413 SIZE (rpm/i386/fedora/6/gdbm-1.8.0-26.2.1.i386.rpm) = 27747 MD5 (rpm/i386/fedora/6/glib2-2.12.9-1.fc6.i386.rpm) = 60f198591a7fcd9ca8d8d05c8cf7b017 SHA256 (rpm/i386/fedora/6/glib2-2.12.9-1.fc6.i386.rpm) = 31ea5fc70a0f3acf91469a7ee39b2f15dda3765a8383c0e547ff76798f25b987 SIZE (rpm/i386/fedora/6/glib2-2.12.9-1.fc6.i386.rpm) = 715016 -MD5 (rpm/i386/fedora/6/glibc-2.5-10.fc6.i386.rpm) = a281f0a2cc1130378defaa0b895cceb5 -SHA256 (rpm/i386/fedora/6/glibc-2.5-10.fc6.i386.rpm) = b13a9f943a56a2a36a5b273361ba2579bd56d4195b8fbe003914b712e273e427 -SIZE (rpm/i386/fedora/6/glibc-2.5-10.fc6.i386.rpm) = 4522494 -MD5 (rpm/i386/fedora/6/glibc-common-2.5-10.fc6.i386.rpm) = 0cecb25e4e1341c8b5c824e414dc8f4d -SHA256 (rpm/i386/fedora/6/glibc-common-2.5-10.fc6.i386.rpm) = b17d76d1669f433f209f145fe5c030ecbdc335c2bca1940151cb0a9152135d25 -SIZE (rpm/i386/fedora/6/glibc-common-2.5-10.fc6.i386.rpm) = 16681286 +MD5 (rpm/i386/fedora/6/glibc-2.5-18.fc6.i386.rpm) = b1d964a8a948e20118d9fb275a3c1d31 +SHA256 (rpm/i386/fedora/6/glibc-2.5-18.fc6.i386.rpm) = fc80cec55bec3d3c99711d72abec6fde28d07b793c388be4f08a07dba13fe3b3 +SIZE (rpm/i386/fedora/6/glibc-2.5-18.fc6.i386.rpm) = 4528912 +MD5 (rpm/i386/fedora/6/glibc-common-2.5-18.fc6.i386.rpm) = 78ce218d1531c09347c32827a5a27db0 +SHA256 (rpm/i386/fedora/6/glibc-common-2.5-18.fc6.i386.rpm) = 53328d89e00e416f2497f218b52cf4c74d8b339fe221009cffc9fe8d256b2b2c +SIZE (rpm/i386/fedora/6/glibc-common-2.5-18.fc6.i386.rpm) = 16887809 MD5 (rpm/i386/fedora/6/grep-2.5.1-54.1.2.fc6.i386.rpm) = 40b2f0178ebf37f632e9d7e56fafc4ea SHA256 (rpm/i386/fedora/6/grep-2.5.1-54.1.2.fc6.i386.rpm) = 6bf90a6a14f5d66907fbcad58161bf04c9acabbacfd9bcdc4c62c835fd2b7819 SIZE (rpm/i386/fedora/6/grep-2.5.1-54.1.2.fc6.i386.rpm) = 178683 MD5 (rpm/i386/fedora/6/info-4.8-14.fc6.i386.rpm) = 6113ee4f6aff1c5a0a2752b96b14363a SHA256 (rpm/i386/fedora/6/info-4.8-14.fc6.i386.rpm) = 86501d7410fab80e4828d302bb2a4fbc3b65b12f3818d06c87878b68023c2803 SIZE (rpm/i386/fedora/6/info-4.8-14.fc6.i386.rpm) = 176109 -MD5 (rpm/i386/fedora/6/krb5-libs-1.5-13.i386.rpm) = c436e1a5fb6d289cca795e7c7a5a6d93 -SHA256 (rpm/i386/fedora/6/krb5-libs-1.5-13.i386.rpm) = 5f8e298a2511b44a1544c887e8bce05522fdc791b9fc2962c4a4084c78d29da3 -SIZE (rpm/i386/fedora/6/krb5-libs-1.5-13.i386.rpm) = 604236 +MD5 (rpm/i386/fedora/6/krb5-libs-1.5-21.1.i386.rpm) = 9c539d84a5a9e2f871f20adfb6167573 +SHA256 (rpm/i386/fedora/6/krb5-libs-1.5-21.1.i386.rpm) = 98de0cf73a86eddea82e1d8ebe0ecebab1de0f93e269f21aeb1b1366b6806848 +SIZE (rpm/i386/fedora/6/krb5-libs-1.5-21.1.i386.rpm) = 607166 MD5 (rpm/i386/fedora/6/libacl-2.2.39-1.1.i386.rpm) = 384b80d1e2d1edfa14bc5fcd5b175309 SHA256 (rpm/i386/fedora/6/libacl-2.2.39-1.1.i386.rpm) = 75b93b41aa794e28ca4e5cb04db701f41f77ea0c7813b9e982ad82cf637bca01 SIZE (rpm/i386/fedora/6/libacl-2.2.39-1.1.i386.rpm) = 19050 MD5 (rpm/i386/fedora/6/libattr-2.4.32-1.1.i386.rpm) = cd389df9aa9c41aa5ddd88edf57f7ff2 SHA256 (rpm/i386/fedora/6/libattr-2.4.32-1.1.i386.rpm) = 4b520fddf2bdfeecff3ef43149e17b1f1737e8de73c78f620ac7cfd748ce6963 SIZE (rpm/i386/fedora/6/libattr-2.4.32-1.1.i386.rpm) = 11967 -MD5 (rpm/i386/fedora/6/libgcc-4.1.1-51.fc6.i386.rpm) = d30327a0cae7dbbbcac46b5c46b51b7b -SHA256 (rpm/i386/fedora/6/libgcc-4.1.1-51.fc6.i386.rpm) = 5c60d423430d103465ae8962a33c905e47a3f5fe5f4d2a43bfb70b5d06c5ce52 -SIZE (rpm/i386/fedora/6/libgcc-4.1.1-51.fc6.i386.rpm) = 83369 +MD5 (rpm/i386/fedora/6/libgcc-4.1.2-13.fc6.i386.rpm) = 7c8b4de3ccc5d31e54a6c9d413e59dd8 +SHA256 (rpm/i386/fedora/6/libgcc-4.1.2-13.fc6.i386.rpm) = 3dae53c67cc68d1c2f421ac6c72c70400f7c53a55ba4c577b2261af0d5d19a69 +SIZE (rpm/i386/fedora/6/libgcc-4.1.2-13.fc6.i386.rpm) = 88607 MD5 (rpm/i386/fedora/6/libselinux-1.33.4-2.fc6.i386.rpm) = 5f84a1fab823ed63d4288bcd2216a2f3 SHA256 (rpm/i386/fedora/6/libselinux-1.33.4-2.fc6.i386.rpm) = c6fc5ee2d3db9d0da0cc0e469604479e71546ccff5d6225304444ccf20b93682 SIZE (rpm/i386/fedora/6/libselinux-1.33.4-2.fc6.i386.rpm) = 95758 MD5 (rpm/i386/fedora/6/libsepol-1.15.3-1.fc6.i386.rpm) = 08f4de5cda581ac8971e6177ca4cbd07 SHA256 (rpm/i386/fedora/6/libsepol-1.15.3-1.fc6.i386.rpm) = 0cbbe1230a833e5ca4e089d57d4d3867cf5ca52160bbd37c88842639bfaeb860 SIZE (rpm/i386/fedora/6/libsepol-1.15.3-1.fc6.i386.rpm) = 132565 -MD5 (rpm/i386/fedora/6/libstdc++-4.1.1-51.fc6.i386.rpm) = 199a35c6748b842af40849cb013f723d -SHA256 (rpm/i386/fedora/6/libstdc++-4.1.1-51.fc6.i386.rpm) = ad0552b0d9234ea99cf3fb98e0f2749953e761ea9f9421091cf5431d808971dc -SIZE (rpm/i386/fedora/6/libstdc++-4.1.1-51.fc6.i386.rpm) = 357857 +MD5 (rpm/i386/fedora/6/libstdc++-4.1.2-13.fc6.i386.rpm) = 6903ae7206ed4390516d6b9d6a9adaf1 +SHA256 (rpm/i386/fedora/6/libstdc++-4.1.2-13.fc6.i386.rpm) = a07c61aba3f85d4956391de29bdc74e9c6dbd63f0d7e33daafaa43047ea3773d +SIZE (rpm/i386/fedora/6/libstdc++-4.1.2-13.fc6.i386.rpm) = 362490 MD5 (rpm/i386/fedora/6/libtermcap-2.0.8-46.1.i386.rpm) = d42e144221e16e2c44700da455c4bebd SHA256 (rpm/i386/fedora/6/libtermcap-2.0.8-46.1.i386.rpm) = 42e66a7ef49dd3fcda9572ab2bda29ae5375e9b40c7b708460832b080beb7266 SIZE (rpm/i386/fedora/6/libtermcap-2.0.8-46.1.i386.rpm) = 14311 @@ -88,24 +88,24 @@ MD5 (rpm/i386/fedora/6/pcre-6.6-1.1.i386.rpm) = e1480a9eba1b474c8e9d0d22aa70f12d SHA256 (rpm/i386/fedora/6/pcre-6.6-1.1.i386.rpm) = eb34de646378dad1deba5d34fbee01285d9d66bb9fd345c0369d1976dad786ea SIZE (rpm/i386/fedora/6/pcre-6.6-1.1.i386.rpm) = 113484 -MD5 (rpm/i386/fedora/6/popt-1.10.2-32.i386.rpm) = 5bcc8cf097185d4c69365e8177bdd101 -SHA256 (rpm/i386/fedora/6/popt-1.10.2-32.i386.rpm) = a7b22e246ee2e2072ad342e93fc131f74387ee9a66d4e813630b96d166ba81e3 -SIZE (rpm/i386/fedora/6/popt-1.10.2-32.i386.rpm) = 68568 +MD5 (rpm/i386/fedora/6/popt-1.10.2-33.fc6.i386.rpm) = 78c58fbb748077129ec37d02b77b77f2 +SHA256 (rpm/i386/fedora/6/popt-1.10.2-33.fc6.i386.rpm) = 5b0bff7438fbcc71b21b487926c1aeca6f7090f47ada05d2698c4263bed73fbf +SIZE (rpm/i386/fedora/6/popt-1.10.2-33.fc6.i386.rpm) = 68794 MD5 (rpm/i386/fedora/6/readline-5.1-1.1.i386.rpm) = eb9daa5573de7c1513e01d4e283c2c86 SHA256 (rpm/i386/fedora/6/readline-5.1-1.1.i386.rpm) = 9a368657a52cef295c2a065a7b41d3ca59165082a4fb0850de17ed34176325f9 SIZE (rpm/i386/fedora/6/readline-5.1-1.1.i386.rpm) = 227843 -MD5 (rpm/i386/fedora/6/rpm-4.4.2-32.i386.rpm) = 48110064ae466e6d9653e29c20519d90 -SHA256 (rpm/i386/fedora/6/rpm-4.4.2-32.i386.rpm) = 012f931cbd37a0bb8230b1d4f89844410f9758e330465485f7147d98230e3cd2 -SIZE (rpm/i386/fedora/6/rpm-4.4.2-32.i386.rpm) = 654317 +MD5 (rpm/i386/fedora/6/rpm-4.4.2-33.fc6.i386.rpm) = 1c65b936f7fe035732664ce50436f18e +SHA256 (rpm/i386/fedora/6/rpm-4.4.2-33.fc6.i386.rpm) = 4ce7f328acd6b93e0ce5edb3534cdd86912ae4ebbbacd6ddf18398d2a5593347 +SIZE (rpm/i386/fedora/6/rpm-4.4.2-33.fc6.i386.rpm) = 654392 MD5 (rpm/i386/fedora/6/setserial-2.17-19.2.2.i386.rpm) = 1030bf6b8d0d6cda4018fabf42aa8087 SHA256 (rpm/i386/fedora/6/setserial-2.17-19.2.2.i386.rpm) = 2057847671684109248ca88a00f6724f7551f695b915bd0a466cbb50d8089bb4 SIZE (rpm/i386/fedora/6/setserial-2.17-19.2.2.i386.rpm) = 22392 MD5 (rpm/i386/fedora/6/setup-2.6.1.1-1.fc6.noarch.rpm) = 3bc9cef59b13b599907f0bae84ebbd1f SHA256 (rpm/i386/fedora/6/setup-2.6.1.1-1.fc6.noarch.rpm) = 78884425f7b3850b67c22a50d01884b7e9b4d23944328956d16a9877d040da54 SIZE (rpm/i386/fedora/6/setup-2.6.1.1-1.fc6.noarch.rpm) = 129205 -MD5 (rpm/i386/fedora/6/slang-2.0.6-3.i386.rpm) = 1ccc81dcb25c94c970779b8c3400b154 -SHA256 (rpm/i386/fedora/6/slang-2.0.6-3.i386.rpm) = aaffbe9c09ea75e731f531bfa16e44d209318f79088f7fc3aef99e69e8a0bcda -SIZE (rpm/i386/fedora/6/slang-2.0.6-3.i386.rpm) = 329188 +MD5 (rpm/i386/fedora/6/slang-2.0.7-1.fc6.i386.rpm) = e9380f020d68a041cba0bdf1239c4e06 +SHA256 (rpm/i386/fedora/6/slang-2.0.7-1.fc6.i386.rpm) = 3becfa11fde6e72444e0940d96aa2ca6368a185d9332988c28b324a6a619fc10 +SIZE (rpm/i386/fedora/6/slang-2.0.7-1.fc6.i386.rpm) = 336244 MD5 (rpm/i386/fedora/6/termcap-5.5-1.20060701.1.noarch.rpm) = 749ec4e9101988003766c76f77d3e1e8 SHA256 (rpm/i386/fedora/6/termcap-5.5-1.20060701.1.noarch.rpm) = 8f0e3af1f893946d1ec36227dd4deff410e0da3786b01bb6ed14f3e401002044 SIZE (rpm/i386/fedora/6/termcap-5.5-1.20060701.1.noarch.rpm) = 271826 --M9NhX3UHpAaciwkO-- From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 21 16:42:06 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1249916A420 for ; Tue, 21 Aug 2007 16:42:06 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 76D2613C45E for ; Tue, 21 Aug 2007 16:42:05 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so997058nfb for ; Tue, 21 Aug 2007 09:42:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=BJoECXAYX7S3IIxHmLSuG68irS0pCb2HJwpHlNWN7tZR3ANmslotXOdRCvpJJNVSchCH1XIHw/b5fdBOvEkxLKkFyzFQelMgBLG4kJCcrXF93fHKpgLL6Eimd3wAq4yCtbJ1CBUQrXSMzvB93symuBz1oqR3dDBOk2NrQgjZPhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=hpv37WNlv6i3cqoRDDFmddD64zU3dNmyEbn1Wl4WBiglwtAZZvLJCLYetwndXE1vGEe5Upc+Owa+DEI1B5iVVEafQ2zqm3v+c1nJQ338eHrLde/FOGjzDbAoAzCPQ74Xwz+es5+gELQ05mY+6uzITmd5nFUFqqiZOgVXEuvvIkk= Received: by 10.86.90.2 with SMTP id n2mr1140625fgb.1187712839154; Tue, 21 Aug 2007 09:13:59 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id f19sm12204130fka.2007.08.21.09.13.58 (version=SSLv3 cipher=RC4-MD5); Tue, 21 Aug 2007 09:13:58 -0700 (PDT) Message-ID: <46CB0F1F.9000700@gmail.com> Date: Tue, 21 Aug 2007 20:13:19 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: linuxolator problem on 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, 21 Aug 2007 16:42:06 -0000 Hi, all. i am try runing Enemy Territory: Quake Wars server (links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 ) # uname -rms FreeBSD 6.2-STABLE amd64 # mount | grep linproc linprocfs on /usr/compat/linux/proc (linprocfs, local) # cat run.sh #!/bin/sh cd `dirname $0` export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:." exec ./etqwded.x86 "$@" # ./run.sh cannot set up thread-local storage: cannot set up LDT for thread-local storage # truss ./run.sh | less *** getpgrp() = 1047 (0x417) wait4(0xffffffff,0x7fffffffe764,0x2,0x0) = 1050 (0x41a) stat(".",{mode=drwxr-xr-x ,inode=2779536,size=512,blksize=4096}) = 0 (0x0) chdir("/usr/home/games/etqw") = 0 (0x0) execve("./etqwded.x86",,) truss: execution type Linux ELF32 is not supported -- using FreeBSD ELF64: Bad address ktrace(0x1) = 148492288 (0x8d9d000) settimeofday(0x0) = 0 (0x0) access("",149108384) ERR#-2 'Unknown error: -2' open("",O_RDWR,00) ERR#-2 'Unknown error: -2' open("",O_RDWR,00) ERR#-2 'Unknown error: -2' open("",O_RDWR,00) ERR#-2 'Unknown error: -2' open("",O_RDWR,00) ERR#-2 'Unknown error: -2' open("",O_SHLOCK|O_FSYNC|O_EXCL|O_DIRECT|0x8e23000,01) = 4 (0x4) *** please help me etqw-server startup /Vladimir Ermakov From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 21 17:26:19 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6BAD16A418 for ; Tue, 21 Aug 2007 17:26:19 +0000 (UTC) (envelope-from prvs=1753d9fb40=killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 3216C13C48D for ; Tue, 21 Aug 2007 17:26:19 +0000 (UTC) (envelope-from prvs=1753d9fb40=killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 ([212.135.219.182]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.6.0) with ESMTP id md50004129540.msg for ; Tue, 21 Aug 2007 18:16:08 +0100 Message-ID: <012201c7e416$e75bb930$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "sam" , References: <46CB0F1F.9000700@gmail.com> Date: Tue, 21 Aug 2007 18:15:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1753d9fb40=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-emulation@freebsd.org X-Spam-Processed: multiplay.co.uk, Tue, 21 Aug 2007 18:16:09 +0100 X-MDAV-Processed: multiplay.co.uk, Tue, 21 Aug 2007 18:16:11 +0100 Cc: Subject: Re: linuxolator problem on 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, 21 Aug 2007 17:26:19 -0000 I know this works on 6.2 x86 but is broken on 5.2 x86. The developer @ iD is looking at the 5.2 issue. I didn't think 32bit Linux support was working properly on x64 which may be your issue? Regards Steve ----- Original Message ----- From: "sam" To: Sent: Tuesday, August 21, 2007 5:13 PM Subject: linuxolator problem on amd64 > Hi, all. > > i am try runing Enemy Territory: Quake Wars server > (links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 ) > > # uname -rms > FreeBSD 6.2-STABLE amd64 > > # mount | grep linproc > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > # cat run.sh > #!/bin/sh > cd `dirname $0` > export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:." > exec ./etqwded.x86 "$@" > > # ./run.sh > cannot set up thread-local storage: cannot set up LDT for thread-local > storage > > # truss ./run.sh | less > > *** > getpgrp() = 1047 (0x417) > wait4(0xffffffff,0x7fffffffe764,0x2,0x0) = 1050 (0x41a) > stat(".",{mode=drwxr-xr-x ,inode=2779536,size=512,blksize=4096}) = 0 (0x0) > chdir("/usr/home/games/etqw") = 0 (0x0) > execve("./etqwded.x86",,) > truss: execution type Linux ELF32 is not supported -- using FreeBSD > ELF64: Bad address > ktrace(0x1) = 148492288 (0x8d9d000) > settimeofday(0x0) = 0 (0x0) > access("",149108384) ERR#-2 'Unknown error: -2' > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > open("",O_RDWR,00) ERR#-2 'Unknown error: -2' > open("",O_SHLOCK|O_FSYNC|O_EXCL|O_DIRECT|0x8e23000,01) = 4 (0x4) > *** > > > please help me etqw-server startup > > /Vladimir Ermakov > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 21 19:22:22 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B38B016A421 for ; Tue, 21 Aug 2007 19:22:22 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 7138213C474 for ; Tue, 21 Aug 2007 19:22:22 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1483472wxd for ; Tue, 21 Aug 2007 12:22:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=LVqPpitbrD0WiF5RxuMmAH4GMeau5B4QRRYty6k7/r/WYG7du08UrQXzK3ws8Q6TE0yU4XL5ReWJSR9F/Mg8FaWpaFTLtE2RFXTgRn1f1zSFleO62KgJNQXEZc3NgLS2wxa2gW6XXF/53Itn5Po/gD8g+PpAPUY3uoFtNT7270c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=qE2/3HQLtYYld0u4il8JqDoq6LUU7PPj55WegOMYHblp1dQwkK9y4W2nb3q93h7osyMyJcbFypY91HiOFshA4J0BG1p1W7rWXGz7vRjr2Zt+0rX+/gOrg9RcSSpXCNt9VVNmxwVP68LwE2zjau4TDSHKC51kccRLudS4vRZAUdU= Received: by 10.90.71.3 with SMTP id t3mr2623491aga.1187722403776; Tue, 21 Aug 2007 11:53:23 -0700 (PDT) Received: by 10.90.84.15 with HTTP; Tue, 21 Aug 2007 11:53:23 -0700 (PDT) Message-ID: Date: Tue, 21 Aug 2007 22:53:23 +0400 From: "Yuriy Tsibizov" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-emulation@freebsd.org Subject: User-mode Linux (Was: modify syscall nr on-the-fly) 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, 21 Aug 2007 19:22:22 -0000 (replying to myself) 2007/8/21, Yuriy Tsibizov : > 2007/8/20, Kostik Belousov : > > On Sat, Aug 18, 2007 at 02:01:26PM +0400, Yuriy Tsibizov wrote: > > > I'm trying to get user-mode Linux to run under FreeBSD Linux emulation (on > > > i386). > > > > > > User-mode Linux in it's start-up tests tries to modify syscall number (to be > > > called by kernel) on-the-fly > > > (http://fxr.watson.org/fxr/source/arch/um/os-Linux/start_up.c?v=linux-2.6). > > > It forks a child thread that stops > > > (using SIGSTOP), calls getpid() (that will be intercepted by parent thread > > > using PTRACE_SYSCALL) > > > and return some value based on getpid() results. Main thread waits for > > > SIGSTOP in child process and > > > enables PTRACE_SYSCALL (I have some code that implements it. It makes some > > > incompatible changes > > > to PT_SYSCALL that will break FreeBSD applications, but works for Linux > > > apps). When main thread > > > catches SIGTRAP (generated by ptrace) it tries to modify EAX of child thread > > > (with PTRACE_PEEKUSR > > > and PTRACE_POKEUSR) to replace getpid syscall with getppid. > > > > > > is it possible to get updated EAX (and other registers as well) in > > > syscall(...) after ptracestop(...) in PTRACESTOP_SC(...) returns? > > > > > > Hope for your help, > > > > > > Yuriy. > > > > If I understand right what you want, I doubt that existing code would > > allow you to change syscall number in debugger process for debuggee. > > You shall look at the sys/i386/i386/trap.c, syscall() function [adjust > > as needed for other arches]. It calculates callp before doing PTRACESTOP_SC, > > as well as copies the syscall arguments into the kernel address space. > > Yes, I know this. I'm going to recalculate callp after PTRACESTOP_SC. > And, there will be no need to copyin from user space -- all syscalls > parameters are passed in registers (it will be used only for processes > running under Linux emulation). Updated registers are available via *frame. With some hacks (some return codes needed by user-mode Linux are hardcoded into kernel) it loads: Core dump limits : soft - NONE hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...missing Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm Checking PROT_EXEC mmap in /tmp/...OK Checking for the skas3 patch in the host: - /proc/mm... - PTRACE_FAULTINFO... - PTRACE_LDT...UML running in SKAS0 mode Linux version 2.6.22-rc2 (jdike@tp.user-mode-linux.org) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #342 Wed May 23 11:56:49 EDT 2007 Built 1 zonelists. Total pages: 8128 Kernel command line: root=98:0 PID hash table entries: 128 (order: 7, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 30288k available Mount-cache hash table entries: 512 Checking for host processor cmov support...Yes Checking for host processor xmm support...No openpty failed, errno = 22 openpty failed, errno = 22 aio_thread failed to initialize context, err = 38 2.6 AIO not supported on the host - reverting to 2.4 AIO 2.6 host AIO support not used - falling back to I/O thread NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered Checking host MADV_REMOVE support...OK os_set_fd_async : Failed to fcntl F_SETOWN (or F_SETSIG) fd 6 to pid 1191, errno = 22 Failed to get IRQ for management console os_set_fd_async : Failed to fcntl F_SETOWN (or F_SETSIG) fd 8 to pid 1191, errno = 22 um_request_irq failed - errno = 22 Host TLS support detected Detected host type: i386 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Initialized stdio console driver Console initialized on /dev/tty0 Initializing software serial port version 1 Couldn't stat "root_fs" : err = 2 Failed to initialize ubd device 0 :Couldn't determine size of device's file VFS: Cannot open root device "98:0" or unknown-block(98,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0) EIP: 0033:[<28093021>] CPU: 0 Not tainted ESP: 003b:28068fc4 EFLAGS: 00000246 Not tainted EAX: 00000000 EBX: 000004aa ECX: 00000013 EDX: 000004aa ESI: 000004a7 EDI: 00000000 EBP: 28068fd8 DS: 003b ES: 003b 087fce64: [<08069628>] show_regs+0xb4/0xb9 087fce90: [<08057ca8>] panic_exit+0x25/0x3f 087fcea4: [<08078720>] notifier_call_chain+0x21/0x46 087fcec4: [<080787bb>] __atomic_notifier_call_chain+0x17/0x19 087fcee0: [<080787d2>] atomic_notifier_call_chain+0x15/0x17 087fcefc: [<0806daba>] panic+0x52/0xdd 087fcf1c: [<08049af9>] mount_block_root+0x100/0x116 087fcf70: [<08049b5b>] mount_root+0x4c/0x54 087fcf94: [<08049c41>] prepare_namespace+0xde/0x10a 087fcfa4: [<08049827>] kernel_init+0x79/0x85 087fcfb4: [<08063a39>] run_kernel_thread+0x37/0x42 087fcfe0: [<08058095>] new_thread_handler+0x57/0x7e 087fcffc: [] 0xa55a5a5a I'll need two more flags in p_stops to add two optios: - respect PTRACE_(OLD)SETOPTIONS PTRACE_O_TRACESYSGOOD (generate SIGTRAP | 0x80 instead of plain SIGTRAP) - use Linux PTRACE_SYSCALL conventions (clear S_PT_SCE and S_PT_SCX in PTRACESTOP_SC) to make it more than just a set of hacks to run single program. PTRACE_(PEEK|POKE)USR seems to need small rewrite too. Yuriy. From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 21 20:33:22 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8874516A419 for ; Tue, 21 Aug 2007 20:33:22 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 37B3913C4B7 for ; Tue, 21 Aug 2007 20:33:19 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 382EB8C15E0; Tue, 21 Aug 2007 22:33:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mDgqdNulbKhq; Tue, 21 Aug 2007 22:33:16 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 32EF28C15AC; Tue, 21 Aug 2007 22:33:16 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7LKXFP4001112; Tue, 21 Aug 2007 22:33:15 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 21 Aug 2007 22:33:15 +0200 From: Roman Divacky To: sam Message-ID: <20070821203315.GA1068@freebsd.org> References: <46CB0F1F.9000700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46CB0F1F.9000700@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on 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, 21 Aug 2007 20:33:22 -0000 > # truss ./run.sh | less dont use truss. use ktrace/linux_kdump instead thnx From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 22 09:42:16 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA8E16A46D for ; Wed, 22 Aug 2007 09:42:16 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id CCF5A13C494 for ; Wed, 22 Aug 2007 09:42:15 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so82703wra for ; Wed, 22 Aug 2007 02:42:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ENKNQevGb8ZVMZy0E827bMsVhK3Km3XL7W1osJZmYLuJsvJFuoe2oxwgpvotnQNX+YAQRIOk81p+qV3S5eoyUVKSMaHxfoN6WAIgYqHZTue6eH/t3jqCGJIv/57/m5FJbtwbYQBTSMhUKIedGRA/kA4rMpNLqBP4SEVUUfDc/xQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t1/qgTlQzk9DZDXe+qv9k6g6iPC5cz2oOMISMLf1DrGzQgMhFyB/y+sm4XBXJM8dYkpxgHrJnmHn0mCPG4AocX0RV9MTkNHBG3konpLev6FKF9gI4i+bleYJSsTieth49Bt80xVnB7TsnzggUJLV64RBISLpZHKfc+V6fzlibpQ= Received: by 10.90.83.14 with SMTP id g14mr4030730agb.1187775733229; Wed, 22 Aug 2007 02:42:13 -0700 (PDT) Received: by 10.90.84.15 with HTTP; Wed, 22 Aug 2007 02:42:13 -0700 (PDT) Message-ID: Date: Wed, 22 Aug 2007 13:42:13 +0400 From: "Yuriy Tsibizov" To: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-emulation@freebsd.org Subject: Re: User-mode Linux (Was: modify syscall nr on-the-fly) 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, 22 Aug 2007 09:42:16 -0000 > 2007/8/21, Yuriy Tsibizov : > > 2007/8/20, Kostik Belousov : > > > On Sat, Aug 18, 2007 at 02:01:26PM +0400, Yuriy Tsibizov wrote: > > > > I'm trying to get user-mode Linux to run under FreeBSD Linux emulation (on > > > > i386). > > > > > > > > User-mode Linux in it's start-up tests tries to modify syscall number (to be > > > > called by kernel) on-the-fly > > > > (http://fxr.watson.org/fxr/source/arch/um/os-Linux/start_up.c?v=linux-2.6). > > > > It forks a child thread that stops > > > > (using SIGSTOP), calls getpid() (that will be intercepted by parent thread > > > > using PTRACE_SYSCALL) > > > > and return some value based on getpid() results. Main thread waits for > > > > SIGSTOP in child process and > > > > enables PTRACE_SYSCALL (I have some code that implements it. It makes some > > > > incompatible changes > > > > to PT_SYSCALL that will break FreeBSD applications, but works for Linux > > > > apps). When main thread > > > > catches SIGTRAP (generated by ptrace) it tries to modify EAX of child thread > > > > (with PTRACE_PEEKUSR > > > > and PTRACE_POKEUSR) to replace getpid syscall with getppid. > > > > > > > > is it possible to get updated EAX (and other registers as well) in > > > > syscall(...) after ptracestop(...) in PTRACESTOP_SC(...) returns? > > > > > > > > Hope for your help, > > > > > > > > Yuriy. > > > > > > If I understand right what you want, I doubt that existing code would > > > allow you to change syscall number in debugger process for debuggee. > > > You shall look at the sys/i386/i386/trap.c, syscall() function [adjust > > > as needed for other arches]. It calculates callp before doing PTRACESTOP_SC, > > > as well as copies the syscall arguments into the kernel address space. > > > > Yes, I know this. I'm going to recalculate callp after PTRACESTOP_SC. > > And, there will be no need to copyin from user space -- all syscalls > > parameters are passed in registers (it will be used only for processes > > running under Linux emulation). > Updated registers are available via *frame. > > With some hacks (some return codes needed by user-mode Linux are > hardcoded into kernel) it loads: [...] > I'll need two more flags in p_stops to add two optios: > - respect PTRACE_(OLD)SETOPTIONS PTRACE_O_TRACESYSGOOD (generate > SIGTRAP | 0x80 instead of plain SIGTRAP) > - use Linux PTRACE_SYSCALL conventions (clear S_PT_SCE and S_PT_SCX in > PTRACESTOP_SC) > to make it more than just a set of hacks to run single program. > > PTRACE_(PEEK|POKE)USR seems to need small rewrite too. patch (against -CURRENT) is available on http://chibis.persons.gfk.ru/linux/ptrace.diff You will need to rebuild both kernel an linux module. Yuriy. From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 22 21:10:50 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBC4A16A417; Wed, 22 Aug 2007 21:10:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 5858813C46A; Wed, 22 Aug 2007 21:10:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 536E78C16DB; Wed, 22 Aug 2007 23:10:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sfQfqnuPJPPY; Wed, 22 Aug 2007 23:10:47 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E11AF8C1623; Wed, 22 Aug 2007 23:10:47 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7MLAlR2036219; Wed, 22 Aug 2007 23:10:47 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 22 Aug 2007 23:10:47 +0200 From: Roman Divacky To: Yuriy Tsibizov Message-ID: <20070822211047.GA35783@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: User-mode Linux (Was: modify syscall nr on-the-fly) 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, 22 Aug 2007 21:10:51 -0000 here is a little review of mine... just little suggestions. Index: i386/i386/trap.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/trap.c,v retrieving revision 1.307 diff -u -r1.307 trap.c --- i386/i386/trap.c 26 Jul 2007 15:32:55 -0000 1.307 +++ i386/i386/trap.c 22 Aug 2007 08:53:19 -0000 @@ -1004,6 +1004,32 @@ PTRACESTOP_SC(p, td, S_PT_SCE); + if (__predict_false(p->p_sysent->sv_name[0]=='L')) { please use __predict_true(p->p_sysent != &elf_linux_sysvec) + if (code != frame->tf_eax) { + printf("linux sysctl patched: code %d return eax %d\n", code, frame->tf_eax); + /* retry */ + code = frame->tf_eax; + + if (p->p_sysent->sv_prepsyscall) + /* + * The prep code is MP aware. + */ + (*p->p_sysent->sv_prepsyscall)(frame, args, &code, ¶ms); + /* else should always be null */ + + if (p->p_sysent->sv_mask) + code &= p->p_sysent->sv_mask; the sv_mask should be removed.. dont use it in your code. its entirely pointless when dealing with Linux binaries + if (code >= p->p_sysent->sv_size) + callp = &p->p_sysent->sv_table[0]; + else + callp = &p->p_sysent->sv_table[code]; + + narg = callp->sy_narg; + /* retry ends */ + } + } + AUDIT_SYSCALL_ENTER(code, td); error = (*callp->sy_call)(td, args); AUDIT_SYSCALL_EXIT(error, td); Index: i386/linux/linux_ptrace.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_ptrace.c,v retrieving revision 1.17 diff -u -r1.17 linux_ptrace.c --- i386/linux/linux_ptrace.c 22 Feb 2006 18:57:49 -0000 1.17 +++ i386/linux/linux_ptrace.c 22 Aug 2007 09:27:01 -0000 @@ -78,6 +78,7 @@ #define PTRACE_SETFPXREGS 19 #define PTRACE_SETOPTIONS 21 +#define PTRACE_O_TRACESYSGOOD 0x00000001 /* * Linux keeps debug registers at the following @@ -95,6 +96,10 @@ return ((signum == SIGSTOP)? 0 : signum); } +struct linux_pt_lreg { + l_long reg[19]; +}; + struct linux_pt_reg { l_long ebx; l_long ecx; @@ -103,17 +108,17 @@ l_long edi; l_long ebp; l_long eax; - l_int xds; - l_int xes; - l_int xfs; - l_int xgs; + l_long xds; + l_long xes; + l_long xfs; + l_long xgs; l_long orig_eax; l_long eip; - l_int xcs; + l_long xcs; l_long eflags; l_long esp; - l_int xss; -}; + l_long xss; +} __packed; why is this necessary? how does it affect amd64 linux32 emulator? /* * Translate i386 ptrace registers between Linux and FreeBSD formats. @@ -247,6 +252,7 @@ struct linux_pt_reg reg; struct linux_pt_fpreg fpreg; struct linux_pt_fpxreg fpxreg; + struct linux_pt_lreg lreg; } r; union { struct reg bsd_reg; @@ -429,20 +435,21 @@ * as necessary. */ if (uap->addr < sizeof(struct linux_pt_reg)) { + if (uap->addr == (11 << 2)) /* orig_eax */ + uap->addr = (6 << 2); /* eax */ + error = kern_ptrace(td, PT_GETREGS, pid, &u.bsd_reg, 0); if (error != 0) break; map_regs_to_linux(&u.bsd_reg, &r.reg); if (req == PTRACE_PEEKUSR) { - error = copyout((char *)&r.reg + uap->addr, - (void *)uap->data, sizeof(l_int)); + error = copyout((l_long*)(&r.lreg.reg[uap->addr>>2]), + (void *)uap->data, sizeof(l_long)); break; } - *(l_int *)((char *)&r.reg + uap->addr) = - (l_int)uap->data; - + r.lreg.reg[uap->addr>>2] = (l_long)uap->data; map_regs_from_linux(&u.bsd_reg, &r.reg); error = kern_ptrace(td, PT_SETREGS, pid, &u.bsd_reg, 0); } @@ -470,11 +477,34 @@ error = kern_ptrace(td, PT_SETDBREGS, pid, &u.bsd_dbreg, 0); } - + } + break; + case PTRACE_SETOPTIONS: { + struct proc *p; + if (uap->data == PTRACE_O_TRACESYSGOOD) { + p = td->td_proc; + PROC_LOCK(p); + p->p_stops |= S_PT_SYSGOOD; + PROC_UNLOCK(p); + break; + } + printf("linux: ptrace(21,...,%u) not implemented\n", + (unsigned int)uap->data); + error = EINVAL; + } break; braces around case "case" ? please remove (the blocking there is implicit) and introduce procedure-wide "p" + case PTRACE_SYSCALL: { + struct proc *p; + + p = td->td_proc; + PROC_LOCK(p); + p->p_stops |= S_PT_LINUX; + PROC_UNLOCK(p); + + if (addr == NULL) addr = (void *)1; + error = kern_ptrace(td, PT_SYSCALL, pid, addr, uap->data); } - case PTRACE_SYSCALL: - /* fall through */ + break; ditto. default: printf("linux: ptrace(%u, ...) not implemented\n", (unsigned int)uap->req); Index: sys/cdefs.h =================================================================== RCS file: /home/ncvs/src/sys/sys/cdefs.h,v retrieving revision 1.93 diff -u -r1.93 cdefs.h --- sys/cdefs.h 21 Sep 2006 01:38:58 -0000 1.93 +++ sys/cdefs.h 10 Aug 2007 18:01:34 -0000 @@ -338,6 +338,10 @@ #endif /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ +#ifndef __FreeBSD_cc_version +#define __FreeBSD_cc_version 0 +#endif + #if __FreeBSD_cc_version >= 300001 && defined(__GNUC__) && !defined(__INTEL_COMPILER) #define __printf0like(fmtarg, firstvararg) \ __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) Index: sys/ptrace.h =================================================================== RCS file: /home/ncvs/src/sys/sys/ptrace.h,v retrieving revision 1.28 diff -u -r1.28 ptrace.h --- sys/ptrace.h 6 Feb 2006 09:41:56 -0000 1.28 +++ sys/ptrace.h 22 Aug 2007 08:53:45 -0000 @@ -103,7 +103,12 @@ #define PTRACESTOP_SC(p, td, flag) \ if ((p)->p_flag & P_TRACED && (p)->p_stops & (flag)) { \ PROC_LOCK(p); \ - ptracestop((td), SIGTRAP); \ + if (__predict_false(p->p_sysent->sv_name[0]=='L')) { \ please use p->p_sysent instead like stated above + (p)->p_stops &= ~(S_PT_SCE | S_PT_SCX); \ + ptracestop((td), SIGTRAP | 0x80); \ + } \ + else \ + ptracestop((td), SIGTRAP); \ PROC_UNLOCK(p); \ } /* @@ -112,6 +117,16 @@ */ #define S_PT_SCE 0x000010000 #define S_PT_SCX 0x000020000 +/* + * Linux ptrace conventions: clear S_PT_SCE and S_PT_SCX before raising + * signals + */ +#define S_PT_LINUX 0x000040000 +/* + * Linux ptrace option PTRACE_O_TRACESYSGOOD, when enabled, changes signal + * number to ( SIGTRAP | 0x80 ) + */ +#define S_PT_SYSGOOD 0x000080000 int ptrace_set_pc(struct thread *_td, unsigned long _addr); int ptrace_single_step(struct thread *_td); Index: compat/linux/linux_misc.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_misc.c,v retrieving revision 1.213 diff -u -r1.213 linux_misc.c --- compat/linux/linux_misc.c 12 Jun 2007 00:11:57 -0000 1.213 +++ compat/linux/linux_misc.c 22 Aug 2007 09:07:34 -0000 @@ -63,6 +63,7 @@ #include #include #include +#include #include @@ -852,6 +853,8 @@ if (args->status) { tmpstat &= 0xffff; + if (!(td->td_proc->p_stops & S_PT_SYSGOOD)) + tmpstat &= 0x7fff; if (WIFSIGNALED(tmpstat)) tmpstat = (tmpstat & 0xffffff80) | BSD_TO_LINUX_SIGNAL(WTERMSIG(tmpstat)); @@ -898,6 +901,8 @@ if (args->status) { tmpstat &= 0xffff; + if (!(td->td_proc->p_stops & S_PT_SYSGOOD)) + tmpstat &= 0x7fff; if (WIFSIGNALED(tmpstat)) tmpstat = (tmpstat & 0xffffff80) | BSD_TO_LINUX_SIGNAL(WTERMSIG(tmpstat)); thnx for the patch! roman From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 04:44:03 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B8F16A41B for ; Thu, 23 Aug 2007 04:44:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with SMTP id AB36413C428 for ; Thu, 23 Aug 2007 04:44:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 1639 invoked by uid 399); 23 Aug 2007 04:17:20 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 23 Aug 2007 04:17:20 -0000 X-Originating-IP: 127.0.0.1 Date: Wed, 22 Aug 2007 21:17:19 -0700 (PDT) From: Doug Barton To: Yuri Pankov In-Reply-To: <20070821074001.GA44272@darklight.org.ru> Message-ID: References: <20070821074001.GA44272@darklight.org.ru> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, Boris Samorodov Subject: Re: Small update for linux_base-fc6 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, 23 Aug 2007 04:44:03 -0000 On Tue, 21 Aug 2007, Yuri Pankov wrote: > Hi, > > I've been reinstalling linux_base-fc6 recently and have noticed that > some rpms are not found on lots of mirrors. I've attached diff changing > their versions to what is actually on the main mirrors. (Sorry if such > small updates are not welcome...) All updates are welcome, thanks. :) You will probably get better luck with this one though if you use send-pr instead of posting it here. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 05:34:12 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EF1816A420 for ; Thu, 23 Aug 2007 05:34:12 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 084C313C467 for ; Thu, 23 Aug 2007 05:34:11 +0000 (UTC) (envelope-from yuriy.tsibizov@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so299936wra for ; Wed, 22 Aug 2007 22:34:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=okeTw7CCf3PdlGa7/nl0oxUuRuNCy56DiXfYspy64Uzuw3ZsrzthAg+cuzaWPCYW6Gx0bzvQn2jqYfE7XlVCDlgKteAYYNw/Z419vUFaml37FIQfMmcnoJAgtt0zD7DH8S7PTap8BfaMVjZHtCYgg4+uXtLqfFyhIuBnr+BdJao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=so9nXdG1vCKL7OFlVgi4asqQQu5eTZv2SiJRArPAiMH/GfxO+mL4wCJ+ZbMxOYkxXLL/ntdRRQzDRhCg/dY5udJJS7sXTaxCyPVI3/Kjbqee1+T7svIiK901EqhLOVBJX+ED4YQfIaaMddVPyYXOce4LmK1iVbzvEiLwkdoy7ZA= Received: by 10.90.88.13 with SMTP id l13mr5963135agb.1187847250834; Wed, 22 Aug 2007 22:34:10 -0700 (PDT) Received: by 10.90.84.15 with HTTP; Wed, 22 Aug 2007 22:34:10 -0700 (PDT) Message-ID: Date: Thu, 23 Aug 2007 09:34:10 +0400 From: "Yuriy Tsibizov" To: "Roman Divacky" In-Reply-To: <20070822211047.GA35783@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070822211047.GA35783@freebsd.org> Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: User-mode Linux (Was: modify syscall nr on-the-fly) 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, 23 Aug 2007 05:34:12 -0000 2007/8/23, Roman Divacky : > here is a little review of mine... just little suggestions. > > Index: i386/i386/trap.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/i386/trap.c,v > retrieving revision 1.307 > diff -u -r1.307 trap.c > --- i386/i386/trap.c 26 Jul 2007 15:32:55 -0000 1.307 > +++ i386/i386/trap.c 22 Aug 2007 08:53:19 -0000 > @@ -1004,6 +1004,32 @@ > > PTRACESTOP_SC(p, td, S_PT_SCE); > > + if (__predict_false(p->p_sysent->sv_name[0]=='L')) { > > please use __predict_true(p->p_sysent != &elf_linux_sysvec) Will it be possible to link (GENERIC) kernel wih this check? I can't find elf_linux_sysvec in my /boot/kernel/kernel... > > + if (code != frame->tf_eax) { > + printf("linux sysctl patched: code %d return eax %d\n", code, frame->tf_eax); > + /* retry */ > + code = frame->tf_eax; > + > + if (p->p_sysent->sv_prepsyscall) > + /* > + * The prep code is MP aware. > + */ > + (*p->p_sysent->sv_prepsyscall)(frame, args, &code, ¶ms); > + /* else should always be null */ > + > + if (p->p_sysent->sv_mask) > + code &= p->p_sysent->sv_mask; > > the sv_mask should be removed.. dont use it in your code. its entirely pointless when dealing > with Linux binaries ok > > + if (code >= p->p_sysent->sv_size) > + callp = &p->p_sysent->sv_table[0]; > + else > + callp = &p->p_sysent->sv_table[code]; > + > + narg = callp->sy_narg; > + /* retry ends */ > + } > + } > + > AUDIT_SYSCALL_ENTER(code, td); > error = (*callp->sy_call)(td, args); > AUDIT_SYSCALL_EXIT(error, td); > Index: i386/linux/linux_ptrace.c > =================================================================== > RCS file: /home/ncvs/src/sys/i386/linux/linux_ptrace.c,v > retrieving revision 1.17 > diff -u -r1.17 linux_ptrace.c > --- i386/linux/linux_ptrace.c 22 Feb 2006 18:57:49 -0000 1.17 > +++ i386/linux/linux_ptrace.c 22 Aug 2007 09:27:01 -0000 > @@ -78,6 +78,7 @@ > #define PTRACE_SETFPXREGS 19 > > #define PTRACE_SETOPTIONS 21 > +#define PTRACE_O_TRACESYSGOOD 0x00000001 > > /* > * Linux keeps debug registers at the following > @@ -95,6 +96,10 @@ > return ((signum == SIGSTOP)? 0 : signum); > } > > +struct linux_pt_lreg { > + l_long reg[19]; > +}; > + > struct linux_pt_reg { > l_long ebx; > l_long ecx; > @@ -103,17 +108,17 @@ > l_long edi; > l_long ebp; > l_long eax; > - l_int xds; > - l_int xes; > - l_int xfs; > - l_int xgs; > + l_long xds; > + l_long xes; > + l_long xfs; > + l_long xgs; > l_long orig_eax; > l_long eip; > - l_int xcs; > + l_long xcs; > l_long eflags; > l_long esp; > - l_int xss; > -}; > + l_long xss; > +} __packed; > > why is this necessary? how does it affect amd64 linux32 emulator? I'll need to re-check this. It should not access segment registers. > > /* > * Translate i386 ptrace registers between Linux and FreeBSD formats. > @@ -247,6 +252,7 @@ > struct linux_pt_reg reg; > struct linux_pt_fpreg fpreg; > struct linux_pt_fpxreg fpxreg; > + struct linux_pt_lreg lreg; > } r; > union { > struct reg bsd_reg; > @@ -429,20 +435,21 @@ > * as necessary. > */ > if (uap->addr < sizeof(struct linux_pt_reg)) { > + if (uap->addr == (11 << 2)) /* orig_eax */ > + uap->addr = (6 << 2); /* eax */ > + > error = kern_ptrace(td, PT_GETREGS, pid, &u.bsd_reg, 0); > if (error != 0) > break; > > map_regs_to_linux(&u.bsd_reg, &r.reg); > if (req == PTRACE_PEEKUSR) { > - error = copyout((char *)&r.reg + uap->addr, > - (void *)uap->data, sizeof(l_int)); > + error = copyout((l_long*)(&r.lreg.reg[uap->addr>>2]), > + (void *)uap->data, sizeof(l_long)); > break; > } > > - *(l_int *)((char *)&r.reg + uap->addr) = > - (l_int)uap->data; > - > + r.lreg.reg[uap->addr>>2] = (l_long)uap->data; > map_regs_from_linux(&u.bsd_reg, &r.reg); > error = kern_ptrace(td, PT_SETREGS, pid, &u.bsd_reg, 0); > } > @@ -470,11 +477,34 @@ > error = kern_ptrace(td, PT_SETDBREGS, pid, > &u.bsd_dbreg, 0); > } > - > + } > + break; > + case PTRACE_SETOPTIONS: { > + struct proc *p; > + if (uap->data == PTRACE_O_TRACESYSGOOD) { > + p = td->td_proc; > + PROC_LOCK(p); > + p->p_stops |= S_PT_SYSGOOD; > + PROC_UNLOCK(p); > + break; > + } > + printf("linux: ptrace(21,...,%u) not implemented\n", > + (unsigned int)uap->data); > + error = EINVAL; > + } > break; > > braces around case "case" ? please remove (the blocking there is implicit) and introduce > procedure-wide "p" Similar blocks was in original code, I were trying to keep in it's style. > > + case PTRACE_SYSCALL: { > + struct proc *p; > + > + p = td->td_proc; > + PROC_LOCK(p); > + p->p_stops |= S_PT_LINUX; > + PROC_UNLOCK(p); > + > + if (addr == NULL) addr = (void *)1; > + error = kern_ptrace(td, PT_SYSCALL, pid, addr, uap->data); > } > - case PTRACE_SYSCALL: > - /* fall through */ > + break; > > ditto. > > default: > printf("linux: ptrace(%u, ...) not implemented\n", > (unsigned int)uap->req); > Index: sys/cdefs.h > =================================================================== > RCS file: /home/ncvs/src/sys/sys/cdefs.h,v > retrieving revision 1.93 > diff -u -r1.93 cdefs.h > --- sys/cdefs.h 21 Sep 2006 01:38:58 -0000 1.93 > +++ sys/cdefs.h 10 Aug 2007 18:01:34 -0000 > @@ -338,6 +338,10 @@ > #endif > > /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ > +#ifndef __FreeBSD_cc_version > +#define __FreeBSD_cc_version 0 > +#endif > + > #if __FreeBSD_cc_version >= 300001 && defined(__GNUC__) && !defined(__INTEL_COMPILER) > #define __printf0like(fmtarg, firstvararg) \ > __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) > Index: sys/ptrace.h > =================================================================== > RCS file: /home/ncvs/src/sys/sys/ptrace.h,v > retrieving revision 1.28 > diff -u -r1.28 ptrace.h > --- sys/ptrace.h 6 Feb 2006 09:41:56 -0000 1.28 > +++ sys/ptrace.h 22 Aug 2007 08:53:45 -0000 > @@ -103,7 +103,12 @@ > #define PTRACESTOP_SC(p, td, flag) \ > if ((p)->p_flag & P_TRACED && (p)->p_stops & (flag)) { \ > PROC_LOCK(p); \ > - ptracestop((td), SIGTRAP); \ > + if (__predict_false(p->p_sysent->sv_name[0]=='L')) { \ > > please use p->p_sysent instead like stated above > > + (p)->p_stops &= ~(S_PT_SCE | S_PT_SCX); \ > + ptracestop((td), SIGTRAP | 0x80); \ > + } \ > + else \ > + ptracestop((td), SIGTRAP); \ > PROC_UNLOCK(p); \ > } > /* > @@ -112,6 +117,16 @@ > */ > #define S_PT_SCE 0x000010000 > #define S_PT_SCX 0x000020000 > +/* > + * Linux ptrace conventions: clear S_PT_SCE and S_PT_SCX before raising > + * signals > + */ > +#define S_PT_LINUX 0x000040000 > +/* > + * Linux ptrace option PTRACE_O_TRACESYSGOOD, when enabled, changes signal > + * number to ( SIGTRAP | 0x80 ) > + */ > +#define S_PT_SYSGOOD 0x000080000 > > int ptrace_set_pc(struct thread *_td, unsigned long _addr); > int ptrace_single_step(struct thread *_td); > Index: compat/linux/linux_misc.c > =================================================================== > RCS file: /home/ncvs/src/sys/compat/linux/linux_misc.c,v > retrieving revision 1.213 > diff -u -r1.213 linux_misc.c > --- compat/linux/linux_misc.c 12 Jun 2007 00:11:57 -0000 1.213 > +++ compat/linux/linux_misc.c 22 Aug 2007 09:07:34 -0000 > @@ -63,6 +63,7 @@ > #include > #include > #include > +#include > > #include > > @@ -852,6 +853,8 @@ > > if (args->status) { > tmpstat &= 0xffff; > + if (!(td->td_proc->p_stops & S_PT_SYSGOOD)) > + tmpstat &= 0x7fff; > if (WIFSIGNALED(tmpstat)) > tmpstat = (tmpstat & 0xffffff80) | > BSD_TO_LINUX_SIGNAL(WTERMSIG(tmpstat)); > @@ -898,6 +901,8 @@ > > if (args->status) { > tmpstat &= 0xffff; > + if (!(td->td_proc->p_stops & S_PT_SYSGOOD)) > + tmpstat &= 0x7fff; > if (WIFSIGNALED(tmpstat)) > tmpstat = (tmpstat & 0xffffff80) | > BSD_TO_LINUX_SIGNAL(WTERMSIG(tmpstat)); > > > thnx for the patch! Thanks for review, I'm also trying to get PTRACE_SYSEMU to work (looks like the same as PTRACE_SYSCTL, but it does not call syscall handler and relies on SIGTRAP handler to do all syscall work). UM Linux also uses PTRACE_FAULTINFO (returns pointer to something, like a last page fault address) and PTRACE_LDT (updates a process LDT entry), but they are not included in stock Linux kernel and there is no man page describing their behavior. It boots without them. bad news that UM Linux can't access hdd image ("hostfs" does not work too)-- it hangs detecting partitions. Yuriy. From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 07:13:47 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FCEA16A418 for ; Thu, 23 Aug 2007 07:13:47 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5837B13C459 for ; Thu, 23 Aug 2007 07:13:47 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: by rv-out-0910.google.com with SMTP id l15so304414rvb for ; Thu, 23 Aug 2007 00:13:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EAh+Wk4dTaDDD+PxVWbwYFaqEKDY/+X70ZfDguDQJ/opxSmhHy05QTxJkbRgBaSAvW+uQkdgCe2Ju51CoUT3dlaqvGA3f8KkUtOGJdJDYeOVmfTnS2dbQnFOZDliqs66H9qBwikvgcgiuLibGeR7oFgsTkfT+1TE7FNZdkLXxf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=J7Ly7rtVHTPAwVlBT/sIar/37vxDO8FRrDQXefLQ6+hlXjhNZB7KIShf07+Le/7mZfXfUfG5JeEjb53VIPJtTcxFawj94RNWPYu/9Ckz+nLWB4LlQN6zRnf8BIgGc2eIE1/ze55uE2sIVqM0osG5isYKEh7UaUkyXZbcau9rDhw= Received: by 10.141.41.12 with SMTP id t12mr676989rvj.1187851600005; Wed, 22 Aug 2007 23:46:40 -0700 (PDT) Received: by 10.141.27.12 with HTTP; Wed, 22 Aug 2007 23:46:39 -0700 (PDT) Message-ID: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> Date: Thu, 23 Aug 2007 14:46:39 +0800 From: "Thomas Zander" To: ports@freebsd.org, emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Moving to a more recent linux base, when? 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, 23 Aug 2007 07:13:47 -0000 Hi, recently I had a look at the upcoming version of the PCB layout tool eagle, in beta test at the moment. I am currently maintaining both the international (cad/linux-eagle) and german ports of this tool. This new beta version however refuses to run as it depends on glibc-2.4 while our linux_base-fc4 ships glibc 2.3.6. Do we have a roadmap or an estimated timeframe as to when a more recent linux_base and their extra packages (linux-xorg and such) becomes standard for the ports tree? TIA, Riggs From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 12:50:24 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE5816A417; Thu, 23 Aug 2007 12:50:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id BFBBA13C442; Thu, 23 Aug 2007 12:50:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A56267.dip.t-dialin.net [84.165.98.103]) by redbull.bpaserver.net (Postfix) with ESMTP id 805B82E1BC; Thu, 23 Aug 2007 14:50:19 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C22E65B4D80; Thu, 23 Aug 2007 14:50:00 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7NCo0wG038465; Thu, 23 Aug 2007 14:50:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 23 Aug 2007 14:50:00 +0200 Message-ID: <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 23 Aug 2007 14:50:00 +0200 From: Alexander Leidinger To: Thomas Zander References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> In-Reply-To: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-12.9, required 8, BAYES_00 -15.00, BR_SPAMMER_URI 2.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Thu, 23 Aug 2007 13:49:40 +0000 Cc: ports@freebsd.org, emulation@freebsd.org Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 12:50:24 -0000 Quoting Thomas Zander (from Thu, 23 =20 Aug 2007 14:46:39 +0800): > Hi, > > recently I had a look at the upcoming version of the PCB layout tool > eagle, in beta test at the moment. I am currently maintaining both the > international (cad/linux-eagle) and german ports of this tool. > This new beta version however refuses to run as it depends on > glibc-2.4 while our linux_base-fc4 ships glibc 2.3.6. > Do we have a roadmap or an estimated timeframe as to when a more > recent linux_base and their extra packages (linux-xorg and such) > becomes standard for the ports tree? If you find a glibc-2.4 for FC4 we can import it somehow. If you =20 don't, we need to wait for the possibility to go to FC^ or newer. But =20 as from FC5 on, we need 2.6.x emulation for the linuxulator. This will =20 only be available in 7.x with x >=3D 1 (there's some support now, but it =20 is not finished), and only if activated by the user. So by default we =20 can not install FC6+ on 7.x (I doubt we will change the linuxulator =20 default to 2.6.x in the 7.x-timeframe). As we don't have good enough support for 2.6.x in 7-current, I didn't =20 even thought about how to tackle the ports collection part. Remember, =20 we have to support even 6.x for a while. Introducing the FC6+ ports is =20 easy, but how to do it in a good way which works on all supported =20 releases... Bye, Alexander. --=20 I love Mickey Mouse more than any woman I've ever known. =09=09-- Walt Disney http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 15:07:05 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F8A16A418 for ; Thu, 23 Aug 2007 15:07:05 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 142B713C45B for ; Thu, 23 Aug 2007 15:07:04 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so466271nfb for ; Thu, 23 Aug 2007 08:07:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=CP/gBAnPwNxa6GjBKVqE6G5zaLec+7olTwQIG99IvcNOTaN+Wwpvt591/rDVGkie9VQnwVQcJ8RZPsvu7MPq4g3BsLMYGxIPex2G6uWlfP94gpSqgMZDbmyb8Ln81dVJRFUYLEUGB+1JPrqxP8KdqHtOdoiXnbzE5UNOowZFKLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=b/0vQfZYEXCnhJv4WeFzodgMWP49zK/OZ5ND+CPzJFkBR/lD11xhrqI7JcdzcwgeU+he3dJtTAtu5sIv9LAyMTFt4p2cRB+brrD9+HLuWsgjY8tfW/z53xqiuqa4GxAqBS6/wGiRM0pF0hi9Z4ElKKoPxIQyOM11jopR2I9IuSo= Received: by 10.86.99.9 with SMTP id w9mr1454574fgb.1187881623554; Thu, 23 Aug 2007 08:07:03 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id p9sm3770505fkb.2007.08.23.08.06.57 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Aug 2007 08:06:58 -0700 (PDT) Message-ID: <46CDA27F.1080501@gmail.com> Date: Thu, 23 Aug 2007 19:06:39 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> In-Reply-To: <46CC123A.3090406@moneybookers.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on 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: Thu, 23 Aug 2007 15:07:05 -0000 Stefan Lambrev wrote: > Hello, > > Peter Jeremy wrote: >> On 2007-Aug-22 12:13:48 +0400, sam wrote: >> >>> Minimum system requirements: >>> >> ... >> >>> - Kernel 2.6, configured for 1000Hz tick and other low latency settings >>> >> >> FreeBSD currently only emulates kernel 2.4. Kernel 2.6 is a SoC >> project. >> >> > > Take a look at /usr/ports/UPDATING : 20070327: > AFFECTS: users of emulators/linux_base-fc6 > AUTHOR: bsam@FreeBSD.org > > ATTENTION! The port is experimental for now. Use it at your own risk. > This > port may be used only with 7-CURRENT and compat.linux.osrelease=2.6.16. > > So it's not just a SoC project :) > Yes, Enemy Territory: Quake Wars server linux (ETQW) working on FreeBSD 7.0-CURRENT with port linux_base-fc6 /Vladimir Ermakov From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 15:15:04 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38A6016A418 for ; Thu, 23 Aug 2007 15:15:04 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0A90913C442 for ; Thu, 23 Aug 2007 15:15:03 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: by rv-out-0910.google.com with SMTP id l15so379079rvb for ; Thu, 23 Aug 2007 08:15:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SaIZ5NY564c5psJuPnUDUVQNdEVypWlZccagccsDhgCpiy3uWaydbK8+t6xIlvsKeKaTRRlWiwcZKq62w6l7sfzW16V4xq9I76SrsvluiYoPkeEoziByJFciXpQvucge069vnlxwf6HadXiI48WXJAVf5ykFzNRjEnGPhnDHurI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RChmWZqCDdS4j/rAnGtjQS6+4472M8zUSGHmknOosdbsNAeIvH3TKNYYxqO+V1m4XpKmH7So8bkj/WdVw950PDxa1X0i3ztum4NO1L2276zMWYiR1r7hIlXOcyeYgxxoaZFdy8z8AI1l570BVM0niYjhvD6RFMtxSohVandxnJs= Received: by 10.141.34.12 with SMTP id m12mr858587rvj.1187882103664; Thu, 23 Aug 2007 08:15:03 -0700 (PDT) Received: by 10.141.28.15 with HTTP; Thu, 23 Aug 2007 08:15:03 -0700 (PDT) Message-ID: <786602c60708230815p533439ct5ea78d9f8db3575e@mail.gmail.com> Date: Thu, 23 Aug 2007 23:15:03 +0800 From: "Thomas Zander" To: "Alexander Leidinger" In-Reply-To: <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> Cc: ports@freebsd.org, emulation@freebsd.org Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 15:15:04 -0000 Hi, thank you for clearing this up. So, to summarise, - we will not have linux 2.6 compatibility before 7.1-R - we will probably never have 2.6 in the 6 series - we need 2.6 compatibility for the more recent linux_base-fc I guess we will stick with the current eagle version for a while then. That's okay, I know this it not trivial work and takes time. OTOH this eagle beta I was referring to, is according to many beta test reports far from ready to be released. I just wanted to get an overview of our current state with regard to the linux emulation. Thanks again, Riggs From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 16:31:55 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93D8216A418 for ; Thu, 23 Aug 2007 16:31:55 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-3.eunet.yu (smtpclu-3.eunet.yu [194.247.192.228]) by mx1.freebsd.org (Postfix) with ESMTP id 96B5813C459 for ; Thu, 23 Aug 2007 16:31:54 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by smtpclu-3.eunet.yu (8.13.6/8.13.6) with ESMTP id l7NG25Gl012495; Thu, 23 Aug 2007 18:02:06 +0200 Message-Id: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> Date: Thu, 23 Aug 2007 17:57:02 +0200 From: Nikola Lecic To: freebsd-ports@freebsd.org X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_00,UNPARSEABLE_RELAY X-AVAS-Spam-Score: -2.6 Cc: freebsd-emulation@freebsd.org Subject: /compat/linux/usr/bin/ld -- old devel/linux_devel port? 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, 23 Aug 2007 16:31:55 -0000 [I sent this to freebsd-questions@ three days ago but got no answers. I hope these two lists are more appropriate places for this question.] Hello, What is the recommended way for obtaining linux ld binary (/compat/linux/usr/bin/ld)? I found in the archives that devel/linux_devel port used to provide it, but it seems that there is no such port now, except emulators/linux*-gentoo*. Thank you, Nikola Le=C4=8Di=C4=87 From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 17:13:24 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A3816A418 for ; Thu, 23 Aug 2007 17:13:24 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id A17FA13C458 for ; Thu, 23 Aug 2007 17:13:23 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so499516nfb for ; Thu, 23 Aug 2007 10:13:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LSO8swC1IVStZey0AKvBqdTv98L+zBPLWV2T6xoYxitCFBAD2dxkyjZIUlM2T32PBFp+3cewqyXPTZ9dZVp9Yw58SM5GdKuCumcKsfMlOwURE01IfwJUcqanr2zA+En67TkSOZ4xFJS2SXyhzTcOrKmT9sMwDzKvpwrk64iq29M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HPwvKcV62WO6Ld3MeY0iX2gpO7nrqjC4egOaTEkTqm63jd4h+ovXVSHR9YLq656qej3yPuQNwMP/rGkzB8cpF2N1iHxnD0yfkTXkg8HTkhJ1KJqBUVgupazEH62O0v43TwoFxfsY9BcC/8Vlfd6NElQAwlKIWjBm3ydao/RDtl4= Received: by 10.86.74.15 with SMTP id w15mr1506048fga.1187889202617; Thu, 23 Aug 2007 10:13:22 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id f19sm4014067fka.2007.08.23.10.13.19 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Aug 2007 10:13:19 -0700 (PDT) Message-ID: <46CDC02F.3060504@gmail.com> Date: Thu, 23 Aug 2007 21:13:19 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> <46CDA27F.1080501@gmail.com> In-Reply-To: <46CDA27F.1080501@gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: linuxolator problem on i386 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, 23 Aug 2007 17:13:24 -0000 # uname -a FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Thu Aug 23 15:51:18 SAMST 2007 root@localhost:/usr/obj/usr/src/sys/CS2 i386 # pkg_info|grep linux linux_base-fc6-6_2 Base set of packages needed in Linux mode (for i386/amd64) # mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s1d on /tmp (ufs, local, soft-updates) /dev/ad0s1e on /usr (ufs, local, soft-updates) /dev/ad0s1f on /var (ufs, local, soft-updates) linsysfs on /usr/compat/linux/sys (linsysfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) # kldstat Id Refs Address Size Name 1 14 0xc0400000 3e6458 kernel 2 1 0xc07e7000 69514 acpi.ko 6 1 0xc3eba000 3000 linsysfs.ko 7 2 0xc3ebd000 21000 linux.ko 8 1 0xc445f000 7000 linprocfs.ko # sysctl compat compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.16 compat.linux.osname: Linux ******************************************************************* ]# su -l hlds -c "cd /home/hlds/1.6 && ./hlds_run -binary ./hlds_i486 -game cstrike +port 27015 +map de_piranesi +maxplayers 20 -nojoy -heapsize 256000 -pingboost 3 -pidfile hlds.pid" Auto-restarting the server on crash Console initialized. scandir failed:/usr/home/hlds/1.6/./platform/SAVE Protocol version 47 Exe version 1.1.2.5/Stdio (cstrike) Exe build: 16:14:38 Oct 24 2006 (3651) STEAM Auth Server couldn't exec language.cfg Server IP address 81.176.175.14:27015 Metamod version 1.19 Copyright (c) 2001-2006 Will Day Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'. This is free software, and you are welcome to redistribute it under certain conditions; type `meta gpl' for details. AMX Mod X version 1.76 Copyright (c) 2004-2006 AMX Mod X Development Team AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'. This is free software and you are welcome to redistribute it under certain conditions; type 'amxx gpl' for details. scandir failed:/usr/home/hlds/1.6/./platform/SAVE L 08/23/2007 - 22:04:13: -------- Mapchange to de_piranesi -------- L 08/23/2007 - 22:04:14: Nextmap Chooser: maps.ini succesfully loaded. *** glibc detected *** ./hlds_i486: double free or corruption (!prev): 0x090c3bc8 *** ======= Backtrace: ========= /lib/libc.so.6[0x2811a2ee] /lib/libc.so.6(cfree+0x90)[0x2811d9b0] /lib/libc.so.6(closedir+0x28)[0x2813e068] /lib/libc.so.6(scandir+0x14b)[0x2813e58b] /usr/home/hlds/1.6/filesystem_stdio_i386.so(findFileInDirCaseInsensitive__FPCc+0xe4)[0x28af61d8] /usr/home/hlds/1.6/filesystem_stdio_i386.so(FS_stat__17CFileSystem_StdioPCcP4stat+0x40)[0x28afa61c] /usr/home/hlds/1.6/filesystem_stdio_i386.so(FastFindFileSize__15CBaseFileSystemPCQ215CBaseFileSystem11CSearchPathPCc+0x17e)[0x28af772a] /usr/home/hlds/1.6/filesystem_stdio_i386.so(Size__15CBaseFileSystemPCc+0x5b)[0x28af757b] /usr/home/hlds/1.6/engine_i486.so(FS_FileSize+0x2d)[0x282857bd] /usr/home/hlds/1.6/engine_i486.so(SV_CreateResourceList+0x179)[0x282c25f9] /usr/home/hlds/1.6/engine_i486.so(SV_ActivateServer+0x235)[0x282c34a5] /usr/home/hlds/1.6/engine_i486.so(Host_Map+0xff)[0x2828fcff] /usr/home/hlds/1.6/engine_i486.so(Host_Map_f+0x37a)[0x282901ca] /usr/home/hlds/1.6/engine_i486.so(Cmd_ExecuteString+0x7f)[0x28274a6f] /usr/home/hlds/1.6/engine_i486.so(Cbuf_Execute+0x103)[0x28273b93] /usr/home/hlds/1.6/engine_i486.so(Host_InitializeGameDLL+0x42)[0x2828e592] /usr/home/hlds/1.6/engine_i486.so(Sys_InitGame__FPcT0Pvi+0x18d)[0x282b439d] /usr/home/hlds/1.6/engine_i486.so(Load__7CEnginebPcT2+0x50)[0x282b6d00] /usr/home/hlds/1.6/engine_i486.so(Init__19CDedicatedServerAPIPcT1PFPCcPi_P14IBaseInterfaceT3+0x12a)[0x282b491a] ./hlds_i486(vfprintf+0x343)[0x804ab37] ./hlds_i486(vfprintf+0xb08)[0x804b2fc] ./hlds_i486(_start+0x3a)[0x804a88a] ======= Memory map: ======== 08048000-08054000 r-xp 0003a000 00:00 1931337 /usr/home/hlds/1.6/hlds_i486 08054000-0805b000 rw-p 0003a000 00:00 1931337 /usr/home/hlds/1.6/hlds_i486 0805b000-0805f000 rw-p 01081000 00:00 0 0805f000-090dc000 rwxp 01081000 00:00 0 28054000-2806d000 r-xp 0001e000 00:00 1719473 /usr/compat/linux/lib/ld-2.5.so 2806d000-2806e000 r-xp 0001e000 00:00 1719473 /usr/compat/linux/lib/ld-2.5.so 2806e000-2806f000 rw-p 00002000 00:00 0 2806f000-28070000 rwxp 00002000 00:00 0 28071000-28073000 r-xp 00004000 00:00 1719486 /usr/compat/linux/lib/libdl-2.5.so 28073000-28074000 r-xp 00004000 00:00 1719486 /usr/compat/linux/lib/libdl-2.5.so 28074000-28075000 rwxp 00004000 00:00 1719486 /usr/compat/linux/lib/libdl-2.5.so 28075000-28076000 rwxp 00001000 00:00 0 28076000-28088000 r-xp 0001e000 00:00 1719504 /usr/compat/linux/lib/libpthread-2.5.so 28088000-28089000 r-xp 0001e000 00:00 1719504 /usr/compat/linux/lib/libpthread-2.5.so 28089000-2808a000 rwxp 0001e000 00:00 1719504 /usr/compat/linuxAbort trap (core dumped) Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem Thu Aug 23 22:04:23 SAMST 2007: Server restart in 10 seconds Thu Aug 23 22:04:31 SAMST 2007: Server Quit any solutions (no problem on 6.2-STABLE & linux_base-fc4)? From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 19:02:04 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6134816A4DF for ; Thu, 23 Aug 2007 19:02:04 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 0C57713C4A6 for ; Thu, 23 Aug 2007 19:02:03 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 33DAB8C0A64; Thu, 23 Aug 2007 21:02:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FHRC0L23x7fX; Thu, 23 Aug 2007 21:01:58 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id F20658C179A; Thu, 23 Aug 2007 21:01:57 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7NJ1vr9010069; Thu, 23 Aug 2007 21:01:57 +0200 (CEST) (envelope-from rdivacky) Date: Thu, 23 Aug 2007 21:01:57 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20070823190157.GA9896@freebsd.org> References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org, emulation@freebsd.org, Thomas Zander Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 19:02:04 -0000 > If you find a glibc-2.4 for FC4 we can import it somehow. If you no we cant. glibc-2.4 requires 2.6 kernel. ie. its the same operation as switching to newer FC > don't, we need to wait for the possibility to go to FC^ or newer. But > as from FC5 on, we need 2.6.x emulation for the linuxulator. This will > only be available in 7.x with x >= 1 (there's some support now, but it > is not finished), and only if activated by the user. So by default we > can not install FC6+ on 7.x (I doubt we will change the linuxulator > default to 2.6.x in the 7.x-timeframe). let me clarify things a little. the 2.6 support in 7-current is good enough. I am not aware of panics and the only "does not work because of 2.6" program I know is java which I have sent a patch to kib@ to commit it (so it should be in before 7.0R) yet, 7.x wont ship 2.6 emulation on default so any newer FC is out of question. otoh I'd like to switch 2.6 emulation on default right after 7.0R is released in 8-current. to uncover new bugs and test stuff etc. hopefully I can also get someone (kib? netchild?) to commit most of the stuff I did over this summer (epoll is ready, *at will hopefully settle soon, some minor fixes can be commited with just a little discussion etc.) based on the results from the "2.6 on default" testing in 8-current we'll see if we can ship 8.0R with 2.6 on defaul (my personal guess is yes we can)2 my view of things... roman From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 20:08:06 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9442516A46B for ; Thu, 23 Aug 2007 20:08:06 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: from otana.stonehenge.sk (otana.stonehenge.sk [82.208.39.177]) by mx1.freebsd.org (Postfix) with SMTP id CA2B013C48A for ; Thu, 23 Aug 2007 20:08:05 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: (qmail 56607 invoked from network); 23 Aug 2007 19:41:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on otana.stonehenge.sk X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_IN_PBL shortcircuit=no autolearn=disabled version=3.2.3 Received: from r6cb57.net.upc.cz (HELO ?10.0.100.2?) (secure@89.176.79.57) by otana.stonehenge.sk with SMTP; 23 Aug 2007 19:41:15 -0000 From: Michal Varga To: Roman Divacky In-Reply-To: <20070823190157.GA9896@freebsd.org> References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> Content-Type: text/plain Organization: Stonehenge Date: Thu, 23 Aug 2007 21:41:15 +0200 Message-Id: <1187898075.1341.11.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, emulation@freebsd.org Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 20:08:06 -0000 On Thu, 2007-08-23 at 21:01 +0200, Roman Divacky wrote: > let me clarify things a little. the 2.6 support in 7-current is good enough. > I am not aware of panics and the only "does not work because of 2.6" program > I know is java which I have sent a patch to kib@ to commit it (so it should > be in before 7.0R) Well, just for the record, Enemy Territory stopped working with 2.6 for me, but I can live with that (Doom 3 runs still fine, for example). On my -CURRENT desktop, I have 2.6 support enabled from the first day of commit and never plan to go back, not just for one game or even Java. >From the perspective of a common everyday desktop user, I'd call current 2.6 support "fine enough", and we are talking about 7.0 that's not even out yet. Anyway, good job, Roman and the rest of the team. Just my two pieces of a random currency. m. -- Michal Varga Stonehenge From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 20:36:46 2007 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4100516A41A; Thu, 23 Aug 2007 20:36:46 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 03A3613C459; Thu, 23 Aug 2007 20:36:45 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from [192.168.1.211] (baba.farley.org [192.168.1.211] (may be forged)) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l7NKGwsJ089839; Thu, 23 Aug 2007 15:16:58 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 23 Aug 2007 15:16:58 -0500 (CDT) From: "Sean C. Farley" To: Michal Varga In-Reply-To: <1187898075.1341.11.camel@xenon.stonehenge.sk> Message-ID: References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.farley.org Cc: emulation@FreeBSD.org, Roman Divacky Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 20:36:46 -0000 On Thu, 23 Aug 2007, Michal Varga wrote: > On Thu, 2007-08-23 at 21:01 +0200, Roman Divacky wrote: > >> let me clarify things a little. the 2.6 support in 7-current is good >> enough. I am not aware of panics and the only "does not work because >> of 2.6" program I know is java which I have sent a patch to kib@ to >> commit it (so it should be in before 7.0R) > > Well, just for the record, Enemy Territory stopped working with 2.6 > for me, but I can live with that (Doom 3 runs still fine, for > example). On my -CURRENT desktop, I have 2.6 support enabled from the > first day of commit and never plan to go back, not just for one game > or even Java. From the perspective of a common everyday desktop user, > I'd call current 2.6 support "fine enough", and we are talking about > 7.0 that's not even out yet. Anyway, good job, Roman and the rest of > the team. Out of curiosity, would setting LD_ASSUME_KERNEL=2.4.2 allow Enemy Territory to work on -CURRENT? Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 21:05:44 2007 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16B116A468 for ; Thu, 23 Aug 2007 21:05:44 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: from otana.stonehenge.sk (otana.stonehenge.sk [82.208.39.177]) by mx1.freebsd.org (Postfix) with SMTP id 32E3713C461 for ; Thu, 23 Aug 2007 21:05:43 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: (qmail 58491 invoked from network); 23 Aug 2007 21:05:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on otana.stonehenge.sk X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_IN_PBL shortcircuit=no autolearn=disabled version=3.2.3 Received: from r6cb57.net.upc.cz (HELO ?10.0.100.2?) (secure@89.176.79.57) by otana.stonehenge.sk with SMTP; 23 Aug 2007 21:05:35 -0000 From: Michal Varga To: "Sean C. Farley" In-Reply-To: References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> Content-Type: text/plain Organization: Stonehenge Date: Thu, 23 Aug 2007 23:05:34 +0200 Message-Id: <1187903134.1541.33.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, Roman Divacky Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 21:05:44 -0000 On Thu, 2007-08-23 at 15:16 -0500, Sean C. Farley wrote: > Out of curiosity, would setting LD_ASSUME_KERNEL=2.4.2 allow Enemy > Territory to work on -CURRENT? > > Sean It won't be that easy: Without LD_ASSUME_KERNEL=2.4.2: ====ET==== ET 2.60b linux-i386 May 8 2006 ---------------------- 3763 files in pk3 files execing default.cfg couldn't exec language.cfg couldn't exec autoexec.cfg Hunk_Clear: reset the hunk ok ------- Input Initialization ------- Joystick is not active. ------------------------------------ Bypassing CD checks ----- Client Initialization ----- ----- Initializing Renderer ---- ------------------------------- ----- Client Initialization Complete ----- ----- R_Init ----- ...loading libGL.so.1: Initializing OpenGL display ...setting mode 4: 800 600 Received signal 11, exiting... Segmentation fault ====DOOM3==== DOOM 1.3.1302 linux-x86 May 12 2005 14:56:44 game DLL: 0x0 in pak: 0x0 Addon pk4s: file system initialized. -------------------------------------- ----- Initializing Decls ----- ------------------------------ ------- Initializing renderSystem -------- using ARB renderSystem renderSystem initialized. -------------------------------------- 5206 strings read from strings/english.lang Couldn't open journal files execing editor.cfg execing default.cfg execing DoomConfig.cfg couldn't exec autoexec.cfg 5206 strings read from strings/english.lang ----- Initializing Sound System ------ sound system initialized. -------------------------------------- ----- R_InitOpenGL ----- Setup X display connection dlopen(libGL.so.1) Initializing OpenGL display Using XFree86-VidModeExtension Version 2.2 DGA DirectVideo Mouse (Version 2.0) initialized (etc, the game starts ok..) ====== With `export LD_ASSUME_KERNEL=2.4.2` and no other changes: ./et.x86: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory ./doom.x86: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory ====== But I have linux_base-fc6-6_2 installed, it isn't supposed to work with 2.4 kernel, isn't it? And, one more bad news, Heroes of Might And Magic 3 (Loki's version) too doesn't start (as with Enemy Territory, I noticed that not long after 2.6 switch, but didn't have much time for games back then and soon forgot about it. I just assumed that this will be fixed later with more 2.6 progress and didn't care much then. Well, it still doesn't work). Now at this point I can't rule out other possible conflicts, on a library level or so, but - if someone is interested in debugging this later, I'm willing to disable 2.6 and go back to linux_base-fc4 to check if the 2.6 switch only is the offender. Should I? (please to: or cc: me, as I'm still not subscribed to emulation@) m. -- Michal Varga Stonehenge From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 21:34:31 2007 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5127816A476 for ; Thu, 23 Aug 2007 21:34:31 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: from otana.stonehenge.sk (otana.stonehenge.sk [82.208.39.177]) by mx1.freebsd.org (Postfix) with SMTP id 6BCB813C46A for ; Thu, 23 Aug 2007 21:34:30 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: (qmail 59102 invoked from network); 23 Aug 2007 21:34:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on otana.stonehenge.sk X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_IN_PBL shortcircuit=no autolearn=disabled version=3.2.3 Received: from r6cb57.net.upc.cz (HELO ?10.0.100.2?) (secure@89.176.79.57) by otana.stonehenge.sk with SMTP; 23 Aug 2007 21:34:22 -0000 From: Michal Varga To: "Sean C. Farley" In-Reply-To: References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> Content-Type: text/plain Organization: Stonehenge Date: Thu, 23 Aug 2007 23:34:21 +0200 Message-Id: <1187904861.1747.7.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: emulation@FreeBSD.org, Roman Divacky Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 21:34:31 -0000 On Thu, 2007-08-23 at 15:16 -0500, Sean C. Farley wrote: > Out of curiosity, would setting LD_ASSUME_KERNEL=2.4.2 allow Enemy > Territory to work on -CURRENT? > > Sean Ok, and there is one more thing I just noticed: PID THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1529 1 0 0 131M 32076K linuxf 0:00 0.00% doom.x86 This little guy is left in the memory after the game quits, though the game itself works perfectly (last time I played for hours, no crashes or any other problems). As I wrote in my previous mail, if someone is interested in debugging and needs any info I can provide, just drop me a line. m. -- Michal Varga Stonehenge From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 23 21:43:50 2007 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB51116A419; Thu, 23 Aug 2007 21:43:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id A0D5713C46A; Thu, 23 Aug 2007 21:43:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9FF748C17B1; Thu, 23 Aug 2007 23:43:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2f1JncqX4TYe; Thu, 23 Aug 2007 23:43:47 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8FCBC8C17A7; Thu, 23 Aug 2007 23:43:47 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7NLhlZ1013136; Thu, 23 Aug 2007 23:43:47 +0200 (CEST) (envelope-from rdivacky) Date: Thu, 23 Aug 2007 23:43:47 +0200 From: Roman Divacky To: Michal Varga Message-ID: <20070823214347.GA13061@freebsd.org> References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> <1187904861.1747.7.camel@xenon.stonehenge.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1187904861.1747.7.camel@xenon.stonehenge.sk> User-Agent: Mutt/1.4.2.3i Cc: emulation@FreeBSD.org, "Sean C. Farley" Subject: Re: Moving to a more recent linux base, when? 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, 23 Aug 2007 21:43:51 -0000 On Thu, Aug 23, 2007 at 11:34:21PM +0200, Michal Varga wrote: > On Thu, 2007-08-23 at 15:16 -0500, Sean C. Farley wrote: > > > Out of curiosity, would setting LD_ASSUME_KERNEL=2.4.2 allow Enemy > > Territory to work on -CURRENT? > > > > Sean > > Ok, and there is one more thing I just noticed: > > PID THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 1529 1 0 0 131M 32076K linuxf 0:00 0.00% doom.x86 > > This little guy is left in the memory after the game quits, though the > game itself works perfectly (last time I played for hours, no crashes or > any other problems). > > As I wrote in my previous mail, if someone is interested in debugging > and needs any info I can provide, just drop me a line. well.. debuging "big complicated binary only sh*t" is hard. I tried to get flash9 working and its just not easy... and thats why I want to turn 2.6 on default in 8-current after 7.0R is released. to be able to find some simple bug cases and fix the complicated things... btw... there's a TLS problem on i386 which does not affect amd64. if someone can confirm the programs mentioned by Michal works on amd64 we have on problem less... roman From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 01:06:44 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25B1316A468; Fri, 24 Aug 2007 01:06:44 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id CF93813C465; Fri, 24 Aug 2007 01:06:43 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C795A8C17C9; Fri, 24 Aug 2007 03:06:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TKJcqu4OdJgU; Fri, 24 Aug 2007 03:06:38 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0ABF48C0A6E; Fri, 24 Aug 2007 03:06:38 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7NDe7jB087103; Thu, 23 Aug 2007 15:40:07 +0200 (CEST) (envelope-from rdivacky) Date: Thu, 23 Aug 2007 15:40:07 +0200 From: Roman Divacky To: Thomas Zander Message-ID: <20070823134007.GA86063@freebsd.org> References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org, emulation@freebsd.org Subject: Re: Moving to a more recent linux base, when? 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, 24 Aug 2007 01:06:44 -0000 On Thu, Aug 23, 2007 at 02:46:39PM +0800, Thomas Zander wrote: > Hi, > > recently I had a look at the upcoming version of the PCB layout tool > eagle, in beta test at the moment. I am currently maintaining both the > international (cad/linux-eagle) and german ports of this tool. > This new beta version however refuses to run as it depends on > glibc-2.4 while our linux_base-fc4 ships glibc 2.3.6. > Do we have a roadmap or an estimated timeframe as to when a more > recent linux_base and their extra packages (linux-xorg and such) > becomes standard for the ports tree? first we have to have 2.6 emulation on default, then we can switch to default linux-base-fc6. I plan to do the switch to 2.6 emulation on default when 7.0R is shipped. roman From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 05:28:50 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0402516A421 for ; Fri, 24 Aug 2007 05:28:50 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 8257C13C4CA for ; Fri, 24 Aug 2007 05:28:49 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so633363nfb for ; Thu, 23 Aug 2007 22:28:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=JXLVYdaDnVIeLn96r4B1UtXOL0O4lefDfnbO430w0DbRS6fZ+feCb9iZSWnlBp+kTKsEbpcSnrDghN8M3nHP8mcPQU3Q5UIGVrQa1w30bYf8pQDKheTEvMYmRjLrdKkytO7NUUMl4UJQ/UZa3EtsRWamPSXZgUneGLPixtTNVrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Ndw5iELkkOqtH6f4hvR3ZsR0OjhQ3LiOWhk+j9+ia78W1CZKv1RKrX+ZSWeuwCIq2XyG5jFh6317VnzOmlnECtMbG8CBrfSd4suPux4D59laadD89+rO+rZbHjVlDRGfJhMV0APjTb2VyMXXmd4R+yA+E/1eDVy1SjkqzCpu0KE= Received: by 10.86.76.16 with SMTP id y16mr1961790fga.1187933328155; Thu, 23 Aug 2007 22:28:48 -0700 (PDT) Received: from ?192.168.1.185? ( [213.152.137.35]) by mx.google.com with ESMTPS id 31sm5139859fkt.2007.08.23.22.28.44 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Aug 2007 22:28:45 -0700 (PDT) Message-ID: <46CE6C85.1020704@gmail.com> Date: Fri, 24 Aug 2007 09:28:37 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> <46CDA27F.1080501@gmail.com> In-Reply-To: <46CDA27F.1080501@gmail.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on 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: Fri, 24 Aug 2007 05:28:50 -0000 sam wrote: > Stefan Lambrev wrote: >> Hello, >> >> Peter Jeremy wrote: >>> On 2007-Aug-22 12:13:48 +0400, sam wrote: >>> >>>> Minimum system requirements: >>>> >>> ... >>> >>>> - Kernel 2.6, configured for 1000Hz tick and other low latency >>>> settings >>>> >>> >>> FreeBSD currently only emulates kernel 2.4. Kernel 2.6 is a SoC >>> project. >>> >>> >> >> Take a look at /usr/ports/UPDATING : 20070327: >> AFFECTS: users of emulators/linux_base-fc6 >> AUTHOR: bsam@FreeBSD.org >> >> ATTENTION! The port is experimental for now. Use it at your own >> risk. This >> port may be used only with 7-CURRENT and compat.linux.osrelease=2.6.16. >> >> So it's not just a SoC project :) >> > > Yes, Enemy Territory: Quake Wars server linux (ETQW) > working on FreeBSD 7.0-CURRENT with port linux_base-fc6 > > /Vladimir Ermakov > ssory, linux_base-fc4 linux_base-fc6 - bad solution (unstable work) /Vladimir Ermakov From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 08:21:09 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FCCB16A418; Fri, 24 Aug 2007 08:21:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D57F313C49D; Fri, 24 Aug 2007 08:21:08 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54D5A.dip.t-dialin.net [84.165.77.90]) by redbull.bpaserver.net (Postfix) with ESMTP id 4BFF32E160; Fri, 24 Aug 2007 10:21:04 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C3D815B4D80; Fri, 24 Aug 2007 10:21:01 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7O8L1Pc039310; Fri, 24 Aug 2007 10:21:01 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 24 Aug 2007 10:21:01 +0200 Message-ID: <20070824102101.84enymily8oo8ccs@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Aug 2007 10:21:01 +0200 From: Alexander Leidinger To: Michal Varga References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> <1187903134.1541.33.camel@xenon.stonehenge.sk> In-Reply-To: <1187903134.1541.33.camel@xenon.stonehenge.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@FreeBSD.org, Roman, Divacky , "Sean C. Farley" Subject: Re: Moving to a more recent linux base, when? 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, 24 Aug 2007 08:21:09 -0000 Quoting Michal Varga (from Thu, 23 Aug 2007 =20 23:05:34 +0200): > On Thu, 2007-08-23 at 15:16 -0500, Sean C. Farley wrote: >> Out of curiosity, would setting LD_ASSUME_KERNEL=3D2.4.2 allow Enemy >> Territory to work on -CURRENT? >> >> Sean > > It won't be that easy: > > > Without LD_ASSUME_KERNEL=3D2.4.2: > But I have linux_base-fc6-6_2 installed, it isn't supposed to work with > 2.4 kernel, isn't it? LD_ASSUME_KERNEL is an userland switch, so it is targeted at the =20 behavior of the FC6 libs. > And, one more bad news, Heroes of Might And Magic 3 (Loki's version) too > doesn't start (as with Enemy Territory, I noticed that not long after > 2.6 switch, but didn't have much time for games back then and soon > forgot about it. I just assumed that this will be fixed later with more > 2.6 progress and didn't care much then. Well, it still doesn't work). Without reports there's probably no fix. Run the programs within =20 "ktrace -i". Then download linux_kdump from =20 http://www.leidinger.net/FreeBSD/ (i386 version for an old version of =20 -current...) or compile it yourself. Use it to decode the ktrace dump. =20 The resulting text may help to find the cause. Bye, Alexander. --=20 BOFH excuse #55: Plumber mistook routing panel for decorative wall fixture http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 08:23:22 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD91A16A41A; Fri, 24 Aug 2007 08:23:22 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 8E5EF13C468; Fri, 24 Aug 2007 08:23:22 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54D5A.dip.t-dialin.net [84.165.77.90]) by redbull.bpaserver.net (Postfix) with ESMTP id 28A3D2E160; Fri, 24 Aug 2007 10:23:01 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A49585B4D80; Fri, 24 Aug 2007 10:22:58 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7O8Mw6L039750; Fri, 24 Aug 2007 10:22:58 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 24 Aug 2007 10:22:58 +0200 Message-ID: <20070824102258.liiqcfx1twc80gss@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Aug 2007 10:22:58 +0200 From: Alexander Leidinger To: Michal Varga References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com> <20070823145000.tr2wulubs484ck0w@webmail.leidinger.net> <20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> <1187904861.1747.7.camel@xenon.stonehenge.sk> In-Reply-To: <1187904861.1747.7.camel@xenon.stonehenge.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@FreeBSD.org, Roman, Divacky , "Sean C. Farley" Subject: Re: Moving to a more recent linux base, when? 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, 24 Aug 2007 08:23:23 -0000 Quoting Michal Varga (from Thu, 23 Aug 2007 =20 23:34:21 +0200): > On Thu, 2007-08-23 at 15:16 -0500, Sean C. Farley wrote: > >> Out of curiosity, would setting LD_ASSUME_KERNEL=3D2.4.2 allow Enemy >> Territory to work on -CURRENT? >> >> Sean > > Ok, and there is one more thing I just noticed: > > PID THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 1529 1 0 0 131M 32076K linuxf 0:00 0.00% doom.x86 > > This little guy is left in the memory after the game quits, though the > game itself works perfectly (last time I played for hours, no crashes or > any other problems). This is one of the things of what I mean when I say that 2.6.x is not =20 ready yet in -current. There are some known things which need to be =20 fixed (some probably after 7.0R is out the door). Bye, Alexander. --=20 I'm a fuschia bowling ball somewhere in Brittany http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 08:44:54 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57CB16A418; Fri, 24 Aug 2007 08:44:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5B53C13C458; Fri, 24 Aug 2007 08:44:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54D5A.dip.t-dialin.net [84.165.77.90]) by redbull.bpaserver.net (Postfix) with ESMTP id 4DD682E160; Fri, 24 Aug 2007 10:44:48 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 869515B4D80; Fri, 24 Aug 2007 10:44:45 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7O8ijnn043344; Fri, 24 Aug 2007 10:44:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 24 Aug 2007 10:44:45 +0200 Message-ID: <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Aug 2007 10:44:45 +0200 From: Alexander Leidinger To: Nikola Lecic References: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> In-Reply-To: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 8, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: /compat/linux/usr/bin/ld -- old devel/linux_devel port? 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, 24 Aug 2007 08:44:54 -0000 Quoting Nikola Lecic (from Thu, 23 Aug 2007 17:57:02 +0200= ): > [I sent this to freebsd-questions@ three days ago but got no answers. I > hope these two lists are more appropriate places for this question.] > > Hello, > > What is the recommended way for obtaining linux ld binary > (/compat/linux/usr/bin/ld)? > > I found in the archives that devel/linux_devel port used to provide it, > but it seems that there is no such port now, except > emulators/linux*-gentoo*. The linux_base ports are not designed to do linux development. They =20 are designed to run Linux programs on FreeBSD. As such some files are =20 missing to give a fallthrough to the FreeBSD versions of it. If you want to do Linux development on FreeBSD you need to install a =20 linux_dist port (contains a compiler toolchain) and chroot into the =20 corresponding directory (it's in /usr/local/...). Bye, Alexander. --=20 FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #19 A:=09To be or not to be. Q:=09What is the square root of 4b^2? http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 08:52:42 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7434D16A46B for ; Fri, 24 Aug 2007 08:52:42 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 23C7613C49D for ; Fri, 24 Aug 2007 08:52:42 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54D5A.dip.t-dialin.net [84.165.77.90]) by redbull.bpaserver.net (Postfix) with ESMTP id 118732E1CF; Fri, 24 Aug 2007 10:52:21 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 89DBE5B4D80; Fri, 24 Aug 2007 10:52:18 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7O8qIUc044560; Fri, 24 Aug 2007 10:52:18 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 24 Aug 2007 10:52:18 +0200 Message-ID: <20070824105218.e350dapvcwkk0csc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Aug 2007 10:52:18 +0200 From: Alexander Leidinger To: sam References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> <46CDA27F.1080501@gmail.com> <46CDC02F.3060504@gmail.com> In-Reply-To: <46CDC02F.3060504@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on i386 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, 24 Aug 2007 08:52:42 -0000 Quoting sam (from Thu, 23 Aug 2007 21:13:19 +0400): [Removing hackers@, it belongs to emulation@] > L 08/23/2007 - 22:04:14: Nextmap Chooser: maps.ini succesfully loaded. > *** glibc detected *** ./hlds_i486: double free or corruption (!prev): > 0x090c3bc8 *** At first look this seems to be an userland problem, and not a kernel problem. Is hlds officially supported on FC6? There's also a patch available to update some parts of FC6. Have a look at the emulation@ archive and try if the patch solves your problem (please report back). Bye, Alexander. -- PLATONIC FRIENDSHIP: What develops when two people get tired of making love to each other. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 11:30:53 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0221116A41A; Fri, 24 Aug 2007 11:30:53 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-6.eunet.yu (smtpclu-6.eunet.yu [194.247.192.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8541A13C45D; Fri, 24 Aug 2007 11:30:52 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by smtpclu-6.eunet.yu (8.13.6/8.13.6) with ESMTP id l7OBUgQf008748; Fri, 24 Aug 2007 11:30:43 GMT Message-Id: <200708241130.l7OBUgQf008748@smtpclu-6.eunet.yu> Date: Fri, 24 Aug 2007 13:25:47 +0200 From: Nikola Lecic To: Alexander Leidinger In-Reply-To: <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> References: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: /compat/linux/usr/bin/ld -- old devel/linux_devel port? 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, 24 Aug 2007 11:30:53 -0000 On Fri, 24 Aug 2007 10:44:45 +0200 Alexander Leidinger wrote: > Quoting Nikola Lecic (from Thu, 23 Aug 2007 > 17:57:02 +0200): >=20 > > [I sent this to freebsd-questions@ three days ago but got no > > answers. I hope these two lists are more appropriate places for > > this question.] > > > > Hello, > > > > What is the recommended way for obtaining linux ld binary > > (/compat/linux/usr/bin/ld)? > > > > I found in the archives that devel/linux_devel port used to provide > > it, but it seems that there is no such port now, except > > emulators/linux*-gentoo*. >=20 > The linux_base ports are not designed to do linux development. They =20 > are designed to run Linux programs on FreeBSD. As such some files > are missing to give a fallthrough to the FreeBSD versions of it. >=20 > If you want to do Linux development on FreeBSD you need to install a =20 > linux_dist port (contains a compiler toolchain) and chroot into the =20 > corresponding directory (it's in /usr/local/...). Alexander, many thanks for the explanation. My question was related to (1) an old freebsd-ports@ post (written by you): http://lists.freebsd.org/pipermail/freebsd-ports/2004-March/009943.= html (2) the recent user question regarding running Linux versions of GHDL and/or GNAT compilers on FreeBSD-amd64: http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/15= 5758.html So your explanation answers the question from (2) (correct?) as well as why linux_devel and linux_devtools ports were erased. Nikola Le=C4=8Di=C4=87 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 12:05:37 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88BEC16A41A; Fri, 24 Aug 2007 12:05:37 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 1828813C457; Fri, 24 Aug 2007 12:05:34 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54D5A.dip.t-dialin.net [84.165.77.90]) by redbull.bpaserver.net (Postfix) with ESMTP id 56F582E138; Fri, 24 Aug 2007 14:05:29 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id C54C25B4D80; Fri, 24 Aug 2007 14:05:26 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7OC5Qot076795; Fri, 24 Aug 2007 14:05:26 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 24 Aug 2007 14:05:26 +0200 Message-ID: <20070824140526.vcufi2ctcgk4kwsw@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Aug 2007 14:05:26 +0200 From: Alexander Leidinger To: Nikola Lecic References: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> <200708241130.l7OBUgQf008748@smtpclu-6.eunet.yu> In-Reply-To: <200708241130.l7OBUgQf008748@smtpclu-6.eunet.yu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 8, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: /compat/linux/usr/bin/ld -- old devel/linux_devel port? 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, 24 Aug 2007 12:05:37 -0000 Quoting Nikola Lecic (from Fri, 24 Aug 2007 13:25:47 +0200= ): > On Fri, 24 Aug 2007 10:44:45 +0200 > Alexander Leidinger wrote: > >> Quoting Nikola Lecic (from Thu, 23 Aug 2007 >> 17:57:02 +0200): >> >> > [I sent this to freebsd-questions@ three days ago but got no >> > answers. I hope these two lists are more appropriate places for >> > this question.] >> > >> > Hello, >> > >> > What is the recommended way for obtaining linux ld binary >> > (/compat/linux/usr/bin/ld)? >> > >> > I found in the archives that devel/linux_devel port used to provide >> > it, but it seems that there is no such port now, except >> > emulators/linux*-gentoo*. >> >> The linux_base ports are not designed to do linux development. They >> are designed to run Linux programs on FreeBSD. As such some files >> are missing to give a fallthrough to the FreeBSD versions of it. >> >> If you want to do Linux development on FreeBSD you need to install a >> linux_dist port (contains a compiler toolchain) and chroot into the >> corresponding directory (it's in /usr/local/...). > > Alexander, many thanks for the explanation. My question was related to > > (1) an old freebsd-ports@ post (written by you): > > =20 > http://lists.freebsd.org/pipermail/freebsd-ports/2004-March/009943.html Ugh... be careful if you try to do something which is described here. =20 You really need to know what you are doing, else you open up pandoras =20 box... > (2) the recent user question regarding running Linux versions of GHDL > and/or GNAT compilers on FreeBSD-amd64: > > =20 > http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/155758.ht= ml > > So your explanation answers the question from (2) (correct?) as well as > why linux_devel and linux_devtools ports were erased. linux_dev* where: - outdated - broken / dangerous / not suitable for RH8 or FCx - not maintained You will not be able to run ld from linux_dist without a chroot. With =20 a chroot, you will not be able to really use it from a FreeBSD Port =20 (even if you manage to get it running without the chroot). When you =20 run with a chroot, you will generate linux binaries, not FreeBSD =20 binaries. The right thing to do for (2) is to port GNAT to amd64, and I doubt =20 the easy way is to take the linux compiler and play some tricks with it. Bye, Alexander. --=20 My own business always bores me to death; I prefer other people's. =09=09-- Oscar Wilde http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 13:52:14 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B35316A420; Fri, 24 Aug 2007 13:52:14 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id DCC7113C45A; Fri, 24 Aug 2007 13:52:13 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-221-254.eunet.yu [213.198.221.254]) by eunet.yu (8.13.6/8.13.6) with ESMTP id l7ODq6kZ004409; Fri, 24 Aug 2007 15:52:06 +0200 Message-Id: <200708241352.l7ODq6kZ004409@eunet.yu> Date: Fri, 24 Aug 2007 15:47:12 +0200 From: Nikola Lecic To: Alexander Leidinger In-Reply-To: <20070824140526.vcufi2ctcgk4kwsw@webmail.leidinger.net> References: <200708231602.l7NG25Gl012495@smtpclu-3.eunet.yu> <20070824104445.rmwx59hgw8s0wg0g@webmail.leidinger.net> <200708241130.l7OBUgQf008748@smtpclu-6.eunet.yu> <20070824140526.vcufi2ctcgk4kwsw@webmail.leidinger.net> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: /compat/linux/usr/bin/ld -- old devel/linux_devel port? 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, 24 Aug 2007 13:52:14 -0000 On Fri, 24 Aug 2007 14:05:26 +0200 Alexander Leidinger wrote: [...] > >> If you want to do Linux development on FreeBSD you need to install > >> a linux_dist port (contains a compiler toolchain) and chroot into > >> the corresponding directory (it's in /usr/local/...). > > > > Alexander, many thanks for the explanation. My question was related > > to > > > > (1) an old freebsd-ports@ post (written by you): > > > > =20 > > http://lists.freebsd.org/pipermail/freebsd-ports/2004-March/009943.html >=20 > Ugh... be careful if you try to do something which is described > here. You really need to know what you are doing, else you open up > pandoras box... Understood. :) =20 > > (2) the recent user question regarding running Linux versions of > > GHDL and/or GNAT compilers on FreeBSD-amd64: > > > > =20 > > http://lists.freebsd.org/pipermail/freebsd-questions/2007-August/155758= .html > > > > So your explanation answers the question from (2) (correct?) as > > well as why linux_devel and linux_devtools ports were erased. >=20 > linux_dev* where: > - outdated > - broken / dangerous / not suitable for RH8 or FCx > - not maintained >=20 > You will not be able to run ld from linux_dist without a chroot. > With a chroot, you will not be able to really use it from a FreeBSD > Port (even if you manage to get it running without the chroot). When > you run with a chroot, you will generate linux binaries, not FreeBSD =20 > binaries. Ok, so such a mixing is out of question... =20 > The right thing to do for (2) is to port GNAT to amd64, and I doubt =20 > the easy way is to take the linux compiler and play some tricks with > it. ... I thought that skipping GNAT and using linux binaries of GHDL compiler directly could be useful in meantime for that user. And again, my thoughts about it were inspired by the existence of lang/ifc port. I mean, despite the fact that linux-ghdl compiler (which needs linux-ld) produces linux binaries, it still can be useful for someone who wants to switch to FreeBSD. In fact, I obviously lack the knowledge on how IFC produces FreeBSD binaries and if it's possible in other cases. But that's another story. Nikola Le=C4=8Di=C4=87 From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 14:43:32 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB83716A417; Fri, 24 Aug 2007 14:43:32 +0000 (UTC) (envelope-from prvs=175634d5b8=killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 39F8213C45B; Fri, 24 Aug 2007 14:43:32 +0000 (UTC) (envelope-from prvs=175634d5b8=killing@multiplay.co.uk) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on core6.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 ([212.135.219.182]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon PRO v9.6.0) with ESMTP id md50004140219.msg; Fri, 24 Aug 2007 15:24:45 +0100 Message-ID: <033601c7e65a$76110320$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Michal Varga" , "Roman Divacky" References: <786602c60708222346s9d45d45o6ff7b362d67fe938@mail.gmail.com><20070823145000.tr2wulubs484ck0w@webmail.leidinger.net><20070823190157.GA9896@freebsd.org> <1187898075.1341.11.camel@xenon.stonehenge.sk> Date: Fri, 24 Aug 2007 15:24:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=175634d5b8=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: multiplay.co.uk, Fri, 24 Aug 2007 15:24:46 +0100 X-MDAV-Processed: multiplay.co.uk, Fri, 24 Aug 2007 15:24:46 +0100 Cc: ports@freebsd.org, emulation@freebsd.org Subject: Re: Moving to a more recent linux base, when? 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, 24 Aug 2007 14:43:33 -0000 FYI: The current thinking from iD about the reason ET:QW doesn't work on 5.4 is problems with TLS so this could also be the case here. Regards Steve ----- Original Message ----- From: "Michal Varga" > Well, just for the record, Enemy Territory stopped working with 2.6 for > me, but I can live with that (Doom 3 runs still fine, for example). On > my -CURRENT desktop, I have 2.6 support enabled from the first day of > commit and never plan to go back, not just for one game or even Java. >>From the perspective of a common everyday desktop user, I'd call current > 2.6 support "fine enough", and we are talking about 7.0 that's not even > out yet. Anyway, good job, Roman and the rest of the team. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 18:35:42 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DD8716A41A for ; Fri, 24 Aug 2007 18:35:42 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: from otana.stonehenge.sk (otana.stonehenge.sk [82.208.39.177]) by mx1.freebsd.org (Postfix) with SMTP id 969E813C507 for ; Fri, 24 Aug 2007 18:35:41 +0000 (UTC) (envelope-from varga@stonehenge.sk) Received: (qmail 1520 invoked from network); 24 Aug 2007 18:35:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on otana.stonehenge.sk X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=RCVD_IN_PBL shortcircuit=no autolearn=disabled version=3.2.3 Received: from r6cb57.net.upc.cz (HELO ?10.0.100.2?) (secure@89.176.79.57) by otana.stonehenge.sk with SMTP; 24 Aug 2007 18:35:31 -0000 From: Michal Varga To: emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Organization: Stonehenge Date: Fri, 24 Aug 2007 20:35:30 +0200 Message-Id: <1187980530.5487.49.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Alexander@Leidinger.net Subject: ET and HOMAM3 broken with Linux 2.6 emulation [WAS: Moving to a more recent linux base, when?] 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, 24 Aug 2007 18:35:42 -0000 On Fri, 2007-08-24 at 01:21, Alexander Leidinger wrote: > > And, one more bad news, Heroes of Might And Magic 3 (Loki's version) > > too doesn't start (as with Enemy Territory, I noticed that not long > > after 2.6 switch, but didn't have much time for games back then and > > soon forgot about it. I just assumed that this will be fixed later > > with more 2.6 progress and didn't care much then. Well, it still > > doesn't work). > > Without reports there's probably no fix. Yes but my point there was, imagine that right after the initial import of the new experimental linux 2.6 support into the tree, people start to flood you with reports like "omg my linuz gamez stopped working!11 plz fix it 4 me asap!!!tnxz". It's not like they are really mission critical and I'm running my desktop on -CURRENT for, let's see.. last 6 years? I've seen so many things so hideously broken, that it's almost like running Windows for a week. So I won't report a broken game just days after thing like 2.6 support was commited. > Run the programs within "ktrace -i". Then download linux_kdump from > http://www.leidinger.net/FreeBSD/ (i386 version for an old version of > -current...) or compile it yourself. Use it to decode the ktrace dump. > The resulting text may help to find the cause. > > Bye, > Alexander. Thanks for pointing out the linux_kdump, now it's obvious (to me) why I wasn't able to get anything meaningful from the native ktrace/kdump combo. But then, as far as I can trace out a library or disk/io problem here and there, I'm not very proficient in low level and kernel internals. In this case it seems it's not a stuff I can handle: Heroes of Might And Magic 3 breaks with: 6578 heroes3 CALL linux_getppid 6578 heroes3 RET linux_getppid 6577/0x19b1 6578 heroes3 CALL read(0x6,0x84784a0,0x94) 6578 heroes3 GIO fd 6 read 148 bytes " D@\b\0\0\0\0�ֿ�$�%\b\0006G\b\0\0\0\M^@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 2G\b\0\0\0\0H�G\b�\M^]@\b\^X\0\0\0�\0\0\0С@\b" 6578 heroes3 RET read 148/0x94 6578 heroes3 CALL linux_mmap(0x84783ec) 6578 heroes3 RET linux_mmap -1090519040/0xbf000000 6578 heroes3 PSIG SIGSEGV SIG_DFL Enemy Territory breaks with: 5538 et.x86 CALL gettimeofday(0xbfbfdcb0,0) 5538 et.x86 RET gettimeofday 0 5538 et.x86 CALL linux_open(0x2ed330fc,0x2,0x400) 5538 et.x86 NAMI "/compat/linux/dev/zero" 5538 et.x86 NAMI "/dev/zero" 5538 et.x86 RET linux_open 7 5538 et.x86 CALL linux_mmap2(0,0x2000,0x7,0x2,0x7,0) 5538 et.x86 RET linux_mmap2 759926784/0x2d4b9000 5538 et.x86 CALL close(0x7) 5538 et.x86 RET close 0 5538 et.x86 CALL linux_mmap2(0,0x5b000,0x3,0x22,0xffffffff,0) 5538 et.x86 RET linux_mmap2 795836416/0x2f6f8000 5538 et.x86 CALL linux_getpid 5538 et.x86 RET linux_getpid 5538/0x15a2 5538 et.x86 CALL linux_getpid 5538 et.x86 RET linux_getpid 5538/0x15a2 5538 et.x86 CALL linux_modify_ldt(0x11,0xbfbfdc64,0x10) 5538 et.x86 RET linux_modify_ldt 666/0x29a 5538 et.x86 PSIG SIGSEGV caught handler=0x808c720 mask=0x0 code=0x0 I don't want to bother anyone just for a few games broken with experimental linux support, I said that in the beginning. I have a plenty of linux apps that work flawlessly and I'm fine with that. But if you see something interesting in the snippets above, that can possibly help you in fixing a few bugs in 2.6 emulation, I'll be more than happy to upload full dumps somewhere so someone can investigate. m. -- Michal Varga Stonehenge From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 24 22:32:42 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0889116A421 for ; Fri, 24 Aug 2007 22:32:42 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id B87CD13C474 for ; Fri, 24 Aug 2007 22:32:41 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 90F2F8C1888; Sat, 25 Aug 2007 00:32:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S7yulwmUPVch; Sat, 25 Aug 2007 00:32:38 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 55EFC8C1833; Sat, 25 Aug 2007 00:32:38 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l7OMWc2u041014; Sat, 25 Aug 2007 00:32:38 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 25 Aug 2007 00:32:38 +0200 From: Roman Divacky To: Michal Varga Message-ID: <20070824223238.GA40960@freebsd.org> References: <1187980530.5487.49.camel@xenon.stonehenge.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1187980530.5487.49.camel@xenon.stonehenge.sk> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org Subject: Re: ET and HOMAM3 broken with Linux 2.6 emulation [WAS: Moving to a more recent linux base, when?] 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, 24 Aug 2007 22:32:42 -0000 > Heroes of Might And Magic 3 breaks with: > 6578 heroes3 CALL linux_getppid > 6578 heroes3 RET linux_getppid 6577/0x19b1 > 6578 heroes3 CALL read(0x6,0x84784a0,0x94) > 6578 heroes3 GIO fd 6 read 148 bytes > " D@\b\0\0\0\0????????$???%\b\0006G\b\0\0\0\M^@\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ > \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ > \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 2G\b\0\0\0\0H???G\b???\M^]@\b\^X\0\0\0???\0\0\0??@\b" > 6578 heroes3 RET read 148/0x94 > 6578 heroes3 CALL linux_mmap(0x84783ec) > 6578 heroes3 RET linux_mmap -1090519040/0xbf000000 > 6578 heroes3 PSIG SIGSEGV SIG_DFL does not look 2.6 related but.. what machine is that? (there's a known TLS bug on i386) also.. does it work with 2.4? (mmap is 2.x independant) > Enemy Territory breaks with: > 5538 et.x86 CALL gettimeofday(0xbfbfdcb0,0) > 5538 et.x86 RET gettimeofday 0 > 5538 et.x86 CALL linux_open(0x2ed330fc,0x2,0x400) > 5538 et.x86 NAMI "/compat/linux/dev/zero" > 5538 et.x86 NAMI "/dev/zero" > 5538 et.x86 RET linux_open 7 > 5538 et.x86 CALL linux_mmap2(0,0x2000,0x7,0x2,0x7,0) > 5538 et.x86 RET linux_mmap2 759926784/0x2d4b9000 > 5538 et.x86 CALL close(0x7) > 5538 et.x86 RET close 0 > 5538 et.x86 CALL linux_mmap2(0,0x5b000,0x3,0x22,0xffffffff,0) > 5538 et.x86 RET linux_mmap2 795836416/0x2f6f8000 > 5538 et.x86 CALL linux_getpid > 5538 et.x86 RET linux_getpid 5538/0x15a2 > 5538 et.x86 CALL linux_getpid > 5538 et.x86 RET linux_getpid 5538/0x15a2 > 5538 et.x86 CALL linux_modify_ldt(0x11,0xbfbfdc64,0x10) > 5538 et.x86 RET linux_modify_ldt 666/0x29a > 5538 et.x86 PSIG SIGSEGV caught handler=0x808c720 mask=0x0 code=0x0 uh? this looks strange... are you sure the app uses 2.6 libc? the modify_ldt should be used only with 2.4. it might be the case that the app is trying to use statically linked old libc or something..