Re: PC randomly hangs, loop-aes suspected

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

 




As in, show me the commands and their parameters. All of them.

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


1. Initial state of system: gentoo-sources-2.6.22-r5 running on loop-AESv3.2a (no earlier versions before) encrypted root, AES128, multi-key-v3 - installed by README with loop-aes. [problem exists already]
2. I compile new kernel:

emerge -av gentoo-sources [y, enter]
eselect kernel list
eselect kernel set n (n from list)

cd /usr/src/linux-2.6.22-gentoo-r9
make menuconfig [load old config, make some changes, save new config]
cp /path/to/new/config /usr/src/linux-2.6.22-gentoo-r9/.config
make
make modules_install
cp ./arch/i386/boot/bzImage /path/to/boot/partition/ker
cd /path/to/boot/partition
mkdir modules-2.6.22-gentoo-r9

3. uncompress loop-AESv3.2b

4. compile loop-aes module:

(I wanted to rebuild dietlibc etc, but it did not suceeded and I assumed, that there is no need to recompile it. Is this wrong?)

cd /path/to/loop-aes
make clean
make LINUX_SRC=/usr/src/linux-2.6.22-gentoo-r9 KBUILD_OUTPUT=/usr/src/linux-2.6.22-gentoo-r9 KEYSCRUB=y
make tests [ok]
cp /lib/modules/linux-2.6.22-gentoo-r9/extra/loop.ko /path/to/boot/partition/modules-2.6.22-gentoo-r9

5. update syslinux.cfg to boot new kernel.

6. successful reboot.

That is how I did it. I cannot send you kernel configuration now, but looks like the problem is not there. However, (in my opinion) it is kernel related (not hardware, not userspace apps) - else - why there are no messages in /var/log/messages.

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