From owner-freebsd-questions@FreeBSD.ORG Fri Mar 15 15:27:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0EFF547A for ; Fri, 15 Mar 2013 15:27:06 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm12.bullet.mail.ird.yahoo.com (nm12.bullet.mail.ird.yahoo.com [77.238.189.65]) by mx1.freebsd.org (Postfix) with SMTP id 21EE38C8 for ; Fri, 15 Mar 2013 15:27:04 +0000 (UTC) Received: from [212.82.105.244] by nm12.bullet.mail.ird.yahoo.com with NNFMP; 15 Mar 2013 15:26:57 -0000 Received: from [217.146.189.111] by tm16.bullet.mail.ird.yahoo.com with NNFMP; 15 Mar 2013 15:26:57 -0000 Received: from [127.0.0.1] by smtp127.mail.ird.yahoo.com with NNFMP; 15 Mar 2013 15:26:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1363361217; bh=jzH3Te66SbG9N3mkvIJUrAyCzYCq+a+AaBjcGV+aah0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=xl/pRhqH2lRpPa07mFsr+2eldG7duMrTJKgyE+rZyZJsOPA9mlk+48OV/wLl4lSxjjPW0o9GsMLo8ixa63CZ3SBp92RdLW7jngxD2Jk9E1eZNMatd78M+kZotp7fe82jMmKB1r+z/Ucqv4NmFPHoHzuMT6ZCvpqEFUQOMHD8rRE= X-Yahoo-Newman-Id: 166623.60883.bm@smtp127.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 03t7Ss4VM1kUM7y.eJRVt4Gf2LlqcFE1kE4b1j3LrwnTdvI 0bSaKoPDxR9u8ujzI6Vo54RRAJgUfH42TaJ4X7QHBNgrR8LjI0HcXiWOeV5G V9a9GcrHGgU6LSqcUpHf8n09MTTK.FvsHiPwQJ2XqW4wxuEfW_GKk5vJpdRd AfzieKzKjrO2sz8UzNAzdyfFYprO7iihF8hC92SZCBKv_zj4Wnzvj9jbBGm4 GS2aWfv7xDhYYjZ4BUPDgRmu3AtgYFycKxEEtSAG_vvD22Jwb_9bP8ItFPwy XjFTpkNKdPJC2jNH0uOHCyRYPEsedMVmjcoyd1SpCFcnIchgqfsyllgvvl3K pmZMgozIqlTiEpPhe5S9jHcQR7lKz4YHeTzronsa4FlRuRzET_xtEimL7CHK 2DksT8IKe1kKdlJ7E6Bes2HpiPLj_r4a_igz2GWvwLq8- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- X-Rocket-Received: from [78.50.20.189] (ralf.mardorf@78.50.20.189 with login) by smtp127.mail.ird.yahoo.com with SMTP; 15 Mar 2013 08:26:57 -0700 PDT Message-ID: <1363361216.595.73.camel@archlinux> Subject: Re: linux program with kernel module From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 15 Mar 2013 16:26:56 +0100 In-Reply-To: <20130315150313.GA22064@eris.bzerk.org> References: <5100adb0.7659bc7d.5142366e.438ea@lajt.hu> <1363297361.3685.32.camel@archlinux> <20130315150313.GA22064@eris.bzerk.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 15:27:06 -0000 On Fri, 2013-03-15 at 15:03 +0000, Ruben de Groot wrote: > On Thu, Mar 14, 2013 at 10:42:41PM +0100, Ralf Mardorf typed: > > On Thu, 2013-03-14 at 21:43 +0100, Istvan Gabor wrote: > > > Can it run linux programs that have their own (linux) kernel module? > > > If yes, how can I install such program, and how can I load the kernel module? > > > > > > (If I know correctly nvidia drivers have their own kernel modules, and FreeBSD can > > > run linux nvidia drivers). > > > > Yesno. > > > > You need to compile kernel modules to fit to the version of FreeBSD or > > Linux. > > > > I also call user space "FreeBSD" and "Linux", but it's _not_ correct to > > do it. FreeBSD is a kernel and Linux is a kernel, not the whole system > > is called Linux or FreeBSD and both kernels are available in different > > versions. > > You're right about Linux (being only a kernel). Not so for FreeBSD. FreeBSD > is the name of the OS,, kernel plus userland. You can compare it to debian, > another (linux based) OS. Ok, thanks :). However, I also should be more precise about compiling modules. It might be that somebody did build a package, that does provide a kernel module for a special kernel version. I don't have experiences with FreeBSD and for FreeBSD I anyway build from the ports tree, so I have no idea about packages for FreeBSD, but I suspect that it's as it is for most Linux distros. Sometimes packages do provide modules for the current default kernel. So on major Linux distros you usually can install VBox from a package and it will come with the kernel modules for the packaged default kernel of the distro.