loading modules
Jeremy Faulkner
gldisater at gmail.com
Tue Feb 9 22:19:04 UTC 2010
On Tue, Feb 9, 2010 at 3:51 PM, M. Warner Losh <imp at bsdimp.com> wrote:
> In message: <4B71C145.3020605 at gmail.com>
> Jeremy Faulkner <gldisater at gmail.com> 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
>
Arm's cpufunc.h defined cpu_id as did opensolaris' cpuvar.h, the patch
isn't graceful and I wasn't able to test it other than it compiles and
kldloads.
I've also attached the result of adding ucmpdi2.c to files.arm.
--
Jeremy Faulkner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openrd-trimmed.log
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20100209/c8a7c625/openrd-trimmed.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-cpu_id.patch
Type: application/octet-stream
Size: 1395 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20100209/c8a7c625/arm-cpu_id.obj
More information about the freebsd-arm
mailing list