/srv/irclogs.ubuntu.com/2014/03/04/#ubuntu-kernel.txt

bjfPrf_Jakob, how about as a pull requestion pointing at your public git repo?01:45
Prf_Jakobbjf: kay, where is the ubuntu kernel located, due to holidays I'm only the messanger in this case.01:59
=== gerald is now known as Guest75034
=== edamato is now known as edu-afk
bjfPrf_Jakob, git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git04:42
Prf_Jakobthanks05:03
=== AceLan_ is now known as AceLan
ppisatimoin07:46
smbMorning08:16
ppisatirtg was faster than me, doh!09:16
apwppisati, ?09:30
ppisatiapw: i filled up an lp bug and for a staging-driver inclusion, but i didn't send the pull req yet09:54
ppisatiapw: woke up this morning just to find out that he dit it :)09:54
ppisatiproactive merging :)09:54
apwheh10:12
apwppisati, that is actually more like psychic mergine11:42
marvin24can this small addition to a device tree be added to trusty-unstable kernel (3.14)?11:59
marvin24https://gitorious.org/ac100/marvin24s-kernel/commit/380d2091525792a7df5b7b948d07174bd602cb9711:59
marvin24this is the last missing piece to get my ac100 booting out of the box11:59
apwppisati, ^^12:58
ppisatiapw: looking right now13:31
ppisatigiven that it touches only the paz00 dts (aka ac100), i'm ok with it13:44
ppisatijust a question, did you try to upstream it?13:44
ppisatimarvin24: ^13:44
apwsmb, hey have you used lxc subuid stuff?  what does a default entry look like for moi13:53
smbapw, No, I am ignoring lxc as hard as I can13:54
apwsmb, heh ok13:55
smbsforshee, Maybe you had more time to play with that?13:55
smbapw, I think I remember some mapping statements but not well enough13:56
sforsheeapw: did you read stgraber's blog post? It's a really nice guide to setting that up.13:57
smbhttps://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/13:57
smbapw, ^ Just got there too13:57
smb:)13:57
apwsforshee, thanks13:58
marvin24ppisati: it's upstreamed already, but for 3.15 only13:58
marvin24in fact, I was a few hours too late :-(13:58
marvin24thanks!13:58
marvin24FYI: http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/arch/arm/boot/dts/tegra20-paz00.dts?id=5816898b9592b877209e91c493db946ab275d82513:59
apwlxc_container: Could not set clone_children to 1 for cpuset hierarchy in parent cgroup.14:08
apwsforshee, seen that ?14:08
apwstgraber, hey ... user containers, can you have disjoint uid mappings such as below:14:09
apwapw:200000:6553714:09
apwapw:1000:114:09
apwlxc.id_map = u 0 1000 114:10
apwlxc.id_map = u 1 200000 6553514:10
apwstylee ?14:10
apwhallyn, about ?  i am having trouble using your reproduce by instructions, my containers won't start14:11
infinitymarvin24: Will that DT work with 3.13 too, or only 3.14+?14:14
marvin24infinity: it won't work because it requires updates to the pwm and drm subsystem14:14
apwthen ... 14:14
marvin24a bit unfortune for trusty, but well ...14:14
infinitymarvin24: I was afraid you'd say something like that.14:14
apwnot much point in pulling in the dt parts then14:15
infinityapw: He was asking for it to be pulled into unstable, not master.14:15
infinityThat said, by the time trusty releases, unstable will have rolled over to 3.15rc, I suppose, and will include the commit from linux-next.14:16
infinityProbably.14:16
infinitymarvin24: More curiously, are the other commits it depends on reasonably small and backportable to 3.13, or would that blow up the world (or cause our kernel team to vomit)?14:17
marvin24infinity: I had 3.14 in mind, which may be the standard kernel at this time14:17
infinitymarvin24: Cause if we can make your platform go with trusty's generic kernel with very little effort, I doubt we'd say no.14:18
* ppisati usually vomits for no apparent reason14:18
marvin24infinity: I'm not sure which one we need, but I can find out14:18
marvin24this may also be helpful for other SoCs14:18
marvin24which have problems to get the backlight up14:18
infinityThere are pills for that.14:19
apwinfinity, i would guess 1714:20
marvin24seems that it is only useful for tegra now as the drm/kms drivers also needs some change14:27
marvin24not worth the effort14:27
infinityzequence: Are you going to get around to regression-testing the lowlatency SRU kernels?14:35
infinityBenC: Can you smoketest the saucy linux-ppc kernels in -proposed on some of your kit?  I'm not home this week, so can't test on any of mine.14:36
stgraberapw: yes, you can14:42
apwstgraber, don't seem to be able to write it such that it will actually work, it just barf at the newuidthing step14:43
stgraberapw: I take it your current uid is 1000 right?14:45
stgraberapw: if so, you don't have to put it in /etc/subuid as you own it already anyway14:45
apwstgraber, yeah that is me14:47
apwstgraber, and i had the right incantion in the other bit ?14:47
stgraberapw: I think the rest is fine, I'm just not sure the multi-line subuid is valid, so I'd just go with "apw:200000:65537" as the second one isn't required anyway14:53
stgraberapw: I'm assuming you've put similar ranges as "g " entries and a matching line in /etc/subgid?14:53
apwstgraber, yeah, ok so now i have one line in subuid/gid giving me the 200000 range and the below in default.conf:14:55
apwlxc.id_map = u 0 1000 114:55
apwlxc.id_map = u 1 200000 6553514:55
apwlxc.id_map = g 0 1000 114:55
apwlxc.id_map = g 1 200000 6553514:55
apwand a create does this:14:56
apwnewuidmap: write to uid_map failed: Invalid argument14:56
hallynapw: why do you have the 'u 0 1000 1" lines?14:59
apwor is it:14:59
apwlxc.id_map = u 0 1000 1 1 200000 6553514:59
apwlxc.id_map = g 0 1000 1 1 200000 6553514:59
apwhallyn, i am trying to map container 0 to my main id for convienience14:59
apwnot that that works either, hurumph15:00
hallynno that won't work15:00
hallynwell the first set of 4 looks ok15:00
apwneither work15:00
zequenceinfinity: yep. I'll do it today sometime15:00
infinityzequence: Awesome, thanks.15:00
hallynapw: but you say "for convenience";  lxc-create sets up the rootfs so it shouldn't really be needed...  so is lxc-create failing, or lxc-start?15:01
apwlxc-create is fialing with my setup using 0 == 1000, i was trying to do that to avoid having to have acls all over the place for 2000015:02
apwlxc-create was failing trying to get to .local/share/lxc or similar, without a heap of acls15:04
hallynapw: it looks like a bug.  It's trying to run newuidmap on the same task twice which isn't doable15:05
apwhallyn, that is kinda why i thought i might have to put them on the one line, as the command line for newuidfoo would look like that, no dice that way either15:06
apwanyhow, with a heap of acls, things "work"15:07
hallynapw: no, lxc_usernsexec is supposed to just run newuidmap once.15:08
apwhallyn, it does seem most logical to me to use my own id as root, so i can float round in my containes15:09
apwcontainers15:09
hallynapw: nnnot. really...15:09
hallynyou're not actually root in your container unless you start a new container anyway15:10
apwindeed, but a lot of the filessytem is my root id, which is handy15:10
hallynif you trust your container :)15:12
hallynmind you, this is a huge bug, and i'm quite certain a regression.  your use case should be supported15:12
apwin this case i prolly do indeed15:12
hallynMAN dh_shlibs is slow15:13
hallynapw: having received no response i was going to write/test/send a patch using vfssetxattr_noperms for trusted.overlafys today15:13
hallynstgraber: bad news, commit 0e6e3a41089c86447fef18e54c2796b312a57a94 broke it15:14
hallynhm, that's not the commit id :)15:14
hallynoh it is, it hels if i'm in a git tree to view it15:15
stgraberhallyn: oh, hmm, so what did I break exactly? :)15:17
stgraberapw: so you're using ppa:ubuntu-lxc/daily ? (the commit hallyn mentioned hasn't made it to the archive yet)15:17
apwnope, not me, i use whats in the archive15:18
stgraberhallyn: because I use multiple uid/gid ranges with my containers here and that clearly works...15:18
stgraberhallyn: right, so apw is using lxc 1.0.0 final which didn't have that commit (that commit is aimed at 1.0.1)15:18
apwthat explains that then, get 'er uploaded :)15:18
hallynapw: hm, then i'm confused15:20
hallynill go have breakfast.  bll15:21
apwhallyn, i think it all makes sense now, i am doing somthing 101 will be able to do15:21
apwso i'll stop doing that, cause it hurts, and add a heap of acls15:21
rtgjodh, jsalisbury: whats the story on CONFIG_IPMI_HANDLER ? Is it going back to being a module ?15:32
mjg59I'd recommend against doing that15:35
mjg59Anything that uses IPMI operation regions may be randomly broken15:35
jsalisburyrtg, configuring CONFIG_IPMI_HANDLER as a module fixes the bug, but it is also fixed as a module in 3.14 mainline, so we were also performing a revese bisect15:35
hallynapw: just to be sure, dpkg -l | grep lxc?15:35
hallynapw: what you do should be supported.15:35
jsalisburys/fixed as a module/built in/ in 3.1415:36
rtgmjg59, looks like they are still working on it. I'll leave it built-in for now.15:37
hallynOh I think I see the *actual* bug :)15:41
apwii  lxc                                                   1.0.0-0ubuntu4                         amd64        Linux Containers userspace tools15:42
hallynapw: i have a fix.  will send a in a bit to the list,15:45
hallynif you want to build your own, patch is http://paste.ubuntu.com/7033605/15:45
jsalisbury**15:54
jsalisbury** Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting15:54
jsalisbury**15:54
jsalisbury##16:58
jsalisbury## Kernel team meeting in 3 minutes - #ubuntu-meeting ##16:58
BenCinfinity: Will do17:00
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues March 18th, 2014 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
apwrtg, you have prolly already noticed, but i pushed that config revert some time ago17:59
rtgapw, yup18:00
rtgapw, I'm messing with vmwgfx. If I can figure it out, then I'll upload later today. never can have too many kernels.18:01
apwrtg, did you get a broken out version?18:04
rtgI was working on it, but there is some confusing non-linearity18:04
apwnasty indeed18:19
apwrtg, i guss you can use the "squash" backport for comparison when done18:20
* apw seems to have a working patch for the overlayfs permissions on whiteout when using usernamespaces, one which doesn't make me hurl :)18:20
apwhallyn, just building you some test kernels with my patch applied, will post a link shortly if you could test18:21
hallynapw: oh.  i'm working with that righ tnow too18:21
rtgapw, it should be a simple matter of applying all of the patches to drivers/gpu/drm/vmwgfx since v3.13, but its kind of driving me nuts.18:21
hallynjust using _noperm doesn't seem tow ork right18:21
hallynwell (a) it needs to be gpl exported;  and (b) i may have just done it wrong, but it left me a visible symlink to the overlayfs-whiteout file18:22
hallynso i'm trying a build where i set the userns in the override creds18:22
apwhallyn, right that is what i ahve done, 18:23
hallynah18:24
apwhallyn, do do it the other way you have to use them for reading as well (non-perm versions)18:24
hallynthen we can see if we ended up with the same the exact same patch :)18:24
hallynand if not, why18:24
apwand its jsut a mess, i have one of those working too, but the cred ns hack seems to work here18:24
apwhallyn, http://people.canonical.com/~apw/overlayfs-perms2-trusty/0001-UBUNTU-ubuntu-overlayfs20-switch-to-the-init-user-na.patch18:25
hallynapw: looks good, thanks - I'll wait for yours to build then and test it.18:26
apwhallyn, cool, should be soon ...18:28
apwhallyn, annoyingly that is what i wanted to do first off, and the mention of the _noperm way side tracked me, i should have listened to self18:31
hallynapw: yeah...  now there's a reasonable chance ppl will want your patch to turn into some more general new override_creds() extension.  but we'll see.18:32
apwhallyn, yeah, i recon there should be a "creds_ns(foo)" at least18:34
apwmore likely a "override_creds_system()" or similar18:34
apwhallyn, kernels at: http://people.canonical.com/~apw/overlayfs-perms2-trusty/18:34
apwlet me know how you fare, they seem to work for me18:34
hallynthx, will do18:35
hallynapw: looks good18:42
hallynno wait18:42
apwhallyn, ?18:43
hallynheh, sudo misuse.  looks good :)18:43
* apw slips out for an hour, will check in when i get back :)18:43
hallynapw: oh fwiw, patch is doing great.20:31
miseria"los regalos, gustenos o no, hay que agradecer ante todo, el tiempo que esa persona dedico para pensar en ti" bienvenidos: http://castroruben.com *temo_a_un_ser_sin_rival*20:54
dpippengercan anyone point me to the repo that contains the source files used to build the kernel located here? http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.31-saucy/22:34
apwhallyn, sweet, i'll push that on tommorrow, and shove it up as well22:47
apwdpippenger, you need to fetch the commit in the file "COMMIT" from linus' mainline repo, and hten apply the patches in the same directory22:48
dpippengerthose patches seem incomplete, for example they reference firmware files that aren't part of the upstream kernel like bnx2x/bnx2x-e1-7.8.17.0.fw22:50
apwdpippenger, they are made from that base, and the patches are git format-patch'd from there, so they should be complete; have you tried actually doing that?23:04
dpippengeryes, I've gotten it to build up until the install phase, but kernel-wedge copy-firmware bombs because newer bnx* firmware is referenced in the packaging patches that generate the control data.23:06
apwyep, we never make d-i from those images, nor use the full packaging flow either, they are just test builds23:07
dpippengerI see23:07
dpippengerok, I was just concerned I was missing something since it didn't build clean23:07
apwyou likely can get it to work without those, disable_d_i=true or similar disables that23:07
dpippengerok, thank you23:07
apwnope they are dirty hacks to get something for every tag, they are not intended to pass an uploaders review23:07
dpippengercheers all, have a nice day23:13

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