Re: [Ocf-linux-users] OCF Linux question about sys_dup
Brought to you by:
david-m
From: David M. <Dav...@se...> - 2007-09-11 11:29:59
|
Jivin Albert Lash lays it down ... > Hello David, > > I'm trying to get OCF linux modules installed but I'm getting an > error when trying to insmod cryptodev.ko. > > So far I've tracked down the problem to: > > cryptodev: Unknown symbol sys_dup How did you add ocf to your kernel ? Did you apply the "big" 2.6.22 patch or did you integrate it by hand ? Check that all the parts of the patch: ocf/patches/linux-2.6.22-ocf.patch have been applied. Particularly the export of sys_dup. > I attempted to export the symbol as suggested here: > > http://mail.nl.linux.org/kernelnewbies/2004-04/msg00333.html > > and also found someone else experiencing a similar problem here: > > http://lists.openswan.org/pipermail/users/2007-January/011553.html > > My work is being conducted on an AMD Geode LX800, and my running > kernel is 2.6.22 from debian. I downloaded the kernel source to /usr/ > src, and applied the patch with on caveat, I had to manually add the > ocf to to crypto/Kconfig file. With that there, I was able to select > the modules in the ncurses make menuconfig, but they would not build. What were the errors ? > I was able to build them via the following process: > > make -C /usr/src/linux-source-2.6.22/ M=`pwd` modules > > issued in the crypto/ocf folder. The ocf and cryptosoft modules > insert fine. > > Thanks for this great work and any pointers you can share! See how we go with the above, but we'll sort it out for sure ;-) Cheers, Davidm -- David McCullough, dav...@se..., Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com |