/srv/irclogs.ubuntu.com/2013/12/17/#ubuntu-kernel.txt

=== pgraner` is now known as pgraner
=== gfrog_ is now known as gfrog
hyperairbleh i just tried creating a nonpae build, but the package build is failing with ls: cannot access ../linux-image-3.11.0-15-generic-nonpae_3.11.0-15.23_i386.deb: No such file or directory05:37
hyperair=\05:37
hyperairweird05:38
hyperairhow does one introduce a new kernel flavour?05:38
hyperairaha, debian.master/rules.d/i386.mk06:22
hyperairdat elusive flavours variable06:22
hyperairoh gawd ccache, why won't you play properly with sbuild07:19
=== zequence_ is now known as zequence
=== xnox_ is now known as xnox
jsalisbury##16:32
jsalisbury## Kernel team meeting in 30 minutes16:32
jsalisbury##16:32
kdubsforshee, i'm trying to tighten up/fix bugs around turning the phone's display on/off (from mir's perspective), and i'm trying to get some insight into powerd... would you be the one to bounce questions off of?16:34
sforsheekdub: I can try, but if the questions are specifically about the integration with unity8 then ricmm is the one who worked on that16:36
kdubsforshee, okay16:38
kdubsforshee, so you wouldn't know if its a hard guarantee that the system is active (out of suspend) before powerd goes and requests the display on?16:40
sforsheekdub: the system can't really request the display on if suspended ...16:40
sforsheekdub: if you're talking about autosuspend, then the answer is that autosuspend is disabled before powerd would request the display on16:41
sforsheehowever, there's one possible issue that I can warn you about16:42
kdubi don't really know the terminology very well in this area... to me there's 'system on' or 'system off'16:42
kduband 'system off + mir attempting to display a frame == bad'16:42
kdub:)16:42
sforsheeso here's the case which might be problematic16:42
sforsheeandroid uses this file in sysfs, I don't recall the exact path off the top of my head, but basically it says whether or not the display device is ready16:43
sforsheethere's a short period on some devices after disabling autosuspend where the device might not be ready yet, so you have to wait until that file says it's ready before you try to draw16:43
kduboh, wake_lock?16:44
sforsheeno16:44
sforsheelet me look16:44
kdubokay, thanks16:45
sforsheekdub: /sys/power/wait_for_fb_sleep16:45
sforsheeI know that when powerd talked to surface flinger it waited on that file, but I don't know if that's the case with the unity8 integration16:45
sforsheeoh, actually /sys/power/wait_for_fb_wake16:46
kdubsforshee, excellent, sounds like what I need16:46
kdublet me tinker with that file to see if i can avert the problet16:47
sforsheekdub: actually it looks to me like powerd still waits on that before requesting the display be turned on16:47
kdubi see that in the startup, but not on every display on/off request16:50
kgunnsforshee: thanks for helping kdub...this thing has been a bear16:51
kdubyes, thanks sforshee16:51
sforsheekdub: I know the code worked when talking to sf, and the only part that's changed is that it now calls into unity instead16:52
kdubyeah, let me dig into what exactly goes on there16:52
kdubin the SF path16:52
sforsheegood luck16:52
jsalisbury##17:00
jsalisbury## Meeting starting now17:00
jsalisbury##17:00
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues January 7th, 2013 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues December 7th, 2014 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
* jsalisbury makes his first s/2013/2014/ mistake17:14
sforsheejsalisbury: woah, no more meetings until Dec 2014? ;-)17:15
jsalisburysforshee, an another whoops :-)17:15
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues January 7th, 2014 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
jsalisburysforshee, changing the month and year at the same time caused an overload 17:16
sforsheeI just guessed it was consecutive copy/paste errors17:17
jsalisburyheh, yup17:17
antaruswas teh meeting exceeding short, or am I missing something?17:21
sforsheeantarus: our meetings are always exceedingly short17:22
=== shadeslayer_ is now known as shadeslayer
antaruskees: or apw how do I go about getting https://bugs.launchpad.net/ubuntu/+source/linux-meta-lts-saucy/+bug/1244627 fixed?18:09
ubot2`Launchpad bug 1244627 in linux-meta-lts-saucy (Ubuntu) "Please enable CONFIG_IMA in the ubuntu kernel" [Undecided,Confirmed]18:09
antarusI might have filed it against the wrong thing (I am really aiming for Trusty I guess.)18:09
antarusI wonder if there is a more generic pkg name18:09
apwantarus, i seem to remember that was the one which in the past has caused terrible performance issues, and so it is enforced off, and i am guessing i said we would need some benchmarks to convince us it didn't18:11
apwstill cause the same degredation18:11
antarusapw: I think we looked and it doesn't do anything without a policy loaded18:11
antarusand it doesn't load a policy by default18:11
apwantarus, iirc it made osmething bigger and the effect was devistating to performance (back when we tested it before)18:12
antarus(the user has to load one)18:12
apweven thought it really shouldn't be ... that is my worry18:12
antarusso I'm going to clone trusty and enable it then18:15
antarusand boot into it..and probably break my graphics ;p18:15
keesantarus: if you can show benchmarks without CONFIG_IMA, with CONFIG_IMA, and with CONFIG_IMG + policy, in a bug comment, that should be sufficient.18:23
antaruskees: that is what I am doing18:30
antarusI'm still curious what benchmarks you want18:30
antarusdo you have any recommendations?18:30
antarus(io? memory? something else?)18:30
keesantarus: it was memory consumption in the past.18:34
mjg59kees: Also intrested in those results18:34
antaruskees: ok18:36
kdub_sforshee, just to pick your brain some more... do you know  why powerd sometimes sends consecutive 'display on' signals?18:36
kdub_i don't know if it means something by that, or if the second 'on' signal can safely be ignored18:36
keesmjg59: subscribe to 1244627! :)18:37
antaruswow, I do not understand your kernel build system..18:38
antarusheh18:38
antarusconfig.common.amd64 and config.common.ubuntu18:38
antarusare they merged together when the kernel is built?18:39
keesantarus: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel18:39
antarusyeah I'm following that18:39
keescool18:40
keesthere are scripts that do the merge, yes.18:40
antarusok18:40
antarusI was confused because half of my change landed in common, and the other half in teh per-arch configs18:40
=== pkern_ is now known as pkern
antarusthanks for your patience with me18:44
keesno problem! the more people can build the kernel the better :)18:46
pkernIf we'd get one howto out of it that it's actually current. <insert xkcd about standards here>18:50
sforsheekdub_: are the flags changing? That would be my guess.18:59
antaruspkern: the kernel howto is fine19:02
antaruspkern: also, stop working ;p19:02
kdub_sforshee, i'll check... thats kinda my guess too19:02
sforsheekdub_: it shouldn't emit a new event if nothing has changed, so if it's doing that then it's a bug19:03
sforsheebut if the flags are changing, well, then something changed ;-)19:03
pkernantarus: This is my personal IRC. o_O19:03
antaruspkern: sure it is ;)19:03
kdub_from my end, (mir/unity-mir) i see two on's in a row, not sure how to interpret the second one19:04
sforsheekdub_: how about this: if (signal.state == on && my_screen_state == on) return;19:05
sforshee;-)19:06
sforsheethat is if you don't care about any of the flags19:06
antarusman this build takes its sweet time19:07
antarusI have 64 cores19:08
antarusI can do better19:08
kdub_sforshee, yeah, i'll try something like that19:08
Sarvattantarus: dont build under fakeroot, makes it take 10x longer19:20
Sarvattaka, debian/rules do_tools=0 do_extras_package=0 no_dumpfile=1 build-arch then fakeroot debian/rules do_tools=0 do_extras_package=0 no_dumpfile=1 binary-debs19:20
antaruslol19:22
antarusmy build failed19:22
antarusmissing moduels tpm_tis19:22
antarusgod I hate the tpm19:22
antarushrm, all the other tpm modules are there, but not tis19:23
antarusweird19:23
antarusanyway, lunch19:23
antarusSarvatt: thanks for the tips19:23
antarusI'll try em next time19:23
antarusahh I see my error19:31
antarusok so tpm_tis used to be a module19:37
antarusand it can't be with IMA on19:37
antarusand IMA is not able to be compiled as a module19:37
antarusand so I broke the kernel abi19:37
antarusoh19:40
antarusdch -i19:40
* antarus tsks19:40
=== _ruben_ is now known as _ruben
spideymanHello! does anyone have any quick tips on debugging a compile failure of: make[1]: *** [sub-make] Error 222:45
spideymanhow do I get more info?22:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!