[00:00] slangasek: ok. I'll also reflash mine tomorrow, currently I apparently managed to mess up my partitions or the system in a way that I end up with a read-only data partition, so can't do a whole lot at the moment [00:00] ok [00:00] so at a minimum, I've proved that the N4 bootloader doesn't mind if you resize the system+userdata partitions [00:01] and with the raring image, booting to the shell worked fine... so this current problem is some new glitch with the container flip === chriadam|away is now known as chriadam === krabador is now known as krabador|Doom3 [00:36] just phablet-flashed to 152, and man is it so nice having a terminal there by default! [01:17] sergiusens: when is powerd 0.12 going to be in the device images? [01:18] glad I still had a package built in /home/phablet [01:33] Hey everyone. I'm excited about the upcoming Ubuntu Touch project, but I had begun to think about various challenges. First and foremost, is there going to be an API for simple second screen support? On iOS, this is useful for Keynote and MLB.tv, among other things. Having this from the beginning would be necessary if it is ever to be supported by developers. [01:35] The other thing was memory management. It would be unique and rather advantageous if we could use something like "kill -STOP " whenever a task gets backgrounded and hasn't requested backgrounding, and then when we run low on memory, we could save that app's memory to disk in a swap-like fashion. The user would get a continuous experience regardless of how much memory their device has, even if the app would take a moment [01:36] Just some thoughts. [01:36] The channel doesn't seem as active right now as it is at other times of day though. [01:41] yeah, it's way late in Europe, and pretty late in the US [01:42] unfortunately. Should I submit these ideas as bugs, maybe? I don't know. [01:48] coder543: better to write it up in detail on the wiki first, as a full spec [01:49] as for memory management, we already suspend app processes when they lose focus [01:49] and there's work for allowing select forms of background execution [01:53] Ok, I figured that app execution would be being paused by now most likely. The last time I used the developer preview was a few months ago, but saving and restoring from disk in low memory situations is something not done by iOS or Android at this point I'm fairly certain and could be nice, if anyone ever has time to do that. Second screen support (or the lack thereof) is something I see as a rather serious blunder in Android. O [01:53] else ever happens. Android 4.2 finally introduced support for the second screen though, I think... but yeah. [01:54] I'm excited, regardless. [01:59] the kernel should swap out inactive process memory to disk if it needs more [02:57] mhall119, it looks to be a packaging bug, I think the source format is goofed for an inline package. I'll update and try again [03:00] fginther: hmm, I've seen inline packages with that source format [03:01] fginther: though we can probably just apply the patches to the branch instead of carrying patch files [03:01] mhall119, that's what I'm attempt and converting to native [03:02] should have a update pushed in a minute or two [03:02] cool [03:02] if there's anything you need me for, just let me know === chihchun_afk is now known as chihchun [03:10] mhall119, \o/ now it passes [03:13] yay! [05:51] http://summit.devaamo.fi/2013/program/ [06:01] Having some trouble flashing the image to my Nexus 4 [06:02] I followed all the steps, but the recovery it flashed over my CWM gives an error when I try to use autodeploy.zip [06:06] Are my messages actually visible? [06:27] !ping [06:27] pong! [06:30] good morning [06:30] dholbach: Can you see this? [06:31] samuraibsd, that you just asked me if I could see your message? :) [06:31] Yes. Thank god, someone alive. [06:32] You wouldn't know anything about the flash process would you? [06:32] Not much. What are you after? [06:32] Trying to install it on my Nexus 4 and while I got the auto deploy zip onto the internal storage, it gave me an error, and now I can't seem to mount my /sdcard from the recovery [06:33] What was the error message? [06:33] E: Bad [06:34] And now, when I try to do anything to /sdcard, it gives me E: Unable to mount /usb-otg [06:34] Can't adb push the manual image either, since for some reason it won't mount [06:35] With no OS on the device, I can't do it from inside Android either [06:35] Since booting just immediately turns off the device [06:36] I don't even get a boot animation, just the Google splash and the noff [06:36] then off* [06:36] I never heard of this issue before. [06:36] Let me see if I can find anything. [06:36] Neither have I [06:36] And apparently neither has Google, I've been searching for hours [06:37] I couldn't find any trace of that "error message" in the phablet-flash code [06:37] I don't remember exactly what it said, but I remember E: and bad [06:38] my plan was to play around but then...this [06:39] And now phablet-flash won't work either, so I can't even have it do that [06:40] Tells me I have an unsupported device [06:40] Sorry, it looks like I'm of no help. Maybe you just wait in the channel a bit more until more of Europe wakes up. You might also want to send a message to ubuntu-phone@lists.launchpad.net [06:40] Just so you're all covered and somebody can help you out with this. [06:41] Eh, worst case scenario I just stay up for the rest of the night and figure it out on my own...but yeah, I didn't know about the launchpad list, that's good to know. [06:41] All the best! [06:47] Ah, figured it out...though now it seems Ubuntu won't boot [06:47] Step in the right direction [06:48] Interesting...CM 10.1 boots [07:27] Hi [07:27] can i install ubuntu touch on htc sensation [08:13] ubuntu on nexus 10 shutdown/suspend | http://askubuntu.com/q/304276 [08:28] we need fitbit integration with the infographics :D === zsombi is now known as zsombi|afk === chriadam is now known as chriadam|away [08:50] slangasek, thanks for the session fixes, there is https://code.launchpad.net/~phablet-team/session-manager-touch/trunk as upstream branch fyi [08:51] slangasek, in the adbd build ADB_HOST is already set in the makefile .... and we will also throw away that patch in favour of lool's proper upstream merge in debian once i finally managed to test it === Hourd_ is now known as hourd [09:08] test === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === [SLB]` is now known as [SLB] === ckpringle_ is now known as ckpringle === matzipan_ is now known as matzipan === b0bben_ is now known as b0bben === psivaa_ is now known as psivaa === vrruiz_ is now known as rvr [10:05] Hi: Has anyone gotten the catchpodder podcast agent to work on a phone? (I'm running ubuntu touch on a samsung galaxy nexus). [10:07] folf: as I am waiting for the download in the background feature, development for catchpodder is currently on halt [10:07] but if you want to run the current version, I can help you [10:08] Saviq, if you make such changes, can you let me know so i can update the saucy seeds and packages in the archive accordingly ? [10:09] ogra, you mean the s/qml-phone-shell/unity8/? [10:09] Saviq, right, for saucy we currently build two images ... one via jenkins and the other on cdimage [10:10] they use different seeds and session managers [10:10] once the container flip is done we'll drop the jenkins build [10:10] ogra, oh, didn't know that [10:10] no worries :) [10:10] ogra, anyway, would definitely let more people know before merging that [10:11] ok [10:11] include me then :) [10:11] ogra, will do [10:11] thanks :) [10:11] netcurli: I just want to try out the current version :-) so some advice on how to set it up would be nice [10:13] so at the moment, you will need to grab this plugin code https://code.launchpad.net/~djfun/catchpodder/filedownload [10:14] and compile and install it on the device [10:14] So just installed this guy on my N4 and got it to boot. Seems like it'll be pretty legit once it's actually ready for release. I dig it. [10:14] :) [10:15] and then you should be able to run the qml app from trunk [10:21] netcurli: is starting it from the phone supported? I mean, can it be added to the list of installed apps? [10:23] I have not added any packaging yet, it is possible, but you need to place the .desktop file in the correct directory (/usr/share/applications ?!) yourself [10:26] netcurli: ok thanks :-) === chihchun_ is now known as chihchun [10:40] kgunn: do you feel you own the "primary phone unlock experience with SIM-PIN/PUK" or is it jasons team? === ckpringle_ is now known as ckpringle [11:12] hey guys I noticed an issue on the nexus 7 last night. if you set an alarm leave the clock app open, and then let the device sleep every 10 seconds or so there is a burst of light from it I'm assuming it is a bad thing for that to be happening but I have no idea what is doing it or where or what to file it against any clues? [11:14] you however won't see it during the day so I'm assuming it isn't that bright in reality but you certainly notice it at night :) === chihchun is now known as chihchun_afk === dandrader is now known as dandrader|lunch [11:46] davmor2: what do you mean by burst of light? The whole screen? Do you have any screenshots for better clarification? [11:47] didrocks: https://code.launchpad.net/~sil2100/qtvideo-node/fix_ftbfs_with_new_libhybris/+merge/167509 [11:47] nik90: yeap whole screen lights up for a split second and then is dark again [11:47] davmor2: that's wierd [11:47] davmor2: is this only with the clock app? [11:48] davmor2: for bug related to clock app, you can report them at https://bugs.launchpad.net/ubuntu-clock-app/+filebug [11:49] nik90: no idea it is the first time that the tablet had been useful enough to take to bed and use in place of my Xoom. It may be the tablet as a whole doing it rather than the clock app I was just highlighting what I did for reproduction :) [11:49] davmor2: :) === shadeslayer_ is now known as shadeslayer [11:58] mzanetti: hi! Do you want to resume our OAuth chat? [11:59] mardy: hey, sure [11:59] mardy: so... yesterday I failed because I realized that qca2 seems to build and link with Qt5 but then crashes in init() [11:59] mzanetti: so, I've been giving it some more though, and probably understood that we have different goals in mind [11:59] mzanetti: qhat is qca2? [12:00] *what [12:00] mardy: Qt's openssl implementation [12:00] mardy: qoauth is build on top of that for example [12:00] mzanetti: OK [12:00] mzanetti: so, there is nothing preventing apps from dealing with OAuth themselves [12:01] mzanetti: but what UOA (Ubuntu Online Accounts) provides is a bit different [12:01] mardy: yeah... for some things I think it really makes sense to integrate into the UOA. But not for everything I think [12:01] mzanetti: we don't handle just OAuth, but all authentication methods [12:01] mardy: yeah... I understood that too when looking at the architecture pics of UOA [12:02] mardy: but think about this use cases: [12:02] mzanetti: we add support for multiple OAuth accounts for the same provider, which is something very difficult to do for an app handling OAuth itself [12:03] mardy: a) I have an app that lets me find car2go's. I can create bookings if I'm oauth authenticated. But that doesn't give me any contacts or anything that would make sense showing up in all accounts. Its just that one app that needs to authenticate itself [12:03] b) same goes for a fitbit app wanted to create. However, as I realized that it would be ubercool to have the fitbit stats directly in the infographics, I think that's actually use case for UOA [12:04] mzanetti: yes, for (a) the benefit of using UOA is not much [12:05] mzanetti: that is generally the case with app using a single account, for a well known provider [12:05] mardy: yep [12:05] mardy: anyways, exactly for this use case I came up with the in-process WebView to do the auth [12:05] mzanetti: UOA is mostly useful for apps like Empathy, Shotwell, Evolution, which support many accounts/services, and of different types [12:06] mardy: yep I understood that [12:07] mardy: is the UOA team still the right one to talk about a in-app OAuth API or should I rather go to the SDK guys with that? [12:07] mzanetti: but even for simpler apps, I think that now we have a QML API which is infinitely simple (despite the complex architecture it hides): http://bazaar.launchpad.net/~online-accounts/accounts-qml-module/trunk/view/head:/examples/simple-view.qml [12:08] mzanetti: good quesion, I don't know :-) [12:11] mzanetti: however, I wonder if it's worth it [12:11] mzanetti: as you said yourself, it's not difficult for a developer to setup a QtWebKit view and perform the oauth in there [12:11] mzanetti: and that's more portable than using a component we provide [12:12] mzanetti: so, I'm not sure there's much point for someone to use our API [12:13] mardy: yeah... ok... the more I think about it, the more it seems a SDK thing (making libqoauth work on the phone etc) === dandrader|lunch is now known as dandrader === digitalfiz_ is now known as digitalfiz [12:36] sil2100: maybe try with upstream for this fix? they can maybe look at the other ones as well [12:37] didrocks: which fix? [12:40] galaxy tab2 p3100 enable 3g and call phone? [12:41] cri, talk to the person doing the port ... he/she should be noted on the wikipage for the device [12:43] ogra, tanks === pete-woods1 is now known as pete-woods-lunch [12:57] stgraber, did you get my email with the ext4 comparisons? [13:03] Ubuntu Touch Clinic Hour starts now [13:03] Dr. Pope isn't in, so it's just me today [13:03] ooh [13:03] if you have any questions, go ahead and ask 'em [13:04] so how the heck do I install anything? the install icons don't work. (main screen at the bottom) [13:04] yeah, that's not working yet, it's going to be part of Unity 8 [13:04] for now you need to apt-get from the terminal [13:04] oh, right. well that explains it. [13:05] but, the good new is, there's a terminal installed by default now! [13:05] :) [13:05] you can search the Apps lens by tapping the "Search" on the top panel while in the Apps lens [13:07] are there any build docs for indidual apps like phone-app? [13:07] i wanted to start hacking on it and maybe others... see if i can fix a bug or two .. or more [13:08] just started looking at it last night, and was hoping to get time this weekend to really dig in [13:08] blaroche: they should all have something [13:08] it looks like the gallery-app just uses qmake .pro files [13:08] and they should all have inline ./debian/ packaging too [13:08] mhall119: i think i just have to spend time at it. work out the cmake dependencies [13:09] if you have the bzr-builddeb package installed, you can just cd into the bzr branch directory and run "bzr builddeb -- -us -uc" to get a binary package [13:09] build dependencies should all be listed in ./debian/control on the Build-Depends line [13:10] mhall119: thank you. i think that will get me going :) [13:10] blaroche: good luck, you can always come back with more questions anytime [13:11] mhall119: thanks, i will === ckpringle_ is now known as ckpringle === _salem is now known as salem_ === Tassadar is now known as Guest48666 [13:19] * h01ger just thought the weather app was broken, as it showed "sunny" for each day until june 10th in hamburg ;-) i was reliefed to see clouds+rain on the 11th 8-) [13:20] h01ger: sounds like a bug in hamburg [13:20] definitly. but tagged "worksforme" too [13:21] we can be a pessimistic bunch through can't we? I almost files a bug yesterday because my battery wasn't draining as fast as I expected it to :) [13:21] :) === Darkwing_ is now known as Darkwing === zsombi|afk is now known as zsombi === mesq_ is now known as mesq === daker_ is now known as daker [13:33] h01ger: I've double checked and looked out the window: sun is actually shining in HH :) [13:34] Hey! How do I check my build number ? === davmor2_ is now known as davmor2 === b0bben_ is now known as b0bben === ckpringle_ is now known as ckpringle [13:39] hi there, are clinic hours still taking place? === pete-woods-lunch is now known as pete-woods [13:42] om26er: good questions, I've wondered that myself [13:42] om26er: usually I just check the highest number in ~/Downloads/phablet-flash [13:42] brejoc: yes [13:42] for the next 20 minutes [13:44] popey and I do this every Wednesday [13:44] of course, you can ask questions any time in here === hallyn is now known as 21WAASE4I [13:44] mhall119, that's different for me as I have a few devices connected to the same machine, so I am not sure which one of them is updated and which is not [13:44] but we've set this hour as a committed time for helping folks [13:45] nice. i've already asked that on the mailing list ([Ubuntu-phone] push to device messaging). Is there already a push notification system planned or is this something we'd have to initiate? [13:46] brejoc: there's been a push notification system discussed, but I don't think it's being planned yet [13:46] aquarius and I discussed how it might be done as part of Ubuntu One [13:48] mhall119: cool. will there be plans publicly available to participate in the discussion? === Zic_ is now known as Guest8512 === jishnu7 is now known as Guest65762 === ashams is now known as Guest15032 === JamesMR is now known as Guest53996 === JanC is now known as Guest69968 [13:49] brejoc: I'm sure there will be [13:49] possibly at the next UDS === Guest53996 is now known as Jameth [13:50] which I believe will be around August [13:50] mhall119: thanks! [13:50] no problem [13:54] cking: I did, thanks! I forwarded it to the rest of the people involved in yesterday's discussion. [13:55] stgraber, cool, if it needs revisiting with different tests, let me know I will see what we can do, but I'm tight on time nowadays [13:56] cking: it currently looks like we'll be using loop mounted images for devices where we can't grow/shrink the system and userdata partition to match what we need [13:56] cking: so hopefully use physical partitions on the devices we support ourselves and use loop-mounted partitions on the others (unless whoever is doing the community port figures out how to resize the partitions safely on their device, then they can do it too) === chihchun_afk is now known as chihchun [13:57] m-b-o, yeah its strange. and whats even more strange: since 5 days basically. [13:57] cking, revisiting with different device would help a lot [13:57] one more question. i've been porting (no work at all) and testing saltstack, a remote admin tool, to ubuntu touch. salt has to be started via upstart. has anything to be done to make this work with the new container concept - especially in "touch mode"? [13:57] stgraber, ok, well, I didn't account for any tweaks on mount options or the vm to ensure we flush data more periodically to ensure data loss is minimised [13:57] cking, the device category we target is like a third of the n4 [13:57] cking: if you have a galaxy nexus, test results on it would be great. Otherwise I think sergiusens said he could do those measurements if you can provide him with instructions [13:58] (read: we target the galaxy nexus class (dual core 1.2GHz/512M ram) by default [13:58] ogra, third in sense of what? CPU cycles, memory, etc? [13:58] yeah [13:58] might even be only 900MHz ... i'm not 100% sure [13:58] but definitely a lot lower than the n4 [13:58] i guess that will have some impact on the results [13:58] stgraber, if he's got a 6.5 digit precision multimeter, then it's repeatable [13:59] ping jstill no way to daul boot the n4 ? [13:59] woops [13:59] bobweaver, nope, and it will get more and more unlikely [13:59] still no way to boot the n4 ? * [13:59] ogra, why is that ? [14:00] (dual booting that is ... booting alone should work since ages :) ) [14:00] bobweaver, because we move away from android more and more [14:00] the flipped images already use an ubuntu initrd and require a certain setup that will likely break with dual boot hacks [14:01] and see above [14:01] there are even plans to re-partition the devices [14:01] that is a good idea but for us people irl we can not afford to loose money with missed text messages and what not [14:01] (though i think we cznt really do that) [14:01] *can't [14:02] you shouldnt lose text messages at all if you use the stable image [14:02] ogra, I'll email sergiusens a guide on how to rig up the test [14:02] cking, awesome, thanks ! [14:02] ogra, I figured out why "Ubuntu Touch could not stream movies over the net" with qtmultimedia [14:03] cking: I can get a hold of electronics... not ASAP, but I can [14:03] has nothing to do with gstreamer as I was told in the past [14:03] Phones that support Ubuntu Touch? | http://askubuntu.com/q/304399 [14:03] !devices | AskUbuntu [14:03] AskUbuntu: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices [14:04] it is that my movies where not in intervals of 500 so they would not play not that I did that, they play fine and dandy. (qt 5.1beta) [14:04] officially supported are only the nexus devices ... [14:04] bobweaver, cool [14:04] ogra: I see Nexus S4 :-P Might be confused with Samsung's S4 (or I am out of sync and these are Nexus indeed) [14:05] heh [14:05] * ogra has no clue about non google nexuses [14:06] ogra, Example of text that I missed http://paste.ubuntu.com/5735859/ I lost about 300 usd because of it === lan3y is now known as Laney [14:06] #doublepost -- one more question. i've been porting (no work at all) and testing saltstack, a remote admin tool, to ubuntu touch. salt has to be started via upstart. has anything to be done to make this work with the new container concept - especially in "touch mode"? [14:07] bobweaver, thats what you get using a device clearly marked for development and dogfooding in financially critical production context [14:07] bobweaver, seriously, if you hevily rely on SMS to make money, dont use ubuntu touch yet [14:08] brejoc, does it require anything on the android side ? [14:09] if it can run on i.e. ubuntu-desktop it wont make any difference wether the container is flippped or not [14:09] ogra, yeah lesson learned but I guess that all these people that are saying that everything works great in all there blogs and there posts on g+ made me feel a little saver maybe they are to blame and my stupidity [14:10] IDK what dogfooding is [14:11] eating your own dogfood ... -> using your own unstable software to find its issues [14:11] (emphasis on "unstable" :) ) [14:11] I see thanks ogra [14:11] it surely works great regarding the expectations ... [14:11] but i wouldnt 100% rely on it [14:12] since bugs are expected [14:12] ogra: no, just plain ubuntu [14:12] yeah I have it on my m7 but not on my n4 any more [14:12] brejoc, then the container flip shouldnt have any influence [14:12] n7 * [14:12] yeah, thats what i would od as well [14:12] (if my n7 coould boot the flipped container images :P ) === lilstevie_ is now known as lilstevie [14:14] sil2100: it seems you missed https://launchpadlibrarian.net/141698927/buildlog_ubuntu-saucy-i386.unity-scope-gdrive_0.9daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz === dobey_ is now known as dobey [14:15] sil2100: and https://launchpadlibrarian.net/141693500/buildlog_ubuntu-saucy-armhf.dee_1.2.5ubuntu1daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz :( [14:15] ogra: good to know, thanks. one thing i still don't get is the method that has been chosen to determine which daemons are running in touch and desktop mode. is there a document available with more insight? [14:15] I'm relaunching the second [14:16] brejoc, no, we dont have anything like that yet, i guess thats a matter of convergence which is a 14.04 task [14:17] brejoc, i think upstart offers a way to find whats running though ... i guess we will make use of that [14:18] but thats really up fro discussion still, converged setups are not in focus for 13.10 [14:18] okay. thank you very much! [14:23] davidcalle: still around? [14:24] I will present a lecture on Ubuntu and Ubuntu Touch tonight and would like to show Ubuntu Touch with core-apps. There is a way to put the core-apps in Ubuntu touch menu? [14:28] ubuntero: i use http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/add_apps.sh [14:28] line 56 [14:29] blaroche, thanks [14:29] thank popey :) === nikkimccavee_ is now known as nikkimccavee [14:31] didrocks, sure [14:32] davidcalle: unity-scope-gdrive failed https://launchpadlibrarian.net/141698927/buildlog_ubuntu-saucy-i386.unity-scope-gdrive_0.9daily13.06.05-0ubuntu1_FAILEDTOBUILD.txt.gz [14:32] davidcalle: do you mind giving it a look (and poking sil2100__ once he's back) [14:32] sil2100__: I've fixed the second one by a rebuild [14:33] ubuntero: line 56 on that is really all you need [14:34] that will let you expand the Installed Apps section [14:37] didrocks, a segfaulting test? For me? Thanks! :p [14:39] davidcalle: yw! ;) [14:40] * bobweaver has just added Ubuntusdk toolkit to qt5.1 android lets see if it works on android [14:40] ahh stupid gio things are getting in the way [14:40] sil2100__: btw, you didn't remove the shopping lens from the config :/ [14:40] * bobweaver dont care aout icons [14:42] bobweaver: the Ubuntu.Components have been built on MacOSX, so I'm sure they'll work on Android too [14:43] jhodapp, ping [14:43] jhodapp, I was able to get streaming happening on qt5.1 qtmultimedia [14:43] jhodapp, I am uploading a video atm will post when done [14:44] bobweaver, hey [14:45] bobweaver, does it have its own set of streaming sources? [14:45] not sure what you mean by that [14:45] it was a bug in android and not qt or anything like that [14:45] videos have to be in intervals of 500 === ckpringle_ is now known as ckpringle [14:46] bobweaver, well what do you mean by streaming then? [14:46] my souce is from my myth tv backend here on my lan [14:46] before it would not play my videos [14:46] remember [14:46] bobweaver, ok, it's using gstreamer underneath? [14:47] IDK Or IDTS [14:47] let me look at log [14:47] bobweaver, join #ubuntu-media [14:57] sergiusens, ogra, benchmarking notes posted [14:58] cking: thanks [14:59] cking, yay === ckpringle_ is now known as ckpringle === Guest69968 is now known as JanC [15:05] Asus Vivotab Smart ME400C | http://askubuntu.com/q/304400 === sil2100__ is now known as sil2100 [15:09] it seems neither phablet-flash -d grouper -b nor phablet-flash -b seems to work on a nexus7. both get stuck in the bootloader, trying to write to /sdcard/ === 21WAASE4I is now known as hallyn === philhug_ is now known as philhug === Riddelll is now known as Riddell [15:15] * h01ger used an outdated version of phablet-flash [15:16] Saviq, backend is correctly exported now and working... but something with snap-decisions is broken... looking into it [15:18] cking, oh, you actually tested with only one loop mounted img ... great (the actual implementation would have like 4 loop mounts, i wonder if the impact would be worse) [15:18] ogra, i expect so, pressure on vm will be higher I guess [15:18] yeah [15:19] ogra, i suspect that there will be far more dirty pages flying around which is always bad. [15:20] yup ... [15:20] * ogra thinks we should just keep what we have atm ... probably with some changes and improvements but just use the existing partitions [15:20] ogra, I admit my tests were naive, but they give one an idea of the impact at best case [15:20] yeah [15:21] and i expect it to be a lot worse it multiple images on a galaxy nexus [15:22] ogra, do you if there is a way to run x11 on android that is not vnc [15:22] like how the n7 images where [15:22] nope, i dont think there is one [15:23] the n7 images didnt use any android === racarr_ is now known as racarr [15:23] ogra, I see thanks [15:23] ogra, btw your awesome !!!! [15:23] with the flipped container it might be possible to get xfbdev up though [15:23] but without any GLES support ... i doubt that would help much [15:23] heh, thanks :) [15:24] MacSlow, cool [15:24] awe_, rsalveti, et al .. have I mentioned how much I enjoy having cellular data now? [15:25] rickspencer3, is it working ok for you? [15:25] ChickenCutlass, yeah, I just followed rsalveti's directions in his blog [15:25] worked fine [15:25] rickspencer3, excellent. [15:26] looking forward to having the indicator support and all, of course [15:26] me too [15:27] ogra, why no gles support ? === Guest8512 is now known as Zic [15:27] E/libEGL (27730): eglDestroySurface:383 error 300d (EGL_BAD_SURFACE) [15:27] bobweaver, because xfbdev directly attaches to fb0 and thats it === dandrader is now known as dandrader|afk [15:27] it might not even work without kernel changes [15:28] (since we dont have any framebuffer console enabled etc) [15:28] we should see Mir on the images soon though, that should make everything better :) [15:28] (and once XMir exists you will even be able to run X apps) [15:35] rickspencer3, thanks! glad you like it! === daker_ is now known as daker [15:36] :) [15:36] rickspencer3: awesome [15:37] first step, more to come [15:37] it'll only get better ;-) [15:37] :) [15:37] rsalveti, I understand that copying the network configuration file over and using the terminal to up/down the network connection are hacks for now [15:38] but, the data actually working seems like the foundation [15:38] rickspencer3: yeah :-) we're happy we're able to communicate with the modem properly, and setting up the connection [15:38] now we just need to hook that up properly with the higher stacks [15:40] rsalveti, will you be able to reuse NM code for writing out the configuration file? [15:40] * rickspencer3 presumes that someone will have to write a new GUI [15:40] rickspencer3, that work is underway [15:41] rickspencer3: yeah, cyphermox_ is working on getting that more kind of automatic [15:41] the idea is that NM will talk to ofono and get the config information directly [15:41] crap, another net split [15:41] so in theory all you'll need to do is setting up 'I want data call' :-) [15:42] and in case your sim card doesn't offer you the right apn settings, you can then manually create the config === zumbi is now known as Guest41081 === dandrader|afk is now known as dandrader [15:46] rsalveti, sounds cool [15:46] meantime, looks like the container flip and move to 100% saucy are both going well too [15:48] rickspencer3: yup, lot of progress on both [15:48] hi === oreneeshy_ is now known as oreneeshy === ken_ is now known as Guest1980 [15:50] hello, i have a problem trying install the unbuntu touch [15:50] failed to copy 'Descargas/raring-preinstalled-phablet-armhf.zip' to '/sdcard/autodeploy.zip': Permission denied [15:50] someone can help me¿? [15:53] slangasek: tried today's build yet? I'm downloading it now so just wondering whether it'll boot or not :) [15:53] stgraber: I have not [15:53] stgraber: ubuntu-touch or ubuntu-touch-preview? === barry` is now known as barry_ [15:55] slangasek: I'm grabbing ubuntu-touch === lan3y is now known as Laney === Laney is now known as Guest71473 === barry_ is now known as barry === Guest71473 is now known as Laney [15:57] stgraber: yep - I haven't tried it at all yet; certainly, the previous build didn't work so hot for me [15:57] ogra: which is the last ubuntu-touch image that works for you? === ckpringle_ is now known as ckpringle === Cimi_ is now known as Cimi [15:57] What's the recovery path like if I try ubuntu-touch and it explodes? [15:57] slangasek: yeah, I suspect we may still have some problems related to video4linux [15:58] cjwatson: boot to recovery, adb push the touch-preview .zip, reboot to recovery to have it flash === lool- is now known as lool === zumbi_ is now known as Guest66489 [15:58] ogra: btw, where's the best place to work around bug #1187189? I think we probably need to apply a divert in some common ubuntu-touch package, since we don't have per-device images [15:58] bug 1187189 in linux-mako (Ubuntu) "Kernel crash and reboot when accessing video device" [High,Confirmed] https://launchpad.net/bugs/1187189 [15:58] ok, so not too terrible [15:59] cjwatson: worst case is 2 run through recovery (once for each .zip) and a fastboot flash of the boot partition === jibel_ is now known as jibel [15:59] cjwatson: but yeah, we don't touch the recovery partition, so you can't really brick the device, worst case is really just restoring the boot partition and reset the data partition (which the .zip + recovery do) === chihchun is now known as chihchun_afk [16:07] problem trying install unbuntu touch | http://askubuntu.com/q/304439 === daker_ is now known as daker === plars is now known as plars-afk [16:11] slangasek, funny, i dont see it on maguro [16:11] ogra: sure, it's hardware-specific [16:11] or kernel-specific [16:11] but the rules are in the hardware-independent udev package, which means we need to apply a workaround to the rootfs [16:11] slangasek, i would put is into lxc-android-config ... if you dont have android containers you probably want the device and its full function [16:12] ok [16:12] to be honest, I don't think it's related to the Android container, but I don't really care - we just need somewhere to put a dpkg diversion temporarily until the kernel bug can be fixed [16:12] udev should really have a way to just put a rules file in place with lower sequence number that says "ignore" or so [16:13] hmm, maybe it does [16:13] well, android vs x86 native images [16:13] stgraber: ^^ can you think of anything? === Guest1980 is now known as kenvandine === mmrazik is now known as mmrazik|afk [16:23] ogra: did you change something wrt how the partitions are mounted? I seem to always end up with a read-only data partition after boot now which prevents the lxc container from starting [16:23] (that's after manually removing the udev v4l rule file, otherwise the device won't even boot) === gustavold1 is now known as gustavold [16:25] mardy, hey [16:26] ChickenCutlass: we listen for IncomingMessage to turn the screen on, but what about ImmediateMessage? [16:26] ChickenCutlass: The docs mention a "Class 0 SMS", not sure what that is though [16:27] rsalveti: hi, so I see you've marked "investigate ueventd vs. udev" as "Done" - what's the result of that investigation? === hallino1_ is now known as hallino1 [16:29] slangasek: our investigation was more to know if it'd be possible to have udev and uevent running at the same time [16:29] as we were more worried that uevent could be broken because of it [16:29] which is not the case [16:30] so I marked it as done [16:30] right [16:30] ogra still has concerns about double-loading of firmware [16:30] are you saying that's not an issue? [16:31] which firmware specifically? [16:31] I don't know [16:31] the way android loads the firmware is not as standard as we have [16:31] it's mostly part of init scripts and such [16:31] fwiw, my experience was that ueventd was *not* managing to load the firmware for me, because udev was too quick and had the modules loaded before the android container ever started [16:32] I'm only concerned with the wifi drivers, but that's broken anyway [16:32] which is why I suggested udev should read /system/firmware and /vendor/firmware directly (and pitti has already uploaded this change) [16:32] right [16:32] we may have to guarantee that /system and /vendor are mounted before we start udev, to ensure the drivers get their firmware [16:33] hm, right [16:34] that might complicate things around, but yeah, don't see an easier way [16:34] rsalveti: I'm merely calling this out as a reminder - I believe *currently* these are mounted from the initramfs before we ever start upstart, so no problem. We just have to take care to guarantee this in the future if we do change the partitioning [16:34] right, ok [16:35] anyone else noticing QtCreator spawning little windows for now discernable reason? [16:35] bzoltan1, ^ ? [16:35] rickspencer3: It is a known issue for few weeks already... it is a present from upstream [16:35] it's pretty annoying [16:36] rickspencer3: it is [16:36] slangasek, /system and /vendor are now handled by mountall === desrt_ is now known as desrt [16:36] slangasek, should be sufficient for udev [16:36] ogra: no, handled by mountall is much too late for udev. [16:36] rickspencer3: it will go away with newer Qt [16:37] slangasek, oh, really ? i thought the rootfs mountall starts later [16:37] err [16:37] s/mountall/udev/ [16:38] rickspencer3: the workaround is to delete ~/.config/QtProject and never click on the "Develop" tab. [16:38] oh, yeah [16:38] * ogra sees it starts on virtual-filesystems [16:38] bzoltan1, ok, I'll try that [16:38] slangasek, thats bad, we might need to apply an override file that makes it wait until the container is up [16:38] ogra: the standard ordering is that /mountall/ relies on /udev/ to probe the disks for it and make them available so that mountall can mount them... so if udev in turn needs mountall to mount /system and /vendor for firmware, you've got a race [16:39] so that we are sure android has done its duty [16:39] ogra: no, there's nothing that should wait for the container; we just need to early-mount /system and /vendor from the initramfs [16:39] rickspencer3: I hope it helps. This issue came with the Qt 5.0.2 and known to exist in the upstream distributed releases too [16:39] slangasek, then we might end up with double loading the firmware [16:39] ogra: please discuss that with rsalveti :) [16:39] android will definitely force load it once we bring up the container [16:40] i have no idea if thats bad or not ... but if there are any options handed to the fw we definitely want them to come from android, not from ubuntu [16:40] I don't see that waiting android to load as an issue [16:40] rickspencer3: I have checked that either with the 2.8 QtC it is gone as with the Qt 5.1 it is resolved too. So the problem is solved, we just need to reach with our roadmap the 2.8 QtC or the 5.1 Qt ... July-August [16:41] (i know the broadcom fw needs the right parameters applied when loading it ... i guess there are others as well) [16:41] yup, android usually gets a quite custom init script for most of the things [16:41] that's why I'd prefer not touching it unless it's really needed [16:41] rsalveti, well, if the already laoded fw blocks loading it again and udev already loaded it with wrong args, we're screwed [16:41] and wait cyphermox_ to understand all the issues with the wifi drivers === SkavenXXI-[OFF] is now known as SkavenXXI [16:42] yup, that's why for now I'd not make udev to load them [16:42] so i would prefer if we could make sure that android has it in its hands [16:42] ah [16:42] yup, at least for now [16:42] until we can understand things a bit better [16:43] ok, so if we are delegating the firmware loading to android anyway [16:43] then we can probably revert this udev change (yay) [16:43] and if slangasek/stgraber actually find a way for v4l to suppress udev we might want to use the same thing for all devices we know ship with fw [16:43] and just make udev start later [16:43] well, we want udev to apply the android rules if the container comes up [16:43] what do you mean, "the android rules"? [16:43] there are already quite a few links and permission changes i ship in lxc-android-config [16:44] /lib/udev/rules.d/65-android.rules ? [16:44] and i expect that to grow a lot [16:44] yeah [16:44] udev will apply those whether the container is running or not [16:44] and ueventd will of course create them initially with the right perms, not relying on udev for this [16:45] hmm [16:45] k [16:45] then it should be no issue [16:45] the point is that only loading the driver will get you a kernel event for some of them [16:46] so udev actually should be up before the container since thats what loads them [16:46] i guess we're good then [16:46] how do we know when the container is done "starting"? [16:46] not sure if lxc-init blocks ... [16:46] "udev actually should be up before the container" - hmm? [16:47] i was kind of assumeing that (if you look at the upstart job) [16:47] that's exactly the opposite of making sure ueventd loads the firmware [16:47] you want udev to be up to catch the uevents [16:47] lxc-init has no way to block [16:47] hmm, k [16:47] why do you want udev to catch the events? you said you want them handled by ueventd [16:47] then we might have to add a parker in init.rc [16:47] s/parker/marker [16:48] sigh, my typing [16:48] slangasek, i want udev to create the links once devices show up [16:48] ogra: udev always creates links for *all* devices; see the udevtrigger job [16:48] i'm not sure it catches the uevents if they were processed by ueventd already ... do they stay in the queue ? [16:49] yes, udev isnt my concern, the kernels queue is [16:49] if ueventd processed the event, does it still stay in the queue ? [16:49] it's not a queue... udevtrigger forces "coldplug" reprocessing of all hardware events [16:49] ah [16:49] it walks the hardware tree and forces re-emitting of events for everything [16:49] * ogra always thought the kernel had an even queue [16:49] ok [16:50] it does, but that's not what's used for udevtrigger [16:50] then there are no issues i suppose [16:50] right, the only issue is properly deferring the udev startup until ueventd is done [16:50] and I don't know how you represent that [16:51] well, if udevtrigger re-processes everyhting we could just call that [16:51] regardless when udevd is started [16:51] like ... call it from the lxc upstart job [16:51] how does that help us avoid races between udev and ueventd for loading the firmware? [16:51] it doesnt [16:51] but that's the problem we need to solve [16:52] we need to not start udev until ueventd is done with its firmware loading; anything else will be a race [16:52] well [16:52] the question is if thats true :) we operate on assumptions :) [16:52] udev won't *see* the firmware, so it won't get double-loaded... but it *will* nack the firmware requests === rickspencer3_ is now known as rickspencer3 [16:53] (I've seen this here, that's what led me to symlinking things around for /lib/firmware) [16:53] if a driver doesnt care if it gets loaded the firmware twice it wouldnt be an issue [16:53] we would only need to make sure android is last in the game [16:53] so the right options are applied [16:53] it's not double-loading that's the problem [16:53] it's udev giving a nack before ueventd has a chance to ack [16:53] if drivers block that we cant [16:54] there's no way to make sure android is "last in the game" [16:54] if drivers dont block, we just need to make sure udev is done and then start lxc [16:54] the ordering is totally non-deterministic [16:54] well, we have a way to know when udevtrigger is done [16:54] er, again, that's the opposite of what we were talking about above - why are you wanting to run udev *first* before lxc again? just because we know when udevtrigger ends? [16:55] hello all [16:55] slangasek, i want to be sure that android applies the firmware config [16:55] if the drivers dont care about it being loaded twice udev can do waht it wants as long as we can start android late enough to override it by loading it again [16:56] ogra: once we revert the udev patch, ueventd will be the only thing that sees the firmware, so there will be *no double-loading* [16:56] except for devices that have something in linux-firmware [16:56] so the only thing we have to care about is making sure that udev is *not* nacking firmware requests that are supposed to go to ueventd [16:57] ogra: linux-firmware isn't installed in the image [16:57] doesnt it come with the kertnel package ? [16:57] which i assume we will install at some point [16:57] the kernel package isn't installed in the image ;) [16:57] even though we dont atm [16:57] I don't see why we would install it [16:57] well, will it stay that way ? [16:57] ok [16:57] given that we have separate hardware packs [16:57] and the kernels have all drivers built in [16:58] right [16:58] well, not all [16:58] slangasek: where is the nack code? [16:58] and why is that happening? lack of files that udev can't find? [16:58] if we *do* need modules at some point, we probably still don't want to install full kernel package on the rootfs [16:58] there are some modules listed in init.rc ... they are just not loaded on boot [16:58] rsalveti: systemd-udev has an internal 'firmware' handler that will send a nack if it can't find the file, yes [16:59] rsalveti, can we make sure /lib/modules from the package ends up on the android side in the right place ? [16:59] ogra: we could, but why? [16:59] well, for potential modules that only get loaded on demand [16:59] by init.rc [17:00] well, it can't be in the device-independent rootfs [17:00] right [17:00] because we won't have the same kernel package everywhere [17:00] we install the kernel package during android creation [17:00] so we'll have to be creative there [17:00] sil2100: any progress on the gdrive scope btw? :) [17:00] so we should be able to copy the modules over [17:01] why not bind mounting /lib/modules? [17:01] as the kernel is the same anyway [17:01] rsalveti, because we dont have anything in /lib/modules [17:01] we dont actually install the kernel package [17:02] yes, that comes from the kernel package, the kernel packages are not device-independent, so they're not on the rootfs [17:02] but we do it at android build tome [17:02] *time [17:02] so adding a simple cp -a is what i suggest [17:02] right, we're not installing that package [17:02] that's the first issue [17:02] thats not an issue if android ships the modules (if there are any) [17:03] right, I can make sure that happens [17:03] then we need a post inst in the kernel package itself to copy the modules over [17:03] but looks dirty [17:03] cp -a from where to where? [17:03] sergiusens, ogra : what is the recommended way for a package to install a file in the user's home dir? i.e. maliit wants to drop a conf file in ~/.config/maliit.org/server.conf [17:04] it's not clear to me what "android creation" is - you mean the container extraction / setup? [17:04] slangasek: android image creation [17:04] bfiller, hmm, sounds like a good question for a desktop guy ... seb128 ^^^ [17:04] assuming line 41 in this diff is not the right way: https://code.launchpad.net/~thomas-moenicke/phablet-extras/maliit-plugins_wordribbon/+merge/165590 [17:04] ogra, bfiller: we don't [17:04] slangasek, the creation of the content of /system [17:05] seb128, we dont, but we could add a session service that does it [17:05] but we might have issues if we don't build /system at the same time we build our boot.imgs [17:05] ogra, bfiller: the user directory might be encrypted, not mounted (on nfs), etc === chrtr_ is now known as chrtr [17:05] ogra, right, that's out of packaging though [17:05] bfiller: why doesn't maliit create it on-demand when the user needs it? [17:05] that's usually the right way to do it [17:06] bfiller, ogra: either teach the software to look for a default in /etc before the user dir or teach the software to create the file on first run [17:06] if it exists use it, otherwise create it with some defaults [17:06] seb128, mhall119 : makes sense, thanks [17:06] ogra: ok - so it would be /lib/modules -> /system/lib/modules or such? [17:06] yup [17:06] ok, sounds fine [17:07] seb128: what about dropping something into /etc/skel? thought those got copied into user's home dir on user creation [17:07] ugly but would allow us to have a single rootfs [17:07] like we update the xdg dir names etc in a gnome session [17:07] rsalveti, we dont build boot imgs anymore in the flipped world [17:07] we only build initrds on the android side [17:07] ogra: our own bootimgs [17:07] bfiller, they do, but that's hackish and that let users upgrading out [17:07] as that's when we choose the kernel to be used [17:07] bfiller: bad idea as that'd only work for any user created after the package is installed not for any existing user === IReboot is now known as 36DAARST9 [17:08] (or at least thats all we need to) [17:08] rsalveti, boot.img creation is in live-build in the flipped container setup [17:08] bfiller, what's the issue with making the code look into /etc if there is no user config? [17:08] geez ... freenode stop splitting ...! [17:08] bfiller, that's more robust and cleaner [17:08] ogra: so we need to make sure /system gets all the modules from the same kernel we use when we create our own boot.img [17:08] seb128: no issue, just slightly more work in the code. but sounds like it's the proper way so that's what we'll do [17:08] bfiller, thanks [17:09] ogra: bearing in mind that if I get my way, the system partition won't be /system anymore ;) [17:09] rsalveti,, hmm [17:09] slangasek, it will always be ... in android ... no matter what you shove underneath it [17:09] and we will always need that dir in ubuntu [17:10] ogra: rsalveti: I'm going to be filing some bugs about nexus 7 functionality, do we have device-specific tags on Launchpad ? [17:10] under /system ... [17:10] mhall119: not yet [17:10] not necessarily a partition indeed === Pinkpony is now known as Guest47906 === tiagoscd is now known as Guest15290 [17:10] oh geez [17:10] rsalveti: would you prefer common name od code name? "nexus7" or "grouper"? [17:10] mhall119: grouper [17:10] ++ [17:10] will do, thanks [17:10] * rsalveti needs go grab some food === Guest15290 is now known as tiagoscd [17:10] *to [17:10] to go ? :) [17:11] :-) [17:11] ogra: right. But if we're putting Ubuntu on the system partition already, we may just blat the hardware-specific bits onto the same filesystem in their separate directories, and there wouldn't be any 'cp -a' involved anymore - just a couple of symlinks [17:11] sure [17:12] i'm still not convinced it is a good idea to touch the partitioning though [17:12] buut loop mounting doesnt seem to be the solution either [17:13] (waiting for gnex test results though ... but i expect them to be much worse ... gnex is essentially a panda and i know how badly live images suck on pandas) [17:13] (though that involves a squashfs additionally) [17:14] yeah, at least in our case it'd be ext4 partition file on ext4 partition which should be pretty different from squashfs partition file on vfat [17:14] we'd be skipping the compression part of squashfs at the very least [17:15] Hi. Nexus 4, raring, installed using zips in CWM. Where do I go in the UI for settings and shiz? [17:15] stgraber, right, but i'm still not convinced [17:16] ogra: well, the thing is, we don't have many choices there. We need separate storage so we can deal with updates and have the system read-only. So we either resize the existing partitions to accomodate that or we need to use loop mounts. [17:16] LokiScarlet, only from the top panel atm ... the settings UI is designed but not done yet [17:17] both solutions have their own problems, but we'll need to pick one of the two for each piece of hardware we have [17:17] Thanks. [17:17] stgraber, well, i'm strongly against changing partitions [17:17] users wont be able to revert to android [17:17] and the sooner we do that the better, because it's going to need a bit of work and it's currently preventing some work from being done (image based upgrades) [17:18] and as long as we dont have a factory device we shouldnt touch it [17:18] stgraber, on devices where we cant touch the part table at all we will have to use loop anyway [17:18] well, that's not true, they'd be able to restore Android just fine, they'd just end up loosing around 1GB of their userdata partition (or a bit more depending on device) [17:18] no matter what [17:19] so i guess thats the one thing we need to implement now [17:19] I don't see why Android would refuse to boot if its system partition is twice the usual size [17:19] fastboot will fall over [17:19] when flashing [17:19] has nothing to do with booting [17:19] the img files have the excat partition size inside [17:20] *exact [17:20] so the user would have to change the partitioning back to the original setup ... === Stskeepz is now known as Stskeeps [17:20] ah, yeah, that's a bit annoying then. We'd have to provide a binary in Ubuntu to restore the partition table and reboot into fastboot [17:20] which is quite an advanced task [17:20] since it differs by device [17:20] slangasek: ^ [17:20] and even by device model [17:22] i think we should go with the same setup everywhere and not have two [17:22] hmm, and I suppose fastboot would be the preferred method for restorting android, wouldn't it [17:22] only if we ship factory images we should touch partitioning [17:22] slangasek, depends on the device [17:22] slangasek: yep, that's what Google provides in their factory images... [17:22] slangasek: so based on what ogra's saying, trying a restore would essentially brick the phone (or fail if you're lucky) [17:23] ok. So, *if* we repartition, we need to have provisions for rolling this back [17:23] right [17:23] ogra: oh, but wait; you don't fastboot restore the userdata partition [17:23] i would keep the partitoning option for factory only [17:23] which is the only partition that's becoming smaller [17:23] and not have two ways for the non factory setups [17:23] so you should be able to fastboot an undersized image onto the expanded system partition with no problems [17:24] yeah, userdata might just be formatted [17:24] it just wouldn't be resize2fs'ed to use the full partition [17:24] so I think this is not actually a problem either [17:24] though I can do some more real-world testing if you like [17:24] so you wouldnt change /system but /data then [17:25] we're currently growing /system and shrinking /data [17:25] so as long as fastboot allows flashing to a bigger partition, we're fine [17:25] well, just leave /system alone as is [17:25] ... That reminds me, I actually tried formatting the user data... Had to reinstall so I went for Raring after that number [17:25] nope, we can't do that without creating new partitions and we certainly don't want to do that [17:25] let it be what it is ... shrink /data and grab 2-4 G for / [17:26] I don't like being this lola person ^_^ [17:26] LokiScarlet: "lola person"? [17:26] stgraber, why not ? [17:26] slangasek, lola chang is in the demo contacts :) [17:27] ogra: ah [17:27] slangasek: Whoever has these contacts and messages when you install touch [17:27] LokiScarlet, see the release notes wikipage [17:27] ogra: I don't think leaving the system partition empty and stealing all 2GB from the userdata partition is safer [17:27] it has instructions how to get rid of that [17:27] Thaaaaaaank youuuuuuuuuuuuu [17:27] slangasek, i didnt say empty [17:27] slangasek, leave it be what it is [17:27] androids /system [17:28] that way fastboot wont have issues for flashing to it [17:28] ogra: well, we'd waste whatever space is already allocated to system and we'd risk causing bigger changes to the partition table which may cause problems with the bootloaders/android [17:28] ogra: mmm. possible. Still, I think we can make better use of the available space, without exposing users to any risk. === psivaa is now known as psivaa_AFK [17:28] hi there [17:28] I think the resize is safe [17:28] what "available space" ? [17:28] my /system on maguro is 600M [17:28] ogra: the system + userdata partitions [17:28] there is not much wasted space here [17:28] someone can tell me why I stuck at blackscreen please? [17:28] the "available space" on the disk that is allocated for the OS + data [17:28] http://pastebin.com/qtSgvUs5 [17:29] popey, can you add plonk to the collections meta package? [17:29] ogra: right, and around a GB on nexus4, that's not negligible on a 8GB device, so re-using it to make a bigger system partition is definitely worth it [17:29] right - these aren't huge disks [17:30] I think we do care about not letting 600M, or 1GB, go to waste [17:30] ogra: what slangasek is doing is grow /system from 600MB to 2GB and shrink userdata by 1200MB to make this possible. Partition numbers don't change, only the start/end offsets do [17:30] well, but that means 80% of our porters wont be able to use that setup, all users that just try ubuntu will have to be handled special with a rollback mechanism etc [17:30] which is a far smaller change to the table than shrinking + adding partitions [17:30] ogra: the need for this special rollback mechanism is unproven [17:30] * ogra would prefer if we went with loop for the public images and do the partition dance only on factory [17:30] as I said, I expect fastboot to have no problems blatting an undersized image onto a partition [17:31] slangasek: well, it's quite likely that people won't like loosing 1.2GB of usable storage just because they tried Ubuntu [17:31] instead of having to implemet two ways right now [17:31] ogra: that would mean a completely different and untested boot layout for the factory [17:31] slangasek, we can test it on the n4 i supppose [17:31] i just wouldnt ship two setups [17:31] stgraber: sure; in that case we can factor in the partition resizing rollback [17:33] I guess we would want to stash the original partition geometry in the recovery partition or something? [17:33] or in the cache one [17:34] cache is between system and userdata on the nexus4 so probably not the best place to store that data on (as it's likely to be re-formated in the resizing process) [17:34] * ogra still doesnt like that we have to implement two completely different things ... [17:34] ogra, slangasek: anyway, let me update yesterday's pad with what I think are the next steps so we can hopefully move forward with that stuff [17:35] ogra: well, I think we can minimize the differences... use loop devices on the generic ports, use raw partitions on the supported devices... that at least gives us alignment on the initramfs [17:36] slangasek, we need to do two different builds ... will have to handle different bugs etc etc ... and it costs extra time we are getting short of [17:37] once we have a vendor we can dedicate someone to implement the partitioning stuff and extra builds etc ... havving support for both in the initrd already might make sense though [17:38] (i assume factory builds wouldnt come from cdimage anyway) [17:39] ogra: I am frankly more concerned about the many potential bugs resulting from the current differences between the touch rootfs and the standard ubuntu rootfs. mountall is still not working right, and I'm not enthusiastic about trying to make all this work right with the current model [17:39] to me it seems like we're splitting effort where we need all hands on deck already [17:40] slangasek, mountalll works as defined in the blueprint (adding an override for fsck in fstab for /dev/root so /lib/init/fstab doesnt kick in) ... plymouthj is our issue [17:41] system. data and vemdor are alll automounted by mountall in the latest flipped image [17:42] ogra: no, mountall is not working correctly here [17:42] i didnt see any complaints from it in the logs either ... [17:42] slangasek, whats wrong then ? [17:42] that's because mountall doesn't log anywhere useful by default [17:43] ah, i would have expected something in either dmesg, syslog or the upstart job log [17:43] by default, mountall logs everything to plymouth ;P [17:43] heh [17:43] but if you edit /etc/init/mountall.conf to run with --verbose, and disable 'console output', you'll get some interesting stuff in /var/log/upstart/mountall.log [17:44] * ogra will try [17:44] i assume it doesnt like to have / on a bindmount [17:44] ogra, slangasek: bottom of http://pad.ubuntu.com/ubuntu-touch-fs-structure [17:44] but either of the above discussed stuff will fix that [17:45] mountall: root filesystem isn't mounted [17:45] so it's possible that's not hurting anything [17:45] but it doesn't make me comfortable [17:45] as for fixing that ... having the system partition be an Ubuntu rootfs would fix it [17:46] yeah, thats surely the bind mount [17:47] stgraber: hmm, what about the pad? [17:47] slangasek: yeah, the loop mount should fix that as /dev/loop0 will be the rootfs, so as / will be backed by a block device, mountall should be happy [17:47] well [17:48] slangasek: I added a "proposed implementation" section, detailing what I think we should do at the moment to support both setups and what are the changes for all the bits I can think of [17:48] right [17:48] so I don't think it makes sense to move to *just* the loop mount configuration, given the performance penalty [17:49] * ogra just got some kebab on his lap ... [17:49] back in a few ... [17:49] I think this is all worth doing only if we're preferentially implementing/supporting the native partition approach [17:50] slangasek: sure, we should support both, though I think my updated proposal should limit the performance issue by quite a bit as only the base system will be loop mounted and will be read-only so should cache pretty well [17:50] everything else is bind-mounts straight from the data partition (that we'll have to mount --move to /data so we don't end up with the same mess we have at the moment) [17:51] ah, did cking say we're ok for read-only performance? [17:51] stgraber: slangasek: ogra: also, remember we can't rely on fastboot necessarily [17:51] we're also supporting phones that are not fastboot compatible [17:51] and changing partition might break the proprietary method to flash the devices [17:51] if they are not creating the partition table and formating the filesystem properly when flashing the device [17:52] rsalveti: we're only proposing to change partitions on our "supported" devices, and only if we can demonstrate that it works: so mako maguro grouper $otheroneiforgot [17:52] so it's quite scary to change partitions [17:52] rsalveti: and for products I assume we have control over the partition table from the factory [17:52] right, but how shold we apply to the rest of the other devices? [17:52] people doing ports? [17:52] rsalveti: that's the loop mount fallback [17:53] hm, so we'd need to support both [17:53] stgraber: is there any file system that we could put at /data that would reduce the side effect of loop mount files? [17:53] yes - hopefully with minimized differences between the support requirements for the two... [17:54] that sounds painful [17:54] slangasek: no, he didn't say that, however his biggest concern with the loop mount idea was data corruption which should be reduced by not having writeable loop mounted partitions. The read speed results are rather odd to be honest with mostly good speeds except for a couple of runs that had awful speed. [17:54] rsalveti, ++ [17:54] and the problem is that we'd only test the option we're using [17:54] slangasek: also, read speeds of > 500MB/s on a mobile device suggests it was reading from cache (that or we have 6Gbps access to the flash which sounds surprising) [17:55] especially since it's an eMMC [17:55] yup [17:55] getting more than 30M/s would be surprising [17:55] yeah [17:56] rsalveti: so to my mind, we're going to end up supporting two options no matter what once there are phones shipping - because I don't see us wanting production devices to have the OS on the userdata partition [17:56] rsalveti: do you agree? [17:56] and the loop mount is apparently bad at reading ... [17:56] not at writing [17:56] so redonly wont change anything i suppose [17:56] rsalveti: I personally would expect the overhead to be minimal if we only have the read-only system partition loop mounted from userdata and that it's written in one big continuous file (no fragmentation) [17:56] slangasek: right, but who and how we're going to test without the repartitioning option? [17:57] ogra: well, that's the part I'm not sure of, would have to talk to cking but his measurements are way higher than what we should be getting on flash [17:57] definitely [17:58] stgraber, i guess we need to test I/O patterns that are not getting cached with something more exhaustive, like bonnie++ [17:58] rsalveti: well, my point is that if we're going to have two different layouts anyway by the time we get to the product stage, it's better to get our "preferred" layout as close as possible to production now, not wait until later; and to minimize the differences between what we're supporting [17:58] ogra: they are in MB/s so that kind of speed suggests he was testing the cache, not the actual partition, so therefore those measurements are meaningless. The write ones look reasonable and the few slow read ones look reasonable too. I just think that any > 100MB/s was from cache and so should be discardded. [17:58] rsalveti: as for who would do the validation of the loopback option, if it exists for community ports, shouldn't that be a community validation? [17:58] cking: right, that or flush the cache between the tests? (echo 3 > /proc/sys/vm/drop_caches IIRC) [17:58] cking, dd woth cache disabled should do as well [17:58] *with [17:59] cking: anyway, I was mostly interested in the power and write impact myself, so those measures I believe were correct and look reasonable to me [17:59] slangasek: right, but I just want to avoid people having issues with the ports just because we don't test or validate if we're breaking that option [17:59] slangasek, first someone needs to do the implementation ... and create these special images etc [17:59] that's why I'd prefer if we could use a common solution at least initially [18:00] and we'd have the community getting totally different bugs [18:00] stgraber, yep, I was more concerned with the overhead in terms of power, but we can repeat the tests with larger file I/O and different tests if required, it's not a big deal to re-measure [18:00] rsalveti: so the only change would be mounting /dev/mmcblk0pX instead of /dev/loopX, if we have any other code difference between the two setups it's because we badly implemented it [18:00] stgraber: right [18:01] ogra, rsalveti: I'm confident we can minimize the bug surface with a proper design. But I think ogra's last comment is my cue to stop discussing it now, and go off and try to implement something sane ;) [18:01] oh, unless we want to have mountall mount the data partition instead of the initrd, in which case we'd indeed have a pretty different booth path [18:01] stgraber, as i said above ... we need different images, different install methods and users will have different bugs we cant reproduce easily [18:01] slangasek: right, as long we do the implementation and review it properly, I'm fine [18:02] and if we would need the loop solution anyway, I'd go and implement that first [18:02] ++ [18:02] and it seems easier [18:02] ogra: oh, coming back around to ueventd vs. udev, I'm not sure we converged on a solution yet [18:02] * ogra would go with loop only as i said in the beginning [18:02] I think we still want ueventd to go first [18:02] well, Steve's is actually easier as long as you aren't scared of using gfdisk on a phone ;) [18:03] so make udev start on started lxc-android-config [18:03] (which I tend to be with pieces of hardware where I can't pull the disk and fix the partition table by hand) [18:03] ogra: that doesn't delay it long enough [18:03] slangasek, i know it isnt 100% reliable ... [18:03] we need it to start after ueventd is *done* [18:03] it's not even 50% reliable [18:03] slangasek: would that solve the nack problem? [18:03] or udev would still nack firmware requests? [18:03] we can implement something in init.rc that sets a parker once init.rc is done [18:03] later on [18:03] thats the only idea i have [18:04] s/parker/marker/ [18:04] rsalveti: TTBOMK, the firmware requests will not get handled again by udev [18:04] but that will only tell you when androids init is finished [18:04] slangasek: want me to quickly implement the loop mount setup, then you can use that but dd my system.img to your system partition and look at what needs changing to have it working for you too? [18:04] stgraber: sure, go for it [18:05] rsalveti: btw, any hope of patching Android's init not to mount partitions? it's creating quite a bit of a mess on my device with it trying to mount everything. I'd much rather have Ubuntu mount the partitions and LXC bind-mount them before starting the container. [18:06] stgraber, that will be hard to do since we would have to inject device specific fstabs into the ubuntu root [18:06] stgraber: do you want to remove all the mount requests? [18:06] right [18:06] you could just drop fstab from android [18:06] to prevent it mounting [18:06] ogra: doesn't the container already fail to mount anything due to permissions? [18:07] slangasek: nope, we don't have apparmor, so it's unfortunately allowed to do whatever it wants at the moment [18:07] it usually just calls "mount /$mountpoint" in eth init scripts [18:07] stgraber: ah [18:07] slangasek, it mounts its partitions just fine [18:07] and i sanitized that bit a lot over the last days [18:07] stgraber: only partition I see there we could not make android mount is /data [18:08] ogra: for a definition of "just fine" that currently makes my / become read-only and the kernel complaining quite a bit (data corruption) [18:08] stgraber: there are device specifics and also /system, /modem, /cache and such [18:08] stgraber, on todays flipped image from cdimage ? [18:08] ogra: yep, that image gets me a read-only root and no container running [18:08] on maguro ? [18:08] that's weird [18:08] (i have no mako to test) [18:09] our fstab should be mounting /data with ro [18:09] ops, rw [18:09] rsalveti: right. So at the very least we want to prevent it from mounting /data, /system and /cache. The rest I don't really care about [18:09] ogra: mako [18:09] it definitely works for a few people i spoke to today [18:09] ogra: I don't have maguro here [18:09] stgraber: why not mounting /system and /cache? [18:09] we're not using such partitions anyway [18:09] stgraber, note that todays image has a bug that requires you to boot twice after the first install [18:09] rsalveti: we use /cache for our updates, so we need it on the Ubuntu side and /system will be the Ubuntu rootfs or will be unused so we don't want it mounted [18:10] rootfs under /system? [18:10] heh [18:10] we can't unless we redo the partition [18:10] thats what they plan [18:10] right, let's just do the loop mount solution under /data for now [18:10] what is the problem with that? [18:10] * ogra is laughing his butt off ... seeing rsalveti as shocked as i was in the beginning [18:11] rsalveti, performance [18:11] are we increasing the size of /cache as well? [18:11] but i'm fully in the loop camp as well here [18:11] i think repartitioning isnt a good idea [18:11] right, +1 [18:12] we should go with steps, first have the loop based solution working, and then we can try to repartition with some devices [18:12] ++ [18:12] and have both solutions as supported by our install && upgrade methods [18:12] i was even suggesting to keep the repartitioning only for factory [18:12] so, my expectation is that the Ubuntu rootfs will contain /var/lib/lxc/android/rootfs which will contain what's currently in the Android initrd AS WELL AS /var/lib/lxc/android/rootfs/system/ which is what we currently have in the Android system partition [18:12] those won't come from the generic rootfs tarball but from a separate tarball which is stacked on the first [18:13] * ogra got that by now ... after two days of discussion [18:13] so we don't need to mount /system in the container as it's already there [18:13] right, but we could [18:13] we need to have full read access to /system from ubuntu [18:13] we'll mount a tmpfs to /cache as we don't need persistence in there and we actually need the real cache partition for our updates in Ubuntu [18:13] as well as the included /vendor [18:13] and we'll bind-mount a sub-directory of the real /data as Android's /data [18:13] and links didnt work when i tested here [18:14] they need to be real bind mounts [18:14] 9at least soft links didnt) === mmrazik|afk is now known as mmrazik [18:14] ogra: that didn't work because Android was mounting the partitions [18:14] no [18:14] ogra: if we mount the partition in Ubuntu and bind-mount them within the container, it'll work [18:14] we mount the partitions way before android [18:14] what is the problem with having android image flashed under /system? [18:14] ogra: as they'll be visible under /var/lib/lxc/android/rootfs as standard mount points [18:14] mountall does [18:14] as that would be way easier for people doing ports [18:15] rsalveti, we might lose a few 100M [18:15] ogra: then Android mounted it again creating a huge mess, yeah, that's what I'm trying to fix [18:15] ogra: why? [18:15] thats the cobncern i heard from slangasek at least [18:15] tsimpson, because /system isnt 100% full ? [18:15] no idea [18:15] err [18:15] sorry tsimpson that was for rsalveti [18:15] right, but we don't care about /system [18:15] unless we're doing the partitions again [18:16] stgraber, androids mounts shouldnt even be vsible to you [18:16] i dont get that here [18:16] stgraber, are you soure you completekly wiped /data before trying todays image ? [18:16] none of that should happen === yofel_ is now known as yofel [18:17] ogra: the problem is that you're not allowed to mount the same block device twice. The kernel apparently is very confused when that's done in a container and let you do it anyway, which means /dev/mmcblkX is mounted twice in two different namespaces and read-write in both, which means very likely data corruption and similar mess [18:17] my solution would be having android flashed under /system (at least for now, and supporting that as an option for later), removing /cache and /userdata from android fstab, and doing the ubuntu rootfs with loop mount files under /data [18:17] stgraber, except /data nothing is mounted rw anywhere [18:18] * ogra wonders if stgraber really tested the right image ... i have no complaints at all anywhere [18:18] i can imagine to see data corruptiion if both would write to the same place in /data, but that cant happen at all [18:18] ogra: right, and when Android attempts to mount /data in the container that fails, the kernel remounts it read-only and as my / comes from /data, my / becomes readonly [18:18] huh ? === racarr_ is now known as racarr|lunch [18:18] /data is definitely mounted fine here in both OSes [18:19] stgraber: that we can easily remove [18:19] ogra: yes, and that's a bug, that shouldn't be possible and is very very bad [18:19] but android would need a /data which is rw [18:19] and since android will never write to /data/ubuntu nor will ubuntu write to a toplevel dir in /data we should be totally safe [18:19] either a directory, mount loop as well or partition [18:20] remember we have blobs writing stuff under /data [18:20] ogra: ext doesn't support being mounted more than once at any given time, if you do that, you're going to eventually mess with the journal or have both try to write the same block at some point [18:20] from the ubuntu side ? [18:20] stgraber, right, so the loop mount will fix that for /data ... i still dont see an issue for /system [18:20] since thate readonly everywheer [18:20] *thats [18:22] (and i still dont get whats wrong with your image ... ) [18:22] ogra: well, in slangasek's case, the system partition won't quite contain an Android system, so letting Android mount that sounds like a bad idea. It's much simpler to simply have the tree under /var/lib/lxc/android/rootfs/ already contain the system directory. That way, no need to mount it, it's perfectly readable from Ubuntu and everyone is happy [18:22] stgraber: so if we remove /system, /data and /cache from the android specific fstab, how should we mount them from the ubuntu side? we'd need to have hw specifics even if we want to boot with the loop mount option (which we don't care about /system) [18:24] rsalveti: so /system would be part of the Ubuntu rootfs partition, no need to mount that one then. /data is already mounted from the initrd so we'll have the logic there. Only missing one is /cache which we may also mount from the initrd if easier. [18:24] I have a feeling slangasek will disagree with me there, but I think we should mount all the partitions from the initrd and only have mountall deal with the bind-mounts [18:24] stgraber: in the loop mount case /system is not going to be used, right? [18:24] ogra: I have several concerns here: - inefficient use of available (limited) disk space; - OS on read-write filesystem (even if there's a loop-mounted ro image) increasing risk of corruption, etc; - the filesystem heirarchy is very different from standard Ubuntu, increasing the risk of touch-specific bugs in the foundations layer [18:25] rsalveti: correct. We won't touch it and won't mount it (so we'll waste it but at least we'll be consistent with the non-loop setup) [18:25] stgraber: so the device specific boot.img would need the device specific fstab to be consumed there, and mounted during boot [18:25] slangasek, i agree about /data .... i dont get the /system bit and would expect android to actually have picked the /system size carefullt already [18:25] rsalveti: right, my though is that we should only be mounting physical partitions from the initrd as the bootimg is already hardware specific, so it doesn't hurt hardcoding them in there [18:25] otherwise there's no easy way to know where the partitions are [18:26] *thought [18:26] right [18:26] slangasek, as i suggested way up ... just shrink /data and split it in two ... [18:26] the size of /system would only work for android, most of the times [18:27] we wouldnt even need to touch the anroid fstab [18:27] yeah [18:27] stgraber: so I'd agree to move fstab from android to our boot.img, and have that mounted during boot [18:27] that wouldn't cause us any issue [18:27] touching /system seems really unneeded [18:27] stgraber: actually, I don't disagree with you; I hadn't made up my mind about whether the initramfs or mountall should be responsible for mounting, but certainly for the loop-mount case, the initramfs is gonna have to have some smarts [18:28] rsalveti, except that we use totally different mount oprions most likely [18:28] *options [18:28] ogra: that's true [18:28] ogra: android has picked the /system size carefully for android, not for Ubuntu, and we aren't installing a full android on it. And again, I think resizing system is safer than splitting userdata. [18:28] slangasek: ok. I think we should have the initrd always mount all the partitions we need, in both setups. As we unfortunately don't have a reliable way of figuring out what partition is what on all devices (labels are great but unfortunately they aren't identical on all devices...) [18:28] slangasek, does it ? i think loop mounting is supported ootb [18:29] ogra: loop-mounting a root filesystem is supported in initramfs-tools? [18:29] this idea scares me :) [18:29] i think so, yes [18:29] stgraber: android ships a device specific fstab per device, as they don't have a rule for label, so there's not much we can do I'd guess [18:29] there is mountall code in the local script for it [18:29] err [18:29] rsalveti: right [18:29] mountooor [18:29] bah [18:29] mountroot [18:30] please can you have a look on this? [18:30] http://pastebin.com/uQt3v7Gh [18:30] stgraber, even the labels differ [18:31] ogra: isn't that what I just said? :) [18:32] stgraber, well, i didnt see your sentence above :) ... was correcting my typos [18:32] stgraber: so we only need to remove /system, /data and /cache from android's fstab, the rest can still be mounted by android, right? [18:32] you can easily find them by looking at the mountpoints in fstab [18:32] oh, definitely [18:33] each device has device specific mounts you dont want to rip out [18:33] rsalveti: yep, I expect the rest to be safe as we won't mount them in Ubuntu [18:33] maguro has a habndfulll of things under /mnt [18:33] for example [18:33] stgraber: ok [18:34] changed the pad to state that [18:34] * stgraber is almost done generating his new system.img file [18:36] ogra: is there a tool I can use to convert saucy-preinstalled-touch-armel+mako.zip into its filesystem representation (equivalent of /system)? [18:37] ogra: or do I need to parse updater-script myself and apply all the changes by hand (would be a bit annoying) [18:37] stgraber: would probably be better to use the system.img file [18:37] unzip it :) === eXtremo_ is now known as eXtrmeo === eXtrmeo is now known as eXtremo [18:37] right, that contains the img [18:37] stgraber: that should already have all the modifications done by the updater-script [18:37] rsalveti: sure, I would if I had it :) [18:37] and that you can just loop moont [18:37] stgraber: you can grab from jenkins I guess, let me check [18:37] stgraber, pull it from cdimage [18:38] ubuntu-touch-preview has it [18:38] true [18:38] ogra: ah, ok, will do that then. Wasn't sure it'd be identical to the .zip [18:38] (vs ubuntu-touch which is the flipped img) [18:38] guess that's used with phablet-flash -b [18:38] yeah [18:38] indeed [18:38] stgraber: then just consume from the img [18:39] yep, doing that now, much much simpler ;) [18:39] I'll have to talk with ogra about producing shiny .tar.xz for all those bits, but the current .tar.gz and .img are easy enough to convert (unpack + repack) [18:39] stgraber: it is... it should be identical [18:40] rsalveti: look at my MR! :-) [18:40] rsalveti: I want to rebuild saucy ;-) [18:40] stgraber@castiana:~/Desktop/phablet/fs/tmp$ sudo mount -o loop -t ext4 raring-preinstalled-system-armel+mako.img android/ [18:40] mount: wrong fs type, bad option, bad superblock on /dev/loop1, [18:40] ogra: ^ you lied! ;) [18:40] sergiusens: sure, sorry, long discussion about repartitioning the device and such :-) [18:41] ogra: is there some kind of padding I need to skip? [18:41] hm, I think you need a step before that [18:41] stgraber, hmm, you probably need simg2img from android-tools-fsutils [18:41] yeah [18:41] exactly [18:41] rsalveti: yeah I am following... didn't want to add a 5th nagger === Ursinha is now known as Ursinha-afk [18:41] much better, thanks [18:42] sergiusens: your new mountall.override is the same from the one from the previous mountall package, right? [18:42] rsalveti: yeah... pulled it from maguro/raring tbh :-) [18:42] sergiusens: don't you need to install the file? [18:43] heh [18:43] details [18:43] or are we copying all overrides already? [18:43] branching to see [18:43] rsalveti: look at the install rule [18:43] good [18:43] sergiusens: happroved [18:44] rsalveti: great, image #2 will have everything but NM... unless we just do a bin copy for now [18:44] might not help [18:44] sergiusens: depends on cyphermox_ [18:44] saucys NM is newer [18:44] we might need to bump the version [18:44] yeah === Ursinha-afk is now known as Ursinha [18:49] slangasek, stgraber FYI my mountall log http://paste.ubuntu.com/5736624/ [18:50] (and there are no complaints anywhere else in other logs i can find) [18:50] i did actually put quite some effort into reworking and testing that yesterday [18:50] ogra: really? so you get no warning about root not being mounted? [18:50] nope [18:51] ogra: perhaps I need to pull a new version of the image [18:51] (will do that shortly) [18:51] wipe /data i'm not sure the zip does clear up everything [18:52] and you will be booting to a black screen on first boot (already fixed for the next image, just waiting for unity8 to land for a respin) [18:52] second boot is fine then [18:52] ok [18:52] thats on maguro though [18:52] not sure if mako will behave differently [18:52] (according to stgraber it does) [18:52] ogra: slangasek the zips don't touch /data in a damaging way === racarr|lunch is now known as racarr [18:53] sergiusens: I'd be more concerned about wrong stale data left behind in /data that needs to be purged [18:53] sergiusens, it doesnt wipe /data/ubuntu ? [18:53] * ogra didnt check the code yet [18:53] ogra: so as of the last update I applied (yesterdays, I think?) mako is not booting to the UI at all for me [18:53] i thought i saw a "mv ubuntu_tmp_unpack ubuntu" [18:54] ogra: slangasek stuff saved in /data/ubuntu is limited to ofono, /home/phablet, /etc/NetworkManager/system-connections [18:54] slangasek, yeah, thats fixed [18:54] slangasek, that was the oom bit [18:54] ogra: yeah and if i succeeds it replaces the prev /data/ubuntu [18:54] which teared down ubuntu-session [18:54] ogra: no, I fixed the oom bit locally [18:54] qml-phone-shell was segfaulting for me [18:55] ah, you also had udev issues [18:55] these should be fixed too [18:55] so you get the right device permissions for the graphics stuff [18:55] alright, I'm done with all my changes now, let's see if I can get my phone to boot that stuff [18:56] ogra: no, the device permissions were correct [18:56] I had the version of the image that already included those udev fixes [18:57] and that was the image that *didn't* work for me [18:57] I basicaylly have one system.img file containing the rootfs, an unpacked copy of the Android initrd in /var/lib/lxc/android/rootfs, an unpacked copy of the Android system partition in /var/lib/lxc/android/rootfs/system, I removed the LXC pre-start script, removed the 60*v4l* udev rule, added an LXC fstab to mount the cache and data partition in Android, disabled those in the Android fstab and updated the initrd to do the loop mount and then [18:57] the one *before* those changes is the one I was able to get booting to shell after adjusting the dev perms [18:57] hmm [18:57] i would love to have a mako i can play with ... damned [18:58] ogra: well... since you don't currently, let me boot the latest image and see what I can see [18:58] yeah [19:00] grr, what is this stupid 'download mode' the n4 keeps putting itself in when I boot it while connected over USB? [19:01] slangasek: it's annoying, isn't it. You need to press the two buttons right after the phone vibrates. If you do it before, you get that download mode stuff. [19:01] slangasek: (I just gave up and unplug my nexus4 before rebooting into the bootloader ;)) [19:01] * ogra thought you always get the DL mode when only pressing vol dn [19:01] at least it is like that on most android devices i have here [19:02] ogra: fyi I linked your lp:~phablet-team/session-manager-touch/trunk branch to trunk [19:02] thanks === Stskeepz is now known as Stskeeps [19:02] i kind of got desparately lost in LPs UI yesterday when trying that [19:02] ogra: mako seems a bit special in that regard. If you hold all 3 buttons you get into DL mode. So you need to press the on button for 2s, then press up+down to get to the menu [19:03] intresting [19:03] pushing 2GB over adb is slow... Looking forward to having our own upgrader and being able to push .tar.xz instead ;) [19:03] that wont make the USB connection faster [19:04] no, but will make the file to push smaller [19:04] heh, yeah [19:05] why didnt you produce a tar.xz ? [19:05] pushing it uncompressed seems like a waste [19:05] (or at least a gz, not sure recovery ships xz support) [19:06] I could have, but I was lazy and so just created the 2GB large system.img directly on my laptop [19:06] anyway, finished now, 7MB/s isn't too bad I guess [19:07] alright, all flash now, let's see what happens [19:07] stgraber@castiana:~$ adb shell [19:07] root@ubuntu-phablet:/# [19:07] first time around! [19:08] is the shell up ? [19:08] does rild work ? [19:08] hmm, / is read/write, that wasn't expected. I guess mountall tried to be clever there and remounted it [19:08] * ogra never doubted that you can get ubuntu to boot ... [19:08] ogra: https://code.launchpad.net/~sergiusens/session-manager-touch/unity8/+merge/167622 [19:09] ogra: well, I'm surprised I managed not to mess up my changes to the initrd ;) that's a loop-mounted boot + a bunch of bind-mounts [19:09] I guess it's useless, but it was incorrect :-) [19:09] sergiusens, oh ! thanks [19:09] definitely [19:09] i thought i had grepped ... seems i didnt === Stskeepz is now known as stskeeps [19:10] stgraber, well, you only see if the bind mounts worked once you see the shell and rild working [19:10] (admittedly my image only got one of that done yet either) [19:10] getting the design implemented isnt the issue ... making sure android gets along with it is [19:11] ogra, rild *isn't* android, it's a proprietary blob that android uses [19:11] ;D [19:11] ogra: unity8 built btw [19:12] sergiusens, \o/ === dobey_ is now known as dobey [19:12] awe_, nah its a proprietary blob designed to make developers commit suicide as i understood it [19:13] [ 6.839829] kgsl kgsl-3d0: |_load_firmware| request_firmware(a300_pm4.fw) failed: -2 [19:13] ogra: ^^ so that's about what I was expecting to see; kgsl asks for the firmware and udev doesn't have it. [19:13] as it shouldnt [19:13] hmm [19:13] but before even when I addressed that problem, I was still getting segfaults from qml-phone-shell [19:14] thats from dmesg right ? [19:14] yes [19:14] so how do you know its udev ? [19:14] because when I adjusted the system so that udev could see the firmware, the error went away? :) [19:15] heh [19:15] stgraber: +1 on adb shell -> /bin/bash :-) [19:15] yeah [19:15] +100 for that [19:15] slangasek: do you know what would trigger a remount of / read/write at boot? My fstab is empty yet it's still happening. [19:15] ogra: also, there's systemd-udev stuff earlier in the log [19:16] i urgently need to find some time to test lool's adbd package [19:16] stgraber: mountall may have some internal handling of that [19:16] slangasek: know of any way to prevent it from doing that? [19:16] stgraber, edit /lib/init/fstab === stskeeps is now known as Stskeeps [19:16] add ro to the /dev/root line [19:17] it gets processed if there is no entry in /etc/fstab for the mount [19:17] or, add an equivalent line to /etc/fstab, which would shadow /lib/init/fstab [19:17] yeah === mibofra is now known as krabador_sticass [19:18] ok, trying that now [19:19] root@ubuntu-phablet:/# touch /a [19:19] touch: cannot touch '/a': Read-only file system [19:19] much better, thanks [19:20] hi someone speak spanish === krabador_sticass is now known as mibofra === SkavenXXI is now known as SkavenXXI-[OFF] [19:22] oh, small LXC bug, if the container config dir is read-only, the container won't start... poked hallyn about that one, should be easy to fix [19:22] Hello [19:23] Having just a tiny problem compiling Ubuntu Touch, anyone around? [19:23] someone now install ububtu touch in galaxy s4 [19:24] ??? [19:26] ./home/cpcookieman/UbuntuPhone/out/host/linux-x86/framework/signapk.jar', needed by `/home/cpcookieman/UbuntuPhone/out/target/product/toro/obj/APPS/BIP_intermediates/BIP.apk'. Stop. [19:26] anyone know if you can touch can install ubuntu on galaxy s4??? [19:26] hello [19:26] Hello rowter [19:27] stgraber: where do you want the fix most urgently? [19:27] anyone here have use kyvi with ubuntu and pqlabs multitouch g6? [19:27] http://multi-touch-screen.com/product_g4.html sorry. anyone had use this overlay on ubuntu? [19:28] hallyn: saucy [19:28] stgraber: ok. [19:28] I made it work but it seems like detecting it like a mouse, it does not work well, any ideas? [19:28] I obviously need this BIP.apk file, Jean-Baptiste Queru is saying that it's part of the LTE network stack. [19:29] Bzero: have a look here https://wiki.ubuntu.com/Touch/Devices [19:29] Bzero: it's not listed right now, so probably not. [19:29] Bzero: Maybe check xda-developers.com and see if it's unofficially supported. [19:30] rsalveti: so it looks like that even with fstab.mako updated to have system, cache and data commented, Android still tries to mount them and causes a bit of a mess with the data partition === rbelem_ is now known as rbelem [19:30] rsalveti: I'm going to try and create fake mount entries in the mount namespace, see if that fixes that [19:30] ok thanks if it will tell you [19:31] stgraber: that's unexpected, as the only way to get the partition id is via fstab [19:31] slangasek, so if you add an override file for udev and ubuntu-session-touch, you should be able to work around the issue by manually starting them [19:31] that should definitely be late enough for the container ueventd to be done [19:32] Maybe it's just not commented well enough. === zumbi is now known as Guest1230 [19:32] Throw in some more ######## maybe some // // // // /* */ [19:32] [19:32] stgraber: look with grep if you can find any other file pointing out to /data [19:32] not data, but the partition name itself [19:33] !devices | Bzero [19:33] Bzero: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices [19:33] Bzero, if it is not on the device wikipage you might need to try to port it yourself [19:34] hmm, where is the bot ? [19:34] gone with the net split? [19:35] yes will try [19:35] its not a netsplit ... its DADAism [19:35] throwing out lines in the wrong order and all :) === yofel_ is now known as yofel [19:36] Bzero, that's not going to be easy. What carrier is your S4? === francisco is now known as Guest71674 [19:39] ogra: actually, what I've done is forced lxc-android-config to run on 'starting udev', and added a 20 second delay to lxc-android-config at the end; but the firmware is still not getting loaded, I think it's because the kernel driver only asks for it on device access [19:40] hmm, yeah,, that might actually be the difference between mako and maguro ... omap4 has a userspace tool that loads it [19:40] ogra: ah - no, the 'sleep 20' isn't working, udev is starting way too early [19:40] (which gets run in android ) [19:40] [ 2.447581] systemd-udevd[159]: starting version 204 [19:40] ah [19:41] well, i'd start with manual [19:41] to see if it changes it at all [19:41] sure, I'll see what that gives me [19:41] not carrier is stock from lta [19:41] do you get a black screen or does the google logo stay ? [19:42] if you get a black screen that means surfaceflinger came up ... which in turn means the device was actually accessed [19:42] ogra: google logo [19:42] ah, yeah [19:43] hmm [19:43] oh hah [19:43] ignore my noises [19:44] * ogra tries to ... but i'm to curious what it was [19:46] stgraber: fix pushed to saucy [19:50] ogra: well, the container wasn't running; because I had udev 'manual', but the container was still 'start on starting udev' [19:50] haha [19:50] k [19:50] # cat ~phablet/.ubuntu-touch-session/logs/qml-phone-shell.log [19:50] Cant find EGLConfig, returning null config [19:50] that's new [19:51] are /system and /vendor mounted properly ? [19:51] yes [19:51] well [19:51] in the rootfs yes [19:51] and in the container, I'm not sure - is the container using namespacing? [19:52] Sooooo apparently if I remove the 'phablet' user on a phone... It breaks the OS [19:52] Probably using an auto-login [19:52] LokiScarlet: yes - so don't do that ;) [19:52] slangasek, you can look in /proc ... use "lxc-info -n android" then look in /proc/$pid/root [19:53] ogra: right; so I'm not sure what "properly" mounted looks like [19:53] ogra: but I do have, e.g: [19:53] 69 49 179:21 /vendor /data/ubuntu/vendor ro,relatime shared:18 - ext4 /dev/block/platform/msm_sdcc.1/by-name/system ro,data=ordered [19:53] well, there is no content if there is no partition [19:54] slangasek: Any better solution to set my own user settings then? :3 [19:54] if ls /proc/$pid/root/system and /proc/$pid/root/vendor return ccontent they should be fine [19:54] inb4 "wait til the final release", that's just no fun~ [19:55] why do you care about the user ID ? its not exposed anywhere [19:55] LokiScarlet: the phablet account is the user that runs the shell UI; this is hardcoded, and I wouldn't advise trying to change this [19:56] if you need an additional cmdline user, just create one (not sure for what you would want that though) [19:56] hallyn: thanks! [19:57] slangasek, so to get the android logs you can use /system/bin/logcat -d under ubuntu ... have a look if you can see anything obvious there [19:57] I'm... Trying to blank the user data and then set stuff in the phone UI. [19:57] /system/bin/lolcat, got it [19:57] hehe [19:57] LokiScarlet, just follow the release notes for clearing the data [19:57] The obvious "format user data in CWM" idea.... Well, we all know what that does. :3 [19:58] (see chsannel topic) [19:59] MUTTER FI-- I swear this stuff didn't show up before. >.< I must be going insane [20:00] Wait a minute... [20:00] >implying going [20:00] * LokiScarlet tilts head ninety degrees and smiles stupidly [20:01] LokiScarlet: >no greentext in here [20:03] ogra: ok - finally got it to manually boot to the shell. Now let's see if I can do that a second time, and maybe even make it work automatically. [20:04] yay !!!! [20:04] ha, and i found why powerd doesnt autostart [20:04] * ogra tries a fix [20:04] i wonder why sutdown takes so long [20:05] yippie [20:05] finally got powerd autostarting [20:05] ok, somehow udevtrigger is failing to run [20:06] do you call it like that ? [20:06] isnt it udevadm trigger nowadays [20:06] the udevtrigger job is failing to run. [20:06] ha [20:06] err [20:06] ah [20:06] boah, thats irritating ... [20:06] so I can do 'udevadm trigger --action=add && service ubuntu-touch-session restart' [20:07] i am kind of used to not have an eternal command history in the shell [20:07] ok, how do I *configure* the wifi? [20:07] you cant with the in archive NM [20:07] phooey [20:08] install the NM and the two libnm packages from the phablet PPA [20:08] shouldn't those already be the ones installed on this image? [20:08] out of curiosity is there a performance or power saving benefit to switching around from android/chroot to ubuntu/lxc? [20:08] then you can just use phablet-network-setup from the host or use the UI [20:08] jcastro: not directly AFAICS [20:08] slangasek, the saucy in-archive NM is newer [20:09] ogra: ah [20:09] cyphermox_, is working on merging the patches from the PPA one in [20:09] then we should have everything in the archive we need [20:09] pulse will also need love [20:09] well, anyway - I have the sequencing working now with the sleep kludge, but udevtrigger fails to start for $reasons [20:10] ah, the fact that I have to restart ubuntu-touch-session is also a sequencing bug [20:10] well, the eternal sleep doesnt sound good [20:10] I wonder what that should be waiting for [20:10] yeah, we don't want to do it that way [20:10] on started lxc-android-config [20:10] i'd say [20:10] (i thought i actually added that to the job) [20:10] no, it already has that and that's too early [20:11] hmm [20:11] I have to *re*start it after udevadm trigger [20:12] bah [20:12] *sniff* [20:12] g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting [20:12] powerd doesnt stay alive [20:13] but starting it manually doesnt die [20:13] * ogra doesnt get that [20:13] mfisch, does powerd only connect after a while to dbus, and not on startup ? [20:14] ogra, you do need the system bus to be up [20:14] it seems to run for a while after boot but then dies with the above error [20:14] so why isnt that reflected in the upstart job then ? [20:14] * ogra adds a "start on started dbus" to it [20:14] ogra, dbus support was just added. It's a bug [20:14] ah, k [20:15] i dont understand why it doesnt crash the same way in unflipped raring though [20:15] they shouldnt differ in that regard [20:15] dbus support has been there for 2-3 weeks now [20:15] it should work fine [20:16] well, it doesnt in saucy [20:16] ogra: it does in my saucy :-) [20:16] i did see the same issue in the unflipped image [20:16] :-p [20:16] then it doesnt with archive packages ... no idea [20:16] ogra: ah, without dbus you mean... I can check and validate [20:16] ogra: but I guess no one fell into the issue of no dbus [20:17] ha ! [20:17] so "start on started dbus" definitely fixes it [20:17] ogra: I do recall launching powerd when I had the _broken_ mountall [20:17] my screen just tirned off right after boot [20:17] ogra: so do we need to modify the upstart job? [20:18] mfisch, yeah [20:18] it currently starts on mounted /run [20:18] start on started dbus? [20:18] thats really really early [20:18] yup [20:19] okay, I have no device to test on so I will take your word [20:19] ask sergiusens with an unflipped image if it works for him [20:19] that should cover both setups we have atm [20:20] ogra: here's the mp: https://code.launchpad.net/~mfisch/powerd/startondbus/+merge/167632 [20:20] lets wait on sergiusens [20:20] beidl: Gonna be hard to do, I've got my shell text set to green [20:20] sforshee: ping [20:20] * LokiScarlet rimshot [20:21] mfisch, pong [20:21] sforshee: we need to modify upstart to wait until dbus is up [20:21] sfeole: MP is above, but dont approve until we hear from sergiusens [20:21] LokiScarlet: well played [20:21] mfisch, upstart? [20:21] the job, not init :) [20:22] sfeole: hah yeah [20:22] that's what I was guessing [20:22] ack [20:22] dont tell jodh that you want to make upstart depend on dbus being up *grin* [20:23] beidl beidl beidl, if nothing's in my way, beidl beidl beidl, with your mind I will play. (Sorry, your name's just that interesting.) [20:24] LokiScarlet: I'm assuming you already guessed what my nick name really means [20:24] mfisch, give me a minute to test then I'll approve the mp [20:25] Not a clue. [20:25] :3 [20:25] Why, does beidl mean something cool? [20:25] sforshee: we need to wait on sergiusens too [20:25] he has a "flipped" image [20:26] mfisch, okay. Is he already testing? [20:26] I am unflipped [20:26] LokiScarlet, well, lets put it that way, it's all about the D [20:26] * mfisch isnt sure what flipped means but hopefully someone tries it [20:27] So it means you're a dick? Cause I can prove you wrong and dethroned on that one if you give me some time [20:28] * LokiScarlet is teh bakas [20:30] mfisch, booting into ubuntu, running android in lxc .... thats what i have here (and what is our actually planned image setup) [20:30] sergio has the old image model, just on saucy packages [20:30] (flipped the containers) [20:30] ogra: ah, thanks for explaining [20:31] LokiScarlet, hmm... interesting [20:31] mfisch, well the change works in the flipped model at least [20:31] I guess sergiusens can approve when he's done testing [20:31] sforshee: ok [20:32] When flashing a newer build with phablet-flash, does it always remove the coreapps installed from the ppa's? Or is this supposed to change? [20:34] sergiusens, folf asks a good question [20:36] So I've been wondering... will Ubuntu Touch use the standard web device APIs being worked on at the W3C and such? [20:36] things like media capture and screen rotation, for instance [20:36] I need to compile ubuntu touch under x86.. how do I get the source code instead pre-defined images for ARM ? [20:37] pmcgowan, folf, that will start working once we have image based upgrades ... (alternatively the flipped container will allow you to use apt) [20:37] pmcgowan: folf I guess always until we have click packages [20:38] ogra: well, final solution is click packages installing in user data locations [20:38] yeah [20:38] which will work with image based upgrades :) [20:38] ogra, OK. It's not a big issue, but I'd expect a lot of people doing the adb to install openssh, then add ppa's, then install apps :-) [20:38] but the flipped container should enable you to just upgrade through apt like on your desktop [20:39] until the image based upgrades/click package combo is there [20:39] i expect that you wont need to reflash anymore once we have the container flip fully implemented [20:40] Sergio, how do I get the souce code ? need to compile for x86 ! [20:40] (until image based upgrades do it automatically at least) [20:40] ogra: we still need to solve platform-api and hybris... it's the only reason we are not promoting apt-get [20:40] manoelramon: hey, got your email... loaded question :-) === hggdh is now known as ubotu-br [20:40] sergiusens, we have the toolchain, its a matter of someone having time to package them :) [20:40] manoelramon: everythng is here http://phablet.ubuntu.com/gitweb [20:41] i hope that we have that in place when the flip goes active [20:41] manoelramon: just look for the phablet-10.1 branches and cherry pick [20:41] ogra: +1 [20:41] sergio: but there after to fetch the code I have only a project called ubuntu === ubotu-br is now known as ubotu-br` [20:41] and on this ubuntu dir I have only assets and xchroot [20:41] no code!!! [20:42] manoelramon: how are you doing the clone? [20:42] manoelramon, follow the porting wikipage, that should get you all trees === ubotu-br` is now known as hggdh [20:42] ogra: he's trying x86... it's a different repo ;-) [20:42] ogra: as in repo sync manifest [20:42] sergiusens, well, he needs the phablet repo, no ? [20:43] plus an x86 tree he needs to add himself [20:43] ogra: yeah... that's why I said loaded question, not sure :-) [20:43] rsalveti: lunch doesnt work with our android stuff? [20:43] actually ... wonder what java i need :) [20:43] so first step: phablet-dev-bootstrap [20:43] https://wiki.ubuntu.com/Touch/Building [20:43] java is not mentioned there [20:43] asac, 1.6 [20:43] we removed the java dependency [20:43] opjdk is fine [20:43] java SE? or openjdk is also ok? [20:43] ok [20:43] *open [20:43] asac: lunch works... openjdk should be fine... still need to get rid of some bits [20:44] * asac uninstalls jdk 7 :) [20:44] sergiusens: didn't we remove it all? [20:44] iirc you can have them in parallel [20:44] yeah, just use openjdk [20:44] (6 and 7) [20:44] rsalveti: forgot about bouncycastle [20:44] sergio I used the follwing "repo init -u git://phablet.ubuntu.com/CyanogenMod/android.git -b phablet-10.1" [20:44] sergiusens: ok [20:44] manoelramon: and repo sync for that didn't work? [20:44] sergiusens: so we dont have bouncy? [20:45] does it mean i need oracle for now? [20:45] asac: it's in, but we might not need it at all [20:45] sergiousens: yes.. worked however I have only a new project called "ubuntu" with two folders inside... but no source code. [20:45] i did the bootstrap i think ... i basically gave mea checkout of the android code [20:45] asac: nope, openjdk is fine... the oracle java thing is mostly for apk and android services [20:45] kk [20:46] manoelramon: repo sync should have copied all your sources files [20:46] manoelramon: did it take long to run? [20:46] manoelramon: rinse and repeat, just in case you got a broken connection [20:46] manoelramon_: which x86 sources are you using btw? [20:47] where is the livehelper config for our phablet rootfs? [20:47] live-build :) [20:47] What are the supported devices for ubunu Phone? | http://askubuntu.com/q/304550 [20:47] I should compile for medfield intel x86 based [20:47] let me run the repo sync again [20:47] asac: ah, got scared there for a second :-P had no idea what livehelper was :-) [20:47] asac: https://code.launchpad.net/~phablet-team/touch-preview-images/ubuntu-build-phablet-saucy [20:47] asac: as the name implies, that's for saucy [20:47] asac: with no container flip [20:48] asac: we also got it upstream [20:48] yeah, its the old name ... when i still hacked on it it was named like that [20:48] for the image ogra is working on [20:48] asac: the other one is in liverootfs branch iirc the name [20:48] sergiusens, ogra, pmcgowan BTW I found this: http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/add_apps.sh [20:48] Quite useful... [20:48] * asac tries to go deep in to his memory to remember how this live-buidl thing worked [20:49] folf, indeed good ole popey [20:50] manoelramon_: just saw your email, so try grabbing the sources again, it should work and get you the needed files [20:50] you might need to modify them to make it x86 compatible [20:50] ok so live-build has certainly evolved a bit :) [20:50] manoelramon_: do you have a standard android build tree for x86 that's based on android 4.2? [20:50] might be easier to change that instead of trying to build from our sources atm [20:50] as I know cyanogenmod doesn't yet support x866 [20:51] rsalveti: I'm trying to figure out which way the porting is being done [20:51] to an x86 tree or from one [20:51] might be easier to grab a working android build from intel and reduce it like we did [20:51] rsalveti: sergiusens: I'm pretty much ready to push NM to distro for saucy, but you'd still need to run logind on the touch image, and that breaks the UI currently... [20:51] rsalveti: well that was my stance [20:51] asac, for the cdimage side you want livecd-rootfs [20:52] cyphermox_: what breaks? [20:52] if you want to roll the flipped image that is [20:52] ok I am fetching the code again.... yes, I do have... I am wondering put the code under my env and compile using our compiler here.... I have all android source code JB including kernel.. that's why I do not wanna port using CM [20:52] manoelramon_: right, might be easier [20:52] well you can't actually establish a wifi connection from the UI, you can click it but NM won't be able to authenticate the dbus calls or something [20:52] cyphermox_, [20:52] root@ubuntu-phablet:/# ps ax|grep logind [20:52] 532 ? Ss 0:00 /lib/systemd/systemd-logind [20:52] manoelramon_: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_build.git;a=shortlog;h=refs/heads/phablet-10.1 [20:52] i have no issues here [20:53] ogra: yes, logind is running, that's fine [20:53] these are the most important changes we did to reduce the build [20:53] (uding the new world order though) [20:53] *using [20:53] I have logind running here too [20:53] rsalveti: the "ubuntu" project is the folder that should contain all code for touch rgith ? [20:53] manoelramon_: basically to remove everything dalvik and app related from android [20:53] but NM relies on that to authenticate the calls, and AIUI it wasn't available in the display server ? [20:53] and get a tiny version that is console only (plus a few services, such as surface flinger) [20:53] rsalveti: yes, I saw in the manifest. [20:54] manoelramon_: the changes are all over the place [20:54] manoelramon_: no, that's just the compat layer which makes it easier to talk with the ubuntu side [20:54] manoelramon_: basically if there's a phablet-10.1 branch in the repo in the tree it has changes [20:54] you'd also need a ubuntu x86 based image [20:54] which we can generate using live-build [20:54] but that would be the second step [20:55] first step would be getting a minimal image that is able to boot in your device [20:55] then trying to get hybris to work, and see if the test cases would work there [20:55] rsalveti: that's the question.. the x86 image in on your webgit also ? [20:55] I noticed a few intel folks contributing to hybris, so I'd expect it to work for x86 as well [20:55] manoelramon_: no, it's not [20:55] that's created from the ubuntu archive [20:55] via live-build [20:56] I do not think I will need to port all commits you have done because you fixed bunch of problems I will not have... just wondering how to get the code/image and put over my kernel... [20:57] manoelramon_: right, that's why I'd start based on this branch (you can just take the changes, not necessarily all commits), and try to get a minimal image to work first [20:57] meanwhile we can produce an ubuntu rootfs via live-build which you can use [20:58] sergiusens: we should have everything in the ppa to produce a x86 based image [20:58] using raring would probably be a better idea for now [20:59] rsalveti: I already did all changes in the kernel.. I am only need the x86 sources... I could compile to medfield and push back to you. [20:59] right, kernel changes should be minimal [20:59] the ones under build are the most critical to generate a minimal image [21:01] and you will have to find an x86 tree yourself to add it [21:02] on phablet.ubuntu.com there is none [21:04] rsalveti: saucy is solid [21:04] sergiusens: lol [21:05] sergiusens: can't even have a stable saucy in my desktop [21:05] ogra: right, but would be nice if we could support that as well [21:05] would just need to check the changes done per repo, which is really painful [21:05] and would need a device as well [21:07] rsalveti, well, sure, i would have worked on it but there is always something with high prio on my desk since i joined the same team you work in ... i knew that would happen, i so did ! [21:07] :) [21:07] rsalveti [21:07] repo sync doesnt work? [21:07] rsalveti: my devices boots :) [21:07] fatal: Not a git repository (or any parent up to mount point /home) [21:07] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [21:07] Traceback (most recent call last): [21:07] * ogra votes for renaming phonedations into canonical-workaholics [21:07] ogra: right [21:08] lol [21:08] * rsalveti blames asac [21:08] lol [21:08] "hello, my name is oliver and i am a workaholic ... i am dry since two weeks now .... " [21:09] 0.01 days without a relapse [21:09] yeah, its definitely all asacs fault [21:09] i take that as a compliment :P [21:09] :) [21:10] still repo sync doesnt work here :) [21:10] but its totally possible that its me [21:10] well, as long we don't kill any developer til we release the project we're good lol [21:10] asac: hm, let me start fresh to see [21:11] wait its here for sure [21:11] sergiusens: why are we still building raring based images automatically? [21:11] so that my sync script doesnt feel lonely [21:11] repo sync working fine here [21:12] don't let the machines get lonely, that's when they'll turn on us [21:12] manoelramon_: with a minimal image? (aka no dalvik) [21:13] rsalveti: not yet :) ... but if boot today, when you will give me the other sources :) ? [21:14] manoelramon_: actually it's just a rootfs, let me try here [21:15] rsalveti: no problem :) but if you give me the code I reply you with compiled for medfield processor ... I swear :) [21:16] rsalveti: lol [21:16] manoelramon_: would i386 work fine for medfield ? [21:16] rsalveti: tough news for you, but I think ofono is only bulding for amrhf [21:17] sergiusens: true, have that in my todo [21:17] in live-build ... --bootstrap-qemu-arch is used for what? [21:17] rsalveti: most apps and components only link to platform-api if it is arh armhf [21:17] asac: to build it with qemu [21:17] theoretically yes [21:17] sergiusens: that's being fixed as we're pushign things to the archive [21:19] manoelramon_: awesome [21:19] I'm running live-build to see what happens here, but we might indeed have missing packages [21:19] I hope dude :) [21:19] which we're fixing anyway [21:21] Thank you so much Ricardo!!! [21:29] sergiusens: [21:29] E: Unable to locate package libandroid-audiosystem-asound2 [21:29] E: Unable to locate package powerd [21:29] so fixing the android audiosystem unblocks ofono [21:29] now powerd is a different issue [21:29] shouldn't be armhf specific [21:32] rsalveti: we'll really need to teach Android not to touch /data, /cache and /system at all... [21:32] rsalveti: yup... but libandroid-audiosystem-asound2 always has... not that it's right or wrong [21:32] I just noticed that it's trying to remount them ro on shutdown or something [21:32] which means remounting /data read-only but that's our data partition so that's not that great... [21:32] stgraber: right, that we can fix [21:32] but it can only mount with fstab [21:33] granted you're not supposed to stop the android container, but still... [21:33] after it's mounted it can try to remount, which we can fix from the android side [21:33] rsalveti: yep, apparently it's respecting the fstab, still failing to start but I'm trying to track that one down now [21:33] stgraber: ok [21:35] refs/heads/phablet-10.1 [21:35] what is that based on? [21:35] android-4.1.2_r2 ? [21:36] yup [21:37] actually it's a bit newer than that, but not the latest 4.2.2 tag [21:37] refs/tags/android-4.2.2_r1 ? you pull those prebuilts in [21:37] ok [21:37] i see [21:37] so that was misleading then [21:37] i will use that [21:37] to replace our binoic [21:37] so guess would be good to know exactly :) [21:37] let me see our gitweb [21:39] hard to say [21:39] asac: replace our bionic? [21:39] why? [21:39] seems we didnt push any very recent tags to our phablet [21:39] rsalveti: because it has hackery that is a bit annoying atm :) [21:39] sincos [21:39] nops, we didn't touch that since jan or such [21:39] ok i see [21:39] asac: we welcome patches [21:39] hehe [21:39] ++ [21:40] rsalveti: so do we know where this is based off? [21:40] cm-10.1 [21:40] CM10.1 M1 I think [21:40] let me check [21:40] there's a cm tag [21:40] but what that is is harrd to figure for me [21:40] yeah its cm-10.1 [21:41] but i what android is that based on? [21:41] sure, but there are a bunch of tags [21:41] :-) [21:41] oh i see a merge [21:41] its 4.2.2_r1 [21:41] http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_bionic.git;a=shortlog;h=refs/heads/cm-10.1 [21:41] pretty high on top there [21:41] right [21:41] ok let me try that [21:41] and why are you looking into that? [21:41] any feature we're missing? [21:42] yeah, it's based on CM10.1 M1 [21:42] hmm. those cm guys didnt push the tag [21:42] let me find the commit [21:43] manoelramon: where can I find the intel android tree? [21:43] or is that already upstream? [21:43] rsalveti: so, my current problem is that the container kinda starts, /system/bin/mediaserver is spawned, stays there for a few seconds and then the container dies [21:43] rsalveti: rings a bell? [21:44] stgraber: hm, no [21:44] stgraber: no logs? [21:44] logcat would be useful there [21:45] pmcgowan, hey [21:45] pmcgowan, any idea who is working on the infographics work? [21:46] rsalveti: how do I turn /dev/alog/main into something readable? === Guest1230 is now known as zumbi [21:47] hm, would need to investigate [21:47] let me check === zumbi is now known as Guest86601 [21:48] will the email client support exchange? [21:48] stgraber: just a simple cat would already be useful [21:50] stgraber: try running logcat manually [21:50] it should be static linked I'd guess [21:51] if not you can probably build it easily [21:51] http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_system_core.git;a=tree;f=logcat;h=9cd412866c535d84bd1b106ad4fa32e3a438f1b5;hb=refs/heads/phablet-10.1 [21:52] stgraber, /system/bin/logcat [21:52] it is definitely static [21:52] yeah, if you have it mounted it'd just work [21:52] :) [21:52] rsalveti: you are android-audiosystem guru? what is so armel specific there? [21:52] asac: that's what I'm checking now [21:52] this is old code from motorola [21:53] intersting :) [21:53] well /var/lib/lxc/android/rootfs/system/bin/logcat (can we add some more subdirs) then [21:53] is it important for primary user experience? [21:53] e.g. booting, showing stuff on screen etc.? [21:53] asac: well, just no sound [21:53] kk [21:53] no crashes? [21:53] nops [21:53] ogra: not static [21:53] oh [21:53] /var/lib/lxc/android/rootfs/system/bin/logcat: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped [21:53] rsalveti: what is it doing? talking to... alsa? [21:53] :) [21:53] https://01.org/android-ia/documentation/faq [21:53] asac: other way around [21:53] asac: for pulse to talk to audioflinger [21:54] * asac turns upside down [21:54] manoelramon: thanks [21:54] ok. doesnt sound very armel specific [21:54] stgraber, link system to / then ... LD_PRELOAD should give you all you need [21:54] asac: no, just stupid build system [21:54] (it points to /system/lib) [21:54] as we got some .S files there [21:54] yeah [21:54] have you tried sedding everythign :)? [21:54] ogra: read-only, remember? :) [21:54] asac: I'm fixing it [21:55] stgraber, well ... remount rw ... then set the link [21:55] stgraber: chroot [21:55] good [21:55] and then run it from the android container [21:55] shouldn't explode :-) [21:55] you dont have /dev [21:55] need to bind mount it [21:55] haha [21:55] manoelramon: I have may have access to some intel devices from the Cordoba site... I'll get your tree's and see what happens === brion is now known as brion_ [21:56] hmm, there is still something fishy with powerd [21:59] * ogra tries to move it later [21:59] hmm [21:59] is there any reason why we dont have ubuntu-session start powerd ? [21:59] rsalveti, ogra: http://paste.ubuntu.com/5737111/ [22:00] well, powerd is a system service [22:00] ogra: my understanding is that powerd is something deeper entrenched in the OS than a session... [22:00] asac, well, it needs bits from the container and dbus [22:01] dbus is started in the gnome-session? [22:01] stgraber, same issue slangasek has [22:01] otherwise i dont know what ubuntu-session is :) [22:01] stgraber: [22:01] D/overlay ( 1001): initoverlay:: opening the device:: /dev/graphics/fb2 [22:01] E/overlay ( 1001): cannot open framebuffer(2) [22:01] (and you can ignore me) [22:01] asac, the session bus, not the system bus [22:01] then egl fails, which causes surfaceflinger to crash [22:01] asac, https://code.launchpad.net/~phablet-team/session-manager-touch/trunk [22:01] but still, it should go on and print more messages [22:02] do we use androids busybox? [22:02] is that all you get? [22:02] err the busybox of CM [22:02] (android doesnt have that) [22:02] i dont think so [22:02] asac: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_external_busybox.git;a=summary [22:02] oh, we do ? [22:02] so we use that? [22:02] hmm [22:02] but with nothing enabled i guess [22:02] what is the official android replace called? [22:03] /bin/sh: 0: Can't open /proc/self/fd/9 [22:03] ** (process:489): DEBUG: owner id: 1 [22:03] ** (process:489): DEBUG: Activity Timeout is 30 seconds [22:03] woah [22:03] ah its toolbox [22:03] right [22:03] thats what its called [22:03] (powerd log) [22:04] slangasek: apparently I'm hitting the same bug as you had (lxc container not starting), what's the problem? [22:05] stgraber, his container was starting, his session wasnt ... [22:05] race between udev and the container start [22:05] ok, my container isn't starting at all and I've got udev in Ubuntu disabled [22:05] stgraber: is that all you got from logcat? [22:05] well, it starts for a minute and dies. The only process I see init spawn is /system/bin/mediaserver [22:06] rsalveti: yep [22:06] stgraber: can you check if you have /dev/graphics/fb2 inside your android container? [22:07] hm, that error also happens here [22:07] * ogra guesses only while the container is running [22:07] i guess fb2 is HDMI [22:07] rsalveti: I'll try but as I said the container dies pretty quickly, so I'll have to do some clever tricks to pull the data before it goes away [22:07] W/SurfaceFlinger( 1001): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID [22:07] or however that special plug adapter thing is called [22:07] so surface flinger fails completely here [22:08] do we have lots of arm specific stuff in powerd? [22:08] which could mean issues with udevd or it couldn't see the vendor stuff [22:08] stgraber: are you using our own system.img file? [22:08] or did you build it your own? [22:08] rsalveti: nope, used the one from ubuntu-touch-preview [22:08] unpacked from ours [22:09] did you tar it and forgot --numeric-owner or some such ? [22:09] W/Adreno200-EGL( 1001): : EGL_NOT_INITIALIZED [22:09] now why would the driver fail [22:09] because /vendor isnt set up [22:09] E/Adreno200-GSL( 1001): : open(/dev/kgsl-3d0) failed: errno 2. No such file or directory [22:09] there you go [22:09] ogra: mix of root and gid 2000, that looks vaguely reasonable [22:10] rsalveti: well, yeah, as part of my problems I don't even see ueventd starting, so I'd expect /dev to be pretty much empty [22:10] ah, no /dev [22:10] as I said, I only see a single process being spawned in the container and that's "/system/bin/mediaserver" [22:11] no ueventd that I can see [22:11] the rest might fail [22:11] or init fails completely [22:11] yeah, so talk to jhodapp, we cant help :P [22:11] due lack of udev [22:11] ueventd [22:11] mediaserver is his area [22:11] :P [22:12] did you modify init.rc somehow ? [22:12] ogra: nope, only changes I did comment cache, system and data in fstab.mako and removed adbd (just in case) [22:13] no need for that [22:13] in fact i would leave it there, that way you can easily switch between ubuntu and container [22:13] (by setting the adbd upstart job to manual) [22:14] adbd wont start if its loopback port is already taken === brion_ is now known as brion === Fyodorovna is now known as wilee-nilee [22:16] stgraber, do you have nodev.nosuid options set on /data by chance ? [22:19] ogra: nope [22:21] <|QuaD|> hello! quick question for you. I am setting up ubuntu touch on my nexus 7 for fun. How are upgrades handled? is it done throuhg normal apt? or do i have to reflash an image everytime [22:23] you currently have to reflash [22:23] since there are bits in the android layer that arent packaged but require updates on package upgrades [22:24] phablet-flash is clever enough to keep your userdata intact though === salem_ is now known as _salem === Fyodorovna is now known as sporkeee === sporkeee is now known as wilee-nilee [22:51] <|QuaD|> ogra: thanks! do we have an eta of when something like nexus 7 will be autoupdateable? [22:52] apt updates will work once the images have the flipped container model in use and the two bits that we use inside android are packaged [22:52] <|QuaD|> cool [22:52] on the former there is active cross team work going on [22:52] so it should be in place *soon* [22:53] the latter will have to wait until someone has time to actually do the packaging [22:55] <|QuaD|> and once that build comes out, i just have to run phablet-flash, it will upgrade and then be upgradeable? [22:55] remember that apt updates are really just an intermediate state [22:56] we are actually shooting for system updates [22:56] (for end user experience at least) [23:30] kenvandine, bfiller http://theravingrick.blogspot.com/2013/06/the-social-phone.html [23:31] stgraber: mmm, the issue I had was because I had changed the lxc-android-container job to start on 'starting udev' and had set the udev job to manual [23:32] slangasek: yeah, my issue appears unrelated as I already had udev disabled to check that wasn't the problem. Not sure exactly what's going on, but I guess it was to be expected that some bits would fail when moving to a read-only root [23:38] sergiusens: can you approve the upstart job change for powerd? https://code.launchpad.net/~mfisch/powerd/startondbus/+merge/167632 === SkavenXXI-[OFF] is now known as SkavenXXI [23:40] ogra: is there a master bzr branch for lxc-android-config? (it's not in debian/control) === chihchun_afk is now known as chihchun