/srv/irclogs.ubuntu.com/2014/02/25/#ubuntu-kernel.txt

=== gerald is now known as Guest77029
=== mwhudson is now known as zz_mwhudson
=== BruceMa is now known as BruceMa-721
=== BruceMa-721 is now known as BruceMa
=== gerald is now known as Guest5704
ppisatimoin07:39
apwppisati, moin09:30
* apw whines about the rain ... again09:30
smbapw, Could send you a sunshine picture from outside my window. :-P09:44
smbBut don't worry, we are supposed to get rain again as well... soonish09:44
apwsmb, sounds better than the lashing rain we have ... again09:46
apwi am going to hav to upgrade the gutters for monsoons09:46
smbapw, You probably need bilge pumps09:48
apwsmb, sluice gates, probabally our own barrier09:51
smbapw, At least you are uphill in the downs. Most of the water goes downhill from there. :)09:52
apwikepanhc, those two blocks of apm code, are they everything one needs to make those boards work on 3.13 ?09:53
ikepanhcapw: I am afraid not. there are more coming for ethernet pcie kvm and rtc09:53
smbapw, I see 5 and 12...09:54
ikepanhcgood news is most of them are for apm hardware only09:54
apwsmb, yeah two blocks, not two patches09:55
smbapw, Ah right. /me should read09:55
apwi could be clearer, but what is the fun in that09:55
apwikepanhc, and any idea how many further patches those three batches are?09:56
ikepanhcapw: I can give you the exact number in few hours09:57
apwikepanhc, no rush09:59
apwsmb, cking, ppisati, i have a request to spin a kernel sooner rather than later (to build in some boot essential bits); anything on deck i shoudl be waiting on?11:05
smbapw, not from my side right now11:05
ckingsame here11:05
apwikepanhc, as and when you have a complete "stack" of all of those 5 sets i'd love a branch to look at, doenst have to be ready to submit to us, just so i can start looking at how frigtening it is11:22
=== gerald is now known as Guest88206
ikepanhcapw: sure, no problem12:52
brendandcking, can you have a look at this fwts error message: http://paste.ubuntu.com/6994264/13:04
=== edamato is now known as edu-afk
=== Guest26924 is now known as fmasi
=== caribou_ is now known as caribou
jsalisbury**16:27
jsalisbury** Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting16:27
jsalisbury**16:27
ppisatiwhat's the dpkg-buildpackage switch to pass down some opts to fdr?16:35
jsalisbury##16:55
jsalisbury## Kernel team meeting in 5 minutes - #ubuntu-meeting16:55
jsalisbury##16:55
hallynrtg: ogasawara: hi, stgraber and I were wondering, is it possible to turn off CONFIG_RT_GROUP_SCHED for all trusty kernels?  is there anyone who is using it  /depending on it?16:59
apwhallyn, well it was on in saucy, so its a longterm on... so we'd need a good reason17:01
stgraberhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/128473117:01
ubot2Launchpad bug 1284731 in linux (Ubuntu) "Please turn off CONFIG_RT_GROUP_SCHED in all our kernels" [Undecided,New]17:01
stgraberapw: the reason was that we never actually used those cgroups before trusty so never had the problem before then :)17:01
stgrabernow that we do, rtkit just fails for everyone17:02
apwstgraber, so we never used it in S even though it was on17:02
apwdo you have the link to the upstream discussion which says they are bad for security?17:02
stgraberhallyn: do you have some references to those e-mails from Tejun?17:03
hallynuh, gimme a few mins17:03
apwyou have a small window (if you can convince me) to get it in the next upload, which was 10s away17:05
hallynprobably related to http://lkml.org/lkml/2013/4/8/91217:06
hallynstgraber: it was discussed several times at the plumbers sessions17:07
hallynit was a way in which a task in cgroup /a/b/c which had delegated write access to it scgroup could affect cgroups which were not just its decendents17:08
apwas we didn't get to plumbers we don't have that background17:09
hallynsmb may have been there?  hm17:09
stgraberwhich happens to be the case since we delegate write acccess to the user for /user/<uid>.user/cX.session/17:09
ograapw, we definitely need it off on all phone kernels since pulse is critical there and needs RT functionality (which this option breaks)17:09
stgraberapw: so yeah, the main point is that rt_* is fundamentaly broken at the moment. For any other key, if you mkdir a sub-cgroup, you'll get the same value as your parent and can then choose to set a lower value if you want to restrict your tasks. That all works for everything, except for rt_*17:11
ograthe good news is that it is fixed for systemd :P 17:11
ograso we just need to do the switch before release and can keep it on 17:12
stgraberapw: rt_* requires you to manually set that value, however apparently the hierarchy doesn't quite work with it, so if you have a/b and a/c and set a value for a/ nothing seems to prevent a/b + a/c to be <= a17:12
stgraberogra: no, that's wrong17:12
ograstgraber, i thought lennart fixed it ? 17:12
ograthats what the fedora bugs suggest17:12
stgraberogra: systemd doesn't fix this at all, Fedora has the exact same bug it's just that they don't set a cpu cgroup by default in their user sessions17:12
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues March 4th, 2014 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
stgraberogra: if they did, they'd hit the exact same problem with pulseaudio17:12
ograah17:12
apwogra, which touch kernels need this17:13
hallynhttp://lwn.net/Articles/576049/17:13
stgraberogra: what Lennart did in systemd is prevent rtkit itself from being broken because of that cgroup stuff but he didn't do anything to prevent pulseaudio from being broken17:13
hallynso it's only "starving your siblings"17:13
ograapw, all of them ... flo, mako, manta, grouper, hammerhead and maguro (not sure how long we will still use the latter though)17:13
ograstgraber, aha ... 17:14
stgraberapw: touch needs it urgently but the exact same applies to desktop. My laptop is reporting rtkit failures whenever I start pulseaudio an pulseaudio sure doesn't get rt prio17:14
ograyeah17:14
apwstgraber, and did we ever decide that letting pulse should have it17:14
hallynstgraber: so why not have logind not create cpu cgroups?17:14
apwhammerhead never heard of it17:15
ograapw, i think thats only in a PPA yet ... nexus517:15
ograrsalveti, ^^^^17:15
stgraberhallyn: because I kind of like unprivileged lxc to work and be able to set cpu cgroup restrictions17:15
apwok that is nothing at all to do with moi then, as we don't even have a branch for it17:15
hallyncpu or cpuset?17:15
ograapw, i guess you will get one soon :)17:16
hallynstgraber: cpu tracks, but i dont' think it restricts anything17:16
stgraberhallyn: both. Cpu gives you cpu.shares, cpuset gives you cpuset.cpus17:16
rsalvetiogra: yup, I got the tree, but only in a ppa for now17:16
apwogra, till i do :)17:16
ograapw, but yeah, not urgent now17:16
apwrsalveti, ok ... if i spin kernels for these madmen :)  all to the PPA ?17:16
apw"the PPA" == "the CKT PPA" 17:16
hallynstgraber: i was thinking cpu.shares was only tracking.  i *really* don't see why these are combined in one cgroup17:16
rsalvetiapw: yeah, please17:16
stgraberhallyn: cpu.shares sure is writable, that's the only way you can restrict cputime AFAIK17:17
rsalvetiogra: so you were right in the end17:17
ograrsalveti, indeed ... i am most of the time, i just cant prove it until someone else does :)17:17
* ogra trusts his guts :)17:18
rsalvetihahah :-)17:18
apwhallyn, none of those links make much sense, in that they don't indicate the security issue to my mind17:18
hallynapw: so if you have a cgroup /user/1000.user/c2.session, and you can write to cpu.rt-runtime_us, you can starve /user/1000.user/c3.session...17:18
ograbut i know more about cgroups than i ever wanted to know since today :)17:18
hallynapw: mind you, cgmanager doesn't give you that write access, so it's moot there.17:18
stgraberhallyn: except we're not using cgmanager yet17:19
apwi thought we have a majorly clever cgroup manager with the lennart API and the world was going to be purfect17:19
hallynstgraber: lol.  "I am" :)  sorry, i forgot17:19
stgraberapw: ha ha ha ;)17:19
hallynstgraber: so is logind not using cgmanager when it is available?  then logind is also doign the right thing17:20
hallynbc /sys/fs/cgroup/cpu/user/1000.user/c2.session/cpu.* is not owned by me17:20
stgraberhallyn: it's not yet, I haven't finished that work and until cgmanager is in main, I can't possibly land that work17:20
hallynso anyway, I can't make either decision, but I do think the best option is to shut off that blasted RT CGROUP option, and the second best option is to have upstart put pulseaudio into /console cpu cgroup17:21
stgraberhallyn: I'm just not sure how you'd want upstart to move something to /console, upstart isn't privileged and is already inside the user's cgroup, it can't possibly do that17:21
apwok i'll change this, and set fire to your hair if it mattered and you fibbed to me17:22
hallynfree haircut17:22
hallynapw: is the overlayfs xattr bit going to be landing in trusty btw?17:23
apwhallyn, wasn't it in -12 ?17:23
hallynstgraber: well we need some sort of solution - even if it is just having a separate cgroup subsytem for rt17:23
stgraberapw: I need a haircut anyway ;) Anyway, I'd be very interested to know of anyone who actually depends on the current behaviour, because that sounds like depending on a bug to me... and a quick grep through all the usual suspects didn't get me any result for those cgroup keys, so I'm pretty sure nobody cares.17:23
hallynapw: hm, i checked a few days ago in master-next and didn't see it.17:23
hallynlemme re-fetch17:23
stgraberhallyn: long term, having rt be sane would be nice, or have it in its own separate controller that we can blacklist and ignore ;)17:24
hallynstgraber: ^ tbh i fjeer there is someone out there who does depend on rt for some project they haven't told us about17:24
hallynapw: fs/xattr.c doesn't seem to have the change, no17:25
stgraberhallyn: depend on rt, sure, ubuntustudio comes to mind, but depending on the cgroup bits of rt, I doubt it17:25
stgraberhallyn: well, besides whoever got those in the kernel in the first place17:25
apwhallyn, did yu get any further with that upstream17:26
hallynapw: no.  I cc:d Miklos on the patch, he never replied17:26
hallynI'll re-send the patch cc:ing linux-fsdevel@vger.kernel.org17:28
hallynstgraber: but getting back to the rt cgroup splitting up point - everything in kernel is long-term, so if we want that long-term we shoudl probably be talkign to Tejun/ml now17:34
stgraberhallyn: well, to be honnest, I don't really care about the rt cgroup at all, so long as it doesn't get in my way ;) It'd probably be best for someone who actually uses the thing to argue about doing things right...17:36
hallynstgraber: the good news is if there is such a person we're about to hear from him or her17:37
apwhallyn, so i am trying to understnad why this xattr change in the core isn't applicable to all of them, ie why it is not just ns_capable17:44
apwhallyn, either way you should be using:  strcmp(name + sizeof(XATTR_TRUSTED_PREFIX) - 1, "lov") == 0) style matching as you know the first bit is trusted. already17:45
apwhallyn, and can you cc: me on it this time when you send it as well, makes it easier to find17:47
hallynapw: well I suspect there are some $bigcorps using trusted.* as secret cookies in filesystems which they shouldn't be able to bypass17:47
hallynapw: sorry thought you were on the list17:47
hallynon my To list i mean17:47
apwdo you not have to be priviledged to make the user mappings though?17:48
hallyn(bc i copy/pasted from last email, and why would i not have it in there?)17:48
hallynyes, though you can be uid -1 without any privilege...17:48
hallynor map uid 0 in namespace to your host uid17:48
apwso then i could look at all of my trusted. attrs i assume hmmm17:49
apwi suspect then they are going to make a new bit, like trusted.X. which is ok to use this way17:50
hallynapw: there is still something to your earlier idea of having overlayfs override_creds() also change the cred->userns17:50
apwi suspect that is the right approach for its trusted bits, and not for everythign else, ugg17:51
apwhallyn, i think i'll leave xattr out of this one as i am rushing it, and try this other approach first thing18:07
apwhallyn, do you have a nice little recipe for me to test with, could you email it to me18:07
hallynapw: ok, thanks18:07
hallynok18:08
jsalisburysforshee, you want me to build a test kernel with commit  c297c8b reverted for bug 1282302 ?  Or are you already taking care of it?18:20
ubot2Launchpad bug 1282302 in linux (Ubuntu) "deadlock when unmounting nfs shares in trusty" [High,Confirmed] https://launchpad.net/bugs/128230218:20
apwjsalisbury, i say just go for it18:37
jsalisburyapw, ack18:40
apwogasawara, ok ... fire in the hole19:04
ogasawaraapw: ack, thanks.  I'll keep an eye on it if you want to bail.19:05
sforsheejsalisbury: I kicked off a build before I left for lunch, looks like it's done now19:06
jsalisburysforshee, ahh ok.  I built one as well and posted a link to it in the bug.19:07
sforsheejsalisbury: in that case we'll use yours ;-)19:09
apwogasawara, i have every confidence in it building across the board :)19:18
apwrsalveti, ok i have uploaded linux-mako to the CKT PPA for you, if you could let me know if that stops the fires19:18
rsalvetiapw: great, thanks19:19
apwi'll get the others done in a bit19:19
=== zz_mwhudson is now known as mwhudson
apwrsalveti, ok flo uploading shortly as well, let me know how those go19:33
rsalvetiwill do, thanks19:35
cetexuhm. i have an issue. i'd like to try the intel_pstate driver instead of the acpi-cpufreq one, but when i add the line "intel_pstate=true" to my /etc/default/grub's "GRUB_CMDLINE_LINUX" line, i still end up with acpi-cpufreq as my scaling_driver21:05
cetexi've run update-grub2, and on /proc/cmdline i see: BOOT_IMAGE=/vmlinuz-3.11.0-17-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro "acpi_osi=!Windows 2012" intel_pstate=enable quiet splash vt.handoff=721:06
cetexcat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver still returns acpi-cpufreq21:08
Sarvattcetex: i think your quoting of acpi_osi is making it stop reading the later stuff, try GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable acpi_osi=\"!Windows 2012\""23:06
Sarvattthats what i'm using right now and it works23:06
cetexah, right.23:08
cetexreboot. :)23:09
cetexnope, didn't do it.23:13
Sarvattdo you still have intel_pstate=enable after the acpi_osi?23:14
cetexBOOT_IMAGE=/vmlinuz-3.11.0-17-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro intel_pstate=enable "acpi_osi=!Windows 2012" quiet splash vt.handoff=723:15
cetexthough, i had it on the GRUB_CMDLINE_LINUX23:17
cetexentering exactly what you have..23:17
cetexnope, no difference.23:20
cetexare you running the same kernel?23:20
cetexthen comes the question. does pstate support the new haswell cpu's?23:21
cetexespecially the i5-4300u23:21
cetexi'd believe it does, but since i can't seem to get it working..23:24
cetexhm. maybe not.23:29
Sarvattcetex: oh thats probably the problem, it does work on 3.11 for me but i'm on ivybridge, haswell was added in 3.1223:53
cetexright.23:55
cetexand as it seems, the latest for saucy is 3.12rc723:57
cetexshould i go for a trusty kernel instead?23:57

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