**** BEGIN LOGGING AT Wed May 19 02:59:57 2010 May 19 05:17:05 are there temp sensors on the plug? I cant find how to monitor them id there are. May 19 05:18:19 cat /proc/cpu May 19 05:18:25 I don't see any mention of temp though May 19 05:18:30 yeah May 19 05:19:28 not sure what the point would be anyway May 19 05:19:46 it's designed to run fanless May 19 05:19:56 so it's not gonna be getting super hot May 19 06:01:09 hi May 19 06:04:27 just got a guruplug on saturday morning, I'm quite satisfied but a bit inquirying by the global temperature of the device, is it the same with Sheevaplug ? May 19 06:05:11 by the way throwing some sensors-detect hang the system May 19 06:05:30 muedhiver: my sheeva feels pretty warm as well May 19 06:05:41 but it's running fine for almost a year now May 19 06:06:53 ok perfect so May 19 06:07:30 have you tested network io performance with your guruplug? May 19 06:08:08 no I've thrown all my services from an old 2002 gentoo server into it May 19 06:08:38 and shutdown the old mobo so :) May 19 06:09:38 ah, ok May 19 06:10:48 time to get to work May 19 06:11:34 so have a nice day May 19 06:11:45 blb May 19 06:54:02 DogBoy: Well, it's *supposed* to not get super hot, but it is quite hot. I'd like to know if there are sensors available, too. :) May 19 06:55:10 I guess I need to get one of those remote temperature sensing "guns". May 19 07:30:08 heh May 19 07:30:14 quite hot May 19 07:41:07 muedhiver: I had the same result with sensors-detect as you with my Guruplug Server+. May 19 07:41:35 muedhiver: However, I wonder if the kernel is properly set up to use the sensors these devices may have (if any). May 19 07:45:50 Gnight, all. May 19 08:07:19 lo ... is there an easy way to migrate a sd install to usb floppy disk May 19 08:07:35 id like to simply clone the installation to hd and reboot on usb May 19 08:07:59 if i dd an 8GB sd card to a 40GB hd ... i lose 32GB ;) May 19 13:24:51 jzaw: you can just rsync it May 19 13:25:29 # rsync -avp / /media/USB -exclude '/media/USB' May 19 17:28:43 Tootoot222: thanks for that info May 19 17:29:18 do i have to do owt to the sheeva to make it look to the usb for booting? May 19 17:29:32 at the mo it boots from sd card May 19 17:33:05 setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x0800000 /boot/uInitrd; ext2load usb 0:1 0x400000 /boot/uImage' May 19 17:33:08 setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x400000 0x0800000' May 19 17:33:11 saveenv May 19 17:33:14 that's what I did May 19 17:36:12 thanks PhotoJim and thats at marvel prompt (hit a key at boot time to get to the prompt) May 19 17:36:31 then issue the command boot May 19 17:36:33 yes? May 19 17:37:24 yes... it's been several months since I did it. but this is done at the PROM prompt on the Sheeva console. May 19 17:38:24 cool May 19 17:38:36 im running zoneminder and it writes a lot of files May 19 17:38:41 so i dont want to wear out the sd card May 19 17:38:56 not to mention the need for many gigs for storage May 19 17:39:11 ive just been weather proofing my webcams May 19 17:39:31 so i can fit them on the soffits tonight May 19 17:41:40 I don't use the built-in flash at all and my SD slot is empty. I use a USB hard disk. May 19 17:42:01 but my application needs about a terabyte of space (remote backup for my home server). May 19 17:43:45 ah yes May 19 17:44:04 im starting with a spare 40gb 2.5" ive got May 19 17:44:18 later ill add a 500gb .. they are about £50 or less these days May 19 17:44:53 the only problem ive got is that ive got 3 webcams and a usb drive to go off the usb port so ive got to use a powered hub for that May 19 17:45:07 * PhotoJim nods May 19 17:45:15 without the usb drive the 3 cams are quite happy on an unpowered hub straight off the sheeva May 19 17:45:15 for a 2.5" enclosure, a powered hub is recommended anyway May 19 17:45:33 aye May 19 17:45:49 or for the enclosure to be powered anyway (some are) May 19 17:45:53 right. May 19 17:46:30 shame the sheeva has the psu internally .. cos it would be cool to have a splitter on a powerbrick and power the two devices that way May 19 17:46:40 saving plugs and psu's May 19 17:47:10 there are other devices you could do that with... e.g. PC Engines' Alix boards. the Sheeva is meant to be all-in-one as much as possible. May 19 17:47:18 aye May 19 17:47:24 ive got an alix running my firewall May 19 17:47:28 Me too. May 19 17:47:28 2d3 LX 800 May 19 17:47:33 Ditto. May 19 17:47:45 but i dont think its a patch on the sheeva grunt-wise May 19 17:47:54 no way could it run 3 webcams and zoneminder May 19 17:48:26 rough guess, the Sheeva is about twice as fast as my Alix. May 19 17:48:28 in about a month ill order a guru for a fireawall May 19 17:49:04 yeah but the alix is also dearer ! May 19 17:49:20 that's true. May 19 17:49:24 but better in some ways. not in others. May 19 17:49:40 not sure what way its better? May 19 17:49:47 flat case so it fits in a 1u ? May 19 17:49:55 FPU and built-in AES encryption. May 19 17:50:01 Yes, better form factor for some applications. May 19 17:50:04 doesnt the sheeva also have that? May 19 17:50:09 3 built-in NICs and the ability to add a mini-PCI card. May 19 17:50:11 not fpu but encryption? May 19 17:50:20 Umm... I didn't think so. But I could be wrong. May 19 17:50:24 I know no FPU for sure. May 19 17:50:29 ah yes but there is going to be a new sheeva with 3 eth's May 19 17:50:48 Intel stuff is better supported, that's the big advantage. May 19 17:50:52 but ARM support is reasonable. May 19 17:51:19 in favour of the Sheeva, more RAM, built-in SD slot and the built-in flash. May 19 17:51:26 isnt everything for i386 also present in arm in the debian depostitory? May 19 17:51:28 eSATA available instead of PATA. May 19 17:51:40 yes May 19 17:51:41 I think so, but not all OSes are available for ARM . not as many Linux distros, e.g. May 19 17:51:56 and you can run Windows on an Alix if you want (if you get the one with video or add USB video). I wouldn't want to, but some might. May 19 17:52:00 true ... id love to see openbsd for the sheeva/guru May 19 17:52:17 oh, there isn't ARM for OpenBSD? May 19 17:52:25 not seen one yet May 19 17:52:31 ive seen some mention of freebsd though May 19 17:52:39 not found it yet (not really looked tbh) May 19 17:52:53 what about NetBSD? May 19 17:53:12 I only dabble with BSD a little, and only (so far) on hardware that isn't well supported by Linux (e.g. sun4m). May 19 17:53:37 Debian runs well on my Sheeva, so I'm not really looking for alternatives. I run it on my Alix too. May 19 17:53:39 im fairly new to [fon]bsd ... but having discovered it and using pf now rather than iptables/tc (the latter for qos) i can tell you i love it May 19 17:54:24 there's an unofficial FreeBSD for Sheeva, it seems. May 19 17:54:29 yeah squeeze on the sheeva ... used to be lenny on the alix but is now obsd and pf May 19 17:54:39 yes thats what ive seen May 19 17:54:56 I use shorewall on Lenny on my Alix... it's straightforward enough even if it's a bit dumbed down :) May 19 17:55:18 ive seen shorewall years ago May 19 17:55:28 was using m0n0wall on the alix for a bit May 19 17:55:42 * PhotoJim nods May 19 17:55:43 but reallly do like to be able to ssh to the router from without May 19 17:55:55 so obsd does nicely May 19 17:56:10 well, whatever works. no wrong answers here really. May 19 17:56:29 and cats and the skinning of, many ways May 19 17:56:34 obsd is pretty well regarded for perimeter machines. May 19 17:56:38 heh, yes. May 19 20:15:54 Tootoot222: you about pls May 19 20:20:56 ? May 19 20:21:07 jzaw: ? May 19 20:24:45 i was just looking at your info you gave me before May 19 20:24:59 and wondering if that makes a bootable hd clone of the sd card (but bigger) May 19 20:25:06 and it probably doesnt? May 19 20:25:12 im just doing this May 19 20:25:13 dd if=/dev/sdd conv=noerror,sync bs=64k | dd of=/dev/sdg bs=64k May 19 20:25:33 and then ill delete the swap ... create it up at the top of the disk and then expand the / May 19 20:25:40 leaving the /boot as is May 19 20:31:25 the USB doesn't need to be bootable; you have to edit your bootcmd in the uboot settings to make it boof rfrom the USB May 19 20:31:36 so it really doesn't matter at all if it's an exact copy of the SD card May 19 20:31:44 the files just need to be in the same order May 19 20:32:02 (you can even move the uImage wherever you want as long as you put the same path in the bootcmd) May 19 20:32:05 jzaw: ^ May 19 20:36:30 i see May 19 20:36:34 (sort of) May 19 20:36:52 PhotoJim: mentioned these May 19 20:36:52 [18:33] setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x0800000 /boot/uInitrd; ext2load usb 0:1 0x400000 /boot/uImage' May 19 20:36:53 [18:33] setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x400000 0x0800000' May 19 20:36:53 [18:33] saveenv May 19 20:38:03 would that be appropriate? Tootoot222 May 19 20:38:34 I installed directly to my external USB device. that's the settings I used to force the Sheeva to boot off that drive. May 19 20:38:48 * jzaw nods May 19 20:39:03 with rsync dont the source and target dirs have to be mounted? May 19 20:39:13 * jzaw just just reading the man file May 19 20:40:10 jzaw: i assume you're copying from within the sheeva from sd -> usb May 19 20:40:17 in that case, yes, both have to be mounted May 19 20:40:29 but since you have the SD as / (i think?), that's always mounted May 19 20:40:37 actually ive shutdown the sheeva and pulled the sd card into a reader on my other linux box May 19 20:40:57 well you can do the same thing as long as the usb is in May 19 20:41:09 (you can actually have the USB in another computer if that 2nd computer is running a sshd) May 19 20:42:20 indeed im reading that bout rsync hehe May 19 20:42:33 don't forget to adjust your /etc/fstab. May 19 20:42:43 (if you need to) May 19 20:42:46 aye thats got me in the past ;) May 19 20:42:49 PhotoJim: you actually woulnd'nt have to, unless just for the swap May 19 20:42:55 since you pass root=blah to the kernel at boot May 19 20:43:00 you don't need to have / in fstab May 19 20:43:09 (unless you want to run disk checks on it) May 19 20:43:09 Tootoot222: I suppose. May 19 20:45:51 ahh dd has created some interesting partitions ... 2 ... first contains lost and found and uImage May 19 20:46:00 and the second contains all the expected stuff for / May 19 20:46:16 (this is on the usb disk May 19 20:46:25 but no swap was dd'd May 19 20:46:56 /dev/sdc1 3.9M 2.8M 981K 75% /mnt/usb1 May 19 20:46:57 /dev/sdc2 7.4G 1.5G 5.6G 21% /mnt/usb2 May 19 20:47:28 and by the looks of it there isnt a swap within 8GB (on the orig sd card) May 19 20:48:27 Tootoot222: looks like youre right ... the fstab file has .... May 19 20:48:48 dizzykey:/mnt/usb2/etc# cat fstab May 19 20:48:49 # UNCONFIGURED FSTAB FOR BASE SYSTEM May 19 20:48:56 empty May 19 20:49:18 so can i just use PhotoJim's incantation? May 19 20:49:35 well, i'd rather you print out your current bootcmd May 19 20:49:46 and then just modify that from mmc_start to usb start May 19 20:49:51 mine assumes that the boot stuff is on the first partition of the disk. May 19 20:50:09 yes i just noticed that PhotoJim May 19 20:50:25 right let me jtag into the sheeva May 19 20:50:28 brb May 19 20:53:24 right ive gotthe marvell >> prompt May 19 20:53:59 printenv bootcmd May 19 20:54:00 is there a | more in the marvell cli? May 19 20:54:03 ah good May 19 20:54:14 and i assume you're using GNU screen, yes? May 19 20:54:18 Marvell>> printenv bootcmd May 19 20:54:18 bootcmd=run bootcmd_mmc; run bootcmd_nand May 19 20:54:18 Marvell>> May 19 20:54:27 ive got the sheeva multi esata btw May 19 20:54:27 print bootcmd_mmc May 19 20:54:44 Marvell>> print bootcmd_mmc May 19 20:54:44 bootcmd_mmc=setenv bootargs $(bootargs_console) $(bootargs_root_mmc); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000 May 19 20:54:44 Marvell>> May 19 20:54:48 oh, get an eSATA enclosure... way faster than USB. May 19 20:55:15 its a ata/ide 2.5" :( May 19 20:55:30 but ill get a fat disk later May 19 20:55:40 jzaw: setenv bootcmd setenv bootargs $(bootargs_console) $(bootargs_root_mmc); usb start; ext2load usb 0:1 0x800000 /uImage; bootm 0x00800000 May 19 20:55:47 jzaw: setenv bootcmd setenv 'bootargs $(bootargs_console) $(bootargs_root_mmc); usb start; ext2load usb 0:1 0x800000 /uImage; bootm 0x00800000' May 19 20:55:50 that ^ May 19 20:56:02 oh, i think you have to take the / off of the uImage May 19 20:56:12 right ... cos its expecting the same parition structure May 19 20:56:19 but its usb not mmc/sd May 19 20:56:50 the usb loading is different then the mmc loading iirc; you can't have the leading / May 19 20:57:06 interesting May 19 20:57:13 right let me get the usb disk May 19 20:57:15 so your command would be May 19 20:57:24 jzaw: setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root_mmc); usb start; ext2load usb 0:1 0x800000 uImage; bootm 0x00800000' May 19 20:57:30 (had the ' in the wrong place on the others) May 19 20:57:45 ah i see it May 19 20:58:44 (i also assume you're using the dd'd usb drive, in that / or /boot or whatever is still ext2) May 19 20:59:39 damn it i unplugged it now May 19 20:59:55 its quicker just to try now May 19 21:00:35 if you used dd then it would be the same May 19 21:00:52 (versus if you just used fdisk or gparted etc to make new partitions and copyed the files with rsync or similar) May 19 21:01:11 my habit now is to refer to /boot/blah always, and make a softlink from /boot/boot to /boot in case I don't have a separate boot partition. saves some brain cramps. May 19 21:01:21 :s/I don't/I do/ May 19 21:02:08 cool ipaddr^ May 19 21:02:31 true! May 19 21:03:25 how annoying is that May 19 21:03:35 what happened May 19 21:03:36 ? May 19 21:03:36 the jtag on the sheeva pretty much always kp's my mac grr May 19 21:03:42 lol May 19 21:03:59 i have to make sure i come out of screen and then unplug the usb jtag May 19 21:04:16 i seem to have lost all that chat May 19 21:04:25 can you pls post the setenv stuff again ? May 19 21:05:40 jzaw: setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root_mmc); usb start; ext2load usb 0:1 0x800000 uImage; bootm 0x00800000' May 19 21:06:26 Unknown command 'setenv' - try 'help' May 19 21:07:36 ah i had cursored up ... invisible char got entered before the setenv May 19 21:07:45 what was the second part Tootoot222 ? May 19 21:08:21 uh, that should be all May 19 21:08:25 that's a complete boot May 19 21:08:28 just one line? May 19 21:08:39 i thought you gave me two ? May 19 21:08:53 PhotoJim gave 2 May 19 21:08:53 i lost the chat history when the macbook kp'd May 19 21:08:57 ah right May 19 21:09:13 xchat should log iirc May 19 21:09:13 so i just issue the boot command now? May 19 21:09:26 after that setenv, you just do either boot or reset May 19 21:09:28 oh May 19 21:09:30 saveenv May 19 21:09:32 and then those ^ May 19 21:10:03 Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root_mmc); usb start; ext2load usb 0:1 0x800000 uImage; bootm 0x00800000' May 19 21:10:03 Marvell>> saveenv May 19 21:10:03 Saving Environment to NAND... May 19 21:10:03 Erasing Nand...Writing to Nand... done May 19 21:10:03 Marvell>> May 19 21:10:11 and boot now ... wish me luck May 19 21:10:13 :) May 19 21:10:51 Marvell>> boot May 19 21:10:51 (Re)start USB... May 19 21:10:51 USB: scanning bus for devices... 3 USB Device(s) found May 19 21:10:51 scanning bus for storage devices... T T T T May 19 21:11:06 scanning bus for storage devices... T T T T 1 Storage Device(s) found May 19 21:11:06 ** Bad partition 1 ** May 19 21:11:06 ## Booting image at 00800000 ... May 19 21:11:06 Bad Magic Number May 19 21:11:06 Marvell>> May 19 21:11:34 right ill boot off the sd card and do the rsync method May 19 21:12:39 what is the partition setup on that usb drive? May 19 21:12:48 you can just change the partition number in the bootcmd May 19 21:13:27 there are two May 19 21:13:36 the first contains uimage May 19 21:13:56 the second contains / (iguess) including May 19 21:13:57 boot May 19 21:13:58 etc May 19 21:13:59 var May 19 21:14:01 srv May 19 21:14:02 etc May 19 21:14:41 is there a way to see what partitions are on the usb at the marvell prompt? May 19 21:15:25 uh May 19 21:15:29 i think there is May 19 21:15:43 damn screen for scrolling off the top May 19 21:16:11 you can scroll May 19 21:16:15 ^A[ May 19 21:16:16 or use a bigger window May 19 21:16:25 no GNU screen has a scrollback mode May 19 21:16:38 control+a [ May 19 21:16:47 then you can use pageup/down and the arrow keys to navigate May 19 21:16:50 and esc to get out May 19 21:17:00 that, I didn't know, actually. good to know. May 19 21:17:08 yeah it is May 19 21:17:13 but if I need to see lots of text I often just enlarge the window. screen will compensate automatically. May 19 21:17:22 but that's a good plan to do if you forget, or can't. May 19 21:17:22 not with the uboot prompt May 19 21:17:25 oh, ok. May 19 21:17:28 it doesn't have a resize handler May 19 21:21:50 sorry to trouble you chaps ( Tootoot222 ) could you give me my env for booting from sd card again pls May 19 21:22:02 (i lost the chat history here grr) May 19 21:23:19 < jzaw> bootcmd=run bootcmd_mmc; run bootcmd_nand May 19 21:23:28 < jzaw> bootcmd_mmc=setenv bootargs $(bootargs_console) $(bootargs_root_mmc); mmcinit; ext2load mmc 0:1 0x800000 /uImage; bootm 0x00800000 May 19 21:23:52 (make sure to remove the = when setting those vars; and surround them with '') May 19 21:24:17 so instead of = ? May 19 21:24:22 ye May 19 21:24:34 and is the ' ' around the WHOLE thing on each line? May 19 21:24:48 actually, replace the = with: ' May 19 21:24:51 and put a ' at the end May 19 21:24:54 (of the line) May 19 21:25:02 setenv bootcmd 'blah...' May 19 21:25:15 setenv bootcmd 'blah; blah; blah' May 19 21:25:16 etc May 19 21:25:36 k ... lets hope i dont brick the thing ;) May 19 21:26:00 lol May 19 21:26:08 you really have to try very hard to brick it May 19 21:26:52 so it was one command to set usb booting ... but its two commands to return to sd card booting? May 19 21:29:09 well it would really only be 1 command since the bootcmd_mmc didn't change May 19 21:29:13 you could just do the first i posted May 19 21:29:21 but to be sure that the mmc works you can do that 2nd one again May 19 21:29:51 its going May 19 21:30:04 and its gone off the screen but there was an error right at the begining May 19 21:30:16 something to do with setenv comand May 19 21:32:21 CPU : Marvell Feroceon (Rev 1) May 19 21:32:22 Streaming disabled May 19 21:32:22 Write allocate disabled May 19 21:32:22 USB 0: host mode May 19 21:32:22 PEX 0: interface detected no Link. May 19 21:32:23 Net: egiga0 [PRIME], egiga1 May 19 21:32:25 Hit any key to stop autoboot: 0 May 19 21:32:27 Unknown command 'setenv=bootargs' - try 'help' May 19 21:32:29 SDHC found. Card desciption is: May 19 21:32:31 Manufacturer: 0x1d, OEM "AD" May 19 21:32:33 Product name: "SM ", revision 1.0 May 19 21:32:35 Serial number: 200416 May 19 21:32:37 Manufacturing date: 12/2009 May 19 21:32:39 CRC: 0x00, b0 = 0 May 19 21:33:04 you need to do: setenv bootcmd 'run bootcmd_mmc; run bootcmd_nand' May 19 21:33:21 i left the = in grrr May 19 21:33:25 silly me May 19 21:33:29 lol May 19 21:34:27 do i have to do both commands or just that one that i got wrong? May 19 21:35:42 np i did both May 19 21:35:44 and no error now May 19 21:57:08 Tootoot222: PhotoJim thanks for your help ... ill have to try again tomorrow ... its late and im dying here May 19 21:57:27 lol May 19 21:57:46 11pm ... and i was falling asleep at 6pm lol May 19 21:57:53 so you can guess how tired i am now May 19 22:45:55 lolo May 19 22:49:12 trolololo* May 20 00:10:18 recent guruplug owners: how long was the turn-around? May 20 00:11:20 for me? May 20 00:12:45 I didnt receive a tracking number until I emailed them. May 20 00:12:50 Even tho I'd preordered. May 20 00:12:58 so email them :P May 20 00:17:29 i havent ordered May 20 00:17:40 but i really dont intend to order if its going to be 3 months turn around May 20 00:20:33 I preordered May 20 00:20:43 orders that are new seem to be going straight out May 20 02:31:40 wth May 20 02:32:01 Can anyone with a guruplug confirm for me that they removed the wheel group in the default install? May 20 02:58:20 preorder is an oxymoron **** ENDING LOGGING AT Thu May 20 03:00:00 2010