**** BEGIN LOGGING AT Sun Jul 04 02:59:57 2010 Jul 04 04:18:00 is there a guide to install ubuntu onto an SD card? Jul 04 04:18:11 for the sheevaplug Jul 04 06:01:43 is there a default password for root on ubuntu-arm i followed this guide: http://plugcomputer.org/plugwiki/index.php/Ubuntu_9.0.4_Plug_Computer_Distribution#Building_a_rootfs_to_install_Ubuntu_on_an_SD_Card_or_USB_Drive Jul 04 06:02:06 also, i can login to the user account i created, but i cant login as root Jul 04 06:02:36 or sudo Jul 04 06:02:52 sudo outputs: must be setuid root Jul 04 06:13:35 ugh, i chown'd everything so i could move it before putting it on the sd card and forgot...thats why that happened ^^^ Jul 04 06:36:46 yeah, next time sudo tar. =รพ Jul 04 06:38:14 DanaG actually im still stuck Jul 04 06:38:45 do i have to build the rootfs again? Jul 04 06:38:59 because i basically have no root, correct? Jul 04 07:06:39 are there prebuilt armv6 images? Jul 04 07:07:34 heh perhaps I should read further down the page next time. Found one Jul 04 07:08:27 woah Jul 04 07:08:31 http://w3.impa.br/~gabrield/data/click.php?id=4 shows php source hehe Jul 04 10:16:05 hi Jul 04 10:19:02 somebody has a secret deb to fix rootstock ? Jul 04 10:22:52 so far it only worked with karmic in karmic for me Jul 04 10:24:28 creating lucid rootfs from lucid it hangs building iso locales or so (that's in bugzilla for 3 months or so) Jul 04 10:25:18 not exactly specific to roostcok: getting lucid minimal rootfs and installing the desktop task results in dependency problems Jul 04 10:25:45 worked around it and got non working usb keyboard in gdm Jul 04 10:26:11 building maverick image from lucid results in segfault Jul 04 10:29:35 alternatively, somebody has a clue where to get finished lucid or maverick desktop tarballs ? Jul 04 11:00:10 sechrist: ubuntu doesn't support armv6 anymore, 9.10 is the last release supporting armv6+vfp(so no qualcomm) Jul 04 11:00:40 armin76: thanks, I figured this out a few hours ago Jul 04 11:00:40 someone from ubuntu should answer those questions instead of me :) Jul 04 11:01:19 dcordes: ogra is the one you should poke about it Jul 04 11:02:12 armin76: it's armv7 only now ? Jul 04 11:02:21 ogra: poke Jul 04 11:02:45 on a side note I considered reporting on bugzilla instead of here Jul 04 11:02:54 but everything is present already Jul 04 11:03:01 I am just wondering if somebody is working on this Jul 04 11:03:29 dcordes: yes Jul 04 11:03:53 sechrist: which device do you have ? Jul 04 11:04:00 dcordes: kindle Jul 04 11:04:22 isn't ubuntu a bit 'big' for it ? Jul 04 11:04:32 did you consider something openembedded based ? Jul 04 11:04:37 nfs dawg Jul 04 11:04:50 nah I haven't, I can't replace the kernel either Jul 04 11:04:56 I just wanted something to chroot into Jul 04 11:04:57 hi, my sheevaplug stops booting at uncompressing the kernel...booting the kernel. Jul 04 11:04:57 oh that sucks Jul 04 11:05:06 well I probably could replace the kernel Jul 04 11:05:12 but I don't have a serial cable. I don't want to risk a brick. Jul 04 11:05:23 lfitz: what build do you use? Jul 04 11:05:33 sechrist: lol then don't :) Jul 04 11:06:36 do you mean the kernel number? Jul 04 11:06:39 2.6.34 Jul 04 11:06:48 lfitz: I mean your entire setup Jul 04 11:07:01 uboot 3.4.19 Jul 04 11:07:09 you built this yourself ? Jul 04 11:07:13 yeah Jul 04 11:07:15 it was working Jul 04 11:07:27 until i tried to go and install ubuntu :P Jul 04 11:07:42 i ran debian, now both sd cards stop at the same place Jul 04 11:07:48 on first look it seems unrealted to ubuntu Jul 04 11:07:52 yeah Jul 04 11:07:54 maybe file corruption? Jul 04 11:08:01 well...not on the sd cards Jul 04 11:08:03 haha Jul 04 11:08:03 cause i have two Jul 04 11:08:17 possibly on nand cause theres a crc error Jul 04 11:08:21 aha Jul 04 11:08:25 there you go Jul 04 11:08:26 but i think its unrelated Jul 04 11:08:33 rebuild the kernel Jul 04 11:08:34 cause it was booting debian from sd today Jul 04 11:08:40 copy it again Jul 04 11:08:43 check md5 Jul 04 11:09:01 rebuild the kernel on sd card? Jul 04 11:09:15 i just downloaded it from sheeva.with-linux.com/sheeva Jul 04 11:09:16 I don't know how you build your kernel Jul 04 11:09:22 you said you were building yourself. Jul 04 11:09:45 well, heres what i have done... Jul 04 11:10:59 used rootstock to build a....?filesystem?....then downloaded the kernel headers, extracted them to the filesystem, and the modules Jul 04 11:11:03 armin76: any clue where to get prebuilt arm tarballs ? I can only find some minimal builds. Jul 04 11:11:04 along with uimage Jul 04 11:11:24 does qemu-debootstrap work? Jul 04 11:11:37 preferably i would like to default the plug, but i dont know if its possible... Jul 04 11:11:38 this all irrelevant if your kernel fails uncompressing Jul 04 11:11:43 yeah Jul 04 11:11:53 you flash the kernal image to nand ? Jul 04 11:11:54 is there an easier way to restore the factory install Jul 04 11:11:55 dcordes: sorry i don't, i don't even use ubuntu myself Jul 04 11:12:01 ok Jul 04 11:12:10 hi tmzt_ Jul 04 11:12:10 sechrist: isn't kindle arm11? Jul 04 11:12:13 hey Jul 04 11:12:34 tmzt_: big rootstock disappointment here Jul 04 11:12:40 tmzt_: did you ever use it ? Jul 04 11:13:01 no, I'm just reading the changelogs on my maverick update Jul 04 11:13:07 I hadn't heard of qemu-debootstrap before Jul 04 11:13:53 tmzt_: it is installed on my lucid host Jul 04 11:16:11 cp $(which "qemu-$qemu_arch-static") "$target/usr/bin" Jul 04 11:16:11 run chroot "$target" /debootstrap/debootstrap --second-stage Jul 04 11:16:14 dcordes: would it be wise to set the username in rootstock to root Jul 04 11:16:15 tmzt_: you reading wikipedia? Jul 04 11:16:16 that's from the script, okay Jul 04 11:16:22 sechrist: no, why? Jul 04 11:16:27 tmzt_: because it's armv6 Jul 04 11:16:37 yep, armv6==arm11 Jul 04 11:16:49 neither is supported in lucid or maverick to my knowledge Jul 04 11:16:57 I'm running 9 Jul 04 11:18:52 dcordes: http://plugcomputer.org/plugwiki/index.php/Ubuntu_9.0.4_Plug_Computer_Distribution#Building_a_rootfs_to_install_Ubuntu_on_an_SD_Card_or_USB_Drive Jul 04 11:19:02 thats the guide i followed... Jul 04 11:20:32 so is cross compiling even worth trying Jul 04 11:20:53 or is there like architecture-sound emulators (I'm thinking qemu but I haven't ever used it) Jul 04 11:21:04 lfitz: You should download the kernel place the uImage in the boot directory of the filesystem Jul 04 11:21:10 like a full running arm nix system inside an emu on x86 Jul 04 11:21:10 lfitz: make sure nothing goes wrong during that step Jul 04 11:21:32 lfitz: check md5sum of kernel inside your SD /boot/ vs kernel image from the download source Jul 04 11:21:33 well sheeva.with-linux.com has kernel-headers... Jul 04 11:21:38 is that the kernel... Jul 04 11:21:40 ? Jul 04 11:22:09 no Jul 04 11:22:26 http://sheeva.with-linux.com/sheeva/2.6.34/sheeva-2.6.34-uImage Jul 04 11:22:28 this is the kernel Jul 04 11:22:46 okay Jul 04 11:22:54 get this along with the modules http://sheeva.with-linux.com/sheeva/2.6.34/sheeva-2.6.34-Modules.tar.gz Jul 04 11:23:07 what about kernel headers, no need for it? Jul 04 11:23:10 this is the device specific part you need Jul 04 11:23:12 no Jul 04 11:23:22 unless you want to compile some modules Jul 04 11:23:24 later on Jul 04 11:23:33 okay Jul 04 11:24:19 so im running rootstock again to build the rootfs, and then ill add sheeva-2.6.34-uImage to \\boot and sheeva-2.6.34-Modules (extracted) to rootfs Jul 04 11:24:24 err //boot Jul 04 11:24:33 / boot Jul 04 11:25:09 if you still have the .tar.gz from your previous roostcok build, you do not need to build it again Jul 04 11:25:11 sheeva only has one ethernet? Jul 04 11:25:25 dump it to sd card, modify the environment settings to boot from sd and hopefully boot sucessfully... Jul 04 11:25:33 tmzt_: yes only one Jul 04 11:26:05 tmzt_: uboot able to mount rootfs ? Jul 04 11:26:13 tmzt_: just wondering if he needs to flash uimage Jul 04 11:26:19 too bad, I might need a voip proxy for a project Jul 04 11:26:32 dcordes: what do you mean? Jul 04 11:26:46 if I understand rootfs is just a kernel parameter Jul 04 11:27:12 lfitz: he's told to put uImage in /boot Jul 04 11:27:26 and I'm wondering if the bootloader can access it Jul 04 11:27:34 or if he needs to flash Jul 04 11:28:33 yeah, it can access uImage, its offset at 0x80000000 Jul 04 11:28:38 0x8000000* Jul 04 11:28:49 and it reads all the bytes Jul 04 11:29:07 i mean, the total number of bytes of the uImage Jul 04 11:29:44 fine Jul 04 11:30:28 ? Jul 04 13:06:50 lfitz: so you got anywhere with the clean reinstall ? Jul 04 13:26:56 dcordes: I'm having weird issues where I can't access the internet inside my chroot, but I can outside Jul 04 13:27:07 I mounted the various system endpoints and stuff too.. no idea Jul 04 13:27:10 probably dns Jul 04 13:27:13 no Jul 04 13:27:17 pinging 8.8.8.8 fails Jul 04 13:27:18 copy /etc/resolv.conf Jul 04 13:27:22 hmm Jul 04 13:27:24 "operation not permitted" Jul 04 13:27:30 not dns Jul 04 13:27:31 ah Jul 04 13:27:35 you don't have root? Jul 04 13:27:42 of course I have root Jul 04 13:27:42 weird Jul 04 13:27:45 https://gist.github.com/0df5ac2f27bf0c7cfb30 Jul 04 13:28:00 strace Jul 04 13:28:19 I don't have strace in the chroot but i'll try and copy the one I have over Jul 04 13:28:26 sechrist: I have hada similar problem in karmic where I could not user network interfaces as non privileged user. this was native rather than chroot Jul 04 13:28:42 s/user/use/ Jul 04 13:29:35 straced Jul 04 13:29:39 added as comment to gist above Jul 04 13:29:41 O.o @ that Jul 04 13:30:39 umoven input/output error Jul 04 13:30:40 hm Jul 04 13:31:07 so it's a ptrace problem? Jul 04 13:36:14 oooh it's not that Jul 04 13:36:17 it's getuid32 failing Jul 04 13:36:23 wt Jul 04 13:38:21 oh, no, meh Jul 04 13:39:17 sechrist: did you do lucid lynx tarball with rootstock ? Jul 04 13:39:34 nah this is armv6 Jul 04 13:39:52 it's 9.10.2 Jul 04 13:40:17 ubuntu-9.10.2-minimal-armel to be exact I guess Jul 04 13:40:24 I extracted the rootfs tarball and just mounted it Jul 04 13:40:30 aight Jul 04 13:40:34 I didn't need to provision it or anything right? Jul 04 13:40:51 it's not like I was booting off of it Jul 04 13:41:04 just wondering cause I have severe problems creating tarballs with roostock with anything > karmic Jul 04 13:41:21 v6 device running v7 code? Jul 04 13:41:31 oh Jul 04 13:41:32 creating Jul 04 13:41:32 nv, Jul 04 13:57:01 mystery solved Jul 04 13:57:03 permissions error Jul 04 13:57:11 some critical shit was owned by my macbook user Jul 04 13:57:16 doh Jul 04 13:58:05 did you post an strace? Jul 04 13:58:12 I think I know the issue but I'd like to confirm Jul 04 13:58:16 https://gist.github.com/0df5ac2f27bf0c7cfb30 Jul 04 13:58:19 several Jul 04 14:00:01 dude I am totally apt-get installing on a kindle. huuah Jul 04 14:00:33 I think it wasn't able to read either /etc/resolv.conf or other /etc/ file or a required lib because of the permissions issue Jul 04 14:00:44 most likely a lib Jul 04 14:01:12 I did a few stats and went doh when I saw the userid owning the files was 503, so I did a find/exec loop Jul 04 14:44:22 ogra, Is this http://people.canonical.com/~ogra/mobile/ possible on armv6? Jul 04 14:53:51 I'd like to use it for iPhone port Jul 04 15:14:55 Jameswstubbs: The image you are referring to at ~ogra/mobile is specific to an Intel project over two years ago. It is not arm based, it is lpia (Intel Atom/Poulsbo). Jul 04 15:16:14 Hm, Is there a list of the software/configs so I can check ports.ubuntu.com Jul 04 15:16:30 Maybe piece bits together Jul 04 15:18:06 Esentially, Jaunty is Armv5, Karmic is Armv6+vfp, and Lucid+ is Armv7+thumb2. Jul 04 15:18:53 I don'tknow what is in the original iPhone. You might want to stick with debian. Jul 04 15:19:30 At least that way you can have access to the latest software but built for older hardware. Jul 04 15:19:43 I've just finished booting Karmic on the iPhone 3g, I'm wanting to choose a more appropriate wm before release, Jul 04 15:19:46 Considering matchbox Jul 04 15:19:55 But this is more attractive Jul 04 15:23:18 The 3G is a Cortex A8, AFAIK Jul 04 15:23:27 armv6 Jul 04 15:23:46 Oh, it's only the 3GS that's Cortex A8 Jul 04 15:24:33 Yep, i think iphone 4 is a4 or whatever it's called. Im only working on 2G and 3G atm Jul 04 15:24:45 A4 is just a Cortex A8 impl Jul 04 15:25:19 I havn't looked into, I can't afford one Jul 04 16:35:38 hi, i can boot ubuntu on my sheevaplug from an sd card now...however i can not login, i followed this guide... Jul 04 16:36:17 http://plugcomputer.org/plugwiki/index.php/Ubuntu_9.0.4_Plug_Computer_Distribution#Building_a_rootfs_to_install_Ubuntu_on_an_SD_Card_or_USB_Drive Jul 04 16:36:52 at this section: ' sudo ./rootstock -f sheevaplug -l [username] -p nosoup4u -d jaunty --serial ttyS0 --seed ssh' i set my username to root Jul 04 16:37:03 with a temp password Jul 04 16:37:25 and i tried to login as root with the temp passwd and even the default password in that line and it says login incorrect... Jul 04 16:37:51 since the fs is on sd can i edit a text file such as /etc/passwd to add a new user/pass? Jul 04 16:37:58 or does it need to be done, once logged in... Jul 04 16:39:28 hi orga: the README in rootstock fs says to contact you here... or by email, are you around? Jul 04 18:53:35 lfitz: can you share how you came over the can't extract kernel Image problem ? was the reason you did not have a kernel image in /boot ? Jul 04 18:54:15 lfitz: ogra is busy fixing rootstock I guess :P Jul 04 18:54:52 lfitz: are you 100% sure you usin the same password you specified with the rootstock command ? Jul 04 19:34:37 dcordes: 100% sure Jul 04 19:35:05 it worked initially, on the first attempt...but when i tried to switch to root i got an error 'setuid root' Jul 04 19:35:15 or whenever i tried to sudo i got that error Jul 04 19:36:29 dcordes: i switched from ext3 to ext2 because i only had one partition Jul 04 19:36:35 the command to boot is ext2load Jul 04 19:36:44 so i figured ext2 fs would be best Jul 04 19:36:57 basically /boot needs to be ext2 Jul 04 19:37:04 I see Jul 04 19:37:17 so that was the source of the unable to uncompress image erorr ? Jul 04 19:37:36 im not sure....but i think thats the only thing i changed... Jul 04 19:38:20 i would rewrite the section in the plugwiki about using rootstockfs, its missing a few words (not meaning to insult anyone) but its a little hard to follow Jul 04 19:39:46 go for it that's why it's a wiki Jul 04 19:39:53 but thats not ubuntu-arm... its at plugwiki / ubuntu 9.04 Jul 04 19:39:54 oh Jul 04 19:39:57 alright :) Jul 04 19:40:12 I've been asking you so that others can contribute when they read the logs of this channel Jul 04 19:40:38 foss we are doomed to work toegether Jul 04 19:40:45 okay, thats a good idea :) Jul 04 19:41:03 so to get back to your login problem Jul 04 19:41:13 i will try to write the rootfs from scratch for sheevaplug entirely :) Jul 04 19:41:18 I've had the exact same problem Jul 04 19:41:27 with lucid lynx rootstock Jul 04 19:41:38 no way! :P Jul 04 19:41:56 it is specific to rootstock Jul 04 19:42:02 and seems to exist across different versions Jul 04 19:42:03 i switched the sd card into my laptop and tried chrooting to it so i could add users Jul 04 19:42:08 but that didnt work either Jul 04 19:42:17 yxou don't need to chroot Jul 04 19:42:17 no exec error Jul 04 19:42:38 you can spare the chroot part Jul 04 19:42:43 just mount he rootfs Jul 04 19:42:59 and copy the passwd and groups etc from your known work ubuntu rootfs. Jul 04 19:43:07 shadow Jul 04 19:44:55 /etc/passwd, /etc/group, /etc/shadow? Jul 04 19:46:36 yeap Jul 04 19:48:27 okay that works, however it only works for one user the primary user and not the root account Jul 04 19:48:35 and it logins then quickly logs out Jul 04 19:48:44 could it be because i dont have a /home/dir Jul 04 19:51:07 lfitz: what is it ? Jul 04 19:51:39 um, i copied the /etc files you mentioned Jul 04 19:51:57 but the /home/username directory on the sd cards dont exist..yet Jul 04 19:52:30 I mean, you logging in on the text terminal or graphical ? Jul 04 19:52:40 text...screen Jul 04 19:53:06 ok it worked for me w/o /home/username Jul 04 19:53:14 just got warning Jul 04 19:53:27 i get the default log in message Jul 04 19:53:33 but then im asked for my password again Jul 04 19:53:38 username and password* Jul 04 19:56:44 dcordes: ^^ Jul 04 19:57:21 I hate roostock Jul 04 19:57:40 I mean it's not a bad concept Jul 04 19:57:43 but needs much love Jul 04 19:57:57 spent way too much time wit it this week Jul 04 19:58:19 any idea how to get the default ubuntu image back? Jul 04 19:58:21 lfitz: ask #ubuntu Jul 04 19:58:24 okay, thanks Jul 04 19:58:29 thank you for the help Jul 04 19:58:30 ! Jul 04 19:58:45 the cause of the problem is specific to rootstock Jul 04 19:58:53 or the arm repos... Jul 04 19:59:07 but way to solve it is generic so you can go ask anywhere Jul 04 19:59:12 no problem Jul 04 19:59:15 you welcome Jul 04 19:59:32 what do you mean get default ubuntu image back ? Jul 04 20:08:26 dcordes: the plug ships with ubuntu installed Jul 04 20:08:33 but i think i bricked it just now Jul 04 20:08:38 :X Jul 04 20:09:13 put your cheepoplug in the trashcan and get something decent like new gumstix Jul 04 20:15:54 armin76: remember where i used to work? right by us are developing a new product based on igepv2 :) Jul 04 20:32:06 How do use apt-cache with rootstock? Jul 04 20:40:10 Jameswstubbs: I've used rootstock with apt-cacher-ng quite happily... Jul 04 20:40:37 (oh, sorry, wrong tool) Jul 04 20:40:38 Do you just install apt-cache on host machine? Jul 04 20:40:45 Anything else need to be done? Jul 04 20:41:21 I spent 6 hours making a ubuntu-rootfs only to accidently format my image :p Jul 04 20:42:13 What would you like to achieve? Jul 04 20:43:11 To not need to download all the dpkg's over and over again Jul 04 20:43:19 I might just make a backup of the tarball this time Jul 04 20:44:42 Ah. A couple of options - use --copy-package-cache/--save-package-cache, or use a APT proxy like apt-cacher-ng Jul 04 20:45:19 I use the latter and am quite happy with it. Set http_proxy and /etc/apt/apt.conf.d/proxy to point to the cache and the rest just flows... Jul 04 20:48:04 Ah thank you :) I think i'll use --copy-package-cache **** ENDING LOGGING AT Mon Jul 05 02:59:58 2010