@Almaz ... OK, let me know how you get on ... another way to get the necessary flags in (I think) which isn't updated by dpkg-buildpackage is in the debian/rules file ... I put together a test script, call it test_cryptodev.sh if you like : #!/bin/bash openssl speed -evp md4 2>&1 | tail -2 openssl speed -evp md5 -engine cryptodev 2>&1 | tail -1 openssl speed -evp sby DonCharisma - Debian
Does grep -r "stack-protector" * yield any clue to where it's originating from ? My base level Makefile has this : Makefile:CFLAG= -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_ DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-bu ffer-size=4 -Wformat -Werror=format-security -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DI GESTS -by DonCharisma - Debian
Awesome :) ... drop me a PM, I'm not on hangout ! Cheers DCby DonCharisma - Debian
:D alls well dude, I got stuck on this error for several hours until I figured out the typo : # openssl engine crytodev 3070035152:error:25066067:DSO support routines:DLFCN_LOAD:could not load the sha red library:dso_dlfcn.c:185:filename(/usr/lib/arm-linux-gnueabi/openssl-1.0.0/en gines/libcrytodev.so): /usr/lib/arm-linux-gnueabi/openssl-1.0.0/engines/libcryto dev.so: cannot open sharedby DonCharisma - Debian
Awesome, the 1.6 version didn't work well for me, probably "fixable", but git version went straight through :D Cheers DCby DonCharisma - Debian
Are you using the git version or the 1.6 of crytodev-linux ? And thanks for sharing where you got stuck, I was working on this for nearly a week and don't remember all the steps ! Cheers DCby DonCharisma - Debian
PS my previous kernel has a slightly different layout, the "build" directory is called "kernel" : /lib/modules/3.3.2-kirkwood-dg/kernel Let me know what you dig up :D Cheers DCby DonCharisma - Debian
I think I already know this answer to this, but what does this give : ls /lib/modules/3.12.0-kirkwood-tld-3/build No such file or directory ? Somebody correct me if I'm wrong, but I think this directory and underlying files were created when I installed bodhi's kernel with his .deb package ... as described here : http://forum.doozan.com/read.php?2,12096 , specifically : &quby DonCharisma - Debian
@all, I just received an email back from Nikos. The package maintainer for cryptodev-linux is now Phil Sutter, not Nikos ... In regard to problems and issues people were seeing with it, Nikos says this : QuoteNikos It also requires the following patches to openssl: http://rt.openssl.org/Ticket/Display.html?id=2770&user=guest&pass=guest Otherwise it may cause some random corruptiby DonCharisma - Debian
@restamp ... PS, just got a chance to run the aes-128-cbc test again on box without load : root@GoFlexNet1:~# openssl speed -evp aes-128-cbc -engine cryptodev engine "cryptodev" set. Doing aes-128-cbc for 3s on 16 size blocks: 60298 aes-128-cbc's in 0.05s Doing aes-128-cbc for 3s on 64 size blocks: 58852 aes-128-cbc's in 0.08s Doing aes-128-cbc for 3s on 256 size blocksby DonCharisma - Debian
@restamp, I count 11 modes in the current version, probably you didn't look at the attached file ... a conflictory argument is sometimes helpful, you seem to know something about this, so thanks for sharing your thoughts ... however if your experiences stem from several years ago, then how could you be sure that the situation hasn't changed without further investigation or testing ?by DonCharisma - Debian
@restamp, LOL, so fair to say you won't be enabling your hardware crypto anytime soon ? Cheers DCby DonCharisma - Debian
This is self-documentary as opposed to a precise how-to, if in doubt do your own research and due diligence, I had to ! Marvell kirkwood arm5 processor in my GoFlex Net has a HARDWARE cryptography co-processor. And basically from what I can understand it lies idle whilst encryption/decryption is done in the CPU. This makes the box slower and perform worse. A solution - cryptodev-linux PLUSby DonCharisma - Debian
Again this is self-documentation rather than a precise how-to, if in doubt do your own research and due dilegence in advance ... I had to already :D Crashplan is a cloud backup service. It's not perfect, but it works OK. Crashplan comes in a linux package, however they are generally expecting an Intel/AMD processor. It does, I can confirm however, work on arm platform, just a few extra stby DonCharisma - Debian
I'm not familiar with chromecast, but get the general idea I think of what you're trying to do ... if you want a shortcut, user Gravelrash has recently offered to share a pre-built image - http://forum.doozan.com/read.php?2,17760 , for pogoplug I think so you might want to contact him :) ... I've suggested he make a public dropbox share ... His image contains an accesss point (wby DonCharisma - Debian
They were forgotten, I think that was the point though ... to test it first, confirm working then write to the NAND ... next boot I did a fw_setenv in Debian ... I don't have a serial cable setup, so anything I do to the NAND I do with extreme caution :D Netsoncole works well, but it won't save me from every NAND "mistake" ... Cheers DCby DonCharisma - Debian
Thanks guys, I've looked at similar options in the UK, and yes there's some more and more powerful Intel "embedded" boards and devices coming out ... however my GoFlex Net cost me £35/40Euro ... ... by the time one's bought a case, memory, you're into the £100/125EURO end of things for mini-itx, plus you still need a power supply one way or another ... a pico-pby DonCharisma - Debian
3.16 tld 3 confirmed working on GoFlex Net/SATA Ext3/Wheezy/U-Boot 2011.12 Thanks Bodhi :D Only thing that looked out of place : [ 40.107458] alg: hash: Test 3 failed for mv-sha1 [ 40.177597] alg: hash: Test 1 failed for mv-hmac-sha1 Seems this a known already, to do with hardware encryption and doesn't cause an issue. Cheers DCby DonCharisma - Debian
@Frederick Grayson confirmed working :D ... however ... removing that arg all together works too ... also tested booting off of USB ext2 flash, that boots as well :D ... only thing I didn't test was booting off a ext3 flash as I don't have one ... I'm using "U-Boot 2011.12 (Apr 18 2012 - 23:08:20)" @bodhi ... the windows version of netcat ("v1.11 NT www.rodby DonCharisma - Debian
I like the GoFlex Net because of the two SATA ports and that the older Seagate GoFlex and Backup plus drives slot right in - it's neat, compact and inexpensive. Recently I also researched the "Seagate Business Storage 2" which has arm11 processor dual core, 3 SATA ports and more NAND/Ram than GoFlex Net. It costs less than £100/120 Euros/$160USD ... drawback is that there isnby DonCharisma - Debian
Busybox is used on openwrt and things like Ubiquiti's airos ... it's very very compact and has a large number of the linux commands ... And yes, my advice is to have intermediate goals that you can easily reach. For instance if you want to have an easy to administer and maintain NAS with built in UI, boots off internal NAND, then get there first with the USB drive ... then plan what&by DonCharisma - Debian
Hey Robert, I remember you, hope all is well with you :D ... RAID works fine on davygravy 3.3 kernel which is what I'm currently using, and what my post suggested ... only issue version wise was with Squeeze/Wheezy ... I put a comment on my OMV post here on this forum about how to upgrade from squeeze to wheezy ... basically you need to get the php5-pam in early ... provided you want to cby DonCharisma - Debian
@Frederick Grayson ... fw_printenv | grep rootfstype gives : rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_rootfstype=ext2 usb_set_bootargs=setenv bootargs conby DonCharisma - Debian
I'm getting this in my dmesg : [ 25.630061] EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2 Anyone know how to fix it ? I have searched, quite a lot of Google, and in the forum, didn't find an answer, yet ... It's mounted in fstab, like so : # <file system> <mount point> <type> <options> <dump> <pass> /dev/by DonCharisma - Debian
Boot process is still one of the grey areas for my level of experience ... so I don't know either ... although I suspect it's not needed ... my assumption is that uboot looks for the ext3/ext2 partition, mounts it and then looks in /boot for the kernel and pre-start images, then loads them, gets kernel running and basic linux services, then loads the full OS out of the /bin /usr /etc, eby DonCharisma - Debian
LOL, you seem to share my optimistic dreams, seems easy to dream, but harder to implement ... probably I could upgrade the NAND, but .... what I have is working OK, so if it ain't broken, don't fix it ... Throw more money at it and yes, almost anything's possible ... I sold a 16 port adaptec pcie x8 raid card, I simply don't need 64TB of storage ... and the cost of 16 disksby DonCharisma - Debian
I'm posting this more as a way of self-documenting, rather than a tried and tested method. So please do be aware of what you're doing, and that steps are from my memory, with an aim to save you time in not making the same mistakes I did ! Basically, no warranty on this, do your own due diligence before following anything here. Intro - Why ? I have a database locally running on Winby DonCharisma - Debian
I'd like to second that, thanks especially to bodhi, vlad, davygravy and jeff ... and others who have helped/shared/posted in these forums ... without this info I would never have been able to use my GoFlexNet for anything much useful apart from holding a door open :) Sharing/helping is what keeps a forum alive and active ... and useful resource for others struggling to learn linux/embeddby DonCharisma - Debian
I might then have another play with the stack of SD cards I have here at some point ... good to know :D Dropbox share would get your build out there and save people some time building their own system ... And don't worry about long winded, I'm a master of it ... what works, works in the end ... Cheers DCby DonCharisma - Debian
@ALL ... I just upgraded to wheezy on my GoFlexNet/Debian/OMV box ... main difficulty was the php5-pam ... in brief I couldn't tell you exactly the quickest route to solve, but what I suspect is : 1. apt-get update 2. apt-get build-essential subversion wget dpkg-dev dpkg 2. apt-get upgrade 3. Repeat 2. until all squeeze packages are up to date. 4. Follow the steps on https://wiki.debiby DonCharisma - Debian