From owner-freebsd-questions Tue Feb 6 9:48:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 4CB7737B503 for ; Tue, 6 Feb 2001 09:48:06 -0800 (PST) Received: from xor.obsecurity.org ([64.165.226.103]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0G8C004FUJB8LF@mta6.snfc21.pbi.net> for freebsd-questions@freebsd.org; Tue, 6 Feb 2001 09:30:44 -0800 (PST) Received: by xor.obsecurity.org (Postfix, from userid 1000) id 785A466B62; Tue, 06 Feb 2001 09:33:26 -0800 (PST) Date: Tue, 06 Feb 2001 09:33:26 -0800 From: Kris Kennaway Subject: Re: Insmod equivalent In-reply-to: <3A802A6B.94A1E6BC@ansp.br>; from marcus@ansp.br on Tue, Feb 06, 2001 at 02:46:35PM -0200 To: Marcus Ramos Cc: freebsd-questions@freebsd.org Message-id: <20010206093326.C12456@mollari.cthul.hu> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-disposition: inline User-Agent: Mutt/1.2.5i References: <3A802A6B.94A1E6BC@ansp.br> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 06, 2001 at 02:46:35PM -0200, Marcus Ramos wrote: > Hello, >=20 > I've compiled a file named "ttime.c" into "ttime.o" and now I want to > load it into the kernel. Since "ttime.c" was originally written for > Linux, the instructions tell me to use "insmod ttime.o". Since it seems > that command "insmod" does not exist in FreeBSD, I ask: what is the > equivalente one ? How can I have the ".o" file (a PCI driver) loaded > into the kernel ? 'kldload' is the equivalent for FreeBSD - but before you get too excited, if you're trying to run a Linux kernel module with FreeBSD it won't work, the kernels have almost nothing in common beyond being written in C. Kris --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6gDVlWry0BWjoQKURAnxFAKCmafkpbSI+D8SB/duyk8knkxPsAQCg8Ur4 NBknbaNlSoLR4L1XnUahaOg= =mZkl -----END PGP SIGNATURE----- --3siQDZowHQqNOShm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message