|
|
 |
« Reply #30 on: September 19, 2009, 11:54:03 AM » |
|
I also updated my plug with 2.6.31 and got the following warning: ------------[ 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/
|
|
|
|
|
Logged
|
|
|
|
|
rooster
Administrator
Sr. Member
   
Karma: 8
Posts: 311
|
 |
« Reply #31 on: September 20, 2009, 01:34:31 AM » |
|
Yes I saw the patch but thought it was integrated to 2.6.31...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #32 on: September 22, 2009, 09:56:09 PM » |
|
2.6.31 is now available.
cbxbiker61, what toolchain did you use to compile the kernel? I'd like to make a custom configured kernel. I'm starting from the kernel.org 2.6.31 sources, added the patches that you provide and am using your .config that you have kindly posted. I'd like to be sure I'm using the same toolchain as well. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
sillis
Newbie
Karma: 1
Posts: 13
|
 |
« Reply #33 on: September 22, 2009, 10:30:15 PM » |
|
I received this error message while trying to get new kernel to work on my sheevaplug:
root@debian:/home/sillis/temp# sh README-2.6.31 --rootkernel README-2.6.31: 29: Syntax error: "(" unexpected
Current kernel is 2.6.30-rc8.
Has anyone else experienced problems using this readme file?
|
|
|
|
« Last Edit: September 22, 2009, 10:33:52 PM by sillis »
|
Logged
|
|
|
|
|
|
|
 |
« Reply #34 on: September 22, 2009, 11:24:31 PM » |
|
Because you're trying to run it under /bin/sh rather than bash.
Just do ./README...
after giving it execute permisions with chmod u+x README...
Rgds
Damon
|
|
|
|
|
Logged
|
|
|
|
|
sillis
Newbie
Karma: 1
Posts: 13
|
 |
« Reply #35 on: September 23, 2009, 12:16:00 AM » |
|
Because you're trying to run it under /bin/sh rather than bash.
Just do ./README...
after giving it execute permisions with chmod u+x README...
Rgds
Damon
Oh hell, i feel so stupid now, Thanks Damon. I dumped the kernel update using the readme file and proceeded to just copy paste uimage to /boot and kernelheaders&modules to right folders. At the end of boot process i got the following message. insmod: can't read '/boot/fat.ko': No such file or directory Maybe because i didnt use the readme file ? but it seems everything is working now, uname -a reports update was a success.. Linux debian 2.6.31 #2 PREEMPT Wed Sep 16 00:55:42 MDT 2009 armv5tel GNU/Linux
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #36 on: September 23, 2009, 12:27:13 AM » |
|
Don't go feeling stupid without letting me get ahead of you in the "stupid" queue! %-P
Actually I think it would be slightly better to have the script execute under 'sh' anyway which runs everywhere and in much less memory, and is somewhat less bizarre IMHO, but it's a very minor point. It's great that these scripts have been put together for us to use!
Rgds
Damon
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #37 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
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #38 on: September 23, 2009, 04:59:51 PM » |
|
Can you do a quick benchmark on a dm_crypt usb HD if you have one? With a 2.6.29 kernel I get about 5MB/s running a 500MB write/read test on a dm_crypted USB hard disk (33MB/s without dm_crypt): # write test sync && dd if=/dev/zero of=./test bs=1000k count=500 # read test sync && dd if=./test of=/dev/null && rm ./test
I wonder how much faster dm_crypt would be if it used the sheevaplug's encryption chipset.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #39 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: # 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. lsmod Module Size Used by ipv6 263160 10 dm_crypt 13820 1 dm_mod 67868 3 dm_crypt mv_cesa 6856 1
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #40 on: September 24, 2009, 02:36:35 AM » |
|
# 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
Thanks, it looks promising! I'll try compiling the 2.6.31 orion kernel and see what I get with my hard disk.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #41 on: September 24, 2009, 02:03:48 PM » |
|
Hi cbxbiker61, Thanks for your work on pre-built Sheeva kernels. I've been using your 2.6.30.6 release with usb-serial happily for awhile. I'd like to humbly request configuring CONFIG_USB_HIDDEV with your next release. This would allow monitoring of APC Uninterruptable Power Supplies and battery status. I'm using the Sheevaplug and an Arduino for a home monitoring system that I'd like to be able to report a mains power loss  Thanks very much!
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #42 on: September 25, 2009, 03:44:20 AM » |
|
Hi cbxbiker61,
Just a quick note to say 'Sir, you are a star!!'.
Your latest pre-built kernel fixed my 'tun' issue with the standard install.
Fantastic!
Thanks,
Richard
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #43 on: September 25, 2009, 04:43:55 AM » |
|
Seconded on the star status...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
 |
« Reply #44 on: September 29, 2009, 11:28:57 AM » |
|
# 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
Thanks, it looks promising! I'll try compiling the 2.6.31 orion kernel and see what I get with my hard disk. Ok I compiled 2.6.31 from the latest orion tree with CONFIG_CRYPTO_DEV_MV_CESA=y and got about twice the speed: write 500 MB: 512000000 bytes (512 MB) copied, 57.3278 s, 8.9 MB/s read: 512000000 bytes (512 MB) copied, 45.0345 s, 11.4 MB/s
About 3 times slower as without encryption, but it'll do for my backups!
|
|
|
|
|
Logged
|
|
|
|
|
|