[root@fette]~ #mkdir /tmp/tmpfs [/dev/pts/4 # 500 - 0 - 0 # 0 day 20:59:30 # 0.21 - 0.06 - 0.03] [root@fette]~ #mount -t tmpfs none /tmp/tmpfs -o size=130m [/dev/pts/4 # 501 - 0 - 0 # 0 day 21:00:06 # 0.11 - 0.05 - 0.02] [root@fette]~ #dd if=/dev/zero of=/tmp/tmpfs/test.img count=131072 bs=1024 [/dev/pts/4 # 502 - 0 - 0 # 0 day 21:00:13 # 0.10 - 0.05 - 0.02] 131072+0 records in 131072+0 records out 134217728 bytes (134 MB) copied, 3,51062 s, 38,2 MB/s [root@fette]~ #losetup /dev/loop1 /tmp/tmpfs/test.img [/dev/pts/4 # 503 - 0 - 0 # 0 day 21:00:20 # 0.16 - 0.07 - 0.03] [root@fette]~ #lsmod [/dev/pts/4 # 504 - 0 - 0 # 0 day 21:00:28 # 0.15 - 0.07 - 0.03] Module Size Used by sha256_generic 12160 0 cbc 5504 1 video 19856 0 output 4736 1 video battery 14212 0 sbs 15112 0 sbshc 7680 1 sbs container 5632 0 dock 11280 0 ipv6 267908 28 aes_i586 33536 2 dm_crypt 15364 1 dm_mod 62660 3 dm_crypt ac 6916 0 lm90 15528 0 i2c_core 24832 1 lm90 parport_pc 36260 0 lp 12324 0 parport 37832 2 parport_pc,lp loop 18948 1 snd_cs5535audio 16700 1 snd_ac97_codec 101028 1 snd_cs5535audio ac97_bus 3072 1 snd_ac97_codec snd_pcm_oss 42144 0 snd_mixer_oss 17920 2 snd_pcm_oss snd_pcm 78596 3 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss snd_seq_dummy 4868 0 evdev 13056 4 snd_seq_oss 35584 0 snd_seq_midi 9376 0 snd_rawmidi 25760 1 snd_seq_midi snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event psmouse 40336 0 serio_raw 7940 0 af_packet 23812 4 snd_timer 24836 2 snd_pcm,snd_seq snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq button 9232 0 snd 56996 11 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 8800 2 snd snd_page_alloc 11400 2 snd_cs5535audio,snd_pcm geode_rng 3328 0 pcspkr 4224 0 cs5535_gpio 6104 0 lxfb 9364 1 blkcipher 8324 1 cbc ext3 136840 2 jbd 48404 1 ext3 mbcache 9600 1 ext3 sg 36880 0 usb_storage 73792 1 libusual 19236 1 usb_storage sd_mod 30720 4 pata_amd 14212 0 pata_cs5536 9348 2 pata_acpi 8320 0 ata_generic 8324 0 ehci_hcd 37900 0 ohci_hcd 26640 0 libata 159600 4 pata_amd,pata_cs5536,pata_acpi,ata_generic usbcore 146412 5 usb_storage,libusual,ehci_hcd,ohci_hcd scsi_mod 151436 4 sg,usb_storage,sd_mod,libata 8139too 27520 0 8139cp 24704 0 mii 6400 2 8139too,8139cp thermal 16796 0 processor 36488 1 thermal fan 5636 0 fbcon 42912 70 tileblit 3456 1 fbcon font 9472 1 fbcon bitblit 6784 1 fbcon softcursor 3072 1 bitblit fuse 50708 1 [root@fette]~ #rmmod geode_aes [/dev/pts/4 # 505 - 0 - 0 # 0 day 21:00:33 # 0.14 - 0.07 - 0.03] ERROR: Module geode_aes does not exist in /proc/modules [root@fette]~ #cryptsetup -y --cipher aes --key-size 128 luksFormat /dev/loop1 [/dev/pts/4 # 506 - 0 - 1 # 0 day 21:00:51 # 0.10 - 0.06 - 0.02] WARNING! ======== This will overwrite data on /dev/loop1 irrevocably. Are you sure? (Type uppercase yes): YES Enter LUKS passphrase: Verify passphrase: Command successful. [root@fette]~ #cryptsetup luksOpen /dev/loop1 test [/dev/pts/4 # 507 - 0 - 0 # 0 day 21:01:12 # 0.07 - 0.06 - 0.02] Enter LUKS passphrase: key slot 0 unlocked. Command successful. [root@fette]~ #dd if=/dev/zero of=/dev/mapper/test bs=16384 [/dev/pts/4 # 508 - 0 - 0 # 0 day 21:01:23 # 0.06 - 0.05 - 0.02] dd: writing `/dev/mapper/test': No space left on device 8160+0 records in 8159+0 records out 133689344 bytes (134 MB) copied, 29,117 s, 4,6 MB/s [root@fette]~ #cryptsetup luksClose test [/dev/pts/4 # 509 - 0 - 1 # 0 day 21:02:08 # 1.33 - 0.36 - 0.12] [root@fette]~ #modprobe geode_aes [/dev/pts/4 # 510 - 0 - 0 # 0 day 21:02:23 # 1.03 - 0.34 - 0.12] [root@fette]~ #lsmod |grep aes [/dev/pts/4 # 511 - 0 - 0 # 0 day 21:03:33 # 0.49 - 0.33 - 0.13] geode_aes 7176 0 aes_i586 33536 2 blkcipher 8324 2 geode_aes,cbc [root@fette]~ #cryptsetup luksOpen /dev/loop1 test [/dev/pts/4 # 512 - 0 - 0 # 0 day 21:03:44 # 0.42 - 0.32 - 0.13] Enter LUKS passphrase: key slot 0 unlocked. Command successful. [root@fette]~ #lsmod |grep aes [/dev/pts/4 # 513 - 0 - 0 # 0 day 21:04:12 # 0.25 - 0.28 - 0.12] geode_aes 7176 1 aes_i586 33536 2 blkcipher 8324 2 geode_aes,cbc [root@fette]~ #dd if=/dev/zero of=/dev/mapper/test bs=16384 [/dev/pts/4 # 514 - 0 - 0 # 0 day 21:04:14 # 0.25 - 0.28 - 0.12] dd: writing `/dev/mapper/test': No space left on device 8160+0 records in 8159+0 records out 133689344 bytes (134 MB) copied, 33,3845 s, 4,0 MB/s [root@fette]~ #cryptsetup luksClose test [/dev/pts/4 # 515 - 0 - 1 # 0 day 21:04:53 # 1.44 - 0.59 - 0.23] [root@fette]~ #