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