• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Kernel / Re: 2.6.32.4 new release on: January 20, 2010, 01:15:51 PM
Thanks, you´re the best  Grin
2  Linux Stuff / Kernel / Re: 2.6.32.3 new release on: January 18, 2010, 02:22:09 PM
I would appreciate if you could compile upcoming kernel's with:

CONFIG_USB_NET_DM9601=m

Alot of these $10 cheap chinese ebay USB NIC's are using this chip.
3  Linux Stuff / Kernel / Re: Truecrypt for Marvell ARM with Crypto Support (2.6.32+) on: January 17, 2010, 04:51:35 AM
Hi,

No, you have to compile truecrypt yourself. I have done that but it does not work to mount an encrypted volume for some reason, It looks like dm_crypt is not working properly.

EDIT:

OK, now I have finally got TrueCrypt to work. I am mounting volumes with the option: '--mount-options=nokernelcrypto'. This will use the TrueCrypt's internal crypto API's instead of the kernel's. I dont know why the kernel API's doesnt work. I think it has something to do with the ARM processor and patches might be needed for the kernel.

I´ve run samba speed tests using an encrypted volume and a normal disk mount (unencrypted) the truecrypt speed is not that satisfying to me, kinda makes me sick  Cry

Without encyption: ~28-35 MB/s
With encryption (AES): ~5 MB/s

I guess I wont be using the Sheeva as a small power-efficient encrypted file server.
4  Linux Stuff / Kernel / Re: 2.6.32.3 new release on: January 09, 2010, 02:13:59 PM
Doesn´t this kernel support dm_crypt?

It's supported in the sense that support is "built" so that people can test it.  I don't know of anyone having great success with it though.

If you know of any wonderful patches that would get it working, I'd be happy to take a look at them.

alright, I will play around and if I manage to get it to work I will let you know.
5  Linux Stuff / Kernel / Re: 2.6.32.3 new release on: January 09, 2010, 01:08:28 PM
Doesn´t this kernel support dm_crypt?

