From owner-freebsd-emulation@FreeBSD.ORG  Thu Aug  2 11:52:31 2007
Return-Path: <owner-freebsd-emulation@FreeBSD.ORG>
Delivered-To: emulation@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7F63B16A417
	for <emulation@freebsd.org>; Thu,  2 Aug 2007 11:52:31 +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 3AC1D13C45B
	for <emulation@freebsd.org>; Thu,  2 Aug 2007 11:52:31 +0000 (UTC)
	(envelope-from rdivacky@vlk.vlakno.cz)
Received: from localhost (localhost [127.0.0.1])
	by vlakno.cz (Postfix) with ESMTP id 7A5008C09A5
	for <emulation@freebsd.org>; Thu,  2 Aug 2007 13:52:30 +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 mJBefYsoDQoP for <emulation@freebsd.org>;
	Thu,  2 Aug 2007 13:52:29 +0200 (CEST)
Received: from vlk.vlakno.cz (localhost [127.0.0.1])
	by vlakno.cz (Postfix) with ESMTP id 596668C0826
	for <emulation@freebsd.org>; Thu,  2 Aug 2007 13:52:29 +0200 (CEST)
Received: (from rdivacky@localhost)
	by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l72BqTY5032192
	for emulation@freebsd.org; Thu, 2 Aug 2007 13:52:29 +0200 (CEST)
	(envelope-from rdivacky)
Date: Thu, 2 Aug 2007 13:52:29 +0200
From: Roman Divacky <rdivacky@freebsd.org>
To: emulation@freebsd.org
Message-ID: <20070802115229.GA32091@freebsd.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.3i
Cc: 
Subject: [PATCH]: fix of java with 2.6.16 emulation
X-BeenThere: freebsd-emulation@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Development of Emulators of other operating systems
	<freebsd-emulation.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, 
	<mailto:freebsd-emulation-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-emulation>
List-Post: <mailto:freebsd-emulation@freebsd.org>
List-Help: <mailto:freebsd-emulation-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-emulation>, 
	<mailto:freebsd-emulation-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2007 11:52:31 -0000

hi

Currently when using 2.6.16 emulation java dies immediately causing a coredump.

	http://www.vlakno.cz/~rdivacky/linux_java.patch

This simple patch implements fake sched_getaffinity() syscall thus fixing the
java problem. Please test this patch and report success stories so we can get
this commited.

cd /sys
fetch http://www.vlakno.cz/~rdivacky/linux_java.patch
patch  < linux_java.patch

recompile && test


thank you

roman