**** BEGIN LOGGING AT Mon Nov 12 02:59:58 2012 Nov 12 04:12:58 and here I am!! \o/ Nov 12 04:13:03 hey guys Nov 12 04:13:08 and gals Nov 12 04:13:20 anyone been using Ubuntu on CuBox? Nov 12 04:13:42 ok... what about on raspberry pi? Nov 12 04:14:01 UG802 maybe? Nov 12 04:14:16 ok, so what about Nexus7? anyone? Nov 12 04:15:39 n7. works good Nov 12 04:15:54 gotta get mine in one week tho] Nov 12 04:16:05 so far I've only ubuntu running on CuBox Nov 12 04:16:12 UG802 will get by here any day Nov 12 04:16:19 ptl, from the topic "If you have a Pi, try #raspbian ! " Nov 12 04:16:39 workin on minimal ubuntu build process for n7 Nov 12 04:16:52 lilstevie: I was just trying to start a thread. I don't have a raspberry pi... Nov 12 04:17:02 live-build rox, just a lot of docs to read Nov 12 04:17:14 "start a thread"? Nov 12 04:17:28 isn't the build process already in place at canonical? Nov 12 04:17:54 i couldnt find configs or anything re: build process other than how to create the images Nov 12 04:18:03 ah... Nov 12 04:18:03 which is fairly trivial Nov 12 04:18:39 will you make it public? homepage and such Nov 12 04:18:41 ptl, canonical does not support the cpu architecture that the raspberry pi uses Nov 12 04:19:03 https://github.com/ngharo/ubuntu-nexus7-minimal-livebuild here's the repo. I'll be fleshing it out more on tuesday Nov 12 04:19:08 lilstevie: isn't the kernel unifying the ARM architectures right now? Nov 12 04:19:19 this will dump out a tarball, which you'd need to massage a bit for n7 Nov 12 04:19:39 * ngharo is going to tweak makefile to do the massaging soon Nov 12 04:19:42 ngharo: thanks. It will not have any use to me now, until I get my hands on the Nexus7. Do you think it might work in other devices? Nov 12 04:20:01 like, not tablets Nov 12 04:20:11 ptl, that doesn't matter, even once the kernel unification is done, the raspberry pi is a different cpu architecture to what canonical support Nov 12 04:20:31 yeah probably, it should work on any armhf arch device Nov 12 04:20:39 humm... do you know if canonical supports the Marvell Armada? Nov 12 04:20:40 just would need to remove the n7 packages from the config Nov 12 04:20:52 that's what my cubox uses Nov 12 04:20:54 ptl, ubuntu-arm is built on armv7+ with hardfloat support. the raspberry pi is armv6 Nov 12 04:21:11 armv7l Nov 12 04:21:14 ah Nov 12 04:21:28 I never got the gist of these ARM types and variants Nov 12 04:22:31 I'll wait for my second CuBox and maybe make it a highly available cluster using drbd Nov 12 04:22:45 ptl, the difference is the evolution of the processor, they work differently, mostly they are backwards compatible, but older versions cannot run stuff for newer versions due to lacking support for the instructions Nov 12 04:24:28 lilstevie: that's why I did not buy a Pi! :) CuBox, yeah. I thought about buying a D2plug but it was too expensive Nov 12 04:25:33 there are many reasons not to buy a pi Nov 12 04:25:41 armv6 is just one of them Nov 12 04:26:57 does the ubuntu on nexus 7 supports multi-touch? Nov 12 04:27:36 afaik it is limited Nov 12 04:28:04 on the tf201 I get multitouch, but how it can be used is still fairly limited Nov 12 04:28:16 what is a tf201? Nov 12 04:28:35 ah Nov 12 04:28:38 transformer prime Nov 12 04:28:53 did you install ubuntu on it? Nov 12 04:29:00 yes Nov 12 04:40:37 how it works compared to the one in nexus7? better? worse? or more or less of the same? Nov 12 04:41:11 I don't have a nexus 7 Nov 12 04:43:13 thought you had Nov 12 05:12:56 ngharo: you have a "configure" script but no config.ac / Makefile.am ? Nov 12 05:13:01 *configure.ac Nov 12 07:47:53 good morning Nov 12 10:15:15 ptl: configure.ac may also reside in separate subdir Nov 12 10:19:27 hrw, so that missing dri support seems to be quite an issue in the armsoc driver, any idea how to get around that ? (see the build log) Nov 12 10:21:21 ogra_: plan to work on it after vacations Nov 12 10:21:33 looks like configure(.ac) needs fixing Nov 12 10:22:34 I was supposed to be on streets of Palamos enjoying last sun. instead sitting with laptop in a building ':D Nov 12 10:22:34 well, even if i force DRI=yes in there ist doesnt build any armsoc_dri.so (which it looks for according to Xorg.0.log) Nov 12 10:22:51 oh. get out then ! Nov 12 10:23:06 ogra_: first have to reply to interesting email Nov 12 10:28:10 ogra_: chromium os also lacks dri driver Nov 12 10:28:25 ogra_: can you check is there dri driver for omap boards? Nov 12 10:28:30 do you have the same message in your Xorg.0.log there ? Nov 12 10:28:58 there is a dri2 one but that doesnt land in the search path the driver uses Nov 12 10:29:32 also did you note that there is a link in the source to ../xf68-driver-omap or so ? Nov 12 10:30:00 armsoc is a continuation/fork of omap/armsoc one Nov 12 10:30:09 yep, i know Nov 12 10:30:25 i was just wondering if anything from that link is used during build Nov 12 11:08:50 anyone else notice that network-manager-applet doesn't work properly on the first boot of the nexus 7? Nov 12 11:10:17 brendand, yep, we need a rebot after setting the hostname, there is a bug open somewheer iirc Nov 12 11:10:25 *reboot Nov 12 11:11:26 is there a way to flash a bigger rootfs to nexus 7 with fastboot? Everything bigger than ~700M seems to just hang the fastboot (I guess it doesn't fit to memory or something) Nov 12 11:15:13 kulve, there is the -S option buut it is slightly unreliable which is why we stopped using it Nov 12 11:15:32 ogra-cb_: -S option to what..? Nov 12 11:15:56 ffastboot flash Nov 12 11:17:07 hmm.. Is that documented somewhere? "fastboot --help" doesn't show it Nov 12 11:19:45 it does here Nov 12 11:20:31 http://paste.ubuntu.com/1352881/ Nov 12 11:20:42 see the last line Nov 12 11:21:51 ah, true. I was checking in a different Android env assuming that it would the the same.. Nov 12 11:23:25 do you happen to know what that does in practice..? I don't understand what the word "sparse" means in that context.. Nov 12 11:27:21 it chops file it flashes into pieces of the size you define and re-assembles it during write Nov 12 11:27:39 so you can define chunks that fit in ram Nov 12 11:50:48 ogra-cb_: thanks. Sounds exactly what I need (even if it wouldn't work 100%). I somehow thought that the option was for something else Nov 12 12:14:55 marvin24, hmm, do you remember if we pulled zram separately into the ac100 tree ? Nov 12 12:15:33 i'm looking at 3.4 mainline atm (for chromebook) and zram has a depends: X86 in Kconfig here Nov 12 12:16:36 ogra-cb_: no, I cherry picked it Nov 12 12:16:47 ah Nov 12 12:16:49 thx Nov 12 12:16:52 in 3.4, it was disabled for !x86 Nov 12 12:17:04 which was fixed in 3.5 or 3.6 or so Nov 12 12:17:10 right, just dropping the dep breaks it Nov 12 12:18:19 ogra-cb_: nivdia made a new kernel release Nov 12 12:18:34 this has nothing to do with the video drivers Nov 12 12:18:47 just a kernel service release Nov 12 12:18:50 yeap, i know but i assume the drivers will follow Nov 12 12:19:02 since they are currentlly heavily broken Nov 12 13:14:05 ogra_: ogra-cb: looking at bug 771736 what exactly does it need in the initramfs? Nov 12 13:14:06 Launchpad bug 771736 in nilfs-tools (Ubuntu Oneiric) "please include nilfs2 in hook-functions" [Medium,Confirmed] https://launchpad.net/bugs/771736 Nov 12 13:14:10 the gc daemon? Nov 12 13:14:17 yeah Nov 12 13:14:32 there was an initramfs snippet already somewhere Nov 12 13:15:16 also the module needs to be pulled into the initrd Nov 12 13:15:24 i dont think we have that yet Nov 12 13:16:31 I see the snippet to pull module, don't see one for any daemons.... Nov 12 13:34:32 xnox, i can imagine that cleanerd cant be restarted safely once it runs, so it is omitted for the initrd Nov 12 13:35:01 (indeed stateful re-exec in upstart should fix that) Nov 12 13:38:58 ok. let me try stuff then. Nov 12 13:39:09 stuff is good :) Nov 12 13:39:23 * ogra_ tries more coffee-stuff Nov 12 13:39:51 lol Nov 12 13:40:24 * xnox remembers about the cheese and toast stuff Nov 12 14:01:52 victorp, ! Nov 12 14:07:02 ogra_, !? Nov 12 15:28:08 heh, with that 'Disable "glx"' tweak the shaded keyboard comes up fairly quickly Nov 12 15:28:39 well, it eats one of your CPUs then though Nov 12 15:29:53 software rendering doesnt come for free sadly :) Nov 12 15:30:27 ogra_, oh right. it *is* only sw rendering Nov 12 15:31:00 ogra_, what needs to happen for hw rendering? Nov 12 15:31:25 brendand, i assume onboard needs to use gles instead of gl functions Nov 12 15:31:38 havent looked much at the code yet Nov 12 15:32:08 ogra_ - oh it's onboards problem specifically? Nov 12 15:32:30 well, its a prob of app using plain GL instead of the GLES subset Nov 12 15:33:04 if you use any GL functions that arent in the GLES subset it will try to use SW renerind Nov 12 15:35:36 Hello Nov 12 15:36:01 Someone in there ? Nov 12 15:36:33 no, just 165 people idling here Nov 12 15:36:49 :) Nov 12 15:36:53 Great ! Nov 12 15:37:32 I'm looking for information about Ubuntu for Android Nov 12 15:38:11 I've bought the PadFone from Asus and I would love to have ubuntu running on it when docked ! Nov 12 15:38:39 ogra-cb: you've said that I really should not flash different boot image on my nexus7 every time I wanna switch android<->ubuntu, because of the mmc load Nov 12 15:38:41 but the /data partition must get several times higher io load, no? Is the boot partition somehow different? Nov 12 15:40:07 tassadar, flashing means you always write to the same place (i.e. dd), there is no filesystem layer Nov 12 15:40:31 while using a rootfs you have an additional layer that cares for wear levelling Nov 12 15:41:14 diablotin, i dont think there are any public versions of U4A yet, its still being worked on Nov 12 15:41:58 ogra-cb: even an alpha ? beta ? Nov 12 15:42:13 nothing public i know of Nov 12 15:42:25 But is U4A gonna be downloadable or we'll have to buy it with the phone ? Nov 12 15:42:29 Ok Nov 12 15:43:30 hmm, right, thanks Nov 12 15:53:20 datasheet of kingston emmc memory chips (the ones used in nexus 7) says that these chips have static wear-leveling Nov 12 15:54:08 all MMCs have that Nov 12 15:55:26 robclark, do you happen to know anything about the armsoc driver ? Nov 12 15:55:48 * ogra-cb wonders what to do to make it not complain about dri.h not being compilable Nov 12 15:56:02 and "the internet" tells me that eMMC is NAND chip with controller, which handles the wear leveling and bad block management, among other things Nov 12 15:56:11 does dd bypass that? Nov 12 15:56:41 no, its HW, nothing you can bypass Nov 12 15:57:59 ogra-cb, well, armsoc was branched off the omap driver.. I think hrw made some patches to fwd port it to latest xorg.. Nov 12 15:58:06 right Nov 12 15:58:30 and ir works quite well hwen copzing the GLES/EGL and mali libs Nov 12 15:58:58 so it is not using the same cell over and over again, and each cell should endure 1k-3k overwrites Nov 12 15:59:02 but it still complains about dri.h during build and i.e. unity doesnt seem to be accelerated Nov 12 15:59:08 that gives me the impression it is not that bad Nov 12 15:59:39 it will shorten the lifetime of the MMC nontheless and its really dangerous, i wouldnt use flashing if i dont have to Nov 12 16:00:08 if you crash in the middle your device turns into a brick and you have to completely reinstall Nov 12 16:00:48 yeah, I'd like to use the kexec, but I can't get it working by myself - it is simply too low-level Nov 12 16:01:18 I tried applying the kexec-hardboot patches, but I've got stuck on reseting of the CPU via watchdog Nov 12 16:02:05 the patches were made for different CPU, and well, there is no datasheet for tegra 3 available Nov 12 16:02:26 robclark, https://launchpadlibrarian.net/122595562/buildlog_ubuntu-raring-armhf.xf86-video-armsoc_0.4.0-0ubuntu4_BUILDING.txt.gz see the dri.h complaint ? i can force DRI=on but dont get different results in behavior of the binary Nov 12 16:06:50 ogra_, so what is the best method to put up a notice at package install and have it ignored at image build time? I remember debconf notice (or note?) being discouraged Nov 12 16:07:42 well, note is discouraged, but probably the best you can use Nov 12 16:07:51 have a look at the sun java package Nov 12 16:08:25 ogra-cb, hmm, /usr/include/xorg/dri.h looks like dri1 stuff.. I suspect armsoc shouldn't be looking for that Nov 12 16:09:21 janimo, during all aem image builds we export FLASH_KERNEL_SKIP=true ... so only show the note/message/whatever if thats not set Nov 12 16:09:30 hmm, that said, xf86-video-omap does too.. I'm not entirely sure why you see that issue but I don't.. maybe try building xf86-video-omap the same way? Nov 12 16:09:38 robclark, ah, awesome, so i can just rip that out Nov 12 16:09:53 thst the info i was missing :) Nov 12 16:09:56 I think so.. at least that is what I'd try first Nov 12 16:11:03 well, it already works fine for es2gears or glmark ... its just unity thats very slow Nov 12 16:11:47 though hrw doesnt use the alternatives system, might be that the current driver ends up with a mishmash of mesa and mali Nov 12 16:11:59 hi Nov 12 16:12:01 yeah, sounds a bit like it Nov 12 16:12:22 ogra-cb: I have crhomium-opengles package which handle egl for mesa stuff Nov 12 16:12:35 hrw, oh ! Nov 12 16:12:37 but it requires binaries Nov 12 16:12:53 and I do not think that libmali* has license for re-distribution Nov 12 16:12:58 the loibs we manually copy i guess Nov 12 16:13:05 yeah Nov 12 16:13:14 * ogra-cb was fearing that Nov 12 16:14:41 ogra-cb: http://tygrysek.juszkiewicz.com.pl/~hrw/ubuntu/chromebook/ Nov 12 16:14:52 ogra-cb: fetch tar.xz, add libmali and build Nov 12 16:15:54 * ogra-cb will try that later today Nov 12 16:16:07 ogra-cb: cgpt, kernel signing and kernel is what left on my list Nov 12 16:16:21 I gave up on xf86-input-cmt - too many deps Nov 12 16:16:53 and really no need for it Nov 12 16:17:07 yep Nov 12 16:17:11 i have my touchpad working exactly as on cros here Nov 12 16:17:38 it feels a bit delayed in reaction, but i blame X here or unity Nov 12 16:18:12 but two finger scrolling, two three and four finger taps etc, all work Nov 12 16:26:33 janimo, bug 1068182 was just pointed out to me Nov 12 16:26:33 Launchpad bug 1068182 in linux-ac100 (Ubuntu) "Regression: several kernel modules now missing in 12.10 3.1.0-6-ac100 kernel compared to 12.04 3.0.27-1 kernel" [Undecided,Confirmed] https://launchpad.net/bugs/1068182 Nov 12 16:46:08 checking whether to include DRI support... checking for /usr/include/xorg/dri.h... yes Nov 12 16:46:11 checking for /usr/include/xorg/dristruct.h... yes Nov 12 16:46:14 checking whether to include DRI support... Nov 12 16:49:08 nice Nov 12 16:50:31 autoconf suxx Nov 12 16:50:41 heh, ++ Nov 12 16:51:01 and headers which no longer include required headers suxx too Nov 12 16:51:45 dri.h requires 1, dristruct.h 4 Nov 12 16:54:24 http://paste.ubuntu.com/1353543/ Nov 12 16:54:30 thats whole configure.ac patch Nov 12 16:59:40 how do I create a sparse file system image suitable for fastboot flash -S? Nov 12 17:02:53 kulve, you use make_ext4fs Nov 12 17:03:12 bye Nov 12 17:03:28 kulve, from android-tools-fsutils (in raring) Nov 12 17:03:36 ah, thanks. Was just about to ask Nov 12 17:03:55 kulve: it's also available in a ppa for quantal and precise Nov 12 17:04:10 in the install ppa owned by ~ubuntu-nexus7 Nov 12 17:04:14 ah, right, forgot the ppa Nov 12 17:04:23 ;) Nov 12 17:04:54 * xnox blogged about it on ubuntu-planet surely everyone saw it =) Nov 12 17:05:25 * ogra-cb did, but forgot about the ppa nontheless :) Nov 12 17:11:00 weird. I have debian stable, so I took the package from debian unstable and recompiled. But for some reason that doesn't have -fsutils, even though the ubuntu version with the exact same version number does.. Nov 12 17:12:20 the ubuntu package has an ubuntu1 version Nov 12 17:12:50 that means it carries one change change thats not in debian Nov 12 17:12:57 guess which one :) Nov 12 17:13:11 -change Nov 12 17:14:02 no man page.. Is -l for the whole rootfs size? Like 13GB or something like that? Nov 12 17:14:20 yeah Nov 12 17:14:55 ypu want -l and -s iirc Nov 12 17:16:24 kulve: I did forward the debdiff to debian bug 692851 Nov 12 17:16:25 Debian bug 692851 in android-tools "android-tools: please package the rest of the fs tools" [Normal,Open] http://bugs.debian.org/692851 Nov 12 17:16:47 you can recompile with that patch..... Nov 12 17:18:11 I already compiled the ubuntu version. I guess debian wants also man pages always? Maybe that's why make_ext4fs was removed from the packaging? Nov 12 17:18:40 fastboot doesnt have a manpage either Nov 12 17:19:16 so it seems Nov 12 17:19:44 while thats a bug i dont think it is a blocker anzmore Nov 12 17:21:08 kulve: the point is there is no upstream build system, and makefiles were written for "interesting" tools at the time (fastboot). Now that it's possible to fasboot flash ubuntu/debian, the fsutils became "interesting" so I wrote a few more makefiles to compile them. Nov 12 17:21:28 kulve: so just ongoing evolution of packaging bits of android tools git forest. Nov 12 17:21:54 I didn't even know that there are such things outside android until yesterday Nov 12 17:23:15 hmm.. fastboot taking 100% and 600MB of memory (and increasing) Nov 12 17:23:48 are you sure your device is in flash mode and properly connected and detectet ? Nov 12 17:24:03 at leaste "fastboot erase userdata" worked.. Nov 12 17:28:23 still more questions. What should the last parameter "directory" actually contain? At least is doesn't seem to like having a /dev in there.. Nov 12 17:29:18 http://newscenter.ti.com/2012-11-12-New-OMAP-5-processor-based-modules-spur-easier-faster-industrial-designs Nov 12 17:33:01 I figured out why the fastboot went into a leaking busyloop (or something else weird). I forgot the "M" after "-S 256".. Nov 12 17:33:07 great, now seem that on miniITX boards please so we finally build arm desktop PCs Nov 12 17:33:22 s/seem/sell/ Nov 12 17:59:08 Calling hook nilfs Nov 12 17:59:09 Adding module /lib/modules/3.5.0-17-generic/kernel/fs/nilfs2/nilfs2.ko Nov 12 17:59:45 are the raring panda images working? Nov 12 17:59:57 I guess I need to add partman-nilfs to complete the circle. Nov 12 18:00:31 then the next question will be "will it fit" in the panda/ac100/nexus initramfs. Nov 12 18:00:44 and whether it is built.... Nov 12 18:20:07 xnox, panda has no restrictions Nov 12 18:20:33 only fastboot based bootloaders do Nov 12 18:21:16 and iirc it did fit into ac100 last time i tried Nov 12 18:21:29 nexus shouldnt differ much Nov 12 18:21:35 ogra-cb: good. Nov 12 18:21:54 are the raring panda images working? Will try to do partman-nilfs module for the installer. Nov 12 18:22:04 i havent tried one yet Nov 12 18:22:15 ok =) I will tomorrow. Nov 12 18:22:20 i usually started that with A1 preparation Nov 12 18:22:44 i guess i have to make up some personal schedule now :) Nov 12 18:22:49 lol. well x86 desktop are borked because of secure-boot, but colin fixed it, so tomorrow should be better =) Nov 12 18:22:59 "opt-in milestones" Nov 12 18:23:07 heh, yeah Nov 12 18:23:27 technically this is second week since UDS, such that we should have a fully working set by thursday..... Nov 12 18:23:50 well, i doubt i can do it wrt nexus until thu Nov 12 18:23:56 still no kernel Nov 12 18:26:58 which is interesting since kernels don't need much review to go through. Nov 12 18:27:09 and we just had ppc kernel whizz through.... Nov 12 18:28:44 Any hints why my nexus fails to mount the fs that create with "sudo make_ext4fs -s -l 4G rootfs.img build/" and flash with sudo fastboot flash -S 256M userdata rootfs.img"? Nov 12 18:29:32 xnox, well, the nexus kernel sits in the queue longer, i watched the ppc one go bz whiule reloading the queue page over the weekend Nov 12 18:29:34 kernel just tells that it failed to mount it as ext2/3/4/etc, shows the list of the partitions and reboots after 10sec Nov 12 18:29:40 *by Nov 12 18:30:02 kulve, sounds like your initrd isnt used Nov 12 18:30:52 * ogra-cb needs to try something ... brb Nov 12 18:31:28 ogra-cb: yeah, I'm trying to manage without it. It did manage to create "normal" ext4 and mount that, but it had the space limitation Nov 12 18:33:47 hrw, wow, that touchpad snippet helps a lot !! Nov 12 18:34:13 ogra-cb: xorg.conf one? Nov 12 18:34:43 ogra-cb: thanks should go to ojn not me Nov 12 18:35:13 it makes it so much more sensitive Nov 12 18:41:59 [ 24.541] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory) Nov 12 18:41:59 [ 24.541] (EE) AIGLX: reverting to software rendering Nov 12 18:42:20 hrw, from your Xorg log Nov 12 18:42:48 so i guess ripping out dri1 completely is actually needed Nov 12 19:04:04 ogra_, can you give me the exact config diff you use to talk to cbc_multi? When I switched the android out and also made things modular the kernel did not build - the same cable_somthing error you saw too Nov 12 19:40:11 ogra_: fun is that it looks that dri1 is not even used in code - only in configure Nov 12 19:52:35 ogra@chromebook:~$ /usr/lib/nux/unity_support_test -p|grep supported Nov 12 19:52:36 Unity supported: yes Nov 12 19:52:36 ogra@chromebook:~$ grep rendering .xsession-errors Nov 12 19:52:36 compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow). Nov 12 19:52:41 i dont get that Nov 12 19:52:55 it works fine on the nexus Nov 12 20:30:04 ogra-cb: what is the return core from /usr/lib/nux/unity_support_test ? Nov 12 20:30:29 hm, but by the message the limitation is inside compiz Nov 12 20:30:41 lack of extension? Nov 12 20:30:47 remember that this is a different driver :-) Nov 12 20:30:52 so different kind of fun Nov 12 22:54:19 hey guys, any support for the AMLOGIC 8726M? Nov 13 00:41:09 ogra_: ogra-cb_ : raring-desktop-armhf+omap4.img is 22MB small. Some how I have little faith in it... Nov 13 02:38:24 looks it is very slow to install ubuntu on nexus 7 in China Nov 13 02:38:52 could I download the images and then update them manually? **** ENDING LOGGING AT Tue Nov 13 02:59:57 2012