From owner-freebsd-arm@FreeBSD.ORG Tue Feb 9 20:56:55 2010 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27040106566B for ; Tue, 9 Feb 2010 20:56:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id DEA498FC17 for ; Tue, 9 Feb 2010 20:56:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o19KpDdp097622; Tue, 9 Feb 2010 13:51:13 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 09 Feb 2010 13:51:14 -0700 (MST) Message-Id: <20100209.135114.857710717450034146.imp@bsdimp.com> To: gldisater@gmail.com From: "M. Warner Losh" In-Reply-To: <4B71C145.3020605@gmail.com> References: <4B71C145.3020605@gmail.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arm@FreeBSD.org Subject: Re: loading modules X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 20:56:55 -0000 In message: <4B71C145.3020605@gmail.com> Jeremy Faulkner writes: : I wanted to try zfs on my openrd-client and after a small patch to the : opensolaris module I could get it to load but when I tried to load zfs : I got the following, any suggestions on resolving this? : : %kldload zfs.ko : link_elf: symbol __ucmpdi2 undefined : kldload: can't load zfs.ko: No such file or directory You could add ucmpdi2.c to the files.arm and see if that solves it. There's a reason that this isn't in the kernel by default, but I forget what that is. Waht was the small patch for the opensolaris module? Warner : > ls -l /boot/kernel : total 6556 : -r-xr-xr-x 1 root wheel 3946929 Feb 8 21:44 kernel : -r-xr-xr-x 1 root wheel 1523484 Feb 8 21:44 kernel.gz.tramp : -r-xr-xr-x 1 root wheel 12273 Feb 8 21:52 opensolaris.ko : -r-xr-xr-x 1 root wheel 1177500 Feb 8 21:52 zfs.ko : : I've attached my kernel config file. : : Jeremy Faulkner