Quote
kernel BUG at kernel/workqueue.c:191!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = df354000
[00000000] *pgd=1f23f031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#3] PREEMPT
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in: sha256_generic xts gf128mul fuse ipv6 dm_crypt dm_mod mv_cesa
CPU: 0    Tainted: G      D     (2.6.32.3 #1)
PC is at __bug+0x20/0x2c
LR is at vprintk+0x3d0/0x408
pc : [<c0030e94>]    lr : [<c0045194>]    psr: 20000013
sp : df3dfa70  ip : df3df9c8  fp : df3dfa7c
r10: de436580  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : de436800  r5 : df177520  r4 : de4cfdd0
r3 : 00000000  r2 : df3df9b0  r1 : df3df9c8  r0 : 0000002c
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 1f354000  DAC: 00000015
Process cryptsetup (pid: 2202, stack limit = 0xdf3de270)
Stack: (0xdf3dfa70 to 0xdf3e0000)
fa60:                                     df3dfa94 df3dfa80 c005a738 c0030e88
fa80: de4cfdd0 df177520 df3dfaac df3dfa98 c005ad74 c005a6ec 00000001 00000000
faa0: df3dfac4 df3dfab0 bf0213d8 c005ad58 00000001 df39e020 df3dfaf4 df3dfac8
fac0: bf008378 bf02136c bf008074 c00ecc70 00000001 00000000 0000007d 00000000
fae0: df3de000 00000000 df3dfb8c df3dfaf8 bf0092f8 bf008334 00000000 00000001
fb00: 00000001 df1778c0 007a1200 00000000 0005847b 00000000 df3dfb5c df39e020
fb20: e0c34020 c0038630 0005847b 00000000 c003e66c de5e2320 df3dbe00 df135e40
fb40: de436580 de69a060 00000000 00000000 00000001 00000000 c0420000 c043005c
fb60: c05a2ff0 00000000 df3dbe00 de436580 df3dbe20 df3de000 00000000 df0dce70
fb80: df3dfbac df3dfb90 bf00988c bf009048 df421380 de436580 00000000 00000000
fba0: df3dfc1c df3dfbb0 c022d438 bf009688 df3dfbec df3dfbc0 bf008ff0 0fe00001
fbc0: 00000000 00000000 bf008f44 00000001 de4365c8 de436580 00000000 de4365c8
fbe0: df3dfc3c df3dfbf0 c00ed294 bf008f54 df877d40 c05a9d10 df3de000 00000001
fc00: 00000001 00000001 00000000 de436580 df3dfc74 df3dfc20 c0231b70 c022d06c
fc20: 00000001 de6b1000 00000000 00000800 df3dfc5c df3dfc40 c00ede50 c00ed114
fc40: 00000800 000000f0 c00eff70 de6b1000 a0000013 de6b1000 de436580 00000001
fc60: de6b1000 00000800 df3dfc94 df3dfc78 c00f017c c0231a80 00000200 00000001
fc80: 00000001 00000001 df3dfd34 df3dfc98 c00f10d4 c00f0100 00000000 00000000
fca0: 00000000 00000200 00000000 df4213e8 000000c1 00000009 00000200 00000000
fcc0: 00000000 00000000 00000001 de6b1070 00000000 00000008 df3dfd44 00000009
fce0: df3de000 00000000 de6b1070 df3dff18 00000000 00000000 c05cc9d0 00000000
fd00: c0aea0c0 00000001 df3de000 00000000 00000000 00000000 00000000 00000000
fd20: 00000000 df421484 df3dfd64 df3dfd38 c00efb48 c00f05c0 df3dff10 ffffffff
fd40: 00000000 00000000 00000001 c00efa40 00000000 00000002 df3dfdbc df3dfd68
fd60: c00934c8 c00efb04 00000000 00000000 00000001 00000000 df3dfdbc df3dfdfc
fd80: df3dff10 df3dfe80 df4213e8 00000000 4b48e1df 0000fa00 00000000 00000000
fda0: 00000000 df4213e8 00000001 00000200 df3dfe44 df3dfdc0 c0093954 c00933a0
fdc0: 00000000 00000000 df3dfed0 00000200 00000200 00000000 df3dfdf4 df3dfed0
fde0: df3dff10 df3dfe80 df3dfe0c c0235da4 de436700 df421484 00000000 00000001
fe00: df3dfe44 df3dfe10 c00ef2fc df421380 00000000 00000200 df3dfe44 00000000
fe20: 00000000 00000000 00000000 de436700 df3de000 0002f800 df3dfe74 df3dfe48
fe40: c00ee35c c00935b8 00000000 de436700 00000000 00000000 00000000 df3dfe80
fe60: de436700 df3dff70 df3dff3c df3dfe78 c00c359c c00ee32c 00000000 00000000
fe80: df2bb000 00031003 00000000 00000001 ffffffff de436700 00000000 00000000
fea0: 00000000 00000000 de5e2320 df3dfed8 00000000 00000000 c00d034c de5e2320
fec0: c005f034 df3dfec4 df3dfec4 de436700 00000000 00000000 de436700 bee9720c
fee0: df3de000 0000fa00 00000200 df3dfef8 c00d1994 c02359c0 de436700 df1441f8
ff00: 00001268 de436700 df3dff7c df3dff18 0002f800 00000200 df87a880 de436700
ff20: 0002f800 df3dff70 00000200 00000200 df3dff6c df3dff40 c00c3e98 c00c34f8
ff40: df3dff6c df3dff50 c00c18a0 00000000 00000000 de436700 00000200 0002f800
ff60: df3dffa4 df3dff70 c00c44a4 c00c3dec 00000000 00000000 c00d20fc 00000000
ff80: 00011002 00000200 0000fa00 0000f800 00000004 c002dba4 0001f938 df3dffa8
ffa0: c002da20 c00c4470 00000200 0000fa00 00000005 0002f800 00000200 3fe50913
ffc0: 00000200 0000fa00 0000f800 00000004 00000005 fffffe00 0002f800 0001f938
ffe0: 0001f938 bee971f8 0000c7dc 401ae48c 40000010 00000005 00000000 00000000
[<c0030e94>] (__bug+0x20/0x2c) from [<c005a738>] (queue_work_on+0x5c/0x78)
[<c005a738>] (queue_work_on+0x5c/0x78) from [<c005ad74>] (queue_work+0x2c/0x5c)
[<c005ad74>] (queue_work+0x2c/0x5c) from [<bf0213d8>] (crypt_map+0x84/0x98 [dm_crypt])
[<bf0213d8>] (crypt_map+0x84/0x98 [dm_crypt]) from [<bf008378>] (__map_bio+0x58/0x190 [dm_mod])
[<bf008378>] (__map_bio+0x58/0x190 [dm_mod]) from [<bf0092f8>] (__split_and_process_bio+0x2c0/0x5f0 [dm_mod])
[<bf0092f8>] (__split_and_process_bio+0x2c0/0x5f0 [dm_mod]) from [<bf00988c>] (dm_request+0x214/0x224 [dm_mod])
[<bf00988c>] (dm_request+0x214/0x224 [dm_mod]) from [<c022d438>] (generic_make_request+0x3dc/0x434)
[<c022d438>] (generic_make_request+0x3dc/0x434) from [<c0231b70>] (submit_bio+0x104/0x120)
[<c0231b70>] (submit_bio+0x104/0x120) from [<c00f017c>] (dio_bio_submit+0x8c/0x9c)
[<c00f017c>] (dio_bio_submit+0x8c/0x9c) from [<c00f10d4>] (__blockdev_direct_IO+0xb24/0xe40)
[<c00f10d4>] (__blockdev_direct_IO+0xb24/0xe40) from [<c00efb48>] (blkdev_direct_IO+0x54/0x60)
[<c00efb48>] (blkdev_direct_IO+0x54/0x60) from [<c00934c8>] (generic_file_direct_write+0x138/0x218)
[<c00934c8>] (generic_file_direct_write+0x138/0x218) from [<c0093954>] (__generic_file_aio_write+0x3ac/0x4f0)
[<c0093954>] (__generic_file_aio_write+0x3ac/0x4f0) from [<c00ee35c>] (blkdev_aio_write+0x40/0xa0)
[<c00ee35c>] (blkdev_aio_write+0x40/0xa0) from [<c00c359c>] (do_sync_write+0xb4/0x104)
[<c00c359c>] (do_sync_write+0xb4/0x104) from [<c00c3e98>] (vfs_write+0xbc/0x168)
[<c00c3e98>] (vfs_write+0xbc/0x168) from [<c00c44a4>] (sys_write+0x44/0x70)
[<c00c44a4>] (sys_write+0x44/0x70) from [<c002da20>] (ret_fast_syscall+0x0/0x28)
Code: e24cb004 e59f000c eb0050ce e3a03000 (e5833000)
---[ end trace b31e8f5b54f1aa99 ]---
note: cryptsetup[2202] exited with preempt_count 1
BUG: scheduling while atomic: cryptsetup/2202/0x40000002
Modules linked in: sha256_generic xts gf128mul fuse ipv6 dm_crypt dm_mod mv_cesa
[<c0032d30>] (unwind_backtrace+0x0/0xe0) from [<c042bce0>] (schedule+0x70/0x3fc)
[<c042bce0>] (schedule+0x70/0x3fc) from [<c003c430>] (__cond_resched+0x18/0x24)
[<c003c430>] (__cond_resched+0x18/0x24) from [<c042c660>] (_cond_resched+0x34/0x44)
[<c042c660>] (_cond_resched+0x34/0x44) from [<c00ae694>] (munlock_vma_pages_range+0x94/0xb0)
[<c00ae694>] (munlock_vma_pages_range+0x94/0xb0) from [<c00afa7c>] (exit_mmap+0x48/0x214)
[<c00afa7c>] (exit_mmap+0x48/0x214) from [<c0041cc0>] (mmput+0x40/0x110)
[<c0041cc0>] (mmput+0x40/0x110) from [<c0045fa8>] (exit_mm+0x148/0x158)
[<c0045fa8>] (exit_mm+0x148/0x158) from [<c00475e0>] (do_exit+0x180/0x6c4)
[<c00475e0>] (do_exit+0x180/0x6c4) from [<c0031380>] (die+0x17c/0x1a0)
[<c0031380>] (die+0x17c/0x1a0) from [<c0033d88>] (__do_kernel_fault+0x6c/0x7c)
[<c0033d88>] (__do_kernel_fault+0x6c/0x7c) from [<c042ffac>] (do_page_fault+0x23c/0x258)
[<c042ffac>] (do_page_fault+0x23c/0x258) from [<c002d30c>] (do_DataAbort+0x40/0xa0)
[<c002d30c>] (do_DataAbort+0x40/0xa0) from [<c042e08c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xdf3dfa28 to 0xdf3dfa70)
fa20:                   0000002c df3df9c8 df3df9b0 00000000 de4cfdd0 df177520
fa40: de436800 00000000 00000000 00000000 de436580 df3dfa7c df3df9c8 df3dfa70
fa60: c0045194 c0030e94 20000013 ffffffff
[<c042e08c>] (__dabt_svc+0x4c/0x60) from [<c0030e94>] (__bug+0x20/0x2c)
[<c0030e94>] (__bug+0x20/0x2c) from [<c005a738>] (queue_work_on+0x5c/0x78)
[<c005a738>] (queue_work_on+0x5c/0x78) from [<c005ad74>] (queue_work+0x2c/0x5c)
[<c005ad74>] (queue_work+0x2c/0x5c) from [<bf0213d8>] (crypt_map+0x84/0x98 [dm_crypt])
[<bf0213d8>] (crypt_map+0x84/0x98 [dm_crypt]) from [<bf008378>] (__map_bio+0x58/0x190 [dm_mod])
[<bf008378>] (__map_bio+0x58/0x190 [dm_mod]) from [<bf0092f8>] (__split_and_process_bio+0x2c0/0x5f0 [dm_mod])
[<bf0092f8>] (__split_and_process_bio+0x2c0/0x5f0 [dm_mod]) from [<bf00988c>] (dm_request+0x214/0x224 [dm_mod])
[<bf00988c>] (dm_request+0x214/0x224 [dm_mod]) from [<c022d438>] (generic_make_request+0x3dc/0x434)
[<c022d438>] (generic_make_request+0x3dc/0x434) from [<c0231b70>] (submit_bio+0x104/0x120)
[<c0231b70>] (submit_bio+0x104/0x120) from [<c00f017c>] (dio_bio_submit+0x8c/0x9c)
[<c00f017c>] (dio_bio_submit+0x8c/0x9c) from [<c00f10d4>] (__blockdev_direct_IO+0xb24/0xe40)
[<c00f10d4>] (__blockdev_direct_IO+0xb24/0xe40) from [<c00efb48>] (blkdev_direct_IO+0x54/0x60)
[<c00efb48>] (blkdev_direct_IO+0x54/0x60) from [<c00934c8>] (generic_file_direct_write+0x138/0x218)
[<c00934c8>] (generic_file_direct_write+0x138/0x218) from [<c0093954>] (__generic_file_aio_write+0x3ac/0x4f0)
[<c0093954>] (__generic_file_aio_write+0x3ac/0x4f0) from [<c00ee35c>] (blkdev_aio_write+0x40/0xa0)
[<c00ee35c>] (blkdev_aio_write+0x40/0xa0) from [<c00c359c>] (do_sync_write+0xb4/0x104)
[<c00c359c>] (do_sync_write+0xb4/0x104) from [<c00c3e98>] (vfs_write+0xbc/0x168)
[<c00c3e98>] (vfs_write+0xbc/0x168) from [<c00c44a4>] (sys_write+0x44/0x70)
[<c00c44a4>] (sys_write+0x44/0x70) from [<c002da20>] (ret_fast_syscall+0x0/0x28)
Segmentation fault
Pages: [1]