• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Hardware and U-Boot firmware / Hardware / Re: Is my sheevaplug dead ??? on: July 16, 2010, 02:19:37 PM
Just wanted to thank you guys for the detailed instructions on how to fix this. You saved my day!

My SheevaPlug died yesterday and I didn't even have an external HD attached, just a USB stick. Maybe the weather was too hot  Wink. I didn't even bother to open the silver box (also because of the warnings here) because the blinking LED symptoms were pretty clear.

Following the instructions of SunnyJim and oswald31, it's running again! After slightly enlarging the figure 8 plug connector hole, the jack fit in perfectly.

Maybe the following is helpful for some people with the same problem that are similarly unexperienced as me with this stuff:
  • It's actually okay to connect both the red cables to positive and both the black cables to negative, as shown on some of the photos here. I.e. it's okay to connect each pair to the same pole with the same voltage.
  • If you get one of those jacks with a switching contact, you don't need to connect the switching contact to anything.
2  Linux Stuff / Kernel / Re: 2.6.32.7 new release on: January 31, 2010, 03:11:02 PM
Maybe you can still recover it? I've noted some instructions here:
http://www.plugcomputer.org/plugwiki/index.php/Recovering_from_bad_kernel_flash
3  Linux Stuff / Kernel / Re: 2.6.32.5 new release on: January 23, 2010, 12:24:27 PM
Works perfectly, thank you very much!
4  Linux Stuff / Kernel / Re: Cryptsetup: Segmentation fault on: January 22, 2010, 06:27:42 PM
Unfortunately I don't know of an alternative source. But I've asked cbxbiker61 about this, maybe he can check if there's a newer version of the tools he could use.
5  Linux Stuff / Kernel / Re: Cryptsetup: Segmentation fault on: January 22, 2010, 04:40:05 PM
As Lt_flash noted, this might be related to the tools used to build the kernels. Here's a link to the post:
http://plugcomputer.org/plugforum/index.php?topic=425.msg7155#msg7155

I'm not sure which tools cbxbiker61 uses to build his kernels, but maybe that's the reason for the segfaults.
6  Linux Stuff / Kernel / Re: 2.6.31 new release on: September 29, 2009, 11:37:44 AM
Cool, thanks for the info, theblop!
7  Linux Stuff / Kernel / Re: 2.6.31 new release on: September 23, 2009, 05:30:40 PM
Can you do a quick benchmark on a dm_crypt usb HD if you have one?

Sure, however I only have a USB stick with an encrypted partition connected right now. I ran the read/write tests a few times, the maximum I got was the following:

Code:
# write test
sync && dd if=/dev/zero of=./test bs=1000k count=500
500+0 records in
500+0 records out
512000000 bytes (512 MB) copied, 67.3066 s, 7.6 MB/s

# read test
sync && dd if=./test of=/dev/null && rm ./test
1000000+0 records in
1000000+0 records out
512000000 bytes (512 MB) copied, 61.8155 s, 8.3 MB/s

I wonder how much faster dm_crypt would be if it used the sheevaplug's encryption chipset.

Note that for the tests above the mv_cesa module was loaded. Yet I have no idea whether it's actually used for my cipher or not.

