[689] in arla-drinkers
Re: arla under FreeBSD 3.1-stable
daemon@ATHENA.MIT.EDU (Love)
Sat Mar 13 15:15:05 1999
From owner-arla-drinkers@stacken.kth.se Sat Mar 13 20:15:04 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 20842 invoked from network); 13 Mar 1999 20:15:02 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 13 Mar 1999 20:15:02 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id VAA13450
for arla-drinkers-list; Sat, 13 Mar 1999 21:05:19 +0100 (MET)
Received: from elixir.e.kth.se (elixir.e.kth.se [130.237.48.5])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id VAA13445
for <arla-drinkers@stacken.kth.se>; Sat, 13 Mar 1999 21:05:15 +0100 (MET)
Received: from anchor.s3.kth.se (anchor.s3.kth.se [130.237.43.59])
by elixir.e.kth.se (8.9.2/8.9.2) with ESMTP id VAA25949;
Sat, 13 Mar 1999 21:05:13 +0100 (MET)
Received: (from lha@localhost)
by anchor.s3.kth.se (8.9.2/8.9.2) id VAA19632;
Sat, 13 Mar 1999 21:05:12 +0100 (MET)
From: Love <lha@stacken.kth.se>
To: koziol@ncsa.uiuc.edu
Cc: arla-drinkers@stacken.kth.se
Subject: Re: arla under FreeBSD 3.1-stable
References: <199903130058.SAA00780@hawkwind.ncsa.uiuc.edu>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Mar 1999 21:05:12 +0100
In-Reply-To: koziol@ncsa.uiuc.edu's message of Fri, 12 Mar 1999 18:58:22 -0600 (CST)
Message-ID: <amd82ddukn.fsf@anchor.s3.kth.se>
Lines: 33
X-Mailer: Gnus v5.5/Emacs 20.2
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
koziol@ncsa.uiuc.edu writes:
> Howdy,
> I've [finally.. :-)] managed to coax the latest snapshot of arla to build
> correctly on my FreeBSD 3.1-STABLE machine.
Didn't it build cleanly ?
> All was going well until I tried
> to execute the modload command given in the INSTALL file (tweaked to /usr/local/
> arla/ from /usr/arla):
> modload -e xfs_mod -o /var/tmp/symbols -p /usr/local/arla/bin/xfs_makedev -v /usr/local/arla/bin/xfs_mod.o
>
> Now modload is complaining thusly:
> ld: /kernel: malformed input file (not rel or archive)
> modload: /usr/bin/ld: return code 1
>
> What sort of option do I need to compile my kernel with to allow this to
> succeed? I've been trying to get arla to work for a long time now, can someone
> please help me with these final steps?
Modload is for aout kernels only (there is elf patches, but that is for
NetBSD), and since FreeBSD 3.1 I think the kernel is ELF.
The answer is to use kld's. See $prefix/bin/startarla or the Makefile
in xfs/bsd (esp targets load,unload, mount,umount) how to use it.
On FreeBSD 3.0+ we build kld's by default in the snapshots (and 0.22 I
think). the problem with kld's is that you can create the device
automagicly like you can do with lkm's.
Love