From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 4 14:22:56 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4449116A400 for ; Tue, 4 Apr 2006 14:22:56 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53B7943D45 for ; Tue, 4 Apr 2006 14:22:55 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D6F7.dip.t-dialin.net [84.165.214.247]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k34EKqIf021717; Tue, 4 Apr 2006 16:20:53 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k34EMpVu009479; Tue, 4 Apr 2006 16:22:51 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 04 Apr 2006 16:22:51 +0200 Message-ID: <20060404162251.33zh0d89w0s8cc8k@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 04 Apr 2006 16:22:51 +0200 From: Alexander Leidinger To: mag@intron.ac References: <44326626.8060803@orchid.homeunix.org> <200604041356.k34DuQ2H035438@zhao.intron.ac> In-Reply-To: <200604041356.k34DuQ2H035438@zhao.intron.ac> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: DRI under Linux compat problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 14:22:56 -0000 mag@intron.ac wrote: > I also hope linux-XFree86-libs may be upgraded to X.org libraries > in Fedora Core 3. XFree86 4.3.99 is too legacy to support many > current pieces of software. We're waiting for the release of FreeBSD 5.5 and 6.1. After that the ports tree is free for sweeping commits. We need such a commit to improve our linux rpm infrastructure. After that the linux X.org libs will enter the tree. > At the same time, Linux module in FreeBSD kernel should also be > upgraded to keep up with Linus Torvalds. Currently, too much Linux > system calls haven't been supported by FreeBSD kernel yet. Nobody invested time into this so far... A start would be to look at http://fxr.watson.org/fxr/source//arch/x86_64/ia32/ia32entry.S?v=linux-2.6.11.8 and to add the names of missing syscalls to src/sys/i386/linux/syscalls.master and src/sys/amd64/linux32/syscalls.master (have a look at e.g. the linux_get_thread_area line in syscalls.master for an example how to do it). This can also be done by someone without much knowledge about the FreeBSD kernel. The second step would then be to pick one of those UNIMPL functions and implement it in src/sys/compat/linux/. > I am learning the programming environment of FreeBSD kernel to make > my own contribution to the module. You're welcome. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Nothing astonishes men so much as common sense and plain dealing. -- Ralph Waldo Emerson