Hello! I used the instructions on http://deb.riseup.net/storage/encryption/loop-aes/ to create a encrypted area. But when I get to the 'dd' stage (using /dev/loop1 and /dev/md2), weird things starts to happen. I should have plenty of memory total used free shared buffers cached Mem: 3116936 3095872 21064 0 178824 2545060 -/+ buffers/cache: 371988 2744948 Swap: 1951888 772 1951116 cookiemonster:~/VMware# At the time of the problem, swap was less then 50MB in use. Running Debian 3.1 cookiemonster:~/VMware# uname -a Linux cookiemonster 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux cookiemonster:~/VMware# dpkg -l | grep aes ii loop-aes-2.6.8 2.2d-5+2.6.8-1 AES-encryption loopback Linux kernel module ii loop-aes-sourc 2.2d-5 AES-encryption loopback Linux kernel module ii loop-aes-utils 2.12p-4sarge1 Tools for mounting and manipulating filesyst cookiemonster:~/VMware# I am not sure what other info is useful? Mar 7 19:20:40 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar 7 19:20:40 cookiemonster kernel: DMA per-cpu: Mar 7 19:20:40 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1 Mar 7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1 Mar 7 19:20:40 cookiemonster kernel: Normal per-cpu: Mar 7 19:20:40 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 19:20:40 cookiemonster kernel: HighMem per-cpu: Mar 7 19:20:40 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 19:20:40 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 19:20:40 cookiemonster kernel: Mar 7 19:20:40 cookiemonster kernel: Free pages: 56112kB (51712kB HighMem) Mar 7 19:20:40 cookiemonster kernel: Active:314462 inactive:417279 dirty:98112 writeback:190440 unstable:0 free:14028 slab:24168 mapped:5741 0 pagetables:323 Mar 7 19:20:40 cookiemonster kernel: DMA free:1904kB min:16kB low:32kB high:48kB active:0kB inactive:7904kB present:16384kB Mar 7 19:20:40 cookiemonster kernel: protections[]: 8 476 732 Mar 7 19:20:41 cookiemonster kernel: Normal free:2496kB min:936kB low:1872kB high:2808kB active:108kB inactive:760052kB present:901120kB Mar 7 19:20:41 cookiemonster kernel: protections[]: 0 468 724 Mar 7 19:20:41 cookiemonster kernel: HighMem free:51712kB min:512kB low:1024kB high:1536kB active:1257740kB inactive:901160kB present:222790 4kB Mar 7 19:20:41 cookiemonster kernel: protections[]: 0 0 256 Mar 7 19:20:41 cookiemonster kernel: DMA: 0*4kB 126*8kB 46*16kB 5*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1904kB Mar 7 19:20:41 cookiemonster kernel: Normal: 138*4kB 13*8kB 1*16kB 47*32kB 5*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2496k B Mar 7 19:20:41 cookiemonster kernel: HighMem: 246*4kB 891*8kB 293*16kB 180*32kB 46*64kB 24*128kB 2*256kB 0*512kB 8*1024kB 3*2048kB 3*4096kB = 51712kB Mar 7 19:20:41 cookiemonster kernel: Swap cache: add 637, delete 530, find 111/130, race 0+0 Mar 7 19:20:41 cookiemonster kernel: Out of Memory: Killed process 29237 (mysqld). Mar 7 19:21:01 cookiemonster mysqld_safe[29297]: Number of processes running now: 0 : Mar 7 19:21:07 cookiemonster mysqld_safe[29299]: restarted Mar 7 19:21:08 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar 7 19:21:08 cookiemonster kernel: DMA per-cpu: Mar 7 19:21:08 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1 Mar 7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1 Mar 7 19:21:08 cookiemonster kernel: Normal per-cpu: Mar 7 19:21:08 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 19:21:08 cookiemonster kernel: HighMem per-cpu: Mar 7 19:21:08 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 19:21:08 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 19:21:08 cookiemonster kernel: Mar 7 19:21:08 cookiemonster kernel: Free pages: 71888kB (68160kB HighMem) Mar 7 19:21:08 cookiemonster kernel: Active:312689 inactive:415107 dirty:704 writeback:189093 unstable:0 free:17972 slab:24235 mapped:55481 pagetables:307 Mar 7 19:21:08 cookiemonster kernel: DMA free:1904kB min:16kB low:32kB high:48kB active:0kB inactive:7840kB present:16384kB Mar 7 19:21:08 cookiemonster kernel: protections[]: 8 476 732 Mar 7 19:21:09 cookiemonster kernel: Normal free:1824kB min:936kB low:1872kB high:2808kB active:180kB inactive:760516kB present:901120kB Mar 7 19:21:09 cookiemonster kernel: protections[]: 0 468 724 Mar 7 19:21:09 cookiemonster kernel: HighMem free:68160kB min:512kB low:1024kB high:1536kB active:1250576kB inactive:892072kB present:222790 4kB Mar 7 19:21:09 cookiemonster kernel: protections[]: 0 0 256 Mar 7 19:21:09 cookiemonster kernel: DMA: 0*4kB 126*8kB 46*16kB 5*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1904kB Mar 7 19:21:09 cookiemonster kernel: Normal: 0*4kB 0*8kB 2*16kB 46*32kB 5*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1824kB Mar 7 19:21:09 cookiemonster kernel: HighMem: 0*4kB 656*8kB 622*16kB 213*32kB 111*64kB 41*128kB 14*256kB 7*512kB 8*1024kB 3*2048kB 3*4096kB = 68160kB Mar 7 19:21:09 cookiemonster kernel: Swap cache: add 637, delete 530, find 111/130, race 0+0 Mar 7 19:21:09 cookiemonster kernel: Out of Memory: Killed process 26106 (apache2). Mar 7 19:22:49 cookiemonster mysqld[29302]: 060307 19:22:49 InnoDB: Database was not shut down normally! Mar 7 19:22:49 cookiemonster mysqld[29302]: InnoDB: Starting crash recovery. Mar 7 19:22:49 cookiemonster mysqld[29302]: InnoDB: Reading tablespace information from the .ibd files... Mar 7 19:23:14 cookiemonster mysqld[29302]: InnoDB: Restoring possible half-written data pages from the doublewrite Mar 7 19:23:14 cookiemonster mysqld[29302]: InnoDB: buffer... Mar 7 19:23:30 cookiemonster mysqld[29302]: 060307 19:23:30 InnoDB: Starting log scan based on checkpoint at Mar 7 19:23:30 cookiemonster mysqld[29302]: InnoDB: log sequence number 0 45164. Mar 7 19:23:31 cookiemonster mysqld[29302]: InnoDB: Doing recovery: scanned up to log sequence number 0 45164 Mar 7 19:23:44 cookiemonster mysqld[29302]: InnoDB: Last MySQL binlog file position 0 79, file name /var/log/mysql/mysql-bin.000037 Mar 7 19:23:44 cookiemonster mysqld[29302]: 060307 19:23:44 InnoDB: Flushing modified pages from the buffer pool... Mar 7 19:23:45 cookiemonster mysqld[29302]: 060307 19:23:45 InnoDB: Started; log sequence number 0 45164 Mar 7 19:23:49 cookiemonster mysqld[29302]: /usr/sbin/mysqld: ready for connections. Mar 7 19:23:49 cookiemonster mysqld[29302]: Version: '4.1.11-Debian_4sarge2-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution : And also Mar 7 21:09:53 cookiemonster kernel: kswapd0: page allocation failure. order:0, mode:0x50 Mar 7 21:09:54 cookiemonster kernel: [__alloc_pages+760/880] __alloc_pages+0x2f8/0x370 Mar 7 21:09:54 cookiemonster kernel: [find_or_create_page+184/208] find_or_create_page+0xb8/0xd0 Mar 7 21:09:54 cookiemonster kernel: [grow_dev_page+57/352] grow_dev_page+0x39/0x160 Mar 7 21:09:54 cookiemonster kernel: [__getblk_slow+205/368] __getblk_slow+0xcd/0x170 Mar 7 21:09:54 cookiemonster kernel: [__getblk+99/112] __getblk+0x63/0x70 Mar 7 21:09:54 cookiemonster kernel: [__bread+39/80] __bread+0x27/0x50 Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+45719/5541136] read_block_bitmap+0x56/0xa0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+48923/5541136] ext3_new_block+0x14a/0x570 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__wait_on_buffer+147/176] __wait_on_buffer+0x93/0xb0 Mar 7 21:09:54 cookiemonster kernel: [submit_bh+97/336] submit_bh+0x61/0x150 Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+59988/5541136] ext3_alloc_block+0x33/0x40 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+60939/5541136] ext3_alloc_branch+0x4a/0x2b0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+62465/5541136] ext3_get_block_handle+0x190/0x380 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_xfrm_state_alloc+4173565/4557196] ide_dma_intr+0x0/0xb0 [ide_core] Mar 7 21:09:54 cookiemonster kernel: [__crc_xfrm_state_alloc+4174925/4557196] dma_timer_expiry+0x0/0x80 [ide_core] Mar 7 21:09:54 cookiemonster kernel: [__crc_xfrm_state_alloc+4377542/4557196] journal_alloc_journal_head+0x19/0x90 [jbd] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+63062/5541136] ext3_get_block+0x65/0xc0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__block_write_full_page+583/880] __block_write_full_page+0x247/0x370 Mar 7 21:09:54 cookiemonster kernel: [block_write_full_page+240/256] block_write_full_page+0xf0/0x100 Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+62961/5541136] ext3_get_block+0x0/0xc0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+66220/5541136] ext3_ordered_writepage+0xcb/0x1c0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+62961/5541136] ext3_get_block+0x0/0xc0 [ext3] Mar 7 21:09:54 cookiemonster kernel: [__crc_pm_idle+65953/5541136] bget_one+0x0/0x10 [ext3] Mar 7 21:09:54 cookiemonster kernel: [pageout+193/272] pageout+0xc1/0x110 Mar 7 21:09:54 cookiemonster kernel: [shrink_list+587/1248] shrink_list+0x24b/0x4e0 Mar 7 21:09:54 cookiemonster kernel: [__pagevec_release+40/64] __pagevec_release+0x28/0x40 Mar 7 21:09:54 cookiemonster kernel: [__pagevec_release+40/64] __pagevec_release+0x28/0x40 Mar 7 21:09:54 cookiemonster kernel: [shrink_cache+332/832] shrink_cache+0x14c/0x340 Mar 7 21:09:54 cookiemonster kernel: [shrink_slab+136/400] shrink_slab+0x88/0x190 Mar 7 21:09:54 cookiemonster kernel: [shrink_zone+170/224] shrink_zone+0xaa/0xe0 Mar 7 21:09:54 cookiemonster kernel: [balance_pgdat+573/688] balance_pgdat+0x23d/0x2b0 Mar 7 21:09:54 cookiemonster kernel: [kswapd+210/240] kswapd+0xd2/0xf0 Mar 7 21:09:54 cookiemonster kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 Mar 7 21:09:54 cookiemonster kernel: [ret_from_fork+6/20] ret_from_fork+0x6/0x14 Mar 7 21:09:54 cookiemonster kernel: [autoremove_wake_function+0/96] autoremove_wake_function+0x0/0x60 Mar 7 21:09:54 cookiemonster kernel: [kswapd+0/240] kswapd+0x0/0xf0 Mar 7 21:09:54 cookiemonster kernel: [kernel_thread_helper+5/24] kernel_thread_helper+0x5/0x18 Mar 7 21:10:03 cookiemonster /USR/SBIN/CRON[5308]: (www-data) CMD (/usr/share/cacti/site/poller.php >/dev/null 2>&1) Mar 7 21:10:09 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar 7 21:10:09 cookiemonster kernel: DMA per-cpu: Mar 7 21:10:09 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1 Mar 7 21:10:09 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1 Mar 7 21:10:10 cookiemonster kernel: Normal per-cpu: Mar 7 21:10:10 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 21:10:10 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 21:10:10 cookiemonster kernel: HighMem per-cpu: Mar 7 21:10:10 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 21:10:10 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 21:10:10 cookiemonster kernel: Mar 7 21:10:10 cookiemonster kernel: Free pages: 21600kB (17984kB HighMem) Mar 7 21:10:10 cookiemonster kernel: Active:454672 inactive:289435 dirty:0 writeback:181702 unstable:0 free:5400 slab:13650 mapped:400511 pa getables:722 Mar 7 21:10:10 cookiemonster kernel: DMA free:0kB min:16kB low:32kB high:48kB active:0kB inactive:10932kB present:16384kB Mar 7 21:10:10 cookiemonster kernel: protections[]: 8 476 732 Mar 7 21:10:10 cookiemonster kernel: Normal free:3616kB min:936kB low:1872kB high:2808kB active:116kB inactive:784932kB present:901120kB Mar 7 21:10:10 cookiemonster kernel: protections[]: 0 468 724 Mar 7 21:10:10 cookiemonster kernel: HighMem free:17984kB min:512kB low:1024kB high:1536kB active:1818572kB inactive:361876kB present:222790 4kB Mar 7 21:10:10 cookiemonster kernel: protections[]: 0 0 256 Mar 7 21:10:10 cookiemonster kernel: DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB Mar 7 21:10:10 cookiemonster kernel: Normal: 12*4kB 8*8kB 5*16kB 7*32kB 6*64kB 6*128kB 8*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3616kB Mar 7 21:10:10 cookiemonster kernel: HighMem: 0*4kB 10*8kB 179*16kB 90*32kB 100*64kB 19*128kB 7*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1 7984kB Mar 7 21:10:10 cookiemonster kernel: Swap cache: add 2543, delete 2459, find 41/52, race 0+0 Mar 7 21:10:10 cookiemonster kernel: Out of Memory: Killed process 4273 (mysqld). Mar 7 21:10:16 cookiemonster mysqld_safe[5316]: Number of processes running now: 0 Mar 7 21:10:16 cookiemonster mysqld_safe[5318]: restarted Mar 7 21:10:16 cookiemonster kernel: oom-killer: gfp_mask=0xd0 Mar 7 21:10:16 cookiemonster kernel: DMA per-cpu: Mar 7 21:10:16 cookiemonster kernel: cpu 0 hot: low 2, high 6, batch 1 Mar 7 21:10:16 cookiemonster kernel: cpu 0 cold: low 0, high 2, batch 1 Mar 7 21:10:16 cookiemonster kernel: Normal per-cpu: Mar 7 21:10:16 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 21:10:16 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 21:10:16 cookiemonster kernel: HighMem per-cpu: Mar 7 21:10:16 cookiemonster kernel: cpu 0 hot: low 32, high 96, batch 16 Mar 7 21:10:16 cookiemonster kernel: cpu 0 cold: low 0, high 32, batch 16 Mar 7 21:10:16 cookiemonster kernel: Mar 7 21:10:16 cookiemonster kernel: Free pages: 40896kB (37888kB HighMem) Mar 7 21:10:16 cookiemonster kernel: Active:451600 inactive:287628 dirty:0 writeback:181918 unstable:0 free:10224 slab:13641 mapped:396833 p agetables:705 Mar 7 21:10:16 cookiemonster kernel: DMA free:0kB min:16kB low:32kB high:48kB active:0kB inactive:10996kB present:16384kB - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/