Date: Fri, 2 Oct 2009 11:42:44 +0300 From: Gleb Kurtsou <gleb.kurtsou@gmail.com> To: Guy Brand <gb@unistra.fr> Cc: freebsd-current@freebsd.org Subject: Re: RFC: kernel level cryptographic filesystem (summer of code project) Message-ID: <20091002084244.GA1802@tops> In-Reply-To: <20091002081442.GF69862@unistra.fr> References: <20091001212342.GA1417@tops> <20091002071718.GD69862@unistra.fr> <20091002081022.GA1585@tops> <20091002081442.GF69862@unistra.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
On (02/10/2009 10:14), Guy Brand wrote:
> Gleb Kurtsou (gleb.kurtsou@gmail.com) on 02/10/2009 at 11:10 wrote:
>
> > My bad. Dependency on crypto module is missing. Try
> > kldload crypto
> > Please let me know if it fixes the issue for you.
>
> Already tried, same issue.
Would you try the patch attached.
Another common reason for 'kldload: can't load pefs: Exec format error'
is running kernel and sources version mismatch (sources are newer then
kernel).
--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="pefs-depends.patch.txt"
diff --git a/sys/fs/pefs/pefs_vfsops.c b/sys/fs/pefs/pefs_vfsops.c
index 0fc4b85..93b2d80 100644
--- a/sys/fs/pefs/pefs_vfsops.c
+++ b/sys/fs/pefs/pefs_vfsops.c
@@ -322,3 +322,5 @@ static struct vfsops pefs_vfsops = {
VFS_SET(pefs_vfsops, pefs, VFCF_LOOPBACK);
MODULE_DEPEND(pefs, salsa20, 1, 1, 1);
+MODULE_DEPEND(pefs, crypto, 1, 1, 1);
+
--jRHKVT23PllUwdXP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091002084244.GA1802>
