**** BEGIN LOGGING AT Mon Sep 21 02:59:56 2009 Sep 21 14:26:39 does u-boot support links? like could /boot/uImage be a link to whatever kernel i want to run, to avoid having to go change uBoot env everytime time? Sep 21 14:42:08 rabeeh: ping Sep 21 14:42:19 armin76: pong Sep 21 14:42:30 rabeeh: saw my mail? Sep 21 14:43:06 armin76: qnap problem? Sep 21 14:43:14 rabeeh: yup Sep 21 14:43:49 armin76: i did. but no idea how to solve this. Sep 21 14:44:03 armin76: did you buy this from qnap? can you return it to them for replacement? Sep 21 14:44:59 rabeeh: nope, it was a donation Sep 21 14:45:00 armin76: i couldn't figure out anything smarter than what lennert suggested Sep 21 14:45:09 ok Sep 21 14:45:17 rabeeh: then i want a dove :D Sep 21 14:45:30 armin76: but this requires serious board rework (reballing etc...) Sep 21 14:45:41 * rabeeh sends dove free Sep 21 14:46:08 :) Sep 21 14:46:15 boo :( Sep 21 14:46:36 armin76: lots of people want dove. unfortunately we don't have enough to donate Sep 21 14:46:42 i'll compile stuff on it as soon as you send it to me, not like ubuntu :D Sep 21 14:47:41 armin76: the main differentiation of dove vs. discovery is being able to build armv6 and higher Sep 21 14:47:51 thats why i want it Sep 21 14:48:08 armin76: what is armv5 status then on gentoo? Sep 21 14:48:09 we don't have armv6/armv7 stages because we don't have any board Sep 21 14:48:38 the status is perfect :) Sep 21 14:48:47 what else did you expect from me?! :) Sep 21 14:48:58 hehe Sep 21 14:49:39 we have the discovery online so now i'm building the stages again and the binpkgs i stopped doing because the qnap broke Sep 21 14:50:09 rabeeh: but its not fair, ubuntu has the imx51 as well :( Sep 21 14:51:13 and when karmic(i believe thats the one) is released its going to break the plugs, so... Sep 21 15:05:51 armin76: karmic won't break the plugs since jaunty will forbid dist-upgrade Sep 21 15:06:00 (for armv5 machines) Sep 21 15:06:23 how do i determine a correct load address, when creating uImage? Sep 21 15:06:36 armin76: besides that plug users always have the generous support of debian and other distros Sep 21 15:07:21 arachnist: when building the kernel 'make uImage' should take care of building uImage. Afterwards you can load it anywhere (almost) on the RAM in u-boot Sep 21 15:07:38 oh, cool Sep 21 15:07:55 refer to 'bootcmd' in u-boot and it's details Sep 21 15:11:13 btw, isn't the marvell sheeva somewhere above "armv5"? Sep 21 15:16:00 the SoC used in Sheevaplug is called kirkwood, which supports armv5te Sep 21 15:17:33 well, but i thought that the kirkwood would be like armv6 or armv7 Sep 21 15:19:54 i am curious what the arch differences are Sep 21 15:19:59 int armv6 and armv7 Sep 21 15:21:16 armv6 and armv7 supports more ARM instructions. Sep 21 15:21:41 if you are interested in specific instructions, you can refer to the instruction set manuals in www.arm.com for more data Sep 21 15:22:11 rektide: Did you ever get SDHC to work for you from uboot ? Sep 21 15:23:11 that's a good point - anyone done a sd flash using the 1.0 revision? as in, making a alternative boot they can plug in and use Sep 21 15:23:31 I forgot to say with the openrd Sep 21 15:23:51 tinker-f595: no, i never got sd to do anything. obviously i needeed newer uboot, but that didnt work particularly well. Sep 21 15:24:07 i only have an openrd, no sheevaplug Sep 21 15:24:26 although i was able to use a sd root easily enough. Sep 21 15:26:40 rektide: it seems the uboot needs more work for openrd. I can not get it to crrectly see external storage.That is has problems with usb flash stick and usb hdd drive , and esata drive Sep 21 15:27:21 I had problems with a USB boot Sep 21 15:27:23 when i perform usb start, usb tree it sometimes shows nodes but usb device does not describe my keyboard, mouse or drive Sep 21 15:27:31 The device worked for some kilobytes Sep 21 15:27:34 but then it stopped working Sep 21 15:27:41 this is all openrd stuff Sep 21 15:27:53 I talk of sheevaplug. Sep 21 15:28:51 viric: are you using the uboot that comes with the plug or the one with the recent installer? Sep 21 15:29:19 viric: the recent uboot for sheevaplug works nicely with usb drives Sep 21 15:30:32 rabeeh: do you ever speak with the einfochip developers? Sep 21 15:31:14 tinker-f595: sorry but i don't Sep 21 15:32:03 tinker-f595: what is missing besides better usb support on openrd? Sep 21 15:32:31 openrd uboot esata support Sep 21 15:32:35 how does one "translate" /proc/mtd into /etc/fw_env.config? Sep 21 15:33:18 tinker-f595: what happens if you write 'ide reset'; doesn't the esata drive show up? Sep 21 15:33:39 tinker-f595: I'll burn the recent uboot today. Sep 21 15:33:48 tinker-f595: I only tried with that posted on forums with SD support Sep 21 15:34:58 rabeeh: esata shows up as device 1 sometimes but ext2ls does not work correctly. You also have to reset several times to get to see the esata. Sep 21 15:35:49 rabeeh: I suspect that openrd driver support is broken in uboot or not correctly implemented Sep 21 15:36:28 tinker-f595: i recall there was a bug in u-boot (old versions) that had to do with inode size. Can you mkfs.ext2 with -I 128? (-I is capital letter 'i') Sep 21 15:37:13 besides that maybe esata phy configuration is wrong? Sep 21 15:39:00 rabeeh: That would not explain why the esata is not reliably detected. Also to get to use the mouse and keyboard when esata is connected I need to do a hard reset on the openrd using the reset button. Sep 21 15:39:22 rabeeh: I'll try the inode thing later in the week. Need to get going to my day job. Sep 21 15:39:52 rabeeh: thanks for the hint about the inodes Sep 21 15:40:47 rabeeh: I guess I will need to write a post to the openrd forum Sep 21 15:40:56 tinker-f595: no problem. still the phy parameters decides a lot on how the communication is done in front of the HDD Sep 21 15:41:43 tinker-f595: if your transmission strength is not so high, then the hard drive might not "see" the eSata host interface, therefore you would never see a link Sep 21 15:42:09 tinker-f595: i would look on two parameters in u-boot for that, which are PRE and AMP (pre-emphesis and amplitude) Sep 21 15:43:19 tinker-f595: if i would recall, maybe setting pre to '1' and amp to '7' would be good enough for esata connectivity (but i'm not sure) Sep 21 15:43:35 tinker-f595: you would need to get back to eInfoChip for more info about this (sorry) Sep 21 15:44:29 rabeeh: wrong in what sense? Sep 21 15:44:52 tinker-f595: wrong about this values (PRE and AMP) Sep 21 15:45:29 those typically decide how your TX line strength goes. Sep 21 15:46:18 typically the board PCB provider measures something called eye diagram on the receiver side of the HDD; and measures how open is the eye diagram Sep 21 15:46:23 rabeeh: so a u-boot build would be needed Sep 21 15:46:25 ? Sep 21 15:46:46 for example - http://www2.tek.com/cmsreplive/psrep/img/13555/A001_1525-L.jpg Sep 21 15:47:27 tinker-f595: you can poke the registers on u-boot before ide reset Sep 21 15:48:02 tinker-f595: but then 'ide reset' would override those registers; then yes you would need to rebuild u-boot and reflash it Sep 21 15:54:45 rabeeh:this is very educational, thank you Sep 21 16:20:09 rabeeh: users that keep ubuntu on their plug are going to update anyway Sep 21 16:20:29 they do release party and stuff :D Sep 21 16:20:45 how wouldn't you upgrade? Sep 21 16:21:41 is there any real u-boot documentation? Sep 21 16:21:44 who? what? party? who wouldn't what? Sep 21 16:22:11 i would like to, for example, know what should stand for "interface" in "ext2ls" Sep 21 16:22:19 or what are the available options Sep 21 16:22:25 (that's just an example) Sep 21 16:23:12 arachnist: look for uboot manual on google Sep 21 16:23:23 but keep in mind that some commands aren't available Sep 21 16:24:10 * viric tries to build openocd to use with the sheevaplug Sep 21 16:25:19 I hope libftdi works Sep 21 16:25:45 armin76: what about ubuntu users? Sep 21 16:26:39 morfic: hrm? Sep 21 16:26:52 rabeeh: users that keep ubuntu on their plug are going to update anyway Sep 21 16:27:05 how wouldn't you upgrade? Sep 21 16:27:14 i'm missing context Sep 21 16:27:34 yes, you missed a line Sep 21 16:27:48 they do release party and stuff :D Sep 21 16:27:56 between those two Sep 21 16:28:34 i didn't paste it since it did not seem to help understand it :) Sep 21 16:28:51 upgrade not to miss a party? Sep 21 16:29:20 no, upgrade because there is a party about the new release :) Sep 21 16:29:56 that's the only downside to gentoo, never a milestone to celebrate Sep 21 16:29:59 i mean, if they celebrate, it should be worth it? Sep 21 16:30:13 so you'd want to upgrade Sep 21 16:30:26 only? o_O i must have been taking some happy pills this morning Sep 21 17:04:57 is it normal that u-boot on openrd-client doesn't have "mmcinit"? Sep 21 17:05:32 arachnist: yup, on the plug it doesn't either Sep 21 17:05:45 not sure if it does on the latest installer and stuff, haven't tried it Sep 21 17:05:55 there is a modified u-boot that supports mmc on the forum Sep 21 17:06:01 latest installer uses u-boot 3.4.19 that supports sd Sep 21 17:06:02 but not sure if its going to work on the openrd Sep 21 17:06:16 what installer? Sep 21 17:06:45 oh Sep 21 17:06:47 http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer Sep 21 17:09:59 hm, 3.4.19, booting from sdcard may be a nice way to fix my usb boot issue Sep 21 17:10:06 arachnist: http://openplug.org/index.php/us/resources/downloads?func=startdown&id=54 <- not sure if it works on the openrd Sep 21 17:11:18 tinker-f595: i agree that ultimately openrd uboot needs fixing, but for now, all you need is the kernel in nand to get everything operational, and that really isnt such a horrific burden Sep 21 17:15:18 hmm Sep 21 17:15:47 using an external sdhc reader to access the sdhc card works with the default u-boot Sep 21 17:15:56 (external as in usb) Sep 21 17:17:43 arachnist: yeah, i could do that but i would have to hope system on sd card can wake disks back up, which it probably could, since it's not an issue booting from nand either Sep 21 17:17:57 but i would love to keep a disk in the sd slot rather than adding more to the usb hub Sep 21 17:18:16 disk/card Sep 21 17:18:41 yeah Sep 21 17:18:55 U-Boot 1.1.4 (Sep 14 2009 - 15:36:37) Marvell version: 3.4.19 Sep 21 17:18:57 * armin76 rices Sep 21 17:19:57 armin76: have you painted red stripes over your device? ;) Sep 21 17:20:49 woot, got uboot to load my kernel from sdhc card in an usb card reader Sep 21 17:30:24 http://dpaste.com/96390/ <| but that doesn't look good Sep 21 17:31:16 (did "ext2load usb 0:1 0x8000 /boot/uImage" and the mkimage -l says "Load Address: 00008000") Sep 21 17:31:45 Do you use libftdi in your openocds? Sep 21 17:32:05 me? Sep 21 17:32:12 in general. :) Sep 21 17:32:13 I ask all Sep 21 17:34:02 rabeeh: i'm not sure u-boot 3.4.19 works fine, here at least Sep 21 17:34:45 rabeeh: let me do a few tests Sep 21 17:37:34 rabeeh: http://dpaste.com/96393/ check the console line on the last printenv Sep 21 17:38:46 rabeeh: http://dpaste.com/96394/ <- this one better, after doing a setenv, the console line is broken Sep 21 17:40:50 armin76: i'v just hit that too. 3.4.19 has something against setting the 'console' env variable Sep 21 17:41:34 :) Sep 21 17:42:12 did you notice that other env variables behave differently? Sep 21 17:42:43 bootargs did the same Sep 21 17:46:54 mmm Sep 21 17:46:57 I can't get openocd working Sep 21 17:47:50 viric: whats the prob? Sep 21 17:47:52 Error: 71 114 ft2232.c:1997 ft2232_init_libftdi(): unable to open ftdi device: device not found Sep 21 17:48:07 Debug: 70 3 ft2232.c:1978 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'sheevaplug' layout (0403:6010) Sep 21 17:49:11 viric: thats probably the ftdi description thing Sep 21 17:49:29 check http://www.openplug.org/plugwiki/index.php/SheevaPlug_Installer#Important_Note_for_Newer_Plugs_.287.2F30.2F09ish.29 Sep 21 17:49:45 I changed the usb vendor and product ids to match mine Sep 21 17:49:50 but applied to the sheevaplug.cfg inside openocd Sep 21 17:49:54 ah, the desc... Sep 21 17:50:22 Got it! Sep 21 17:50:28 I commented the description requirement Sep 21 17:50:37 I did not imagine it was checking the description! Sep 21 17:51:08 also check http://www.openplug.org/plugwiki/index.php/Setting_Up_OpenOCD_Under_Linux#Running_OpenOCD Sep 21 17:52:04 * armin76 gusess he should try upstream u-boot again :) Sep 21 18:02:21 armin76: I booted the u-boot from git.marvell.com succesfully, from dram, using openocd Sep 21 18:02:32 and again, the usb doesn't work for me. Sep 21 18:02:32 :( Sep 21 18:05:08 viric: why it doesn't? Sep 21 18:05:14 marvell's u-boot fails to build for me Sep 21 18:06:15 I patched something to get it built with an eabi toolchain Sep 21 18:07:52 try with upstream's u-boot Sep 21 18:11:05 U-Boot 2009.08-02939-g2d4072c (Sep 21 2009 - 18:04:01) Sep 21 18:11:05 Marvell-Sheevaplug Sep 21 18:11:05 SoC: Kirkwood 88F6281_A0 Sep 21 18:11:05 DRAM: 18446744069414584320 MB Sep 21 18:11:05 NAND: 27469751831756800 MiB Sep 21 18:11:08 :D Sep 21 18:11:35 U-Boot 2009.08-rc1 (Sep 21 2009 - 00:15:30) Sep 21 18:11:35 Marvell-Sheevaplug Sep 21 18:11:35 SoC: Kirkwood 88F6281_A0 Sep 21 18:11:35 DRAM: 512 MB Sep 21 18:11:35 NAND: 512 MiB Sep 21 18:11:39 this is what I built Sep 21 18:13:26 mmm Sep 21 18:13:32 help usb only tells me "USB sub-system" Sep 21 18:13:36 no subcommand help... :( Sep 21 18:13:44 usb reset should be enough to find a storage device? Sep 21 18:18:21 it doesn't work for me Sep 21 18:18:38 it says through 'usb info' that the usb storage device I put in is not powered Sep 21 18:19:13 http://dpaste.com/96407/ <| any ideas? Sep 21 18:25:08 nvm, a fscked-up .config Sep 21 18:45:51 viric: it may not pick it up the first time Sep 21 18:46:06 i.e, try it again Sep 21 18:47:25 viric: http://dpaste.com/96422/ Sep 21 18:47:28 with an usb stick Sep 21 18:48:11 had to plug it before powering on the sheevaplug Sep 21 18:48:22 arachnist: are you using a vanilla kernel? Sep 21 18:49:04 armin76: not exactly Sep 21 18:49:38 before *powering* the sheevaplug? Sep 21 18:49:39 let me try Sep 21 18:49:40 /data0/kernsrc/stalker/0001-ARM-Kirkwood-Marvell-OpenRD-Base-board-support-added.patch Sep 21 18:49:44 /data0/kernsrc/stalker/0001-ARM-Kirkwood-Marvell-OpenRD-Client-board-support-add.patch Sep 21 18:49:47 /data0/kernsrc/stalker/0001-Kirkwood-Initialise-SATA-for-OpenRD-Base.patch Sep 21 18:51:09 (found those patches on google groups discussion) Sep 21 18:51:47 i tried... Sep 21 18:51:55 it finds the device Sep 21 18:51:59 but doesn't think it's storage Sep 21 18:52:48 arachnist: ah :) Sep 21 18:53:05 viric: what is it? Sep 21 18:53:16 * morfic goes move his md0 data to a single, third 500gb drive, to redo md0 in hopes sheeva performs better on writes later Sep 21 18:53:26 Kingston DataTraveler 8GB Sep 21 18:54:28 hell, I did not add ext2 support I think Sep 21 19:01:00 viric: i have the same model and it works here Sep 21 19:01:03 with stock u-boot Sep 21 19:01:09 stock? Sep 21 19:01:18 that which came with the sheevaplug? Sep 21 19:01:19 yeah, the one the plug comes with Sep 21 19:01:21 mmm Sep 21 19:01:26 what is that build from? Sep 21 19:01:36 i mean... is it marked as a tag somewhere Sep 21 19:01:37 ? Sep 21 19:01:41 in the git marvell repo Sep 21 19:01:49 don't think so Sep 21 19:01:59 can you say any version number? Sep 21 19:02:23 marvell 3.4.16 Sep 21 19:02:23 what do you mean by 'upstream u-boot'? Sep 21 19:02:25 uboot 1.1.14 Sep 21 19:02:28 1.1.4 Sep 21 19:02:39 where did you get the version from? Sep 21 19:03:03 the one you can get from denx.de, which is who created u-boot Sep 21 19:03:13 it came with the plug Sep 21 19:03:23 you should have it on the cd Sep 21 19:03:45 yes Sep 21 19:04:46 ok Sep 21 19:05:01 now i've got a "wtf?": http://dpaste.com/96428/ Sep 21 19:05:30 it seems to claim that my openrd-client is not an openrd-client, or what? Sep 21 19:06:46 i loaded the kernel with "ext2load usb 0:1 0x8100 /boot/uImage-2.6.31-openrd", because when i specified 0x8000 it looped at "Starting kernel ..." Sep 21 19:07:00 arachnist: thats due to the arcnumber Sep 21 19:07:36 setenv arcNumber 2361 Sep 21 19:07:38 did that Sep 21 19:07:49 arachnist: you need to reset Sep 21 19:07:54 oooh Sep 21 19:08:09 also did you set mainlineLinux yes ? Sep 21 19:08:36 yes Sep 21 19:08:40 http://code.google.com/p/openrd/wiki/UbootConfigForMainLineKernel Sep 21 19:13:06 woot Sep 21 19:13:12 it's alive ^_^ Sep 21 19:13:26 I changed the usb stick Sep 21 19:13:31 I put an ipod Sep 21 19:13:34 it also doesn't work Sep 21 19:15:33 19:14:53 up 8 days, 18:16, 3 users, load average: 4.29, 3.48, 1.87 Sep 21 19:15:44 that is loading doing rsync -av /home /mnt Sep 21 19:16:02 s/ding/d/ Sep 21 19:28:13 ok, now i'm really in trouble :| Sep 21 19:28:23 http://dpaste.com/96442/ <| it just hangs there :/ Sep 21 19:32:16 oh Sep 21 19:32:18 http://dpaste.com/96443/ Sep 21 19:38:11 Can I use sheeva plug as a complete pc? Sep 21 19:38:39 what is "complete pc" to you? Sep 21 19:41:34 All I need is a display, keyboard and usb support with linux running on top of it.. Sep 21 19:42:08 well, sheevaplug doesn't have a display adapter Sep 21 19:42:16 hell. no way to get my usb stick working Sep 21 19:42:18 and only one usb port Sep 21 19:42:23 How should I enable SD support in the u-boot? Sep 21 19:42:26 is it "MTD"? Sep 21 19:44:50 roxfan:but some people have connected a usb to vga card and got the display.Saw a video in you tube http://www.youtube.com/watch?v=xClCWZ9Nv0A Sep 21 19:45:16 i guess it's possible Sep 21 19:45:28 grr Sep 21 19:45:31 nothing worked Sep 21 19:45:31 but it might make more sense to use openrd Sep 21 19:46:44 roxfan:thanks, I will check that out.. Sep 21 19:49:05 aanand: openrd-client might be better if you want an all-included solution Sep 21 19:51:01 I checked the changes at the Sheevaplug usb code Sep 21 19:51:07 and it has been quite stable since long ago. Sep 21 19:51:31 I guess some would work Sep 21 19:52:47 arachnist:thanks Sep 21 20:22:49 uf Sep 21 20:22:55 i could manage to get ONE usb stick working Sep 21 20:22:56 out of 3 Sep 21 20:23:07 I hope further development will end up fixing that Sep 21 20:23:14 I tried the 1.1.4 u-boot Sep 21 20:23:24 then that published with mmc support Sep 21 20:23:30 and then the up-stream in marvell.com Sep 21 20:37:43 viric: do you have multiple devices plugged in? Sep 21 20:37:49 no Sep 21 20:37:55 that caused insane problems for me. but just a single usb stick always seemed to work (3/3) Sep 21 20:37:58 hrm Sep 21 20:38:29 1/3 here Sep 21 20:38:39 and that which works, is a USB sd card reader Sep 21 20:38:46 the ipod and a kingston datatraveller I have, don't work Sep 21 20:46:44 how critical are stripe sizes on raid1, on raid0 i know it can make a huge difference, but about raid1, can't find much on google, if i find nothing i just make it match my xfs blocksize later Sep 21 21:02:36 but i will take suggestion for consideration :) Sep 21 21:40:17 hm, ~13 hours to transfer 320GB, if i had gigE to laptop i could probably help with that, saturating usb is so easy doing rsync form disk to disk on sheeva :) Sep 21 21:59:36 <[g2]> morfic: that sounds slow Sep 21 22:00:03 <[g2]> but maybe not, if two disks are attached Sep 21 22:01:03 <[g2]> Timing buffered disk reads: 86 MB in 3.03 seconds = 28.36 MB/sec Sep 21 22:01:10 <[g2]> that's on my pogo Sep 21 22:02:47 yeah, 27MB/s--ish one reading and one writing Sep 21 22:02:57 raid1 reading, single disk writing Sep 21 22:03:52 but it's only way i can change md0 to xfs when i have all data on the temporary drive, hence my wish i had gigE on laptop :) Sep 21 22:04:49 it's annoying to wait that long :) Sep 21 22:05:20 <[g2]> young kids.... you should have tried a couple decades ago :) Sep 21 22:05:43 <[g2]> the Uni had 50MB disk platters Sep 21 22:06:15 <[g2]> but that was 30 years ago Sep 21 22:06:38 uh, my syquest 88mb was kick ass back in the day, 2x my main drive and like omg i could just swap it out! ok that was not 30 yrs ago :) Sep 21 22:07:24 but shit, close to 20 yrs ago O_O nah, can't be when did i buy my first pc? hm, shit yeah ~16-17 yrs ago or so, scary Sep 21 22:07:48 <[g2]> heh just wait another 15 :) Sep 21 22:13:10 [g2] getting there :) Sep 21 22:17:16 buddy is urging me to setup lvm this time around, since i rebuild the raid drives anyway Sep 21 22:17:43 * morfic does not want to hit any uboot snags in doing so :( Sep 21 22:23:32 any distributors in europe by any chance ? :-s Sep 21 22:23:55 distributors of? Sep 21 22:24:00 sheevaplug Sep 21 22:24:11 hmm don't think so Sep 21 22:24:47 damn Sep 21 22:26:21 just order from global scale, or contact them see if they can drop ship to you since there is a land way of shipping it Sep 21 22:26:54 well, UPS worldwide is like 94Euros, and the device is 71 Sep 21 22:28:11 ( from globalscale ) Sep 21 22:28:15 I'll try contacting them Sep 21 22:28:18 what? nuts us mail is like $12 to germany, got any relatives or friends in the US who can ship it to you? Sep 21 22:31:10 :( no Sep 21 22:31:13 I'm in romania. Sep 21 22:33:47 i know, anyone on irc you trust enough? Sep 21 22:35:58 unfortunately not. seems that I'm stuck. Sep 21 22:37:57 I'm planning on installing gentoo on it to use it as a small mail/web server ( a couple of domains .. a couple of not so used mails .. ) Sep 21 22:38:23 question: any way that I could brick it ? Sep 21 22:38:35 like .. if I delete a partition or something from somewhere :D Sep 21 22:43:00 from what i understand, the installer is all about unbricking it, from all the flashing on it that i have done just to test the process, it seems hard to brick, just don't do stuff w/o a doc telling you to do it and you should be fine Sep 21 22:44:26 armin76: you wouldn't happen to have a script that creates a initrd to use with the kernels from http://sheeva.with-linux.com/sheeva/ ? to use lvm with the sheeva Sep 21 22:45:17 so it can be bricked. Sep 21 22:45:39 but it can be unbricked, so was it ever really bricked? Sep 21 22:45:51 ow, so it can be unbricked, GREAT ! Sep 21 22:46:18 perfect :) Sep 21 22:46:44 hmm http://www.plugcomputer.org/plugwiki/index.php/Gentoo_20090217_Plug_Computer_Distribution .. can't I use the regular arm gentoo howto ? :-s Sep 21 22:47:48 BlackBishop, sure if you want to Sep 21 22:47:52 armin76 did a writeup Sep 21 22:48:00 http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml Sep 21 22:48:19 YEY, sheevaplug is the winner .. :/ if I can ship it to EU cheap enough. Sep 21 22:48:44 hello all Sep 21 22:48:47 Question Sep 21 22:48:54 When I prepare an initrd for the sheevaplug... Sep 21 22:49:01 should it be 'special' of any kind? Sep 21 22:49:19 * BlackBishop dreamed about brickproof .. cheap .. fast .. small :X Sep 21 22:49:26 with a usual initrd, I get "Bad magic number"... Sep 21 22:49:58 i suppose i could build a initrd for lvm with solar's rootfs tool, now if i only remembered where i left it Sep 21 22:52:07 viric, which bad magic # error? the machineID one or? Sep 21 22:52:40 i'm extending armin's writeup for the MV78100, and probably the QNAP/OpenRD boards can be slotted in easily too Sep 21 22:52:42 as much as i don't want gentoo on the sheeva a USE=-X would have been nice when installing imagemagick the other day Sep 21 22:52:54 morfic, any webpage with an example of bricking/unbricking ? :) Sep 21 22:53:07 robbat2|na: I get the machineID problem with a new kernel I built Sep 21 22:53:24 robbat2|na: and the bad magic, it happens at trying to load the initrd Sep 21 22:53:51 I'm using a prebuilt kernel from fedora, about the initrd. Maybe they did not add support for initrd? Sep 21 22:53:52 for machineID, the value from arcNumber needs to match the MACHINE_START numbers available in your kernel Sep 21 22:54:02 * BlackBishop wonders how the plug will react to power shocks :) Sep 21 22:54:04 not sure Sep 21 22:54:07 ( that's the real brick test ) Sep 21 22:54:31 robbat2|na: I have: 00000690 Marvell DB-88F6281-BP Development Board Sep 21 22:54:31 00000691 Marvell RD-88F6192-NAS Development Board Sep 21 22:54:31 00000692 Marvell RD-88F6281 Reference Board Sep 21 22:54:49 and I've set machine ID (r1 = 0x00000831) Sep 21 22:55:46 what do you think of it? Bad kernel? Sep 21 22:56:14 kernel not built to match the plug Sep 21 22:56:21 mmm bad luck. Sep 21 22:56:28 http://dev.gentoo.org/~armin76/arm/sheevaplug/install/uImage_kwplug Sep 21 22:56:29 use that one Sep 21 22:56:37 I already have one... Sep 21 22:56:39 from fedora. Sep 21 22:56:47 that's what I try to use with the initrd. Sep 21 22:57:08 can you send me the config of your kernel Sep 21 22:57:08 ? Sep 21 22:57:14 uuu .. packages.gentoo.org doesn't show up ARM status :| Sep 21 22:57:29 you can set arcNumber to one of the identifiers used in your kernel, but it wouldn't have hardware supported Sep 21 22:57:38 viric, just the defconfig sheevaplug Sep 21 22:57:43 BlackBishop, use the arch selection sidebar Sep 21 22:57:55 http://packages.gentoo.org/?arches=exotic Sep 21 22:58:03 ah Sep 21 22:58:08 I used the defconfig kirkwood Sep 21 22:58:13 hell. Sep 21 22:58:14 ow Sep 21 22:58:48 viric, the kirkwood one should match sheevaplug Sep 21 22:58:55 That's what I did Sep 21 22:58:57 2.6.29 Sep 21 22:59:00 it does have CONFIG_MACH_SHEEVAPLUG=y? Sep 21 22:59:02 Maybe I need something newer? Sep 21 22:59:08 mmm Sep 21 22:59:16 can't recall Sep 21 22:59:40 probably not, given the machine ids presented Sep 21 22:59:45 ah, it was added post 2.6.29 Sep 21 22:59:52 mmm Sep 21 22:59:59 So should I go for 2.6.30? Sep 21 23:00:13 yeah Sep 21 23:00:26 will it have mmc support enabled? Sep 21 23:00:27 i'm running 2.6.31 on my DB-MV78100-BP Sep 21 23:00:45 the defconfigs on embedded arches usually match the on-board hardware quite closely Sep 21 23:00:52 ok Sep 21 23:01:00 And what do you think about the bad magic number of the initrd? Sep 21 23:01:32 I compare mine and yours Sep 21 23:01:36 they start differently Sep 21 23:01:39 did you prep the image for uboot? Sep 21 23:01:45 yes Sep 21 23:01:47 ah Sep 21 23:01:55 the initrd image has to be built for uboot? Sep 21 23:02:01 like the kernel? Sep 21 23:02:10 not built, merely a header Sep 21 23:02:13 with that mkimage? Sep 21 23:02:20 Yes, I meant like the kernel Sep 21 23:02:24 yes Sep 21 23:02:29 mmm Sep 21 23:02:34 it's not really building it Sep 21 23:02:37 I know Sep 21 23:02:42 let me see what I used for the kernel... Sep 21 23:03:12 hmmm, how is pogoplug different from sheevaplug ? Sep 21 23:04:20 no debug/SD connector Sep 21 23:05:05 * BlackBishop gets mad .. there has to be a distributor in europe Sep 21 23:05:38 roxfan: the mkimage is called by the kernel make Sep 21 23:05:42 what about initrd? Sep 21 23:05:50 do I have to manually run mkimage? Sep 21 23:06:12 yes Sep 21 23:06:19 with what parameters? Sep 21 23:06:26 as in the kernel? Sep 21 23:06:31 I can copy from there Sep 21 23:06:46 (I still haven't spent time understanding mkimage) Sep 21 23:08:04 ah got it Sep 21 23:08:09 -O linux -T ramdisk -C gzip, mostly Sep 21 23:08:15 with the arch name too Sep 21 23:29:26 roxfan: ok, building as you told me. Sep 21 23:29:47 stop highlighting me kthx Sep 22 00:01:03 BlackBishop: biggest deal breaker on pogoplug after missing sd slot and serial port is 256MB of ram compared to sheeva's 512MB Sep 22 00:01:25 * BlackBishop sticks to the sheeva :D Sep 22 00:04:39 that mini usb on the right side .. is the jtag ? :D Sep 22 00:04:55 it's jtag+serial over usb Sep 22 00:05:05 using an ftdi chip Sep 22 00:05:10 yeah, figured. Sep 22 00:05:17 http://www.ionics-ems.com/plugcomputer.html contact them about sales as well Sep 22 00:05:20 ( the serial2usb part ) Sep 22 00:05:26 did that too Sep 22 00:05:27 :) Sep 22 00:06:14 now i just need to find something that makes it easy to get lvm into a initrd for the sheeva on the cheap (as in existing scripts) Sep 22 00:08:44 3AM Sep 22 00:08:47 'm out to sleep Sep 22 00:09:38 thanks for all the answers and suggestions Sep 22 00:37:22 hmm Sep 22 00:39:02 will removing the contents of my ubi0:rootfs and unpacking a system from a .tar there work for replacing the system? Sep 22 02:14:55 arachnist: thats risky but it should work, if the new root in fact works Sep 22 02:30:54 rektide: well, it seems like it worked Sep 22 02:31:25 playing with fire can be profitable at times Sep 22 02:32:26 hot pivot_root on production systems, swapping eeprom chips in powered-on systems (to recover from failed flashes), hot-swapping IDE etc Sep 22 02:32:37 *on a controller that doesn't support it Sep 22 02:32:56 robbat2|na: well, i pivot_rooted three times today, on one boot Sep 22 02:33:22 with apps running on top? Sep 22 02:33:56 * robbat2|na remembers what a friend did to keep the uptime on one old OpenBSD box Sep 22 02:34:02 when moving office buildings Sep 22 02:34:09 kept it at bare minimum - agetty and sshd Sep 22 02:34:57 lucky it had dual-PSUs, so he flipped one side to a small APC SmartUPS 700, then the other side too, and then unracked it live, and drove it ~10km, re-racked and continued. Sep 22 02:35:03 i think the box is still running today Sep 22 02:35:04 i should check Sep 22 02:35:14 hehe Sep 22 02:36:05 yup, not surprising, it is Sep 22 02:36:14 3100+ days atm Sep 22 02:36:31 wow Sep 22 02:36:45 should maybe throw a party for it next year Sep 22 02:37:03 10-years uptime party? ;> Sep 22 02:37:05 OpenBSD serving NTP Sep 22 02:37:14 with a GPS sync cable Sep 22 02:37:57 now i need to figure out why it takes so long for /dev/sda1 to show-up Sep 22 02:38:39 (sdhc card attached to an external card reader in my openrd-client. did so, because u-boot on mine doesn't have mmcinit) Sep 22 02:38:39 step 1. blame the slave side of the hardware Sep 22 02:39:41 put the card reader in a powered hub that supports the hub-port-power commands, power the port down, then time how long it takes to go from port-power->on to working Sep 22 02:40:15 i think i'll just put a "sleep 10" in one of the init-scripts Sep 22 02:41:10 (because the "kernel and /usr on the sdhc card" is a temporary solution anyway) Sep 22 02:41:17 yeah **** ENDING LOGGING AT Tue Sep 22 02:59:57 2009