When my kernel, which has ipsec and cryptoapi compiled-in boots, ipsec initialized before cryptoapi. As such, it fails to find the cryptoapi ciphers. Reproducible: Always Steps to Reproduce: 1. Compile kernel with attached .config 2. boot Actual Results: [...] cryptoapi: trying cipher-aes-cbc kmod: failed to exec /sbin/modprobe -s -k cipher-aes-cbc, errno = 2 cryptoapi: trying cipher-aes kmod: failed to exec /sbin/modprobe -s -k cipher-aes, errno = 2 cryptoapi: trying cipher kmod: failed to exec /sbin/modprobe -s -k cipher, errno = 2 cipher "aes-cbc" not found [...] cryptoapi: loaded cryptoapi: Registered aes-ecb (0) cryptoapi: Registered aes-cbc (65536) cryptoapi: Registered aes-cfb (131072) cryptoapi: Registered aes-ctr (262144) cryptoapi: Registered aes-rtc (524288) [...] Expected Results: cryptoapi should have initalized first, allowing ipsec to find the ciphers. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Celeron (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv gdbm berkdb slang readline tetex svga java guile sdl gpm tcpd pam libwww ssl python esd imlib qt motif opengl mozilla cdr -arts mysql cups tcltk X gtk -gnome alsa kde crypt emacs encode ipv6 mmx oggvorbis perl truetype zlib apache2 mng"
Created attachment 17610 [details] dmesg output
Created attachment 17611 [details] Kernel configuration
Created attachment 23876 [details, diff] Patch Patch attached - can you please confirm that this works and I'll add this to -r11?
Seems to work, thanks
Patch is in gentoo-sources-2.4.20-r11. Thanks!