/srv/irclogs.ubuntu.com/2016/03/22/#ubuntu-kernel.txt

alkisgapw, good morning, a new kernel was made available for xenial but it still had CONFIG_IP_PNP=y, when will the change land, in the next update? Is a new kernel without it available anywhere for me to test with?06:34
apwalkisg, yes, a kernel takes days to make it through testing, that was the previous one08:26
alkisgapw, can I participate in testing?08:26
apwwe are in hold because of the beta-freeze kernel wise, so the next one will be more like eow08:26
alkisgThank you apw :)08:26
apwi could make a test kernel wheni wake up08:26
alkisgNo no I don't want to waste more of your time with that08:27
alkisgI'll just wait for when it's available and report then08:27
ricotzalkisg, hi, what is the current state of ltsp in xenial?08:29
alkisgHi ricotz, it's in a working state, but I've pushed some more upstream fixes and I'll do a microrelease in debian with e.g. 10 days and syncpackage it to xenial08:32
alkisg*within08:32
ricotzalkisg, great! :) I assume the problems due kernel layout changes are resolved for clients?08:33
alkisgricotz, with "layout changes" you mean the CONFIG_IP_PNP=y change? I didn't get my hands on any newer ubuntu kernels without that, so I wasn't able to test08:34
ricotzdo you have plans for trusty backports to support lts-kernels >= 3.19?08:35
ricotzalkisg, ah, I meant things like overlayfs changes08:35
alkisgI don't have enough ubuntu commit rights to do a backport, and it's rather painful to seperate all the bug fixes from the rest of the upstream commits,08:35
alkisgso I'm just pushing newer LTSP versions for 12.04, 14.04 etc to the Greek schools PPA08:36
ricotzalkisg, I see, I will keep an eye on that PPA!08:36
alkisgIt's very well tested, thousands of schools are using it08:37
ricotzalkisg, thanks!08:38
apwisn't ltsp the thing that makes up edubuntu, well i guess we should call the ex-edubuntu08:40
apwalkisg, ^08:41
alkisgLTSP was a big part of edubuntu, but the soul of edubuntu was to be a community of people that cared about using ubuntu in education, reporting issues with educational packages or mainting them etc08:41
alkisgLTSP is still being used quite a lot, e.g. map of half of the Greek schools using Ubuntu+LTSP: http://www.ltsp.org/stories/widget-map/?location=Greece08:41
alkisgThe other big part of edubuntu was that it was using the gnome-flashback session, I've just sent a mail to the gnome-flashback mailing list to ask if anyone's interested in co-maintaining it or releasing a gnome-flashback-based flavor of ubuntu08:44
alkisg(gnome-flashback performs much better in old hardware or ltsp thin clients - while ltsp fat clients work fine with unity as well)08:44
apwalkisg, http://people.canonical.com/~apw/lp1259861-xenial/09:03
alkisg:) Thanks a lot apw!09:04
alkisgapw, that kernel doesn't have the 10 sec timeout issue, all is well, client booted in 12 secs :)10:10
apwalkisg, ta, please add that info to the bug, the fix is committed already10:37
alkisgOK10:42
alkisgDone10:46
=== alkisg is now known as alkisg_away
pesariI guess this is asked frequently but since I couldn't find an answer:  Will Xenial have kpatch live patching?13:07
cyphermoxogasawara: who can I talk to about validating modules for Secure Boot in the kernel?15:02
ogasawaracyphermox: I think apw would be your man15:02
cyphermoxok, thanks!15:03
apwcyphermox, hi15:03
cyphermoxhey!15:03
cyphermoxso I'm thinking we're at the point where we have the necessary tooling in userland to support not loading unsigned modules in the kernel, unless things are explicitly "disabling" secureboot, either because it's disabled outright in the BIOS, or because shim has its validation disabled15:05
cyphermoxactually, wait a second, I think we're still missing something *sigh*15:07
* apw listens15:07
cyphermox>.<15:11
cyphermoxso, how does the kernel currently check signing of the modules?15:11
rtgcyphermox, there is no enforcement, it just complains. there is a config that we need to enable to do enforcement.15:12
cyphermoxright, but do you know where the verification gets done?15:13
rtgcyphermox, in the kernel at insmod time15:14
cyphermoxI want to verify that it would do the right thing if validation is disabled in shim15:14
rtgcyphermox, I don't think it will without a patch. 15:14
cyphermoxright15:15
cyphermoxwhere's that code?15:15
rtgkernel/module.c and kernel/module-signing.c I think15:15
apwi think we need to ask shim and i don't think we have a way to do that right now15:33
apwi beleive we have the shim callbacks because they are in the boot-sevices space right ?15:33
apwat least until we junk those15:33
rtgapw, isn't that what we talked about with slangasek awhile back ? A MOKMAN variable that the kernel queries to determine if we're really in secure boot mode ?15:34
apwrtg, indeed, its possible it has hit mainline when we weren't looking of course15:35
apwi can't say i've been keeping track15:35
rtgnor have I15:35
rtgcyphermox might have some idea15:36
apwcyphermox, are you hoping to do this for 16.04 15:36
apw?15:36
rtgapw, I think the goal is to turn on module signing enforcement for 16.0415:37
rtgthey are cutting it kinda close15:38
apwrtg, fine?  we are i beta freeze, fine is some weeks back15:39
apwwe have like 4 weeks, like 3 uploads15:39
rtgI was somewhat tongue in cheek15:40
cyphermoxapw: I was, yes15:41
cyphermoxit would be MokSBState I think15:42
cyphermoxI'll look in a but15:43
cyphermox*bit15:43
rtgcyphermox, is that already in the shim ?15:43
cyphermoxrtg: yeah, that's already in shim15:43
rtgcyphermox, ok, so _all_ you need is a config patch and a patch to read that variable ?15:44
rtgwhich controls implementation of signed module enforcement15:44
cyphermoxI guess?15:45
cyphermoxI would have to look at the code, and I will in a minute15:45
rtgcyphermox, (and a bunch of testing)15:45
cristian_cjsalisbury: hello15:48
* apw butts out and leaves rtg to it15:54
=== alkisg_away is now known as alkisg
slangasekcyphermox: is MokSBState the boot services variable or the one mokmanager uses to control it from userspace?16:29
cyphermoxit's the boot services variable16:30
slangasekok16:30
slangasekso yes, that's the one the kernel should honor16:30
cyphermoxmokutil sets MokSB, which MokManager reads and sets MokSBState , etc.16:30
slangasekassuming the kernel is able to access it16:30
cyphermoxright16:30
gpiccolihello, sorry to bother you! I have a question regarding memory management in kernel. More specifically, I wanna know how the value min_free_kbytes is set by default17:37
gpiccoliSeems to me it's related to the total amount of RAM, like a percentage17:37
gpiccoliIs it platform specific?17:37
gpiccoliThanks in advance for attention17:37
gpiccoliI might have found the function that is generating this value: set_recommended_min_free_kbytes17:45
gpiccolithe name says it all hehehe17:45
apwgpiccoli, i beleive it is a percentage but on a sliding scale with larger ram and an upper bound througn into the mix17:51
gpiccoliyes apw, you're right18:06
gpiccoliin fact, another function provides the default value: int __meminit init_per_zone_wmark_min18:07
gpiccolithe algorithm is pretty well explained there18:07
cyphermoxrtg: ogasawara: you know that the module verification stuff needs to happen on every release right?  so multiple SRUs18:26
cyphermoxslangasek: ^18:26
rtgcyphermox, do you men for releases prior to xenial ?18:27
rtgmean*18:27
cyphermoxyes18:27
apwcyphermox, on every release ?  why so ?18:27
cyphermoxI mean for *all* releases18:27
slangasekapw: because this is a flag day for our SecureBoot policy and we can't be signing new kernels for old releases with the new signing key18:27
cyphermoxbecause we'll eventually change the signing key and the will affect all releases and we need only the new policy (signed everything) to apply18:28
slangasekbasically, until we are able to update the module verification policy on all supported releases, there is no point in us rotating signing keys for this18:28
apwdo we have the infrastructure for this back in P ?18:28
slangasekwhich means anyone can always downgrade security of the signature checking by booting an old bootloader, or an old kernel, or18:28
apwslangasek, i assume the rule is you have to turn off secure boot to use dkms in the first stab18:30
slangasekcorrect18:30
slangasek"Turn off" via Mok18:30
apwslangasek, and presumably we have to confirm like kexec is disabled at least when SB is enabled 18:34
slangasekapw: I seem to recall we discussed that was a requirement, yes18:35
cyphermoxslangasek: I pointed apw at some patches18:41
=== alkisg is now known as alkisg_away
genkgojsalisbury: see you were posting in the vss backup thread19:02
genkgothought to join here, maybe you have more questions19:02
genkgoalso just replied with answers to question you had19:03
jsalisburygenkgo, I'll review your reply now.  I can easily reproduce the bug and it's been going on for way too long, so it has to be figured out.19:04
genkgojsalisbury: hehe, tell me about it19:04
jsalisburygenkgo, one way to work around the bug is to shut down the VM and then back it up, but that isn't easily done in the real world.19:04
genkgojsalisbury: yeah, i read something about offline backups, but cannot do, unfortunately19:05
genkgojsalisbury: what i don't get is the microsoft attitude19:06
genkgoi mean, i get that linux is not their top priority19:06
jsalisburygenkgo, yeah, I have no control over that, sorry.  I'll dig in the best I can, but some bits I don't have.19:06
jsalisburygenkgo, That's why I asked about all the different versions of the different pieces 19:07
genkgojsalisbury: if there is anything i can do, please let me know19:07
jsalisburygenkgo, I sure will.  I'm going to focus on this specific bug for a bit and try to figure it out.  19:08
genkgojsalisbury: but regarding the different versions, trash1-z did mention something Redhat was hit too19:08
genkgohttps://social.technet.microsoft.com/Forums/office/en-US/cfe15e32-bfbc-47e0-8d2b-382a1293b9aa/vss-issues-with-centos-66-x64?forum=linuxintegrationservices19:08
genkgobut maybe that is different19:09
genkgobecause there is nothing on read-only in there19:09
genkgothat is more related to sudden restarts19:09
jsalisburygenkgo, What is puzzling to me is CentOS based on the 3.10 kernel does not hit the bug, but 12.04, based on the 3.2 kernel hits it.19:10
genkgojsalisbury: yeah, but it could also be our i/o19:10
genkgohowever, the original poster on the microsoft forums, also noticed that cent os was not crashing19:11
jsalisburygenkgo, right.  It does take heavy I/O while a backup is in progress to hit it.19:11
jsalisburygenkgo, I think I'm going to get the CentOS release you have and try to reproduce the bug.  If I cannot, I know where to dig.19:12
genkgojsalisbury: right, but the starter of this thread https://social.technet.microsoft.com/Forums/windowsserver/en-US/8807f61c-565e-45bc-abc4-af09abf59de2/ubuntu-14042-lts-generation-2-scsi-errors-on-vss-based-backups and he is also saying "We also have some CentOS based guests running without issues from what we've seen."19:12
genkgojsalisbury: alright, hopefully we can get some results19:13
genkgojsalisbury: regarding our difference in i/o, our ubuntu machines are webservers and our cent os machine is exim + dovecot19:14
jsalisburygenkgo, I imagine web servers are mostly read only.  19:15
jsalisburygenkgo, The script I wrote to reproduce the bug is a mix of I/O, but very heavy.19:16
* jsalisbury is hoping I don't destroy my disk :-)19:17
genkgojsalisbury: yes, that is what i am thinking, but there are some cronjobs and workers running in there, so there are jobs to do. but honouslty, that is way lower than your script19:17
genkgohehe19:17
jsalisburygenkgo, Yeah, the script puts the disk at 100% of it's capability.  I pray I don't smell smoke.  I'm going to go head down on this one to wrap it up.19:19
genkgoalright, good luck!19:19
jsalisburygenkgo, Is it CentOS 7 you are running or another version?19:30
genkgojsalisbury: CentOS 719:30
jsalisburygenkgo, great, thanks19:30
cristian_cjsalisbury: hello, again19:33
jsalisburycristian_c, hey, I submitted a patch upstream, but have not gotten a response, I'll do a resend if I don't hear anything in a day19:34
cristian_coh, thanks19:34
cristian_c:)19:35
cristian_cjsalisbury: a question: usually, what is the average time upstream guys reply to a submission?19:35
jsalisburycristian_c, np.  I'll let you know as soon as I get feedback.  I have no reason to think the patch wouldn't be accepted.  It's just slow sometimes.  I'll SRU it to Ubuntu as soon as it's accepted into mainline.19:36
cristian_c(days/week/months)19:36
cristian_cjsalisbury: ok19:36
jsalisburycristian_c, usually days, but if I don't hear back in a week I resend the request19:36
cristian_cok, thanks19:36
jsalisburyanytime19:36
=== alkisg_away is now known as alkisg

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