Re: /dev/loop3 No appropriate device found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bernhard Stoevesandt wrote:
> This is very interesting because i get the following:
> /lib/modules/2.4.18-4GB/block/loop.o: unresolved symbol set_user_nice
> /lib/modules/2.4.18-4GB/block/loop.o: insmod
> /lib/modules/2.4.18-4GB/block/loop.o failed
> /lib/modules/2.4.18-4GB/block/loop.o: insmod loop failed

Your kernel appears to include O(1) scheduler, but for some reason does not
export that set_user_nice() function to modules. Strange.

Quick fix is to add such export statement to your kernel source, and then
re-compile and install new kernel. You can add that export like this:

    cd /usr/src/linux-2.4.18
    echo 'EXPORT_SYMBOL(set_user_nice);' >>kernel/ksyms.c

Then build + install new kernel normally. Something like this:

    mv .config z
    make distclean
    mv z .config
    make oldconfig
    make dep && make clean && make bzlilo INSTALL_PATH=/boot
    make modules && make modules_install

Then compile new loop-AES module, like this:

    cd /usr/src/loop-AES-v3.1c
    make LINUX_SOURCE=/usr/src/linux-2.4.18

And finally boot your new kernel.

Bernhard,
Can you post a download link to your kernel source on your distro vendor
server, or some other place. I want to see this kernel source myself.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux