**** BEGIN LOGGING AT Thu Aug 25 02:59:58 2011 Aug 25 15:36:32 hi Aug 25 15:36:51 is anyone in here affiliated with the wiki on plugcomputer.org? Aug 25 15:49:16 does anyone know how to create an ext2fs rootfs image for the sheevaplug from a directory-tree and flash it via uboot correctly? Aug 25 15:49:43 i'm trying to get gentoo up and running (without nfs/tftp/compiling on the sheevaplug)... but I keep getting "Cannot find superblock" Aug 25 15:57:36 is this channel as dead as the wiki? :) Aug 25 15:58:33 it seems the wiki admin forgot to run the update.php script... i already wrote an email to www@plugcomputer.org but no reaction Aug 25 15:59:19 if you wait long enough you'll probably get an answer here. Aug 25 15:59:35 ok, then i'll idle a bit Aug 25 15:59:55 Barlow: thanks Aug 25 16:00:27 Barlow: do you maybe know if the wiki-admin is in here so I can highlight her? Aug 25 16:01:47 rigid: i don't know who the wiki admin is, sorry Aug 25 16:02:13 not much talk about the wiki. Aug 25 16:02:41 not implying there is much talk anyway Aug 25 16:18:04 all the cool kids are in #sowhatdoidowiththistouchpadthingnow today Aug 25 16:21:47 nah... cool kids compile 3.0 kernel for the sheevaplug ;) Aug 25 16:53:59 hm... i started from scratch now using sheevaplug-installer-alpha-6 ... but when I start the console i receive lots of gibberish (binary stuff) on kernel boot (after uncompressing kernel...) Aug 25 16:54:07 did anyone ever experience this? Aug 25 16:56:07 do you need to set the console baud rate? Aug 25 17:00:15 leighbb: that is exactly how it looks like, but I can see the U-Boot stuff Aug 25 17:00:49 it runs recover1, does some flashing and then boots a kernel... after that it looks like wrong baudrate or s.th. Aug 25 17:01:27 Well u-boot probably gets the baud rate right Aug 25 17:01:47 I only have a dreamplug, but it has "console=ttyS0,115200" in the bootargs Aug 25 17:01:49 leighbb: do you have an idea what baudrate I should try? Aug 25 17:02:00 same for me... Aug 25 17:02:24 i always thought baudrate wouldn't matter much over USB->Serial converters Aug 25 17:02:50 I think it does because the UART is still working as a serial port Aug 25 17:04:32 I get garbage if I boot my dreamplug with console=ttyS0,57600 Aug 25 17:04:35 so it needs to be correct Aug 25 17:04:56 i check bootargs in u-boot Aug 25 17:06:05 hm... everything fine... "ttyS0,115200" Aug 25 17:10:33 nope, it's definetly a bug in the installer: http://pastebin.com/YzYSc0hA Aug 25 17:11:03 i installed from a fat16 stick... i'll retry from fat32... if that doesn't work, i'll try installer-5 Aug 25 17:18:59 what's the most current installer? sheevaplug-installer-v1.0.tar.gz? or sheevaplug-installer-alpha-6.tar.gz ? Aug 25 17:19:05 s/current/recent Aug 25 17:38:32 argh... it doesn't work... not even with sheevaplug-installer-alpha-5.tar.gz ... and i'm strictly doing it according to the book Aug 25 17:39:31 i'll give it a 5 more hours, then i try to dump the NAND from a working sheevaplug, if that won't do it, they'll go into the trash... both Aug 25 17:39:40 * rigid is really frustrated Aug 25 17:45:58 what's even more frustrating is that I can't write my findings into the wiki Aug 25 18:24:00 would anyone please tell me what happens after ./runme.sh finished? maybe it's enough if I just wait? Aug 25 18:24:17 or so to say: is the ubuntu recovery-setup interactive? or do I just have to wait? Aug 25 20:21:27 i took a backup of the ubuntu image of a fresh sheevaplug on an sd-card by doing: "mount /dev/mmcblk0p1 /mnt/ ; dd if=/dev/mtdblock1 of=/mnt/ubuntu.bin ; umount /mnt" Aug 25 20:23:28 now I want to flash it on another sheevaplug by doing: "mmcinit ; fatload mmc 0 0x800000 /ubuntu.bin; nand erase clean 0x500000 0x101C0000; nand write.e 0x800000 0x500000 0x101c0000 ; set bootargs 'console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x101C0000@0x500000(rootfs) rw root=/dev/mtdblock1 rw'" - the size should be correct Aug 25 20:23:45 can someone confirm this please? does anyone see something wrong here? Aug 25 20:24:47 rigid: i see you're using dd to work with mtds Aug 25 20:24:49 that's *wrong* Aug 25 20:24:55 use tar Aug 25 20:24:58 you want to copy files Aug 25 20:25:00 not images Aug 25 20:25:11 raw NANDs have bad blocks all over the place Aug 25 20:25:28 jffs2/ubifs takes care of that Aug 25 20:25:51 kerio: ah... *sigh* thank you Aug 25 20:26:24 kerio: will "mkfs.jffs2 --root=myRoot/ --eraseblock=487424000 --pad -o jffs.image" produce an image I can flash? Aug 25 20:26:48 and how do I choose the size of eraseblock? is it arbitrary? Aug 25 20:27:06 no, you don't get it Aug 25 20:27:08 backup *files* Aug 25 20:27:26 then make a filesystem on the sheevaplug from a running kernel Aug 25 20:27:33 flash the kernel, tell it to boot from your SD Aug 25 20:27:39 from there, make the ubifs and copy the files Aug 25 20:27:57 jffs2/ubifs need to work with the live NAND Aug 25 20:28:12 ahh... so I can't prepare it on another computer... Aug 25 20:28:17 to check for bad blocks and to do wear levelling Aug 25 20:28:40 ah great... that was not mentioned anywhere on the wiki... (or at least i must have missed it) Aug 25 20:28:49 kerio: thanks a lot... i'll try that Aug 25 21:50:22 rigid: pretty much what you have to do for gentoo Aug 25 21:50:36 is have 2 usb sticks Aug 25 21:50:42 or maybe only 1 Aug 25 21:50:48 but you put the working ubuntu onto one stick Aug 25 21:50:51 boot it Aug 25 21:51:00 then use that to do the chroot and all the install steps onto the 2nd stick Aug 25 21:51:18 (you can actually just edit all the config files on your laptop on the gentoo stick, and just install the services you need from the chroot'd ubuntu) Aug 25 21:51:35 after you get the second stick set up, you can boot it Aug 25 21:51:36 and if it works Aug 25 21:51:46 you boot back to the ubuntu, and copy all the files from the gentoo stick onto the nand Aug 25 21:51:55 keep in mind, the portage tree (in /usr/portage) is about 2gb Aug 25 21:51:56 Tootoot222: that's exactly what I don't want... i'm currently cross-compiling everything to build the root-tree from binpkgs then Aug 25 21:51:58 and too big to fit on the nand Aug 25 21:52:18 why don't you want to do it like that? Aug 25 21:52:24 it's worked for me on all 3 of my plugs =p Aug 25 21:52:30 i guess the hint from kerio was exactly what I needed Aug 25 21:52:52 Tootoot222: aren't upgrades a big hassle then? Aug 25 21:53:10 well you have to put the portage tree somewhere else =p Aug 25 21:53:12 simple as that Aug 25 21:53:17 SD card, usb stick, or in my case, esata drive Aug 25 21:53:22 but you have to compile on the plug, don't you? Aug 25 21:53:24 whatever you've got Aug 25 21:53:26 yeah Aug 25 21:53:29 i have a small compile-farm here Aug 25 21:53:30 it doesn't take long Aug 25 21:53:32 it's surprisingly fast Aug 25 21:53:46 you can even setup distcc on the plug and distribute it to other gentoo boxes Aug 25 21:53:53 :) surely not as fast as with 16 distcc servers... Aug 25 21:53:56 (with distcc + a crosscompile) Aug 25 21:54:06 rigid: that's cheating :( Aug 25 21:54:28 you're supposed to take half a day to compile two packages, then get bored, then reinstall debian Aug 25 21:54:39 yep... but distcc is easily exploitable... i don't want it on the final system... i hope it's a clean way that enables me to just run one script and get an up-to-date stage3 root fs Aug 25 21:54:45 kerio: :) Aug 25 21:54:59 exploitable? Aug 25 21:55:06 Tootoot222: don't get me wrong, i appreciate your help very much Aug 25 21:55:15 if you just want a stage3 rootfs, boot the ubuntu, create the ubifs (NOT jffs2), then extract Aug 25 21:55:25 kerio: yep... if you can reach the port, you got root... they just don't fix it Aug 25 21:55:59 :o Aug 25 21:56:13 you *can* reach the port via loopback! Aug 25 21:56:48 local priviledge escalation, ho! Aug 25 21:57:09 kerio: distcc with lo-only access is a bit useless :) Aug 25 21:57:29 just said that I wouldn't want it on a live system that will be shipped to customers Aug 25 21:57:53 at least not started... but best would be if it's not there (space isn't plenty on the sheevaplug) Aug 25 21:58:21 no, i mean, if it's running locally you can exploit that to get root Aug 25 21:58:28 so if you have local access as a user you also got root Aug 25 21:59:07 sure... although there are easier methods then Aug 25 21:59:17 when you got gcc with a vengance Aug 25 22:00:02 i remember a bash-exploit that got root... dunno if that still works Aug 25 22:00:06 <- not much into security Aug 25 22:44:51 argh... >.< ... the stock-kernel from http://www.plugcomputer.org/data/kernel/uImage.8.6plug doesn't boot after uncompressing Aug 25 22:45:52 and mine crashes with http://pastebin.com/sFiXL7Lr after mounting the stock gentoo-root from mmc Aug 25 22:46:47 any hints appreciated... (why does all the stock-stuff from marvell/globalscale/plugcomputer.org not work on recent sheevas?) Aug 25 22:52:56 rigid: sheeva.with-linux.com Aug 25 22:53:29 ahh... Aug 25 22:53:33 kerio: thanks Aug 25 22:59:58 sheeva-3.0.3-uImage doesn't have mmcblk support compiled in... i'm out of luck today :( Aug 25 23:09:40 wait, what? :o Aug 25 23:46:00 well, it has mmc support compiled in, but somehow I cant mount mmcblk0p1 as root... "VFS: Cannot open root device "mmcblk0p1" or unknown-block(2,0)" ... it worked fine with the previous 2.6 kernel Aug 25 23:46:56 it doesn't say something like "mmc0: new high speed SD card at address b368" as the previous kernel did Aug 26 00:09:01 maybe it's too new? i applied all patches in http://sheeva.with-linux.com/sheeva/kernel/3/3.0/3.0.3/source/ :-/ Aug 26 00:09:03 *sigh* Aug 26 02:12:33 rigid: you should need to apply patches for that to 3.0.3 Aug 26 02:14:10 rigid: whoops - that should of said - you should NOT need to apply patches for that to 3.0.3 Aug 26 02:14:38 * tinker-f595 should not eat dinner and type at the same time ;) **** ENDING LOGGING AT Fri Aug 26 02:59:57 2011