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