Code:
lsmod
Module                  Size  Used by
ipv6                  263160  10
dm_crypt               13820  1
dm_mod                 67868  3 dm_crypt
mv_cesa                 6856  1
8  Linux Stuff / Kernel / Re: 2.6.31 new release on: September 23, 2009, 03:36:14 PM
Boots fine.  Seems robust.  dm_crypt still broken.
Just compiled the orion 2.6.31 trunk version and dm_crypt / cryptsetup seems to work fine. I haven't tried cbxbiker61's version yet.
In case anybody else wants to give this alternative version a try: http://photon123.dyndns.org/sheeva/README-2.6.31-06466-g4c203e00
9  Linux Stuff / Kernel / Re: Is dm-crypt and fuse included in the stock kernel? on: September 21, 2009, 12:55:02 AM
Note that for the 2.6.31 kernel there is support for the hardware acceleration (Marvell's Cryptographic Engines and Security Accelerator (CESA)), see http://plugcomputer.org/plugforum/index.php?topic=425.msg4249#msg4249 and http://plugcomputer.org/plugforum/index.php?topic=425.msg4164#msg4164. I don't know if cbxbiker61's build of the 2.6.31 kernel includes it, though.
10  Linux Stuff / Kernel / Re: 2.6.30-rc8 cryptsetup support on: September 21, 2009, 12:51:01 AM
Could someone post a HowTo on how to compile in dm-crypt support into a kernel on the PlugComputer wiki?  This would be a good addition to the wiki.
Adding dm-crypt support is only a matter of selecting it in the menuconfig when you compile the kernel. Good HowTos on how to compile a custom kernel can be found at http://plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer and http://computingplugs.com/index.php/Building_a_custom_kernel.

Note that cbxbiker61's precompiled kernels come with dm-crypt enabled, however it still seems to be broken.

If you only need a kernel with dm-crypt working, you can download one of those linked in http://plugcomputer.org/plugforum/index.php?topic=425.msg4152#msg4152 or http://plugcomputer.org/plugforum/index.php?topic=425.msg4164#msg4164.
11  Linux Stuff / Kernel / Re: 2.6.31 new release on: September 19, 2009, 11:54:03 AM
I also updated my plug with 2.6.31 and got the following warning:
Quote
------------[ cut here ]------------
WARNING: at arch/arm/kernel/process.c:171 cpu_idle+0x80/0xc0()
Modules linked in: dm_crypt dm_mod snd_usb_audio snd_pcm snd_timer snd_page_alloc snd_usb_lib snd_rawmidi snd_seq_device snd_hwdep snd soundcore
[<c0031a78>] (unwind_backtrace+0x0/0xe0) from [<c00423f8>] (warn_slowpath_common+0x50/0x68)
[<c00423f8>] (warn_slowpath_common+0x50/0x68) from [<c002d8d0>] (cpu_idle+0x80/0xc0)
[<c002d8d0>] (cpu_idle+0x80/0xc0) from [<c00089ec>] (start_kernel+0x268/0x2c0)
[<c00089ec>] (start_kernel+0x268/0x2c0) from [<00008034>] (0x8034)
---[ end trace a3132aad8b495ecd ]---

I saw a thread related to 2.6.31_rc7 relating to this warning, has anyone else got this warning?

For the release candidates this was easy to fix using a patch as described here, using the following patch:
http://patchwork.kernel.org/patch/40871/
12  Linux Stuff / Kernel / Re: 2.6.31 new release on: September 19, 2009, 03:45:02 AM
Boots fine.  Seems robust.  dm_crypt still broken.

Strange that dm_crypt still seems to be broken, as I did work for the release candidates: http://plugcomputer.org/plugforum/index.php?topic=425.msg4164#msg4164
13  Linux Stuff / Kernel / Re: 2.6.30-rc8 cryptsetup support on: September 03, 2009, 12:29:04 AM
Yes, I guess that commit should already be contained in the orion build above. At least it also contains a Marvell-specific hardware accelerated crypto module.
14  Linux Stuff / Kernel / Re: 2.6.30-rc8 cryptsetup support on: September 01, 2009, 12:26:40 AM
It's linked in the post above: http://patchwork.kernel.org/patch/40871/

However you can't directly apply the patch automatically since apparently the line numbers have changed. But it's pretty simple to apply manually.
15  Linux Stuff / Kernel / Re: 2.6.30-rc8 cryptsetup support on: August 31, 2009, 03:13:03 PM
Small update: the orion build (2.6.31-rc7) above now also includes a patch I found here that fixes the following kernel warnings:

Code:
Aug 30 15:05:14 sheevaplug kernel: ------------[ cut here ]------------
Aug 30 15:05:14 sheevaplug kernel: WARNING: at arch/arm/kernel/process.c:171 cpu_idle+0x78/0xc0()
Aug 30 15:05:14 sheevaplug kernel: Modules linked in: cbc sg dm_crypt dm_mod
Aug 30 15:05:14 sheevaplug kernel: [<c002a7fc>] (unwind_backtrace+0x0/0xd8) from [<c00393c4>] (warn_slowpath_common+0x48/0x60)
Aug 30 15:05:14 sheevaplug kernel: [<c00393c4>] (warn_slowpath_common+0x48/0x60) from [<c0026920>] (cpu_idle+0x78/0xc0)
Aug 30 15:05:14 sheevaplug kernel: [<c0026920>] (cpu_idle+0x78/0xc0) from [<c0008a74>] (start_kernel+0x22c/0x274)
Aug 30 15:05:14 sheevaplug kernel: [<c0008a74>] (start_kernel+0x22c/0x274) from [<00008034>] (0x8034)
Aug 30 15:05:14 sheevaplug kernel: ---[ end trace 58552e5ab72ed769 ]---
Pages: [1] 2