**** BEGIN LOGGING AT Tue Mar 29 02:59:57 2011 Mar 29 18:09:26 I've managed SD as a root files system, is it possible to use an external USB drive as a root file system (i.e. a WD 1 TB drive)? Mar 29 18:09:52 sure Mar 29 18:10:01 booting from it, though... not so sure Mar 29 18:10:09 uboot is kinda flaky like that Mar 29 18:10:53 usually you can just keep retrying though Mar 29 18:18:39 so instead of /dev/mmcblk0p1 what would I use? Mar 29 18:26:01 some kind of /dev/sda Mar 29 18:26:06 probably /dev/sda1 Mar 29 18:26:11 er, rephrasing Mar 29 18:26:14 some kind of /dev/sd* Mar 29 18:26:36 I guess /dev/sda1 Mar 29 18:26:39 or - even better - an UUID Mar 29 18:26:59 ah, you can do that with Uboot? Mar 29 18:27:17 of course not Mar 29 18:27:26 it's just something you pass to linux Mar 29 18:27:31 how to load linux is an entirely different issue Mar 29 18:27:44 the easiest solution is to have a kernel in the NAND Mar 29 18:27:52 ah. seems I'd better go read a bit more on Ubbot Mar 29 18:27:54 if you want to load the kernel from usb, it's harder Mar 29 18:28:15 well, as I said, I have the kernel on SD now, which wasn't too bad... Mar 29 18:28:22 (following a recipe, of course) Mar 29 18:28:41 but I'd prefer if everything were just on my USB drive... Mar 29 18:36:09 Is 9.04 still the latest version of Ubuntu I can use? With ARM support? Mar 29 18:38:33 why would you ever use ubuntu anyway? Mar 29 18:38:37 :< Mar 29 18:38:48 yeah, they dropped the support for armel for 9.10 onwards Mar 29 18:42:44 well, because it provided a base that enabled me to become a linux user! Mar 29 18:44:18 but to be honest, I'm starting to think of moving to something else... but that's not the point of this conversation ;) Mar 29 18:46:17 the point is use debian Mar 29 18:46:19 srsly Mar 29 18:52:24 from what I'm reading, seems I'm going to learn about debian via the Sheeva plug... Mar 29 19:45:56 anyone mind commenting if this is an up-to-date approach: http://www.cyrius.com/debian/kirkwood/sheevaplug/index.html Mar 29 19:48:30 jfb_h20: yes, it's up to date Mar 29 19:53:00 tbm, thanks. Mar 29 20:26:30 following kirkwood's instructions on upgrading uboot, I'm running into this error after attempting to 'fatload' Mar 29 20:26:38 ** Can't read from device 0 ** Mar 29 20:26:48 ** Unable to use usb 0:1 for fatload ** Mar 29 20:27:06 but usb start, seems to work fine... any suggestions? Mar 29 20:38:07 jfb_h20: you just have to keep guessing divice/nodes for that Mar 29 20:38:12 until you find the one that works Mar 29 20:38:39 if you partiton is on sda1, then just keep trying 0:1, 1:1, etc Mar 29 20:39:47 fatload usb 0:1 0x0800000 uboot.bin Mar 29 20:40:01 so here I should change 0:1 to 1:1, etc... what is the octal number? Mar 29 20:40:17 Hope I don't need to play a guessing game with that? Mar 29 20:44:11 usage: fatload [bytes] Mar 29 20:44:25 apprently it's the address... so how do I know what to use for that? Mar 29 20:45:34 jfb_h20: it's a memory address for the file to be loaded to Mar 29 20:45:47 uboot reserves the first 0x800000 for itself Mar 29 20:45:51 after that you can use whatever you want Mar 29 20:45:51 ah, loaded 'to', ok. Mar 29 20:46:01 so 0x800000 is a perfect number Mar 29 20:46:02 unfortunately, I'm not having success... Mar 29 20:46:14 even guessing different dev numbers Mar 29 20:52:43 jfb_h20: like kerio said, using a usb device to read the kernel off of doesn't always work Mar 29 20:52:51 really the only reliable way is to read it off the nand Mar 29 20:52:57 makes for a faster boot too Mar 29 20:53:50 NAND ^_^ Mar 29 20:54:20 ok, well, then I'll need to find another tutorial for upgrading uboot, which is all I'm trying to do so far.. not even tot he point yet about loading the kernel :s Mar 29 20:54:24 have a good link? Mar 29 20:54:33 what are you trying to load off of the usb? Mar 29 20:54:43 uboot.bin Mar 29 20:54:46 tftp works much better for loading that Mar 29 20:55:04 tru dat Mar 29 20:55:13 I don't have a tftp server... Mar 29 20:55:19 well, actually openocd works much better for loading that Mar 29 20:55:22 do you have a computer? Mar 29 20:55:34 tftp is a close second though :) Mar 29 20:55:43 yeah Mar 29 20:55:43 indeed I do! Mar 29 20:55:46 openocd is probably easier Mar 29 20:55:51 jfb_h20: then you have a tftp server =p Mar 29 20:55:52 just install one Mar 29 20:55:59 I figured that was coming... Mar 29 20:56:17 Tootoot222: should i write something for the wiki related to os x and openocd? Mar 29 20:56:48 kerio: is there something special you had to do that isn't on the wiki Mar 29 20:56:49 ? Mar 29 20:56:57 goes off to read about openocd and tftp Mar 29 20:57:29 jfb_h20: grab the sheevaplug_installer_v1.0 Mar 29 20:57:39 it has openocd in it Mar 29 20:57:40 Tootoot222: well, all i had to do was a brew install openocd Mar 29 20:57:49 well, a brew install --enable-libftdi openocd Mar 29 20:57:56 and then it worked Mar 29 20:58:05 i was expecting something like fire and brimstone and kernel panics Mar 29 21:19:03 I'm reading the readme for the installer, it seems I'll end up with Ubuntu 9.04? The point of starting this project was to be able to install a different dist, with a newer kernel Mar 29 21:24:23 jfb_h20: why not install stuff in the NAND? Mar 29 21:24:27 it's the only always-reliable thing Mar 29 21:25:33 kerio, i'm really a noob here... so to be honest, I'm not sure. I'm just looking for instructions on how to set up my sheeva plug to run as a transmission and squeezecenter server... Mar 29 21:25:44 squeezecenter? :o Mar 29 21:25:57 oh, cute, media server Mar 29 21:26:19 come on, Mar 29 21:26:52 it works well for my needs... trust me, this is all a 'process' toward understanding how to build a proper media server. Mar 29 21:27:36 well i'd just use a nfs share Mar 29 21:27:45 but i'm a nerd, and i loathe easy interfaces Mar 29 21:29:04 nah, that'd be too easy1 Mar 29 21:29:13 no learnin' that way ;) Mar 29 21:35:26 so maybe what would be easier is to just upgrade my kernel, right now it's 2.6.22 how would I upgrade it? Links to references? Mar 29 21:39:15 jfb_h20: the installer will only install ubuntu if you put the rootfs.tar.gz on the usb Mar 29 21:39:39 you can actually put anything in rootfs.tar.gz and it will extract it onto the nand for you Mar 29 21:39:53 one concern, it mentions a sheevaplug-installer/installer/uboot-custom.txt file Mar 29 21:39:55 (I.E. if you've done a debian install or something, you can tar it up and put it there) Mar 29 21:39:57 but the file does not exist Mar 29 21:40:02 yes it does Mar 29 21:40:10 uboot-nand-custom.txt Mar 29 21:40:50 what you can do if you just want to have it update your kernel and uboot is remove anything related to the initrd in that file Mar 29 21:41:02 and don't put the initrd or rootfs.tar.gz on the usb Mar 29 21:41:05 ah, it's not in installer, it's in uboot/uboot-env Mar 29 21:41:13 oh Mar 29 21:41:13 yea Mar 29 21:41:44 but if my kernel is on SD will it work?? Or am I just missing something entirely. Mar 29 21:41:59 the installer burns your kernel onto the nand Mar 29 21:42:04 which is the only sane place to put it Mar 29 22:07:01 Marvell>> fatload usb 0:1 0x0800000 uboot.bin Mar 29 22:07:03 reading uboot.bin Mar 29 22:07:05 Invalid FAT entry Mar 29 22:07:09 4096 bytes read Mar 29 22:07:10 should that concern me? Mar 29 22:08:17 becauase I'm about to run: nand erase 0x0 0xa0000 and then: nand write 0x0800000 0x0 0xa0000 Mar 29 22:08:19 menas you probably read from the wrong partition Mar 29 22:08:26 4kb is definately not enough Mar 29 22:08:30 ok Mar 29 22:08:31 you need like 4mb Mar 29 22:08:41 (or maybe more like 2-3mb) Mar 29 22:10:21 I'm following these instructions: http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html Mar 29 22:10:40 the file uboot.bin is only 4kb it seems Mar 29 22:10:49 oh Mar 29 22:10:54 maybe it's just a patch? Mar 29 22:11:01 it should definatly not be 4kb Mar 29 22:11:08 where'd you get it from? Mar 29 22:11:25 Please download the U-Boot 3.4.27+pingtoo binary and save it as uboot.bin Mar 29 22:11:33 the link on that page Mar 29 22:12:02 460kb+ for me Mar 29 22:12:05 which is about right Mar 29 22:12:07 not 4kb Mar 29 22:12:24 try redownload it Mar 29 22:12:29 ok. Mar 29 22:12:41 maybe you removed your usb drive "unsafely" after writing the file Mar 29 22:12:47 and it got corrupted/half written Mar 29 22:17:43 very strange, two different USB sticks, redownloaded, etc. ... Mar 29 22:17:47 same result Mar 29 22:36:21 jfb_h20: tbh tftp is no-fail Mar 29 23:06:30 uff. Mar 29 23:07:06 now it seems I'm screwed. I tried running the Sheevaplug_installer, but as far as I can tell it failed, and I'm left with nothing... Mar 29 23:07:31 too many 'how to's with different procedures... drat! Mar 29 23:08:57 my plug won't boot anymore, just freezes at 'Uncompressing Linux...........................................................................................................................................' Mar 29 23:09:53 M Mar 29 23:20:06 success! (with uboot anyway...) Mar 29 23:27:42 Tootoot222: kerio, so I get the impression you both think running off an SD card is a bad idea, but isn't it pretty standard? Mar 30 00:38:08 wow, i realized i got shipped an invalid dreamplug Mar 30 00:38:23 appearently its not supposed to have ubuntu on it, or be clocked at 400mhz Mar 30 00:55:46 dmb: LOL Mar 30 00:55:56 dmb: they put a sheevaplug board in a dreamplug or what Mar 30 00:56:42 jfb_h20: there's absolutely nothing wrong with putting your rootfs on a sdcard, usb, or esata drive Mar 30 00:56:46 or even a nfs share Mar 30 00:56:57 but putting the linux kernel there causes nothing but problems Mar 30 00:57:06 the kernel can find anything -- uboot can't Mar 30 00:57:20 put the kernel where uboot can get to it, and you can have linux take care of the rest Mar 30 01:09:48 Tootoot222: is the sheevaplug 400mhz? Mar 30 01:09:52 dmb: yes Mar 30 01:09:56 hahahah Mar 30 01:09:56 the guruplug was 800mhz Mar 30 01:09:59 i think they did Mar 30 01:10:01 XD Mar 30 01:10:18 Tootoot222: you have one? i want to compare the cpu info from /proc/cpuinfo Mar 30 01:11:01 i don't have a dreamplug, no Mar 30 01:11:04 i have guru+sheeva Mar 30 01:14:49 Tootoot222: i meant a sheevaplug Mar 30 01:14:53 i want to see if its the same cpu Mar 30 01:15:07 sure Mar 30 01:15:29 http://pastebin.com/K2aK3GxW Mar 30 01:15:49 dmb: ^ Mar 30 01:17:42 http://pastebin.com/ia7p429E Mar 30 01:17:43 guruplug ^ Mar 30 01:18:01 http://pastebin.com/Tsb7BXR7 Mar 30 01:18:05 diff between sheevaplug and guruplug ^ Mar 30 01:18:09 (respectively) Mar 30 01:19:05 oh interesting Mar 30 01:19:16 mine shows Hardware : Marvell GuruPlug Reference Board Mar 30 01:19:42 so they are all the same cpu model, just different clocks? Mar 30 01:20:24 memory clocks Mar 30 01:20:32 i think so, yea Mar 30 01:22:08 they sent me an RMA Mar 30 01:22:08 sounds like for the other person, they just sent them another device Mar 30 01:22:13 i'm not the only one Mar 30 01:24:10 good thing i did not open the device Mar 30 01:24:23 they says if i were to of opened it, it would of voided warrenty Mar 30 01:24:41 dmb: found your problem Mar 30 01:24:42 http://plugcomputer.org/plugforum/index.php?topic=5765.0 Mar 30 01:24:46 second to bottom post here Mar 30 01:24:55 yup, thats what i was reading, made me check :) Mar 30 01:24:58 lol Mar 30 01:25:14 i did notice my device was extra extra slow, never thought to check Mar 30 01:25:32 i wonder how they could mess that up Mar 30 01:25:40 build a totally wrong hardware Mar 30 01:25:40 lol Mar 30 01:27:12 well, its definitely not sheevaplug hardware, it has wifi Mar 30 02:22:49 okay, I've gone back to stock firmware for my router and still trying to get a media server to work on my Guruplug Mar 30 02:22:54 no such luck Mar 30 02:27:07 what would cause any media server to not work? I'm running Debian Lenny and the plug is connected wirelessly Mar 30 02:27:25 mijk: have you tried connecting wired(-ly)? Mar 30 02:28:03 no Mar 30 02:29:05 samba's working fine, I have webmin working, I don't know why media servers wouldn't work Mar 30 02:29:23 doesn't help also, that I can download off the internet quicker than I can transfer to my Guruplug Mar 30 02:29:40 via samba? Mar 30 02:29:43 what speed are you getting? Mar 30 02:29:46 on a 10/100 network? Mar 30 02:30:19 wirelessly I got about 350KB/s Mar 30 02:30:25 wired, seems okay Mar 30 02:30:52 maybe the wifi is too slow to respond promptly with the server reply? Mar 30 02:30:57 you should really try it wired Mar 30 02:31:08 my router is N Mar 30 02:31:16 guruplug isn't afaik Mar 30 02:31:20 G Mar 30 02:31:49 54Mbit is considerably quicker than 350KB/s Mar 30 02:31:54 i've heard lots of things about the guruplug's wifi drivers causing problems too Mar 30 02:31:56 hell, even A is quicker Mar 30 02:32:08 is that via samba? Mar 30 02:32:12 yes Mar 30 02:32:19 and is your endpoint (laptop or whatever) also on wireless? Mar 30 02:32:31 no Mar 30 02:32:34 gigabit Mar 30 02:32:48 well i would really try the media server on wired then Mar 30 02:32:53 if the wifi seems to be slow Mar 30 02:33:07 media server isn't working at all Mar 30 02:33:35 but is its problems a symptom of being on wireless? Mar 30 02:33:48 'cause you said you had done the media server on another computer and it worked Mar 30 02:34:09 yeah, today I streamed some stuff off my PC using PS3 Media Server Mar 30 02:34:25 but that computer is wired Mar 30 02:34:28 yeah Mar 30 02:34:39 that seems to be one of the only differences i can see that might make a difference if the guruplug's wifi is being slow Mar 30 02:35:06 well, I'll give it a shot, I'll have a find a spot for hte plug Mar 30 02:40:25 I'll be back tomorrow if it doesn't work ;) Mar 30 02:40:58 ok Mar 30 02:41:04 thanks Mar 30 02:41:05 you can come back and idle either way =p **** ENDING LOGGING AT Wed Mar 30 02:59:57 2011