**** BEGIN LOGGING AT Fri Jul 08 02:59:58 2011 Jul 08 18:24:52 Got a DreamPlug, updated it to 2.6.39.2 mainline + patches, built cryptodev-linux and OpenSSL. OpenSSL itself is working if I don't have cryptodev running -- openssl s_server will happily accept connections. Jul 08 18:25:28 But if I modprobe cryptodev, I can openssl enc to my heart's content and get correct results, but any connections against s_server bomb out immediately with an error "bad address mac". Jul 08 18:25:45 Does anyone have experience troubleshooting this? Jul 08 18:27:02 er, sorry, "bad record mac" Jul 08 19:00:36 Okay, secondary question: Is this just a question no one has an answer to, or is this room fairly idle and there's a better time and/or place to ask? Jul 08 19:10:33 there is almost never heavy traffic inhere - personally i have different hw & sw-setup Jul 08 19:10:46 hi ;) Jul 08 19:12:02 you might consider the openplug forum or try the forums at newit Jul 08 19:18:25 Yeah, I registered at both places, waiting on admin approval Jul 08 19:27:06 hehe Jul 08 19:28:10 some inhere do have guruplugs - so in case youdont mind idling here you might find someone with at least similar hardware Jul 08 19:28:21 i have a dreamplug, guruplug, and sheevaplug Jul 08 19:28:23 Sure, I'll hang out Jul 08 19:28:27 ;) Jul 08 19:28:28 i actually just setup my dreamplug last nigh Jul 08 19:28:41 Don't suppose you have any experience getting cryptodev to work? :P Jul 08 19:29:51 nope =p Jul 08 19:29:55 i can give it a shot though Jul 08 19:30:00 what distro are you running ahigerd? Jul 08 19:30:16 Whatever the thing shipped with, just upgraded the kernel. Jul 08 19:30:24 ah Jul 08 19:30:25 debian Jul 08 19:30:38 /me checks /etc/issue Jul 08 19:30:45 Yeah, "Debian GNU/Linux 5.0" Jul 08 19:30:45 lsb_release -a Jul 08 19:31:00 lsb_release: command not found Jul 08 19:31:07 oh Jul 08 19:31:09 anyway Jul 08 19:31:14 cat /etc/debian_version Jul 08 19:31:17 you compiled cryptodev from source? Jul 08 19:31:20 in case it is debian Jul 08 19:31:21 5.0.3 Jul 08 19:31:41 was there no package for cryptodev in the repos? Jul 08 19:31:44 Yeah, grabbed the kernel from sheeva.with-linux and built cryptodev-linux from source against it Jul 08 19:31:47 Nope Jul 08 19:32:19 At least nothing that apt-cache search cryptodev comes up with Jul 08 19:32:30 i think most people upgrade to the newer debian Jul 08 19:32:43 'cause the one on there default is the older/stable one Jul 08 19:32:44 iirc Jul 08 19:32:48 i just toss gentoo on all my plugs XD Jul 08 19:32:52 Yeah, it's stable Jul 08 19:32:57 Yeah, I've been tempted. XD I'm a Gentoo guy myself Jul 08 19:33:02 =D Jul 08 19:33:19 Self-hosting or cross-compiled? Jul 08 19:33:26 (Self-hosting sounds painful XD ) Jul 08 19:33:57 it's actually not that bad Jul 08 19:34:07 Did you upgrade the internal storage / connect external storage? Jul 08 19:34:12 i have 3 plugs though.. so i can get a pretty good native distributed compiling Jul 08 19:34:27 i put / onto the nand, and /var /usr and /home on an esata drive (2tb) Jul 08 19:34:35 Uh... the DreamPlug doesn't have NAND >.> Jul 08 19:34:41 right Jul 08 19:34:49 the internal thingy Jul 08 19:34:52 sd card thing Jul 08 19:34:52 =p Jul 08 19:35:22 I suppose this thing IS faster than my first Gentoo box :P Jul 08 19:35:25 XD Jul 08 19:35:27 (266MHz Pentium II) Jul 08 19:35:33 (Built that thing Stage2) Jul 08 19:35:33 the install i have on my dreamplug atm was once used on my sheevaplug too Jul 08 19:35:47 just changed the hostname, hosts file, and static mac address rules Jul 08 19:35:53 (Took three weeks to build OpenOffice and five weeks to build GNOME. XD ) Jul 08 19:35:57 lololol Jul 08 19:36:12 i built gnome overnight on my laptop (mobile i7 @ 1.6ghz) Jul 08 19:36:30 I don't use GNOME anymore *chuckle* So I dunno how it'd build these days Jul 08 19:36:35 lol Jul 08 19:36:37 what DE do you use? Jul 08 19:36:41 I don't Jul 08 19:36:45 WM's Fluxbox Jul 08 19:37:07 ah Jul 08 19:37:41 I found that DEs don't do anything for my workflow except get in the way, so I figured just use something that has virtual desktops and multi-head support and otherwise stays out of the way :P Jul 08 19:38:33 lol, i suppose Jul 08 19:38:46 I've dropped multihead these days (my monitors died :( do you know how hard it is to replace 21" CRTs nowadays?) so I could possibly try dwm or awesome now Jul 08 19:38:56 lolo CRT Jul 08 19:39:08 I don't like LCD panels :P Jul 08 19:39:20 Lower resolution, less color range, slower response times Jul 08 19:40:07 * Tootoot222 will take his 24" 1080p LCD any day http://www.newegg.com/Product/Product.aspx?Item=N82E16824236049 Jul 08 19:40:18 1080p is exactly what I mean by lower resolution Jul 08 19:40:23 My CRT was running 1200p Jul 08 19:41:00 that's just a 16:10 vs 16:9 though Jul 08 19:41:09 Actually it was 4:3 Jul 08 19:41:11 1600x1200 Jul 08 19:41:13 ah Jul 08 19:41:23 But it was in a smaller monitor too -- much better resolution in terms of DPI Jul 08 19:41:37 Means clearer text Jul 08 19:41:40 Smoother lines Jul 08 19:41:57 interesting Jul 08 19:43:00 Yeah, I've always had to laugh about people claiming 1080p is the ultimate hi-def experience when my computer in 1998 could do 1200i. Display technology has gotten WORSE, not BETTER. Jul 08 19:43:32 Cheaper, yes Jul 08 19:43:40 And physically larger panels with lower weight Jul 08 19:43:46 But image quality just doesn't stack up Jul 08 19:44:15 but 1200i < 1080p Jul 08 19:44:20 interlaced is ew Jul 08 19:44:25 It could do 1050p :P Jul 08 19:44:42 so then today's monitors have gotten better then ;) Jul 08 19:44:46 a whole 30px! Jul 08 19:44:48 No, that was a cheap monitor :P Jul 08 19:44:51 lol Jul 08 19:45:13 That's why I'm saying, I had CHEAP stuff in the mid-90s and nowadays even the expensive stuff can't beat it Jul 08 19:45:23 2560x1600 ...but thats pretty special to get used too Jul 08 19:45:23 Except for being thinner Jul 08 19:45:31 2560x1600 would rock out loud, give me that Jul 08 19:46:01 ahigerd: most 30" do run that resolution Jul 08 19:46:04 Although if that monitor is bigger than about 24" never mind because it won't fit in my field of vision Jul 08 19:46:17 good point ;) Jul 08 19:50:12 I also have no desire for a widescreen monitor because code scrolls vertically, not horizontally :P Jul 08 19:50:28 The rightmost 1/3 of my monitor goes unused these days Jul 08 19:50:58 ahigerd: just put something there Jul 08 19:51:14 Well, yes, I did, I tossed a few widgets over there, but that's not really doing anything to help me :P Jul 08 19:52:30 i meant pr0n Jul 08 19:52:45 That wouldn't help more ;) Jul 08 19:52:48 XD Jul 08 19:52:56 that would make him /less/ productive kerio =p Jul 08 19:53:19 well it would help him produce *something* Jul 08 19:53:24 lol Jul 08 19:54:02 * Tootoot222 shall attempt to get alsa working on his dreamplug Jul 08 19:54:33 gkrellm with hdplop for sure ... as it It monitors your hard drives by sending visual stimuli to your cortex each time your /dev/hdx writes or reads anything. Jul 08 19:54:58 ueber-productive hehe Jul 08 21:51:43 hi Jul 08 21:51:49 is a sheevaplug suitable for openvpn Jul 08 21:52:01 with other services like mail or web running along? Jul 08 21:52:24 paulk: yes but i would go for the dreamplug; the sheevaplug has its memory clocked slower Jul 08 21:52:31 400mhz instead of 800mhz Jul 08 21:52:44 ok, but it's still possible? Jul 08 21:53:31 yup Jul 08 21:57:37 hi Jul 08 21:57:42 I don't think there is a lot of memory pressure for vpn, it usually ends up cpu bound doing the crypto - the dual nics are nice to have on a firewall/router/vpn box though Jul 08 21:58:46 the guruplug, and I would expect dreamplug, but I haven't confirmed this - top out doing openvpn right around the 25Mbit connection I have - I think we are using AES but I haven't checked in ages Jul 08 21:58:47 basically I asked to paulk if openvpn worked on plugs Jul 08 21:59:16 I am looking for 800KB Jul 08 21:59:28 so I guess it would work then Jul 08 21:59:36 yeah, thats no problem- but more than you would get out of a wrt54g Jul 08 21:59:59 didnt work on wrt54G it used 100 percent CPU Jul 08 22:00:26 well the sheevaplug/guruplug/dreamplug have a 1.2GHz processor Jul 08 22:00:27 right, exactly - its only good for a couple Mb IIRC - like 200-300KBs Jul 08 22:00:30 so it shouldn't be a proble Jul 08 22:00:31 m Jul 08 22:00:41 ok Jul 08 22:00:55 then where do I buy a plug in france or in italy? Jul 08 22:01:04 and which one to buy? Jul 08 22:01:10 probably newit, i think they shipt to all of europe Jul 08 22:01:12 GNUtoo: newIT, from the uk Jul 08 22:01:14 yep Jul 08 22:01:30 ok Jul 08 22:01:43 GNUtoo: i would say dreamplug; the sheevaplug is good and all, but the dreamplug is stable, and has much more features/applications Jul 08 22:01:45 I need one that doesnt heat Jul 08 22:01:54 don't buy a guruplug+, they overheat Jul 08 22:01:54 and that is very stable Jul 08 22:01:57 the guruplug std is alright Jul 08 22:01:59 the guruplug is the one with the problem Jul 08 22:02:05 yeah, guruplug+ Jul 08 22:02:19 but really, if you're going to buy a guruplug+ you might as well get a dplug Jul 08 22:02:41 I only need a wired NIC Jul 08 22:03:03 yeah, they added a fan to the guru1 which is pretty annoying and it does get hot- mine hasn't actually failed on me yet though Jul 08 22:03:04 it is for making a mail receiving server Jul 08 22:03:15 GNUtoo: you could get the guruplug standard Jul 08 22:03:18 If you're gonna run OpenVPN and you have a bit of patience (and can get past the issue I'm stuck on) the GuruPlug and DreamPlug (dunno about Sheeva) have hardware acceleration Jul 08 22:03:23 if you don't want to pay the extra for the dreamplug Jul 08 22:03:50 I haven't found any evidence of anyone getting the hardware crypto to do anything useful besides disk encryption IIRC Jul 08 22:03:52 ok Jul 08 22:04:02 GNUtoo: how about google apps? Jul 08 22:04:07 but what about the NAND storage size? On SheevaPlug, the system takes 70% of it :s Jul 08 22:04:08 tlied2: I'm REALLY close; I can get it doing AES enc/dec but SSL is giving me trouble Jul 08 22:04:15 I prefer software encryption Jul 08 22:04:23 DreamPlug uses a 2GB (expandable) MicroSD Jul 08 22:04:23 kerio, google apps? Jul 08 22:04:24 paulk: dreamplug has 2gb of (expandable) memory Jul 08 22:04:28 one of those things thats been on my todo list for years, but haven't even gotten openssl to use it yet Jul 08 22:04:48 GNUtoo: Why waste CPU time when there's hardware acceleration available? Slows everything down and bottlenecks your cycles Jul 08 22:05:11 ahigerd, I dont trust hardware encryption... Jul 08 22:05:19 GNUtoo: I'd trust it before I trust software :P Jul 08 22:05:24 but for openvpn it could be good enough for my purpose Jul 08 22:05:40 GNUtoo: google mail for business, or whatever it's actually called Jul 08 22:05:54 it's much better to not have a server than to have a server Jul 08 22:05:57 tlied2: So you've hacked on this before? Maybe we can share notes later Jul 08 22:06:19 kerio, what about privacy? gmail is well known for its lack of privacy Jul 08 22:06:23 I took a quick stab at it ages ago, but didn't get anywhere worth noting Jul 08 22:06:28 [citation needed] Jul 08 22:06:43 I already have a server but I need redundancy Jul 08 22:06:54 tlied2: Ah, I'm one step away from having it work -- as mentioned, enc/dec works, SHA1 works, but SSL handshaking is failing Jul 08 22:07:07 tlied2: I suspect it's a simple matter that I just don't know how to fix Jul 08 22:07:12 how are you testing enc/dec - with openssl? Jul 08 22:07:27 Yeah, openssl enc -a -cipher aes128 Jul 08 22:07:32 er, enc -e -a Jul 08 22:07:43 I'm getting the same results using hardware and software Jul 08 22:08:19 yeah, that means your openssl isn't using it properly then- IIRC it falls back to software Jul 08 22:08:48 The performance seems to indicate it's using it Jul 08 22:09:03 GNUtoo: how many mails will you receive? Jul 08 22:09:07 Whole crapton faster, binary-identical output Jul 08 22:09:08 you said you are getting the same results? Jul 08 22:09:21 kerio, many Jul 08 22:09:32 As determined using base64'ed output and diff on the files :P Jul 08 22:09:35 like about 1000 per week or 100 per day Jul 08 22:09:50 it is a rough estimation Jul 08 22:10:22 If I could pin down what's actually failing I might be able to route around the damage Jul 08 22:10:23 well it's not really a lot Jul 08 22:10:28 is this for a business? Jul 08 22:10:40 no Jul 08 22:10:53 it is for my personal use Jul 08 22:10:55 Patch OpenSSL to always use software for the broken algorithm or something Jul 08 22:10:55 can you afford a dreamplug? Jul 08 22:11:07 how much is it? Jul 08 22:11:35 135£ Jul 08 22:11:55 ah how much euros is it Jul 08 22:11:57 actually 162£ because you probably also want the jtag Jul 08 22:12:03 yes ineded Jul 08 22:12:04 GNUtoo: btw, esata is tons faster than usb if you are getting an enclosure Jul 08 22:12:10 or serial at least Jul 08 22:12:19 well it's not really a matter of choice Jul 08 22:12:22 you said you're in europe, right? Jul 08 22:12:26 yes Jul 08 22:12:29 newit doesn't sell guruplugs anymore Jul 08 22:12:33 italy and france Jul 08 22:12:33 so it's either the sheeva or the dream Jul 08 22:13:01 paulk, told me some sheevas had some power issues Jul 08 22:13:09 so dream I guess Jul 08 22:13:09 182€ vs 111€ Jul 08 22:13:37 ok Jul 08 22:13:45 nah, they were just some early models iirc Jul 08 22:13:51 I guess I need to buy 2 of them Jul 08 22:13:59 because I will deploy one in france Jul 08 22:14:02 and if the PSU fails it'll probably fail while you're still under warranty :P Jul 08 22:14:05 and be in italy Jul 08 22:14:28 the sheeva with esata goes for 118€ Jul 08 22:14:32 if the psu fails...does it burn or something? Jul 08 22:14:46 it makes a bit of smell, but it doesn't actually damage the rest of the hardware Jul 08 22:15:08 GNUtoo: I'm reading http://www.newit.co.uk/forum/index.php?topic=353.0 , there is a picture Jul 08 22:15:10 i actually replaced mine myself, i sent newit the broken one and they sent me a new one with instructions Jul 08 22:15:28 ok Jul 08 22:15:41 so the server is just down in that case Jul 08 22:15:47 yeah Jul 08 22:15:49 it wont burn the whole house then Jul 08 22:15:54 also you should really make backups! Jul 08 22:16:02 * kerio frowns at GNUtoo Jul 08 22:16:14 backups of what? Jul 08 22:16:18 everything, in theory Jul 08 22:16:35 everything that is on the sheevaplug? Jul 08 22:16:47 you know, i'm not exactly sure why newit asks for 6£ to give you debian squeeze preinstalled instead of that lousy ubuntu Jul 08 22:16:53 GNUtoo: no, literally everything you make Jul 08 22:16:58 regardless of the sheevaplug Jul 08 22:17:12 Ive some backups Jul 08 22:17:27 for my mail Jul 08 22:17:31 so why do you care if your server explodes (under warranty)? Jul 08 22:17:41 (a metaphorical explosion, ofc) Jul 08 22:17:41 and I publish early and often Jul 08 22:18:05 I was very afraid that it burned the house Jul 08 22:18:12 nah, nothing remotely close to that Jul 08 22:18:12 and of the downtime Jul 08 22:18:30 the downtime was painful, the whole switcharoo took almost a month for me :'( Jul 08 22:18:43 downtime can be huge Jul 08 22:18:50 yeah but you don't understand Jul 08 22:18:54 since it will be in my brother house Jul 08 22:18:55 my torrents weren't upping! Jul 08 22:19:49 btw, how much voltage does the PSU delivers out? Jul 08 22:20:05 hmm... 5V, 1A? Jul 08 22:20:09 ok Jul 08 22:20:19 which could actually be a problem if you have stuff draining more power than the standard, from the usb Jul 08 22:20:25 I could buy the sheevaplug at hackable-devices Jul 08 22:20:32 its in paris Jul 08 22:20:37 bearstech Jul 08 22:20:40 because the PSU becomes stressed Jul 08 22:20:43 kerio: yeah I have an USB hdd Jul 08 22:20:44 and eventually fails for that Jul 08 22:20:53 but that's another reason Jul 08 22:21:03 hmmm Jul 08 22:21:09 5V 1A? The DreamPlug is 5V 3A (though it only consumes 0.25A) Jul 08 22:21:19 yeah, 5V 1A is the sheeva Jul 08 22:21:21 Ah Jul 08 22:21:32 Guess it can't power much on USB, can it Jul 08 22:21:35 GNUtoo: it's kinda self-evident that you want the dreamplug :) Jul 08 22:21:42 ahigerd: well the dreamplug also has esata Jul 08 22:21:44 ok Jul 08 22:22:08 i'm actually pretty weary of plugging stuff through the usb to my sheeva, for that reason Jul 08 22:22:13 i only have self-powered things Jul 08 22:22:23 and sometimes my bluetooth headphones Jul 08 22:22:25 if the dreamplug is more reliable then I guess so too Jul 08 22:22:30 but those don't draw the full .5A anyway Jul 08 22:22:45 GNUtoo: well, it's a much better design overall Jul 08 22:22:58 ok Jul 08 22:23:04 I'm quite satisfied with the Dream Jul 08 22:23:20 btw a curiosity,what is the dreamplug wifi driver? Jul 08 22:23:31 libertas_sdio? Jul 08 22:23:48 Yeah Jul 08 22:23:48 if so what is its kernel version? Jul 08 22:24:03 because libertas-tf-sdio could be great on it Jul 08 22:24:25 since it support AP mode... Jul 08 22:24:30 Ships with 2.6.33.6 Jul 08 22:24:44 a bit old....hmmm Jul 08 22:24:49 I've upgraded to 2.6.39.2 Jul 08 22:24:58 ah ok nice Jul 08 22:25:02 then it is doable Jul 08 22:25:10 I backported them on 35 Jul 08 22:25:16 And it ships with the AP drivers Jul 08 22:25:24 And in fact defaults to them; it takes some tinkering to get it to act as a client :P Jul 08 22:25:29 so on 39 it would be easy Jul 08 22:25:50 so it already has libertas tf sdio Jul 08 22:25:53 ? Jul 08 22:26:01 Uh... let me check what lsmod says here Jul 08 22:26:05 or does it use a non libetas driver? Jul 08 22:26:13 like an android or vendor driver Jul 08 22:26:14 ? Jul 08 22:26:36 with glue code for OS abstraction etc... Jul 08 22:26:49 uap8xxx Jul 08 22:26:59 Looks like vendor driver Jul 08 22:27:01 hmmmm Jul 08 22:27:19 is it still compatible with the libertas_sdio driver? Jul 08 22:27:40 (the wifi chip) Jul 08 22:27:44 Yeah Jul 08 22:27:47 ok nice Jul 08 22:27:54 I just haven't actually TESTED it yet because I have it hooked up via Ethernet on the other end :P Jul 08 22:28:09 So I can't speak much on that Jul 08 22:28:37 I tested it briefly on other devices Jul 08 22:28:49 that have a libertas-sdio compatible card Jul 08 22:28:57 I've heard rumors the DreamPlug is unstable in wifi client mode but that could easily be a config issue Jul 08 22:29:11 it seemed to work well with the not public firmware Jul 08 22:30:09 btw there is a dream plug 2 Jul 08 22:30:19 is it faster or slower Jul 08 22:30:32 what is the arm version of the pxa510 Jul 08 22:33:34 Ive also a big question about power supply of the dream plug: let s say that the power goes off for a reason and comes back Jul 08 22:33:47 the dream plug will start automatically? Jul 08 22:33:58 or does someone have to start it up manually? Jul 08 22:34:17 sheevaplug usually starts when it's plugged in Jul 08 22:34:27 DreamPlug starts on power-up Jul 08 22:34:31 so I guess that if the power goes off and come back it'll start again Jul 08 22:34:38 In fact I don't think you can make it NOT do so Jul 08 22:34:41 There's no power button Jul 08 22:34:53 (short of sabotaging U-Boot at least) Jul 08 22:35:20 Takes longer than I'd like Jul 08 22:35:23 But reliable Jul 08 22:35:32 (I'll be trying to tune the startup later) Jul 08 22:35:58 ok Jul 08 22:35:59 nice Jul 08 22:36:49 what is the distro support for the dreamplug? Jul 08 22:37:18 Whatever you want? :P Jul 08 22:37:20 Ships with Debian Jul 08 22:38:59 ok Jul 08 22:39:09 angstrom works too? Jul 08 22:44:41 I guess it wount be hard for me to add support for it Jul 08 22:44:44 no x11 Jul 08 22:45:03 only a kernel and /etc/network/interfaces I guess Jul 08 22:45:19 and a machine config obviously Jul 08 22:47:02 * GNUtoo needs to go to bed Jul 08 22:47:08 thanks a lot for all the infos Jul 09 00:34:22 *rolls in again* Anyone have experience getting cryptodev working? **** ENDING LOGGING AT Sat Jul 09 02:59:57 2011