From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 21 11:06:53 2008 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 E6B511065671 for ; Mon, 21 Jul 2008 11:06:53 +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 C4E818FC2C for ; Mon, 21 Jul 2008 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6LB6r4h031838 for ; Mon, 21 Jul 2008 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6LB6rqT031834 for freebsd-emulation@FreeBSD.org; Mon, 21 Jul 2008 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jul 2008 11:06:53 GMT Message-Id: <200807211106.m6LB6rqT031834@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 freebsd-emulation@FreeBSD.org 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, 21 Jul 2008 11:06:54 -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/97326 emulation [linux] file descriptor leakage in linux emulation o kern/117010 emulation [linux] linux_getdents() get something like buffer ove 3 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] [request] easier wine/w23 support 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/91318 emulation [fix] graphics/linux_dri: works on amd64 too o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/122318 emulation [linux] [cmake]: Segmentation fault when running Linux o ports/123960 emulation Port fix: archivers/linux-par2cmdline - better handlin o ports/123964 emulation Mk fix: bsd.linux-rpm.mk - Handling of NOPORTDOCS 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 22 20:29:09 2008 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 7EF531065674 for ; Tue, 22 Jul 2008 20:29:09 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: from smtp109.sbc.mail.re2.yahoo.com (smtp109.sbc.mail.re2.yahoo.com [68.142.229.96]) by mx1.freebsd.org (Postfix) with SMTP id 196A38FC0A for ; Tue, 22 Jul 2008 20:29:08 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: (qmail 95719 invoked from network); 22 Jul 2008 20:02:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:Reply-To:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=vEPvSmmFdt6mxO+RH9Galn6r0A410/TkavqWP0uNLVHhH4EPp0BRgZUK6q4yOQrWWw1aYZH1szE44SZVsfX+LXFfpyhyKPwsyatrZhGID+iBB5DJFVCnsELCymLNG3CcYV9uEUfZWVgOlwNglFhhN1tErY2gNrjWii3ua97jRn0= ; Received: from unknown (HELO ?192.168.1.1?) (shild@sbcglobal.net@68.75.63.134 with login) by smtp109.sbc.mail.re2.yahoo.com with SMTP; 22 Jul 2008 20:02:28 -0000 X-YMail-OSG: 1v5IHPEVM1mktfGv_1Fg7JdsuOdeQqMPvzmuYwA2j8Q3FMVP10Z2YLhY4SeJ89Gm_lqMsgP6AgDlwMH3zDBrZ0P68wYFdCS1affw7DwyzuOLIJL0K_cDlk_zrlPyTI7J9D4- X-Yahoo-Newman-Property: ymail-3 From: "Scott T. Hildreth" To: Emulation FreeBSD Content-Type: text/plain Date: Tue, 22 Jul 2008 15:01:39 -0500 Message-Id: <1216756899.46452.165.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Wine - sound not working X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shild@sbcglobal.net List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 20:29:09 -0000 I am running the latest wine (wine-1.1.0,1) and FreeBSD 7.0 Stable. I have installed firefox with wine-doors and works great except there is now sound for videos. I have the same setup on my desktop at work, and sound works with firefox. I thought sound should just work on 7.0, but I am missing something. Any ideas? Thanks, STH From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 18:01:54 2008 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 CC9A71065671 for ; Wed, 23 Jul 2008 18:01:54 +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 8D34B8FC0A for ; Wed, 23 Jul 2008 18:01:54 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6NHopxd037713 for ; Wed, 23 Jul 2008 12:50:51 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 23 Jul 2008 12:50:51 -0500 (CDT) From: "Sean C. Farley" To: freebsd-emulation@FreeBSD.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Subject: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 18:01:54 -0000 I am seeing if anyone has any insight on this PR (kern/122318[1]). It would be nice to once again build using cmake within a Linux chroot. :) Basically, the bug is that not only that cmake is dumping core; it is also forcing the user out of the chroot environment. Here is the command used to start the chroot: /compat/linux/usr/sbin/chroot su - Thank you. Sean 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 18:08:36 2008 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 AA000106566C for ; Wed, 23 Jul 2008 18:08:36 +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 139888FC16 for ; Wed, 23 Jul 2008 18:08:36 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BCB766832B7; Wed, 23 Jul 2008 20:07:23 +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 C3oEvSz+2hhA; Wed, 23 Jul 2008 20:07:10 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D1F4267DB2A; Wed, 23 Jul 2008 20:07:09 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m6NI78NZ022928; Wed, 23 Jul 2008 20:07:08 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 23 Jul 2008 20:07:04 +0200 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20080723180704.GA22714@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-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 18:08:36 -0000 On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: > I am seeing if anyone has any insight on this PR (kern/122318[1]). It > would be nice to once again build using cmake within a Linux chroot. :) > > Basically, the bug is that not only that cmake is dumping core; it is > also forcing the user out of the chroot environment. Here is the > command used to start the chroot: > /compat/linux/usr/sbin/chroot su - > > Thank you. > > Sean > 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 is cmake threaded? From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 18:45:16 2008 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 C04031065683 for ; Wed, 23 Jul 2008 18:45:16 +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 9265F8FC08 for ; Wed, 23 Jul 2008 18:45:16 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6NIjE3c038949; Wed, 23 Jul 2008 13:45:14 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 23 Jul 2008 13:45:14 -0500 (CDT) From: "Sean C. Farley" To: Roman Divacky In-Reply-To: <20080723180704.GA22714@freebsd.org> Message-ID: References: <20080723180704.GA22714@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 18:45:16 -0000 On Wed, 23 Jul 2008, Roman Divacky wrote: > On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >> I am seeing if anyone has any insight on this PR (kern/122318[1]). >> It would be nice to once again build using cmake within a Linux >> chroot. :) >> >> Basically, the bug is that not only that cmake is dumping core; it is >> also forcing the user out of the chroot environment. Here is the >> command used to start the chroot: >> /compat/linux/usr/sbin/chroot su - > > is cmake threaded? No. ldd output from a cmake on a different system and architecture (amd64): libdl.so.2 => /lib64/libdl.so.2 (0x00000039e1e00000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003332800000) libm.so.6 => /lib64/libm.so.6 (0x00000038a1e00000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000039e3a00000) libc.so.6 => /lib64/libc.so.6 (0x00000039e1600000) /lib64/ld-linux-x86-64.so.2 (0x00000039e1200000) Oddly enough, I cannot get anything from this binary within the chroot, outside of the chroot or even on a Linux system: not a dynamic executable strace does show it loading dynamic libraries: open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib/libdl.so.2", O_RDONLY) = 3 open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3 open("/lib/libm.so.6", O_RDONLY) = 3 open("/lib/libgcc_s.so.1", O_RDONLY) = 3 open("/lib/libc.so.6", O_RDONLY) = 3 Heh. I tried to rebuild the RPM within the chroot, but it also cores during the build. Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 18:46:03 2008 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 8ECDE106566B; Wed, 23 Jul 2008 18:46:03 +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 544A98FC17; Wed, 23 Jul 2008 18:46:03 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A8F42680A5F; Wed, 23 Jul 2008 20:44:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lHs2bcIWGMbF; Wed, 23 Jul 2008 20:44:50 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 75BBD678CF1; Wed, 23 Jul 2008 20:44:50 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m6NIioq1026005; Wed, 23 Jul 2008 20:44:50 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 23 Jul 2008 20:44:50 +0200 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20080723184450.GA25356@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-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 18:46:03 -0000 On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: > I am seeing if anyone has any insight on this PR (kern/122318[1]). It > would be nice to once again build using cmake within a Linux chroot. :) > > Basically, the bug is that not only that cmake is dumping core; it is > also forcing the user out of the chroot environment. Here is the > command used to start the chroot: > /compat/linux/usr/sbin/chroot su - > > Thank you. > > Sean > 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 looking at the trace you provided I guess this is what's going on: cmake forks/execs gcc and waits to be notified about the success of the command it tried, the notification comes (the SIGCHLD) the handler tries do something and then returns and now something is wrong and it receives the SIGSEGV.. or am I wrong and linux_ktrace does not translate signals and the SIGCHLD is in fact SIGTSTP? what is the fd 3 and 4? can you provide full ktrace.out? thnx, roman From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 20:01:26 2008 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 DD1FD106567D; Wed, 23 Jul 2008 20:01:26 +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 B11148FC1C; Wed, 23 Jul 2008 20:01:26 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6NK1O2b040449; Wed, 23 Jul 2008 15:01:24 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 23 Jul 2008 15:01:24 -0500 (CDT) From: "Sean C. Farley" To: Roman Divacky In-Reply-To: <20080723184450.GA25356@freebsd.org> Message-ID: References: <20080723184450.GA25356@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 20:01:27 -0000 On Wed, 23 Jul 2008, Roman Divacky wrote: > On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >> I am seeing if anyone has any insight on this PR (kern/122318[1]). >> It would be nice to once again build using cmake within a Linux >> chroot. :) >> >> Basically, the bug is that not only that cmake is dumping core; it is >> also forcing the user out of the chroot environment. Here is the >> command used to start the chroot: >> /compat/linux/usr/sbin/chroot su - >> >> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 > > looking at the trace you provided I guess this is what's going on: > > cmake forks/execs gcc and waits to be notified about the success of > the command it tried, the notification comes (the SIGCHLD) the handler > tries do something and then returns and now something is wrong and it > receives the SIGSEGV.. > > or am I wrong and linux_ktrace does not translate signals and the > SIGCHLD is in fact SIGTSTP? > > what is the fd 3 and 4? can you provide full ktrace.out? I have the full output of the execution here using ktrace -d: http://www.farley.org/freebsd/tmp/cmake-kdump.txt Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 20:22:42 2008 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 2884C1065672 for ; Wed, 23 Jul 2008 20:22:42 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 2601D8FC17 for ; Wed, 23 Jul 2008 20:22:40 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1705526mue.3 for ; Wed, 23 Jul 2008 13:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=HA2FqpvdYgAmeFuHC8CnKIy+6wyMjd5wsTUgCWwSW0s=; b=o1sGX9dvpdzf3fSL5gsknybCAxC4OOB/EC82nArvu1zF7x3t1Ys4KMuD2gimO9nB4m afU/XadshjDWDhk5U2rCY8Zxs6O4hoZZgy242QOUDXmQWjGXCqvqVdFEdTUT6+0VsWUB BBRUXwx9BxDTIL6ww7oxMXryXvcQMr0bemC/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=ZieI65jljEzrjFR5DExyiETzVZNqNb6A+aD+Cbe+v8K9Fe2PNshV74u1QzfvKkpe+o dzm7//xTPcqBBzCbhPBEtMecpykYKK5BQDT1dSr1Xv+W2lBVDo88HU2pMmAW4bIg39rQ OYCRNBfnvnA3ojihYrTzW5cXuE4mi4pAVZLTI= Received: by 10.103.251.2 with SMTP id d2mr132975mus.88.1216844558655; Wed, 23 Jul 2008 13:22:38 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id j10sm668120mue.6.2008.07.23.13.22.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Jul 2008 13:22:37 -0700 (PDT) Date: Thu, 24 Jul 2008 00:20:54 +0400 (MSD) To: "Sean C. Farley" In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 20:22:42 -0000 On Wed, 23 Jul 2008, Sean C. Farley wrote: > On Wed, 23 Jul 2008, Roman Divacky wrote: > >> On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >>> I am seeing if anyone has any insight on this PR (kern/122318[1]). >>> It would be nice to once again build using cmake within a Linux >>> chroot. :) >>> >>> Basically, the bug is that not only that cmake is dumping core; it is >>> also forcing the user out of the chroot environment. Here is the >>> command used to start the chroot: >>> /compat/linux/usr/sbin/chroot su - >>> >>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 >> >> looking at the trace you provided I guess this is what's going on: >> >> cmake forks/execs gcc and waits to be notified about the success of >> the command it tried, the notification comes (the SIGCHLD) the handler >> tries do something and then returns and now something is wrong and it >> receives the SIGSEGV.. >> >> or am I wrong and linux_ktrace does not translate signals and the >> SIGCHLD is in fact SIGTSTP? >> >> what is the fd 3 and 4? can you provide full ktrace.out? > > I have the full output of the execution here using ktrace -d: > http://www.farley.org/freebsd/tmp/cmake-kdump.txt > > Sean > hi! Please, can you run ktrace with -i flag? thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 23 21:19:18 2008 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 7CB181065672; Wed, 23 Jul 2008 21:19:18 +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 4CD368FC0A; Wed, 23 Jul 2008 21:19:18 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6NLJGCQ041783; Wed, 23 Jul 2008 16:19:16 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 23 Jul 2008 16:19:16 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Roman Divacky , freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 23 Jul 2008 21:19:18 -0000 On Thu, 24 Jul 2008, Chagin Dmitry wrote: > On Wed, 23 Jul 2008, Sean C. Farley wrote: >> On Wed, 23 Jul 2008, Roman Divacky wrote: >>> On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >>>> I am seeing if anyone has any insight on this PR (kern/122318[1]). >>>> It would be nice to once again build using cmake within a Linux >>>> chroot. :) >>>> >>>> Basically, the bug is that not only that cmake is dumping core; it >>>> is also forcing the user out of the chroot environment. Here is >>>> the command used to start the chroot: >>>> /compat/linux/usr/sbin/chroot su - >>>> >>>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 >>> >>> looking at the trace you provided I guess this is what's going on: >>> >>> cmake forks/execs gcc and waits to be notified about the success of >>> the command it tried, the notification comes (the SIGCHLD) the >>> handler tries do something and then returns and now something is >>> wrong and it receives the SIGSEGV.. >>> >>> or am I wrong and linux_ktrace does not translate signals and the >>> SIGCHLD is in fact SIGTSTP? >>> >>> what is the fd 3 and 4? can you provide full ktrace.out? >> >> I have the full output of the execution here using ktrace -d: >> http://www.farley.org/freebsd/tmp/cmake-kdump.txt > > hi! > > Please, can you run ktrace with -i flag? > > thnx! No problem. Same URL. The countless meetings this week are destroying my mind; I was thinking -d did what -i actually does. :) Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 06:31:52 2008 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 B30FF106567A for ; Thu, 24 Jul 2008 06:31:52 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2439A8FC0A for ; Thu, 24 Jul 2008 06:31:51 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so2526492ika.3 for ; Wed, 23 Jul 2008 23:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:message-id :user-agent:mime-version:content-type:from; bh=2xSsDLicKnh4p1htT9skLyYB0djIkFq+lRF8yHQzVRo=; b=HDvyqVBLJS4a5GAFQkW868qDU3wzkqPGnUTYSWO2vRawTHWVtClleuk1O/R/nRpfIK wyAf982PpH+AfyBUuoOKe1rZ5X7hiMDWiuOnD5IP+Nr9KNpUL7XujrKhLMuPLzThvva1 hMGn5UhyvCca1q/3E4uxlg5kN5tmBS8hZg5uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:user-agent:mime-version:content-type :from; b=WG+zmaEFowduSKCSI59o6bvM8cPo56ceBPzM1EYmLgPFYNGNtwYalbSaW7qzeIOVRH Em6G2ih6BJ16GNvv78eQYvu8hbpKPg4fBd1+pzpJk1GdGOwJNBOb+J/ryoBTpIzV33qo Hsc6WGbWbivrYx+pRpjH4z965AUcYKzMCDtuQ= Received: by 10.210.74.17 with SMTP id w17mr806708eba.189.1216881110905; Wed, 23 Jul 2008 23:31:50 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id c24sm12575185ika.4.2008.07.23.23.31.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Jul 2008 23:31:50 -0700 (PDT) Date: Thu, 24 Jul 2008 10:30:41 +0400 (MSD) To: freebsd-emulation@freebsd.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII From: Chagin Dmitry Subject: linuxulator64 status 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, 24 Jul 2008 06:31:52 -0000 hi! I'm not subscribed on fbsd-current@, therefore I shall answer here... It is possible to tell that it works, now I investigate LTP results and search that does not work. ps. signals, dynamic loading of libs works. 100% know that there are problems with getdents syscall, at least at x86_64. If somebody is interesting, I shall prepare a patch and necessary packages (linux_base, linux_dev, linux_kdump for x86_64). thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 07:47:33 2008 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 25ADB1065676 for ; Thu, 24 Jul 2008 07:47:33 +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 A57018FC17 for ; Thu, 24 Jul 2008 07:47:32 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5687A.dip.t-dialin.net [84.165.104.122]) by redbull.bpaserver.net (Postfix) with ESMTP id 165292E0E5; Thu, 24 Jul 2008 09:47:29 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 328AE92E8F; Thu, 24 Jul 2008 09:47:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1216885637; bh=8uIG+3CNRIz4fOqPf1AU6uJdHuC1QArjj q7ugBY/SFc=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dxO3iZWBXJbPhlawvd7su9RXotNIeAbxjLMzMTlYQiuZ+xDUGDMtdANOB8wNX8cqT fHDHQNM3oTRLLfHanrhPQ0iYKVkWg6ukDWo7+yTjXwfBgKCxJKCUORjyKpoOCY9crpf QZYr82GJnPzj7Ecxwf7o1EVu9tZpwiHiZmEROvrtDADn4OHIifLRl3PXscD3FwsQZz8 jkAp1uxgvOcpAgjwaZ/QSE4HFcug4FwdOhmappotUOh92DGxQJiNwo6TlF3QfTRUlkO M4vOulkp7/h6FUhpASroWtT//1KTrqrMY4VH69HuL+9ss5IpvbDro1AXbHYkDwT1Jep rrsRG5p5Q== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m6O7lGIB010024; Thu, 24 Jul 2008 09:47:16 +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 Framework) with HTTP; Thu, 24 Jul 2008 09:47:16 +0200 Message-ID: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 24 Jul 2008 09:47:16 +0200 From: "Alexander Leidinger" To: "Chagin Dmitry" References: In-Reply-To: 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.2) / FreeBSD-8.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, ORDB-RBL, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.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 Subject: Re: linuxulator64 status 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, 24 Jul 2008 07:47:33 -0000 Quoting "Chagin Dmitry" (from Thu, 24 Jul =20 2008 10:30:41 +0400 (MSD)): > > hi! > I'm not subscribed on fbsd-current@, therefore I shall answer here... > > It is possible to tell that it works, now I investigate LTP results =20 > and search that does not work. Congrats! You know about http://wiki.freebsd.org/linux-kernel/ and =20 linux-kernel/ltp? If yes, do you want write access? Do you think you are at a stage where you can provide a patch for =20 users to test (I don't have a 64bit system, so it's not for me)? > ps. signals, dynamic loading of libs works. > 100% know that there are problems with getdents syscall, at least at x86_6= 4. I think the problem is not only there... > If somebody is interesting, I shall prepare a patch and necessary =20 > packages (linux_base, linux_dev, linux_kdump for x86_64). For the ports stuff please coordinate with bsam@, he already has =20 patches for all other supported architectures. Bye, Alexander. --=20 A key to the understanding of all religions is that a God's idea of a good time is a game of Snakes and Ladders with greased rungs. 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 Jul 24 08:38:57 2008 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 A5C331065678 for ; Thu, 24 Jul 2008 08:38:57 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 15E1C8FC0A for ; Thu, 24 Jul 2008 08:38:56 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1242064nfh.33 for ; Thu, 24 Jul 2008 01:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=46vsTfkPtlqHNOijqmPtZxB2dDba8aMlO2pM+netM3E=; b=cqQE8wchoj5BRtCa6cwGAh9Bfct28dY5c+h5Mbg+BljoJ4sg93m+eVLGAwnKwn/zPS uMr926KZXBTQ+F3pGa2CQCK6rRXu/bIK7MRd+gp1Ke6amxTMZ1TRCENACY2JUaIdWXoI hDmkCK/w/6vTqu61kq+qFWKY8bSGvDfBbQD4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=HZmleZDjmvO+x5kMlGfnfLi8SL2MvQnlhqPrNHRyKnMwjl+krEvNpPV7wf7W/+oEAI hngwGfcmw6y1cTqbKl1eP1tpjeuEwM2Uy/UzHemj2I6BArvPfSCe440vLgRvx9nc0F8D Lv/cI4ZYsOCG3Tn6hsmFFjsGB+iCIJyXVvJ5o= Received: by 10.210.49.19 with SMTP id w19mr18157ebw.11.1216888735767; Thu, 24 Jul 2008 01:38:55 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id z33sm12777950ikz.0.2008.07.24.01.38.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 01:38:55 -0700 (PDT) Date: Thu, 24 Jul 2008 12:37:47 +0400 (MSD) To: Alexander Leidinger In-Reply-To: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> Message-ID: References: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: linuxulator64 status 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, 24 Jul 2008 08:38:57 -0000 On Thu, 24 Jul 2008, Alexander Leidinger wrote: > Quoting "Chagin Dmitry" (from Thu, 24 Jul 2008 > 10:30:41 +0400 (MSD)): > >> >> hi! >> I'm not subscribed on fbsd-current@, therefore I shall answer here... >> >> It is possible to tell that it works, now I investigate LTP results and >> search that does not work. > > Congrats! You know about http://wiki.freebsd.org/linux-kernel/ and > linux-kernel/ltp? If yes, do you want write access? Yes, I know. If it is possible, I could store results of tests there > > Do you think you are at a stage where you can provide a patch for users to > test (I don't have a 64bit system, so it's not for me)? > just for developers. >> ps. signals, dynamic loading of libs works. >> 100% know that there are problems with getdents syscall, at least at >> x86_64. > > I think the problem is not only there... > Certainly, I write only about those that I know. >> If somebody is interesting, I shall prepare a patch and necessary packages >> (linux_base, linux_dev, linux_kdump for x86_64). > > For the ports stuff please coordinate with bsam@, he already has patches for > all other supported architectures. > ok. thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 08:48:20 2008 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 DAB3A1065670 for ; Thu, 24 Jul 2008 08:48:20 +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 740FC8FC13 for ; Thu, 24 Jul 2008 08:48:20 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8C44A68A1BD; Thu, 24 Jul 2008 10:47:07 +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 m0f84HbGzdDw; Thu, 24 Jul 2008 10:47:06 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8A1D9689A4C; Thu, 24 Jul 2008 10:47:06 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m6O8l68Q092987; Thu, 24 Jul 2008 10:47:06 +0200 (CEST) (envelope-from rdivacky) Date: Thu, 24 Jul 2008 10:47:06 +0200 From: Roman Divacky To: Chagin Dmitry Message-ID: <20080724084705.GA92703@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-emulation@freebsd.org Subject: Re: linuxulator64 status 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, 24 Jul 2008 08:48:20 -0000 On Thu, Jul 24, 2008 at 10:30:41AM +0400, Chagin Dmitry wrote: > > hi! > I'm not subscribed on fbsd-current@, therefore I shall answer here... > > It is possible to tell that it works, now I investigate LTP results and > search that does not work. > > ps. signals, dynamic loading of libs works. > 100% know that there are problems with getdents syscall, at least at > x86_64. I recall you telling me about glibc using getdents as readdir or something like that.. have you progressed on this front? I am more than willing to join you in trying to see whats going on if this is the main obstacle on getting linuxulator64 commited... I hope we can prepare a set of patches to commit to -current so it gets integrated. I propose to make another branch devoted to integrating your work to -current roman From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 09:08:02 2008 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 65CFE1065673 for ; Thu, 24 Jul 2008 09:08:02 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id EECFE8FC18 for ; Thu, 24 Jul 2008 09:08:01 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so1108220wra.27 for ; Thu, 24 Jul 2008 02:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=njMCdJVVsDgPIlIpUbbyFrXsg/Cu2vfNdj9SeOqFymI=; b=aOswWi6mJfJw/NyAnmHLyFbIi/EQ1imbPzFWa77JSN7X1iMpsDTJQ7HCem03uipiGW ygc0UxRGOyfOA01Y2vakOvGjuBhot7cPCHfUkImWpfMn/0mKZ3alDEfG6TcLQTWuJBaV ma2MR9FBxXKPZxjRdZNH65rK0CZtRjbPTob6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=tDcqLlNRv7hT1uYjZRhNItufk64yMy+/XrxRwJjjpQqmAZ4533l+T2BgUc9jFdtBGy 1XSt4sU7AQicMll3+5Ocw5QZUY9Dx/kG3ZWlHv3FcPLhmqaF64l96VNaIDInx1xfxXti LYnV4s6cMeJ6SWkQsTExevydAs5CNtkRLABFs= Received: by 10.90.87.7 with SMTP id k7mr33995agb.47.1216890481249; Thu, 24 Jul 2008 02:08:01 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id o61sm5842238hsc.17.2008.07.24.02.07.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 02:08:00 -0700 (PDT) Date: Thu, 24 Jul 2008 13:06:49 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080724084705.GA92703@freebsd.org> Message-ID: References: <20080724084705.GA92703@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: linuxulator64 status 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, 24 Jul 2008 09:08:02 -0000 On Thu, 24 Jul 2008, Roman Divacky wrote: > On Thu, Jul 24, 2008 at 10:30:41AM +0400, Chagin Dmitry wrote: >> >> hi! >> I'm not subscribed on fbsd-current@, therefore I shall answer here... >> >> It is possible to tell that it works, now I investigate LTP results and >> search that does not work. >> >> ps. signals, dynamic loading of libs works. >> 100% know that there are problems with getdents syscall, at least at >> x86_64. > > I recall you telling me about glibc using getdents as readdir or something > like that.. have you progressed on this front? > Yesterday I tried to compile glibc-2.7 in x86_64 emulation, look that happens: *** glibc detected *** gmake: double free or corruption (!prev): 0x0000000000693 d20 *** ======= Backtrace: ========= /lib64/libc.so.6[0x8008b4832] /lib64/libc.so.6(cfree+0x8c)[0x8008b7f2c] gmake[0x41d463] gmake[0x4045d9] gmake[0x404e3f] gmake[0x4082b7] Below a piece of ktrace dump: 29143 make CALL linux_open(0x7fffffffc9d0,O_NONBLOCK|O_DIRECTORY|O_CLOEXEC ,0x62fd70) 29143 make NAMI "string" 29143 make RET linux_open 5 29143 make CALL linux_newfstat(0x5,0x7fffffffc7d0) 29143 make STRU struct stat {dev=98, ino=3203960, mode=drwxrwxr-x , nlink= 3, uid=500, gid=500, rdev=12856072, atime=1216839073, stime=1192706475, ctime=12 16833980, birthtime=1192706475, size=3072, blksize=4096, blocks=8, flags=0x0 } 29143 make RET linux_newfstat 0 29143 make CALL linux_fcntl(0x5,F_SETFD,FD_CLOEXEC) 29143 make RET linux_fcntl 0 29143 make CALL linux_getdents(0x5,0x692e78,0x1000) !29143 make RET linux_getdents 4096/0x1000 29143 make CALL linux_open(0x80096312c,O_RDWR|O_NOCTTY|O_NONBLOCK,0x12) 29143 make NAMI "/compat/linux/dev/tty" 29143 make NAMI "/dev/tty" 29143 make RET linux_open 6 29143 make CALL writev(0x6,0x7fffffffbf60,0x7) 29143 make GIO fd 6 wrote 109 bytes "*** glibc detected *** /compat/linux/usr/bin/make: double free or corr\ uption (!prev): 0x0000000000693e80 *** getdents must be called at least twice, the last getdents call must return 0. You can try this on i386 :) > I am more than willing to join you in trying to see whats going on if this > is the main obstacle on getting linuxulator64 commited... > > I hope we can prepare a set of patches to commit to -current so it gets > integrated. I propose to make another branch devoted to integrating your > work to -current > -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 15:58:13 2008 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 5EEF9106567E for ; Thu, 24 Jul 2008 15:58:13 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 128EF8FC14 for ; Thu, 24 Jul 2008 15:58:12 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1097944ywe.13 for ; Thu, 24 Jul 2008 08:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:user-agent:mime-version :content-type:content-transfer-encoding:x-priority:importance:sender; bh=GsmbavCjeGHm0MgAx/Cag8yYt8j7QZ+2CvgE2Lt2Dw8=; b=a4UF77UrD3Z0hw08VMfRIFLdkKQ2TLMKFS2hz3lW4wgMSeWm0lqKqXVtvKywPtPp+k 5QqZYFZs5t4JttwPhGJgIAE9BnfbRsTcw3Ibc1HcAi+FcUejRqLRH3o4/CJlDm5aLGKe wYRTpKorB6FkEbld7oVOdnfY7qFyYGwUHprzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance:sender; b=io7yB6KbmoezttkKxg9EZziaqEEmtMR2fRDvoh2P+ty5ko8wMj+0FSj+bu7vkAhsZB d8pyZ/Do3guSGacWniKvOHVtvWVj+/ZLPWXjKDmNKf7ntlYey/2MKS4ljV/8QJEsO2+s evSVTi1mz+r/a9SfqFqv4jdE0+tXQgXe4bPqI= Received: by 10.114.210.2 with SMTP id i2mr567329wag.18.1216913421019; Thu, 24 Jul 2008 08:30:21 -0700 (PDT) Received: from cygnus.homeunix.com ( [189.71.68.87]) by mx.google.com with ESMTPS id 8sm125231ywg.6.2008.07.24.08.30.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 08:30:20 -0700 (PDT) Received: by cygnus.homeunix.com (Postfix, from userid 80) id 4AA14120; Thu, 24 Jul 2008 12:30:15 -0300 (BRT) Received: from 200.252.157.118 (proxying for 10.12.1.211, 10.12.1.3) (SquirrelMail authenticated user matheus@eternamente.info) by cygnus.homeunix.com with HTTP; Thu, 24 Jul 2008 12:30:15 -0300 (BRT) Message-ID: <7ba32dd4cab3b0423dd90f71436e7546.squirrel@cygnus.homeunix.com> In-Reply-To: References: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> Date: Thu, 24 Jul 2008 12:30:15 -0300 (BRT) From: "Nenhum_de_Nos" To: freebsd-emulation@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Nenhum_de_Nos Subject: Re: linuxulator64 status 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, 24 Jul 2008 15:58:13 -0000 On Thu, July 24, 2008 05:37, Chagin Dmitry wrote: > On Thu, 24 Jul 2008, Alexander Leidinger wrote: > >> Quoting "Chagin Dmitry" (from Thu, 24 Jul 2008 >> 10:30:41 +0400 (MSD)): >> >>> >>> hi! >>> I'm not subscribed on fbsd-current@, therefore I shall answer here... >>> >>> It is possible to tell that it works, now I investigate LTP results and >>> search that does not work. >> >> Congrats! You know about http://wiki.freebsd.org/linux-kernel/ and >> linux-kernel/ltp? If yes, do you want write access? > > Yes, I know. If it is possible, I could store results of tests there > >> >> Do you think you are at a stage where you can provide a patch for users >> to >> test (I don't have a 64bit system, so it's not for me)? >> > > just for developers. as I'm not a FreeBSD developer. well, this may not be for me and I may be bothering some of you guys, but if all these patches and ports stuff is able or quite to run F@H I may test it. well, if so, mail me (list or not), if not, I wont bother you guys again :) thanks, matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 20:02:09 2008 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 6A4631065682 for ; Thu, 24 Jul 2008 20:02:09 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id F0BFA8FC1E for ; Thu, 24 Jul 2008 20:02:08 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1395410nfh.33 for ; Thu, 24 Jul 2008 13:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=py3rmb8TUPRUAVQcbj+JmjEAy9bcwB/OTAiJe2ObGcQ=; b=axNRekPzILkYwNQhtdB6l+md40/FI7qL9P6iiAzzZOCd7VO5LLB1gd2rXI69sIUFMn I8AE2noR+85U1Bkcq64cWL3uI3LUYQFbKpZgb+u8+am9hnDaUOqaIRYGYJI13rMSBGXQ 4AgQAOX4afu8SEKpacfQqbDRypYSt4mm6Uup4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=lVIMSF8sDTItF6SSXVpmeHqlaN20BW2KqMidle7oLpmD79dOKpd8sLwOGSV/MXBZlb 1+vLT/NnHwx24RJPDoc99AXhf52j/lJiSdIYiSoc7NDi3zhMFLinHH/zlj7qv4GX7wgE rUMOJDagc8h9H/EHI1WdXWdGW6P60PsB7ZVN4= Received: by 10.102.253.13 with SMTP id a13mr370950mui.111.1216929727176; Thu, 24 Jul 2008 13:02:07 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id y2sm62777627mug.1.2008.07.24.13.02.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 13:02:06 -0700 (PDT) Date: Fri, 25 Jul 2008 00:01:01 +0400 (MSD) To: Nenhum_de_Nos In-Reply-To: <7ba32dd4cab3b0423dd90f71436e7546.squirrel@cygnus.homeunix.com> Message-ID: References: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> <7ba32dd4cab3b0423dd90f71436e7546.squirrel@cygnus.homeunix.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org Subject: Re: linuxulator64 status 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, 24 Jul 2008 20:02:09 -0000 On Thu, 24 Jul 2008, Nenhum_de_Nos wrote: > > On Thu, July 24, 2008 05:37, Chagin Dmitry wrote: >> On Thu, 24 Jul 2008, Alexander Leidinger wrote: >> >>> Quoting "Chagin Dmitry" (from Thu, 24 Jul 2008 >>> 10:30:41 +0400 (MSD)): >>> >>>> >>>> hi! >>>> I'm not subscribed on fbsd-current@, therefore I shall answer here... >>>> >>>> It is possible to tell that it works, now I investigate LTP results and >>>> search that does not work. >>> >>> Congrats! You know about http://wiki.freebsd.org/linux-kernel/ and >>> linux-kernel/ltp? If yes, do you want write access? >> >> Yes, I know. If it is possible, I could store results of tests there >> >>> >>> Do you think you are at a stage where you can provide a patch for users >>> to >>> test (I don't have a 64bit system, so it's not for me)? >>> >> >> just for developers. > > as I'm not a FreeBSD developer. > > well, this may not be for me and I may be bothering some of you guys, but > if all these patches and ports stuff is able or quite to run F@H I may > test it. > > well, if so, mail me (list or not), if not, I wont bother you guys again :) > I speak about skills of programming, not about fbsd-hackers :) thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 24 20:05:10 2008 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 418431065679 for ; Thu, 24 Jul 2008 20:05:10 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id E86CC8FC16 for ; Thu, 24 Jul 2008 20:05:09 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so2245410pyb.10 for ; Thu, 24 Jul 2008 13:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:message-id :in-reply-to:references:date:subject:from:to:cc:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance:sender; bh=vgnRr+zpLVfAekhEZXuqucXb6kYoE64+dyCd3fQTCRo=; b=GwTCzTMLsgwGKU6RokA7/EnOMr/gZNeBMuvzm+56nk94MPKteWDmKhhqj9BtfyQO01 Y2gFNFd5c3DVwMsm3xdeg4a3eg/xemI4it415rS5o+SNF4K/WDF6sOxY1Z/FKWybYu5j YCYjrKLKJKiGzQNWkaThKfOvD4DTukZE/D6NU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:date:subject:from:to:cc :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance:sender; b=YMfevf0uR13kok65EqFG+gHHH3nTrhIxv4cqRyqBBnZx206n3Kq9BdBQlMTi1FdlJe OOWRby1iRkbz9bHFbK+g60IeyOy5dX1LotIumHFlfsPEez81m905BuSl0UN8ZPgFnnoG WNJuu9nUDmdDWWnp1Y/b5uhGqW/0ciIE1kI70= Received: by 10.64.213.8 with SMTP id l8mr1239992qbg.71.1216929908547; Thu, 24 Jul 2008 13:05:08 -0700 (PDT) Received: from cygnus.homeunix.com ( [189.71.78.134]) by mx.google.com with ESMTPS id k29sm12606103qba.7.2008.07.24.13.05.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 13:05:06 -0700 (PDT) Received: by cygnus.homeunix.com (Postfix, from userid 80) id C4548121; Thu, 24 Jul 2008 17:05:00 -0300 (BRT) Received: from 200.252.157.118 (proxying for 10.12.1.211, 10.12.1.3) (SquirrelMail authenticated user matheus@eternamente.info) by cygnus.homeunix.com with HTTP; Thu, 24 Jul 2008 17:05:00 -0300 (BRT) Message-ID: <42c25619640bff177deb9aaf54f12c4b.squirrel@cygnus.homeunix.com> In-Reply-To: References: <20080724094716.14505b96mmgg574s@webmail.leidinger.net> <7ba32dd4cab3b0423dd90f71436e7546.squirrel@cygnus.homeunix.com> Date: Thu, 24 Jul 2008 17:05:00 -0300 (BRT) From: "Nenhum_de_Nos" To: "Chagin Dmitry" User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Nenhum_de_Nos Cc: freebsd-emulation@freebsd.org Subject: Re: linuxulator64 status 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, 24 Jul 2008 20:05:10 -0000 On Thu, July 24, 2008 17:01, Chagin Dmitry wrote: > On Thu, 24 Jul 2008, Nenhum_de_Nos wrote: > >> >> On Thu, July 24, 2008 05:37, Chagin Dmitry wrote: >>> On Thu, 24 Jul 2008, Alexander Leidinger wrote: >>> >>>> Quoting "Chagin Dmitry" (from Thu, 24 Jul >>>> 2008 >>>> 10:30:41 +0400 (MSD)): >>>> >>>>> >>>>> hi! >>>>> I'm not subscribed on fbsd-current@, therefore I shall answer here... >>>>> >>>>> It is possible to tell that it works, now I investigate LTP results >>>>> and >>>>> search that does not work. >>>> >>>> Congrats! You know about http://wiki.freebsd.org/linux-kernel/ and >>>> linux-kernel/ltp? If yes, do you want write access? >>> >>> Yes, I know. If it is possible, I could store results of tests there >>> >>>> >>>> Do you think you are at a stage where you can provide a patch for >>>> users >>>> to >>>> test (I don't have a 64bit system, so it's not for me)? >>>> >>> >>> just for developers. >> >> as I'm not a FreeBSD developer. >> >> well, this may not be for me and I may be bothering some of you guys, >> but >> if all these patches and ports stuff is able or quite to run F@H I may >> test it. >> >> well, if so, mail me (list or not), if not, I wont bother you guys again >> :) >> > > I speak about skills of programming, not about fbsd-hackers :) > > thnx! > > -- > Have fun! > chd hehe ok, but I'm not a skilled programmer also :( even though I plan to someday :) matheus -- We will call you cygnus, The God of balance you shall be From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 07:00:16 2008 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 7A15E106568B for ; Fri, 25 Jul 2008 07:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 211EF8FC1E for ; Fri, 25 Jul 2008 07:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6P70Faw036133 for ; Fri, 25 Jul 2008 07:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6P70FSF036132; Fri, 25 Jul 2008 07:00:15 GMT (envelope-from gnats) Date: Fri, 25 Jul 2008 07:00:15 GMT Message-Id: <200807250700.m6P70FSF036132@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Chagin Dmitry Cc: Subject: Re: kern/117010: [linux] linux_getdents() get somethinng like buffer overflow X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chagin Dmitry List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2008 07:00:16 -0000 The following reply was made to PR kern/117010; it has been noted by GNATS. From: Chagin Dmitry To: bug-followup@freebsd.org, samflanker@gmail.com Cc: Subject: Re: kern/117010: [linux] linux_getdents() get somethinng like buffer overflow Date: Fri, 25 Jul 2008 10:22:46 +0400 (MSD) Please, try a patch below: diff --git a/src/sys/compat/linux/linux_file.c b/src/sys/compat/linux/linux_file index 303bc3f..d88f95f 100644 --- a/src/sys/compat/linux/linux_file.c +++ b/src/sys/compat/linux/linux_file.c @@ -303,8 +303,8 @@ struct l_dirent64 { char d_name[LINUX_NAME_MAX + 1]; }; -#define LINUX_RECLEN(de,namlen) \ - ALIGN((((char *)&(de)->d_name - (char *)de) + (namlen) + 1)) +#define LINUX_RECLEN(de,namlen,trail) \ + ALIGN((((char *)&(de)->d_name - (char *)de) + (namlen) + trail)) #define LINUX_DIRBLKSIZ 512 @@ -436,8 +436,8 @@ again: } linuxreclen = (is64bit) - ? LINUX_RECLEN(&linux_dirent64, bdp->d_namlen) - : LINUX_RECLEN(&linux_dirent, bdp->d_namlen); + ? LINUX_RECLEN(&linux_dirent64, bdp->d_namlen, 1) + : LINUX_RECLEN(&linux_dirent, bdp->d_namlen, 2); if (reclen > len || resid < linuxreclen) { outp++; it solves getdents() problem (at least at x86_64 emulation with linux_base-f8) ps, be not bared, linux really has such features... thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 08:23:15 2008 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 A1005106566C; Fri, 25 Jul 2008 08:23:15 +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 46B098FC31; Fri, 25 Jul 2008 08:23:14 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DC8E36814CC; Fri, 25 Jul 2008 10:21:59 +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 jqUfSomlZnq3; Fri, 25 Jul 2008 10:21:57 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 48BD067E677; Fri, 25 Jul 2008 10:21:57 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m6P8LuAb042137; Fri, 25 Jul 2008 10:21:56 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 25 Jul 2008 10:21:56 +0200 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20080725082156.GA41887@freebsd.org> References: <20080723184450.GA25356@freebsd.org> 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-emulation@FreeBSD.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 08:23:15 -0000 On Wed, Jul 23, 2008 at 04:19:16PM -0500, Sean C. Farley wrote: > On Thu, 24 Jul 2008, Chagin Dmitry wrote: > > >On Wed, 23 Jul 2008, Sean C. Farley wrote: > >>On Wed, 23 Jul 2008, Roman Divacky wrote: > >>>On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: > >>>>I am seeing if anyone has any insight on this PR (kern/122318[1]). > >>>>It would be nice to once again build using cmake within a Linux > >>>>chroot. :) > >>>> > >>>>Basically, the bug is that not only that cmake is dumping core; it > >>>>is also forcing the user out of the chroot environment. Here is > >>>>the command used to start the chroot: > >>>>/compat/linux/usr/sbin/chroot su - > >>>> > >>>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 > >>> > >>>looking at the trace you provided I guess this is what's going on: > >>> > >>>cmake forks/execs gcc and waits to be notified about the success of > >>>the command it tried, the notification comes (the SIGCHLD) the > >>>handler tries do something and then returns and now something is > >>>wrong and it receives the SIGSEGV.. > >>> > >>>or am I wrong and linux_ktrace does not translate signals and the > >>>SIGCHLD is in fact SIGTSTP? > >>> > >>>what is the fd 3 and 4? can you provide full ktrace.out? > >> > >>I have the full output of the execution here using ktrace -d: > >>http://www.farley.org/freebsd/tmp/cmake-kdump.txt > > > >hi! > > > >Please, can you run ktrace with -i flag? > > > >thnx! > > No problem. Same URL. The countless meetings this week are destroying > my mind; I was thinking -d did what -i actually does. :) the cmake opens: 18279 ld CALL linux_open(0x7fffffffe5b4,0,0x1b6) 18279 ld NAMI "/usr/lib/crtend.o" 18279 ld RET linux_open 3 which is obviously wrong and probably causes the regression.. how is this possible I dont know. anyway, the trace is all strange... 1) it uses getpmsg/putpmsg which are unimplemented (hows that it work? does it work or just pretends to?) 2) what is this? 18267 gmake CALL [417](0x7fffffffcf90) 18267 gmake RET [417] JUSTRETURN 18267 gmake CALL linux_waitpid(0xffffffff,0x7fffffffd3f4,0,0) 18267 gmake RET linux_waitpid 18277/0x4765 18267 gmake CALL [340](0x1,0x529d90,0) 18267 gmake RET [340] 0 18267 gmake CALL [340](0x3,0x7fffffffd3c0,0) 18267 gmake RET [340] 0 anyway, try to investigate why the cmake does not open crtend.o under /compat but uses fbsd one, that should fix the proble I believe thnx! roman From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 08:32:37 2008 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 08E70106566B; Fri, 25 Jul 2008 08:32:37 +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 8D7B18FC13; Fri, 25 Jul 2008 08:32:36 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 37D7C682078; Fri, 25 Jul 2008 10:31:24 +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 Wrp9OSG7GCxM; Fri, 25 Jul 2008 10:31:22 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 83069681899; Fri, 25 Jul 2008 10:31:22 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m6P8VMho042894; Fri, 25 Jul 2008 10:31:22 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 25 Jul 2008 10:31:22 +0200 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20080725083122.GA42835@freebsd.org> References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080725082156.GA41887@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@FreeBSD.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 08:32:37 -0000 On Fri, Jul 25, 2008 at 10:21:56AM +0200, Roman Divacky wrote: > On Wed, Jul 23, 2008 at 04:19:16PM -0500, Sean C. Farley wrote: > > On Thu, 24 Jul 2008, Chagin Dmitry wrote: > > > > >On Wed, 23 Jul 2008, Sean C. Farley wrote: > > >>On Wed, 23 Jul 2008, Roman Divacky wrote: > > >>>On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: > > >>>>I am seeing if anyone has any insight on this PR (kern/122318[1]). > > >>>>It would be nice to once again build using cmake within a Linux > > >>>>chroot. :) > > >>>> > > >>>>Basically, the bug is that not only that cmake is dumping core; it > > >>>>is also forcing the user out of the chroot environment. Here is > > >>>>the command used to start the chroot: > > >>>>/compat/linux/usr/sbin/chroot su - > > >>>> > > >>>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 > > >>> > > >>>looking at the trace you provided I guess this is what's going on: > > >>> > > >>>cmake forks/execs gcc and waits to be notified about the success of > > >>>the command it tried, the notification comes (the SIGCHLD) the > > >>>handler tries do something and then returns and now something is > > >>>wrong and it receives the SIGSEGV.. > > >>> > > >>>or am I wrong and linux_ktrace does not translate signals and the > > >>>SIGCHLD is in fact SIGTSTP? > > >>> > > >>>what is the fd 3 and 4? can you provide full ktrace.out? > > >> > > >>I have the full output of the execution here using ktrace -d: > > >>http://www.farley.org/freebsd/tmp/cmake-kdump.txt > > > > > >hi! > > > > > >Please, can you run ktrace with -i flag? > > > > > >thnx! > > > > No problem. Same URL. The countless meetings this week are destroying > > my mind; I was thinking -d did what -i actually does. :) > > the cmake opens: > > 18279 ld CALL linux_open(0x7fffffffe5b4,0,0x1b6) > 18279 ld NAMI "/usr/lib/crtend.o" > 18279 ld RET linux_open 3 > > which is obviously wrong and probably causes the regression.. how is this possible I dont > know. > > anyway, the trace is all strange... > > 1) it uses getpmsg/putpmsg which are unimplemented (hows that it work? does it > work or just pretends to?) > > 2) what is this? > > 18267 gmake CALL [417](0x7fffffffcf90) > 18267 gmake RET [417] JUSTRETURN > 18267 gmake CALL linux_waitpid(0xffffffff,0x7fffffffd3f4,0,0) > 18267 gmake RET linux_waitpid 18277/0x4765 > 18267 gmake CALL [340](0x1,0x529d90,0) > 18267 gmake RET [340] 0 > 18267 gmake CALL [340](0x3,0x7fffffffd3c0,0) > 18267 gmake RET [340] 0 > > > anyway, try to investigate why the cmake does not open crtend.o under /compat but uses > fbsd one, that should fix the proble I believe erm... all wrong :) the gmake is a fbsd binary so its ok to open that file... From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 08:36:11 2008 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 D7487106567F for ; Fri, 25 Jul 2008 08:36:11 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2BA8FC1A for ; Fri, 25 Jul 2008 08:36:11 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so2246223mue.3 for ; Fri, 25 Jul 2008 01:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=bWqq0miCMDmPboexzvYyFqFrFJMrCcqFLWHxBiEP/MY=; b=f9f7ic7MYhaHY3mLAtBCvj+UQwu01vEXL3Tl5ZoyyAf9w3FWvk5A2X3NU/mEp/li78 LfRaxpOhHomHiBQx3JyfL+/uls9GB5sF9EmRywuDOcCDVQc0KF79RMM+O+N8qF2DAZ23 Qrlxd+ddDimAH359buIGWV9kVXyyGmCx1PGm0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=JwUIAxNQtzoGfNd1qaVbqnNyiucQKv+c0NLVThRRw8aAQzbiMCcwSEVnL2zw6LFpzU FB3HAY8nvS7mXJ4kw90354bB+0Q1OFrx/o2/tWOZEeUvTTSQnwhcBBY8+vOwOpvNfjhy vpTt+3HGGjvAQODCuZKRutkUz17PESTQn6FTI= Received: by 10.103.137.5 with SMTP id p5mr821183mun.114.1216974969439; Fri, 25 Jul 2008 01:36:09 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id i5sm66888404mue.2.2008.07.25.01.36.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 25 Jul 2008 01:36:08 -0700 (PDT) Date: Fri, 25 Jul 2008 12:36:34 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080725083122.GA42835@freebsd.org> Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 08:36:11 -0000 On Fri, 25 Jul 2008, Roman Divacky wrote: > On Fri, Jul 25, 2008 at 10:21:56AM +0200, Roman Divacky wrote: >> On Wed, Jul 23, 2008 at 04:19:16PM -0500, Sean C. Farley wrote: >>> On Thu, 24 Jul 2008, Chagin Dmitry wrote: >>> >>>> On Wed, 23 Jul 2008, Sean C. Farley wrote: >>>>> On Wed, 23 Jul 2008, Roman Divacky wrote: >>>>>> On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >>>>>>> I am seeing if anyone has any insight on this PR (kern/122318[1]). >>>>>>> It would be nice to once again build using cmake within a Linux >>>>>>> chroot. :) >>>>>>> >>>>>>> Basically, the bug is that not only that cmake is dumping core; it >>>>>>> is also forcing the user out of the chroot environment. Here is >>>>>>> the command used to start the chroot: >>>>>>> /compat/linux/usr/sbin/chroot su - >>>>>>> >>>>>>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 >>>>>> >>>>>> looking at the trace you provided I guess this is what's going on: >>>>>> >>>>>> cmake forks/execs gcc and waits to be notified about the success of >>>>>> the command it tried, the notification comes (the SIGCHLD) the >>>>>> handler tries do something and then returns and now something is >>>>>> wrong and it receives the SIGSEGV.. >>>>>> >>>>>> or am I wrong and linux_ktrace does not translate signals and the >>>>>> SIGCHLD is in fact SIGTSTP? >>>>>> >>>>>> what is the fd 3 and 4? can you provide full ktrace.out? >>>>> >>>>> I have the full output of the execution here using ktrace -d: >>>>> http://www.farley.org/freebsd/tmp/cmake-kdump.txt >>>> >>>> hi! >>>> >>>> Please, can you run ktrace with -i flag? >>>> >>>> thnx! >>> >>> No problem. Same URL. The countless meetings this week are destroying >>> my mind; I was thinking -d did what -i actually does. :) >> >> the cmake opens: >> >> 18279 ld CALL linux_open(0x7fffffffe5b4,0,0x1b6) >> 18279 ld NAMI "/usr/lib/crtend.o" >> 18279 ld RET linux_open 3 >> >> which is obviously wrong and probably causes the regression.. how is this possible I dont >> know. >> >> anyway, the trace is all strange... >> >> 1) it uses getpmsg/putpmsg which are unimplemented (hows that it work? does it >> work or just pretends to?) >> >> 2) what is this? >> >> 18267 gmake CALL [417](0x7fffffffcf90) >> 18267 gmake RET [417] JUSTRETURN >> 18267 gmake CALL linux_waitpid(0xffffffff,0x7fffffffd3f4,0,0) >> 18267 gmake RET linux_waitpid 18277/0x4765 >> 18267 gmake CALL [340](0x1,0x529d90,0) >> 18267 gmake RET [340] 0 >> 18267 gmake CALL [340](0x3,0x7fffffffd3c0,0) >> 18267 gmake RET [340] 0 >> >> >> anyway, try to investigate why the cmake does not open crtend.o under /compat but uses >> fbsd one, that should fix the proble I believe > > erm... all wrong :) the gmake is a fbsd binary so its ok to open that file... > yes, but I remember it was a question about chroot... Sean, can you provide full command which you run? -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 17:57:24 2008 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 2A9D3106564A; Fri, 25 Jul 2008 17:57:24 +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 EC21D8FC1C; Fri, 25 Jul 2008 17:57:23 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6PHvK9s019545; Fri, 25 Jul 2008 12:57:20 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 25 Jul 2008 12:57:20 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Roman Divacky , freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 17:57:24 -0000 On Fri, 25 Jul 2008, Chagin Dmitry wrote: > On Fri, 25 Jul 2008, Roman Divacky wrote: >> On Fri, Jul 25, 2008 at 10:21:56AM +0200, Roman Divacky wrote: >>> On Wed, Jul 23, 2008 at 04:19:16PM -0500, Sean C. Farley wrote: >>>> On Thu, 24 Jul 2008, Chagin Dmitry wrote: >>>>> On Wed, 23 Jul 2008, Sean C. Farley wrote: >>>>>> On Wed, 23 Jul 2008, Roman Divacky wrote: >>>>>>> On Wed, Jul 23, 2008 at 12:50:51PM -0500, Sean C. Farley wrote: >>>>>>>> I am seeing if anyone has any insight on this PR >>>>>>>> (kern/122318[1]). It would be nice to once again build using >>>>>>>> cmake within a Linux chroot. :) >>>>>>>> >>>>>>>> Basically, the bug is that not only that cmake is dumping core; >>>>>>>> it is also forcing the user out of the chroot environment. >>>>>>>> Here is the command used to start the chroot: >>>>>>>> /compat/linux/usr/sbin/chroot su - >>>>>>>> >>>>>>>> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122318 >>>>>>> >>>>>>> looking at the trace you provided I guess this is what's going on: >>>>>>> >>>>>>> cmake forks/execs gcc and waits to be notified about the success >>>>>>> of the command it tried, the notification comes (the SIGCHLD) >>>>>>> the handler tries do something and then returns and now >>>>>>> something is wrong and it receives the SIGSEGV.. >>>>>>> >>>>>>> or am I wrong and linux_ktrace does not translate signals and >>>>>>> the SIGCHLD is in fact SIGTSTP? >>>>>>> >>>>>>> what is the fd 3 and 4? can you provide full ktrace.out? >>>>>> >>>>>> I have the full output of the execution here using ktrace -d: >>>>>> http://www.farley.org/freebsd/tmp/cmake-kdump.txt >>>>> >>>>> hi! >>>>> >>>>> Please, can you run ktrace with -i flag? >>>>> >>>>> thnx! >>>> >>>> No problem. Same URL. The countless meetings this week are >>>> destroying my mind; I was thinking -d did what -i actually does. >>>> :) *snip of all that is wrong :)* >> erm... all wrong :) the gmake is a fbsd binary so its ok to open that >> file... > > yes, but I remember it was a question about chroot... I have the trouble in and out of the chroot (FC2-based) but also with linux_base-f{c4,c6,8}. I just ran it outside of the chroot to get the ktrace much more easily. This is on a FreeBSD 7 amd64 system running a 32-bit chroot. > Sean, can you provide full command which you run? Steps to recreate: mkdir a cd a touch CMakeLists.txt /home/sfarley/chroot/usr/bin/cmake . System setup for 7-STABLE as of July 14th: compat.ia32.maxvmem: 0 compat.ia32.maxssiz: 67108864 compat.ia32.maxdsiz: 536870912 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.16 compat.linux.osname: Linux compat.linux32.maxvmem: 0 compat.linux32.maxssiz: 67108864 compat.linux32.maxdsiz: 536870912 BTW, switching to compat.linux.osrelease=2.4.2, running some Linux applications and switching back to 2.6.16 does not leave Linux emulation in a happy state. Simple Linux applications such as uname start core dumping. Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 19:31:56 2008 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 A5A86106567F for ; Fri, 25 Jul 2008 19:31:56 +0000 (UTC) (envelope-from chagin.dmitry@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 49F108FC1C for ; Fri, 25 Jul 2008 19:31:55 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1574399nfh.33 for ; Fri, 25 Jul 2008 12:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=KpC0aLMnJ+AvK6YxvZ/7PxWb/r0v/PcC16oou7Nv0fs=; b=q06Q+jWp3yelxTkY0UoE+nnk2If+Gb6+QA4FS/+y5WG0KIq+o2R7qsx1efdhrQ1y18 EjVV+ATVSkLnRtUxFYPhaI7OLfqlT2wEjPnpM80w6DhnJ2cxj7ZkndFu2nSdXQakmZHD qH+Ow2jsuvN0yRXFRSZR1nndI4Z6a/mf/J3zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=XvlanLTd8K3kaLwG4jJFSRjdlMOtGzLbyDU9hTwMrf1qubZYYP2gGdCkPFnpM9uXuC Ok9DeSW7XhTZL+QIjuuD2ngRopfF084t6f2N+6RXUMla2+MVrEiLUt+om0LgrKhUhowb 6P9Vi5j+Lb3GNp76VAmmB0wl5dZfy0YOeobmE= Received: by 10.210.61.8 with SMTP id j8mr2372944eba.199.1217014314015; Fri, 25 Jul 2008 12:31:54 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id 5sm9360560nfv.15.2008.07.25.12.31.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 25 Jul 2008 12:31:52 -0700 (PDT) Date: Fri, 25 Jul 2008 23:31:39 +0400 (MSD) To: "Sean C. Farley" In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 19:31:56 -0000 On Fri, 25 Jul 2008, Sean C. Farley wrote: > On Fri, 25 Jul 2008, Chagin Dmitry wrote: > >> >> yes, but I remember it was a question about chroot... > > I have the trouble in and out of the chroot (FC2-based) but also with > linux_base-f{c4,c6,8}. I just ran it outside of the chroot to get the > ktrace much more easily. This is on a FreeBSD 7 amd64 system running a > 32-bit chroot. > ugh... my head, sorry ((( >> Sean, can you provide full command which you run? > > Steps to recreate: > mkdir a > cd a > touch CMakeLists.txt > /home/sfarley/chroot/usr/bin/cmake . > > System setup for 7-STABLE as of July 14th: > compat.ia32.maxvmem: 0 > compat.ia32.maxssiz: 67108864 > compat.ia32.maxdsiz: 536870912 > compat.linux.oss_version: 198144 > compat.linux.osrelease: 2.6.16 > compat.linux.osname: Linux > compat.linux32.maxvmem: 0 > compat.linux32.maxssiz: 67108864 > compat.linux32.maxdsiz: 536870912 > > BTW, switching to compat.linux.osrelease=2.4.2, running some Linux > applications and switching back to 2.6.16 does not leave Linux emulation > in a happy state. Simple Linux applications such as uname start core > dumping. > uname must work on all supported linuxulators I can't reproduce problem, my output on linuxulator64: ora# chroot /compat/linux /bin/bash bash-3.2# bash-3.2# whereis cmake cmake: /usr/bin/cmake /usr/share/cmake /usr/share/man/man1/cmake.1.gz bash-3.2# bash-3.2# cd /opt bash-3.2# mkdir a bash-3.2# cd a bash-3.2# touch CMakeLists.txt bash-3.2# /usr/bin/cmake . -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Configuring done -- Generating done -- Build files have been written to: /opt/a bash-3.2# at me only one idea - create shell script like this: #!/bin/sh sleep 30 /usr/bin/cmake . run it, ps -ax | grep you_script_name ktrace -di -p you_script_pid -f /ttt/tracefile.out and show result. thnx! -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 20:36:56 2008 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 5F0FC1065672; Fri, 25 Jul 2008 20:36:56 +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 0CB9E8FC13; Fri, 25 Jul 2008 20:36:55 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6PKaqig030590; Fri, 25 Jul 2008 15:36:52 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 25 Jul 2008 15:36:52 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Roman Divacky , freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 20:36:56 -0000 On Fri, 25 Jul 2008, Chagin Dmitry wrote: > On Fri, 25 Jul 2008, Sean C. Farley wrote: >> On Fri, 25 Jul 2008, Chagin Dmitry wrote: >>> >>> yes, but I remember it was a question about chroot... >> >> I have the trouble in and out of the chroot (FC2-based) but also with >> linux_base-f{c4,c6,8}. I just ran it outside of the chroot to get >> the ktrace much more easily. This is on a FreeBSD 7 amd64 system >> running a 32-bit chroot. >> > > ugh... my head, sorry ((( > >>> Sean, can you provide full command which you run? >> >> Steps to recreate: >> mkdir a >> cd a >> touch CMakeLists.txt >> /home/sfarley/chroot/usr/bin/cmake . >> >> System setup for 7-STABLE as of July 14th: >> compat.ia32.maxvmem: 0 >> compat.ia32.maxssiz: 67108864 >> compat.ia32.maxdsiz: 536870912 >> compat.linux.oss_version: 198144 >> compat.linux.osrelease: 2.6.16 >> compat.linux.osname: Linux >> compat.linux32.maxvmem: 0 >> compat.linux32.maxssiz: 67108864 >> compat.linux32.maxdsiz: 536870912 >> >> BTW, switching to compat.linux.osrelease=2.4.2, running some Linux >> applications and switching back to 2.6.16 does not leave Linux >> emulation in a happy state. Simple Linux applications such as uname >> start core dumping. >> > > uname must work on all supported linuxulators I agree, and it does work until I start playing with the Linux version. This problem may or may not be related to the cmake issue. > I can't reproduce problem, my output on linuxulator64: 8-CURRENT vs 7-STABLE issue maybe? > at me only one idea - create shell script like this: > > #!/bin/sh > sleep 30 > /usr/bin/cmake . > > run it, > ps -ax | grep you_script_name > ktrace -di -p you_script_pid -f /ttt/tracefile.out > > and show result. thnx! OK. I obtained a trace file[1]. Amusingly, bash also died in this scenario. Sean 1. http://www.farley.org/freebsd/tmp/ktrace.out.bz2 -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 20:46:47 2008 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 732D6106567B for ; Fri, 25 Jul 2008 20:46:47 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id DEC658FC1F for ; Fri, 25 Jul 2008 20:46:46 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2786539fkk.11 for ; Fri, 25 Jul 2008 13:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=LkG+TDmX7mGKE1vYzrePPqBq74g7Lw+UfC/KMsglF3o=; b=wg8euiIY0gc7gjIgw15XMTHct487bUkaX1TtCGjt0bTlfrlJKlLLTqTTawqwKvj0UT qWjodtJ8C5imA5I8oVQmes5lsI7lPfR8BS1BO2pkfvCHcFdyK7UHCvFJKN9arjrb4itU ILnBy7G920kWdmoujikFuS1ktR6POJ6LDZnBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=FCg4aofHzg13Eh9YJIQQtKdCFFaOgTIa5+FmcoHim2Y/h6my2HvDitq3EDXdl4EF2R 3K3g6Ujx6AJCkoYHha0IBlaz2+odQqUe4lCv24xc0Jobf/uNjKFrUB+QjKz/rNWjLKcH ztjjevFUbziqC6r6Qqh84rHl+7jJwADSx91JQ= Received: by 10.180.211.5 with SMTP id j5mr400204bkg.38.1217018805172; Fri, 25 Jul 2008 13:46:45 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id g28sm20234902fkg.8.2008.07.25.13.46.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 25 Jul 2008 13:46:44 -0700 (PDT) Date: Sat, 26 Jul 2008 00:46:33 +0400 (MSD) To: "Sean C. Farley" In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 20:46:47 -0000 On Fri, 25 Jul 2008, Sean C. Farley wrote: > On Fri, 25 Jul 2008, Chagin Dmitry wrote: > >> On Fri, 25 Jul 2008, Sean C. Farley wrote: >>> On Fri, 25 Jul 2008, Chagin Dmitry wrote: >>>> >>>> yes, but I remember it was a question about chroot... >>> >>> I have the trouble in and out of the chroot (FC2-based) but also with >>> linux_base-f{c4,c6,8}. I just ran it outside of the chroot to get >>> the ktrace much more easily. This is on a FreeBSD 7 amd64 system >>> running a 32-bit chroot. >>> >> >> ugh... my head, sorry ((( >> >>>> Sean, can you provide full command which you run? >>> >>> Steps to recreate: >>> mkdir a >>> cd a >>> touch CMakeLists.txt >>> /home/sfarley/chroot/usr/bin/cmake . >>> >>> System setup for 7-STABLE as of July 14th: >>> compat.ia32.maxvmem: 0 >>> compat.ia32.maxssiz: 67108864 >>> compat.ia32.maxdsiz: 536870912 >>> compat.linux.oss_version: 198144 >>> compat.linux.osrelease: 2.6.16 >>> compat.linux.osname: Linux >>> compat.linux32.maxvmem: 0 >>> compat.linux32.maxssiz: 67108864 >>> compat.linux32.maxdsiz: 536870912 >>> >>> BTW, switching to compat.linux.osrelease=2.4.2, running some Linux >>> applications and switching back to 2.6.16 does not leave Linux >>> emulation in a happy state. Simple Linux applications such as uname >>> start core dumping. >>> >> >> uname must work on all supported linuxulators > > I agree, and it does work until I start playing with the Linux version. > This problem may or may not be related to the cmake issue. > >> I can't reproduce problem, my output on linuxulator64: > > 8-CURRENT vs 7-STABLE issue maybe? > don't think so >> at me only one idea - create shell script like this: >> >> #!/bin/sh >> sleep 30 >> /usr/bin/cmake . >> >> run it, >> ps -ax | grep you_script_name >> ktrace -di -p you_script_pid -f /ttt/tracefile.out >> >> and show result. thnx! > > OK. I obtained a trace file[1]. Amusingly, bash also died in this > scenario. > > Sean > 1. http://www.farley.org/freebsd/tmp/ktrace.out.bz2 > I can't use it on -current, ktrace abi was changed. please, make itself linux_kdump :) -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 20:57:15 2008 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 6C3D41065670; Fri, 25 Jul 2008 20:57:15 +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 2FCB88FC0A; Fri, 25 Jul 2008 20:57:15 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m6PKvCrG032005; Fri, 25 Jul 2008 15:57:13 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 25 Jul 2008 15:57:12 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Roman Divacky , freebsd-emulation@FreeBSD.org Subject: Re: kern/122318 (CMake core dumping, chroot exiting) 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, 25 Jul 2008 20:57:15 -0000 On Sat, 26 Jul 2008, Chagin Dmitry wrote: > On Fri, 25 Jul 2008, Sean C. Farley wrote: >> On Fri, 25 Jul 2008, Chagin Dmitry wrote: >>> On Fri, 25 Jul 2008, Sean C. Farley wrote: >>>> On Fri, 25 Jul 2008, Chagin Dmitry wrote: >>>>> >>>>> yes, but I remember it was a question about chroot... >>>> >>>> I have the trouble in and out of the chroot (FC2-based) but also >>>> with linux_base-f{c4,c6,8}. I just ran it outside of the chroot to >>>> get the ktrace much more easily. This is on a FreeBSD 7 amd64 >>>> system running a 32-bit chroot. >>>> >>> >>> ugh... my head, sorry ((( >>> >>>>> Sean, can you provide full command which you run? >>>> >>>> Steps to recreate: >>>> mkdir a >>>> cd a >>>> touch CMakeLists.txt >>>> /home/sfarley/chroot/usr/bin/cmake . >>>> >>>> System setup for 7-STABLE as of July 14th: >>>> compat.ia32.maxvmem: 0 >>>> compat.ia32.maxssiz: 67108864 >>>> compat.ia32.maxdsiz: 536870912 >>>> compat.linux.oss_version: 198144 >>>> compat.linux.osrelease: 2.6.16 >>>> compat.linux.osname: Linux >>>> compat.linux32.maxvmem: 0 >>>> compat.linux32.maxssiz: 67108864 >>>> compat.linux32.maxdsiz: 536870912 >>>> >>>> BTW, switching to compat.linux.osrelease=2.4.2, running some Linux >>>> applications and switching back to 2.6.16 does not leave Linux >>>> emulation in a happy state. Simple Linux applications such as >>>> uname start core dumping. >>>> >>> >>> uname must work on all supported linuxulators >> >> I agree, and it does work until I start playing with the Linux >> version. This problem may or may not be related to the cmake issue. >> >>> I can't reproduce problem, my output on linuxulator64: >> >> 8-CURRENT vs 7-STABLE issue maybe? >> > > don't think so > >>> at me only one idea - create shell script like this: >>> >>> #!/bin/sh >>> sleep 30 >>> /usr/bin/cmake . >>> >>> run it, >>> ps -ax | grep you_script_name >>> ktrace -di -p you_script_pid -f /ttt/tracefile.out >>> >>> and show result. thnx! >> >> OK. I obtained a trace file[1]. Amusingly, bash also died in this >> scenario. >> >> Sean >> 1. http://www.farley.org/freebsd/tmp/ktrace.out.bz2 > > I can't use it on -current, ktrace abi was changed. please, make > itself linux_kdump :) Picky, picky! :) Here[2] you go. Sean 2. http://www.farley.org/freebsd/tmp/ktrace.txt -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 25 21:12:14 2008 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 6BB76106567A for ; Fri, 25 Jul 2008 21:12:14 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id 0439E8FC24 for ; Fri, 25 Jul 2008 21:12:13 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080725205917.RBGV22786.eastrmmtao102.cox.net@eastrmimpo01.cox.net>; Fri, 25 Jul 2008 16:59:17 -0400 Received: from serene.no-ip.org ([72.200.38.192]) by eastrmimpo01.cox.net with bizsmtp id uLzG1Z00948kqrs02LzHuH; Fri, 25 Jul 2008 16:59:17 -0400 Received: from serene.no-ip.org (conrads@localhost [127.0.0.1]) by serene.no-ip.org (8.14.2/8.14.2) with ESMTP id m6PKxGJT076967; Fri, 25 Jul 2008 15:59:16 -0500 (CDT) (envelope-from conrads@cox.net) Date: Fri, 25 Jul 2008 15:59:16 -0500 From: "Conrad J. Sabatier" To: Chagin Dmitry Message-ID: <20080725155916.2f2206f5@serene.no-ip.org> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: linuxulator64 status 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, 25 Jul 2008 21:12:14 -0000 On Thu, 24 Jul 2008 10:30:41 +0400 (MSD) Chagin Dmitry wrote: > > hi! > I'm not subscribed on fbsd-current@, therefore I shall answer here... > > It is possible to tell that it works, now I investigate LTP results and > search that does not work. > > ps. signals, dynamic loading of libs works. > 100% know that there are problems with getdents syscall, at least at > x86_64. > > If somebody is interesting, I shall prepare a patch and necessary > packages (linux_base, linux_dev, linux_kdump for x86_64). > > thnx! Definitely interested here. Running amd64. Thanks! -- PROOF OF GOD #424. ARGUMENT FROM SNOTTY BRITISH BIOLOGIST (1) Richard Dawkins ridicules religion in some of his books. (2) Therefore, God exists. From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 26 10:17:34 2008 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 D706A1065680 for ; Sat, 26 Jul 2008 10:17:34 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 5390D8FC0A for ; Sat, 26 Jul 2008 10:17:33 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so3099720fkk.11 for ; Sat, 26 Jul 2008 03:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=jh5TRznqyAHC8h0Dt4L1MSbFWJa6D0NVfaFNgDK3HV8=; b=QIVdMe9XwtGnbmHJssL4yMKeHJsHTtISnTvcn/rAgJP8A/qsOXA/IjVAYz2c2G659J 6WizSp94fRSZNYoBLDyupuaSnhmQGR3JxcMhWUStjSMnwmx4ZlMeinTMtCswfNaa3iMl Wza+25px/qjYTUnOlni4gPIxSpAXD6I0TJvIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=qQU5hsBF0yQEAiPaEgM/kDlJ5AoF8dumXcQEKGbA/kGFxRUC5xrZfGPHq6m3zAwOCQ TE1m/boKETlq/9metwNqWOg1ESOIvCp8XolXJOfRMAlIqOBYQqX/ptgepVdcbF8/Lky8 Bmqb7Q0eNx9HayB1p/AWQ97xZNaDFnyOD0Hzs= Received: by 10.181.37.11 with SMTP id p11mr575307bkj.101.1217067451861; Sat, 26 Jul 2008 03:17:31 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id g28sm427917fkg.8.2008.07.26.03.17.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Jul 2008 03:17:30 -0700 (PDT) Date: Sat, 26 Jul 2008 14:15:28 +0400 (MSD) To: "Sean C. Farley" In-Reply-To: Message-ID: References: <20080723184450.GA25356@freebsd.org> <20080725082156.GA41887@freebsd.org> <20080725083122.GA42835@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: kern/122318 (CMake core dumping, chroot exiting) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 10:17:35 -0000 On Fri, 25 Jul 2008, Sean C. Farley wrote: >>>>> >>>> >>>> uname must work on all supported linuxulators >>> >>> I agree, and it does work until I start playing with the Linux >>> version. This problem may or may not be related to the cmake issue. >>> >>>> I can't reproduce problem, my output on linuxulator64: >>> >>> 8-CURRENT vs 7-STABLE issue maybe? >>> >> >> don't think so >> >>>> at me only one idea - create shell script like this: >>>> >>>> #!/bin/sh >>>> sleep 30 >>>> /usr/bin/cmake . >>>> >>>> run it, >>>> ps -ax | grep you_script_name >>>> ktrace -di -p you_script_pid -f /ttt/tracefile.out >>>> >>>> and show result. thnx! >>> >>> OK. I obtained a trace file[1]. Amusingly, bash also died in this >>> scenario. >>> >>> Sean >>> 1. http://www.farley.org/freebsd/tmp/ktrace.out.bz2 >> >> I can't use it on -current, ktrace abi was changed. please, make >> itself linux_kdump :) > > Picky, picky! :) Here[2] you go. > > Sean > 2. http://www.farley.org/freebsd/tmp/ktrace.txt > With COMPAT_LINUX32 the mistake really exists... ora# chroot /compat/linux /bin/bash bash-3.2# bash-3.2# uname -a Linux ora.chd.net 2.6.16 FreeBSD 8.0-CURRENT #4: Sat Jul 26 01:35:52 MSD 2008 i686 i686 i386 GNU/Linux bash-3.2# bash-3.2# cd /opt bash-3.2# mkdir a bash-3.2# cd a bash-3.2# touch CMakeLists.txt bash-3.2# whereis cmake cmake: /usr/bin/cmake /usr/share/cmake /usr/share/man/man1/cmake.1.gz bash-3.2# /usr/bin/cmake . -- Check for working C compiler: /usr/bin/gcc Segmentation fault (core dumped) bash-3.2# let's look :) -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 26 22:45:36 2008 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 55632106567B for ; Sat, 26 Jul 2008 22:45:36 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: from smtp120.sbc.mail.re3.yahoo.com (smtp120.sbc.mail.re3.yahoo.com [66.196.96.93]) by mx1.freebsd.org (Postfix) with SMTP id D9B638FC08 for ; Sat, 26 Jul 2008 22:45:35 +0000 (UTC) (envelope-from shild@sbcglobal.net) Received: (qmail 78251 invoked from network); 26 Jul 2008 22:18:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=nVrXeuycfIAPyXxllG1SYrlloWkEvRXUDUJKeWVwvci7qhSN2DIidXePg3TcDP2na1jPn7WmJ+Sw46NyYr3X86ioX7rzwKRcCpo3BGOy2gnbPPxwdK05blEsytcpDWS4WDTZh4on7OSmf0oOXaohiHZblaX0kDxrJ90L0tyFcd8= ; Received: from unknown (HELO ?192.168.1.1?) (shild@sbcglobal.net@68.75.63.134 with login) by smtp120.sbc.mail.re3.yahoo.com with SMTP; 26 Jul 2008 22:18:54 -0000 X-YMail-OSG: MpHjt70VM1lA3glWwgpKtyqXNFw6pwYzuwJXzdVGMBesXDYRHw0_WpGvbA1RwLZy1DvOmbCZs7JLVf6jEekk4coskDSjc53MVf6FOAi7sdomjRLHEeAh9LvSqyN6kd9bK8E- X-Yahoo-Newman-Property: ymail-3 From: "Scott T. Hildreth" To: unhooked In-Reply-To: <4886AE3D.5020202@telus.net> References: <1216768993.00101726.1216758602@10.7.7.3> <4886AE3D.5020202@telus.net> Content-Type: text/plain Date: Sat, 26 Jul 2008 17:17:39 -0500 Message-Id: <1217110659.27402.32.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Emulation FreeBSD Subject: Re: Wine - sound not working X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shild@sbcglobal.net List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 22:45:36 -0000 On Tue, 2008-07-22 at 21:06 -0700, unhooked wrote: > Scott T. Hildreth wrote: > > I am running the latest wine (wine-1.1.0,1) and FreeBSD 7.0 Stable. > > I have installed firefox with wine-doors and works great except there > > is now sound for videos. I have the same setup on my desktop at work, > > and sound works with firefox. I thought sound should just work on 7.0, > > but I am missing something. Any ideas? > > > > Thanks, > > STH > > > > Works for me, if you have sound everywhere else - check your sound > settings in wine with winecfg. > > There's also a newer version of wine in the ports, but sound has always > worked for me in wine. Thanks, ran it, turned on a sound driver and sound is working. >