/srv/irclogs.ubuntu.com/2015/10/26/#ubuntu-kernel.txt

kharnovhi, is it known that the 64-bit builds aren't being uploaded to the mainline kernel PPA?02:04
kharnovfor instance, the 4.2.4 release: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2.4-unstable/02:05
TJ-kharnov: Yes, there's build failures02:23
kharnovoh, i see02:24
kharnovwhen they're fixed, will the missing packages be uploaded?02:24
TJ-kharnov: it's all automatic. You can see the build logs in the web-server directory 02:24
kharnovoh, okay02:26
kharnovis the fix currently being worked on?02:26
TJ-I believe apw is looking at it02:27
kharnovokay, thanks02:28
kharnovthe other thing i'm wondering, is: if i build the kernel locally, do i need to use the ubuntu configs? what happens if they aren't used? (i'm on ubuntu MATE)02:29
kharnovi built 4.2.4 myself and followed the instructions from the wiki page, including using the ubuntu configs02:29
TJ-It makes sense to use those configs, to ensure it doesn't surprise userspace :)02:30
kharnovah02:30
kharnovwhat's the worst that could happen? :P02:30
TJ-You spend a few hours tracking down weird bugs?02:31
TJ-oh, sorry, that's the best. Worst is it eats the hard disk :D02:31
kharnovlol02:32
kharnovi'm new to this whole kernel building business but i'd like to learn more02:32
kharnovis it really possible to optimize performance by setting some kernel options before building?02:33
TJ-It can be a lot of fun, there's always something new to learn from the codebase02:33
TJ-Sure, remember the Ubuntu kernels are built to cover a very wide range of devices and CPUs. If you build for a single hardware specification you can likely configure to leave out stuff that it doesn't have, and use optimisations for things it does have but others don't02:34
TJ-I'm think of the hardware support for NI-AES crypto primitives02:34
TJ-There's lots of other similar features02:34
kharnovi wonder if anyone's made a script that compares your hardware to kernel options and suggests things that can be disabled that you don't use02:36
TJ-look at the kernel Makefile. There are some targets for matching the config to the host system although they've escaped my memory right now02:37
kharnovoh neat, i wasn't aware of that, thanks02:37
kharnovis it also possible to stop the debug symbol package from building? that thing takes an eternity02:38
TJ-That's part of the debian/rules targets; I think there's an ENV override for it02:40
TJ-kharnov: "skipdbg=true" for  debian/rules.d/2-binary-arch.mk02:48
kharnovthanks!02:49
Tobias_79Hi, I recently ran into a bug in the kernel OOM killer that repeadtedly caused complete system freezes when a cgroup went out of memory (trusty, kernel 3.13.0-66), the problem is described here: https://community.nitrous.io/posts/stability-and-a-linux-oom-killer-bug is there any chance that the fixes from kernel 3.14 will be backported to the trusty kernel?11:00
apwTobias_79, if you have a clean set of commits needed to avoid the issue, and you have the ability to reproduce and confirm it fixed, then yes there is every chance.  you would want to file a bug against the kernel "ubuntu-bug linux" and put all the details in it; and drop the number in here11:06
apwthat will let us find out if they are on their way to stable etc and see whats waht11:07
tseliotapw: apparently the problem with fglrx dying in 15.10 is being caused by gcc 5 (or rather by the blob being incompatible with it, I imagine). Forcing gcc 4.9 is going to be ugly12:05
apwtseliot, oh goody12:05
apwthat sounds like a whole heap of fun12:05
tseliotso, yes, the kernel patches were ok12:06
apwand if the calling convention is incompatible from gcc-5 code to the blob, then if you compile the gpl shim with gcc-4.9 it will be as incompatible with the kernel12:06
tseliotit actually seems to work here12:06
apwwell that kinda is illogical12:07
tseliotI'm well beyond logic at this point12:07
tseliotthere is a check in the fglrx driver that makes sure that you build with the same gcc version as the one used for the kernel12:08
tseliotbut I clearly remember having to override that during the transition to gcc 512:09
tseliot(as, somehow, it complained about a mismatch)12:09
apwyeah though, really that is a scarey idea, as is proven by the fact you cannot use it to link to the blob12:09
apwbut i guess if it "works" what can we do12:09
tseliotI'll see what the engineers at AMD say but, in the meantime, it would be good to have fglrx up and running on 15.10 again 12:11
apwindeed12:11
smbbjf, henrix, kamal, jsalisbury, Looking at the daily incoming bugs today there seems to be some "hanging" in 4.2/wily that feels more prominent. One that involves the e1000e at least had some usable hint and I added a test kernel there. The rest I am not sure, yet12:25
rtgapw, I'm gonna sync Xenial zfs-dkms from upstream, then forward port the Wily ZFS patches to the Xenial kernel which should quite breaking your amd64 builds.13:16
rtgquit*13:16
apwrtg, i've pushed a fix to unstable for that, to let mainline builds turn it off13:16
apwrtg, also i have two fixes for linux-zfs to fix the two ftbfs's13:17
rtgapw, ok, I'm gonna have to rejigger the whole mess though13:17
apwthe delta is applied in the bootstrap ppa i think13:17
apwrtg, why so ?13:17
apwremember that linux-zfs is being developed in sync with debian13:17
apwin step (not sync)13:17
rtgapw, config/build/install ordering is a bit different in Xenial then what it should be (IIRC)13:18
apwanyhow, assuming that you have do_zfs in the new way, then the bits i pushed to unstable should still work13:18
apwregardless of what you do to the patchy bits13:18
rtgapw, so who is upstream on zfs-dkms ?13:19
rtgI've just been following the upstream SPL/ZFS repos. 13:20
rtgthere are some patches there that will enable zfs-dkms to build against a 4.3 kernel13:20
apwrtg, that is a good question to which i have to refer you to cking, which doesn't work13:20
apwwhy are you trying to pull this zfs dkms bits back into wily btw, i thought the agreement was we used dkms in wily13:21
rtgapw, technology preview. some of the cloudy dudes thought it would be a good idea13:21
rtgbesides, the zfs-dkms in Xenail wouldn't build against a 4.3 kernel13:22
apwrtg, its not clear we can pull in a new feature like that into wily without approval13:22
rtgapw, as a new driver in the kernel I believe it satisfies SRU13:23
apwrtg, i would expect we'd need to update linux-zfs in xenail yeah13:23
rtgapw, which is my plan for today13:23
ogasawarartg: just to clarify, you're going to SRU some ZFS DKMS updates into Wily?13:39
ogasawarartg: heh, I of course ping you right when you dropped...I just wanted to confirm/clarify, you're going to update zfs-linux (ie ZFS DKMS pacakge) for Xenial, and then SRU those same updates for zfs-linux in Wily?13:45
rtgogasawara, I could, but shouldn't have to for quite awhile. at least not until Xenial becomes an LTS kernel.13:46
rtgogasawara, I'll do it in Xenial zfs-dkms first, then backport them13:47
ogasawarartg: ah, I understand it now.  I was confused as to why you were updating bits for Wily.13:47
ogasawarartg: although, I don't think you will have to SRU anything13:49
ogasawarartg: because Wily won't have an HWE kernel, and I didn't think we were going to backport it to Trusty13:51
ogasawarartg: if you want it in an LTS, you'd have to go with 16.0413:51
sforsheertg: do you know where this commit in linux-firmware came from? 27e49fa UBUNTU: SAUCE: ath10k: Add firmware14:32
rtgsforshee, checking14:33
smoseris there some doc on how someone would go *back* after having done:14:33
smoser sudo apt-get install linux-generic-lts-vivid14:33
smoseri can come up with it myself, but wondering if there is official documentation describing how to get back to the hwe-t kernel.14:34
sforsheertg: it partially conflicts with some recent upstream stuff, so I'm wondering if I can just drop it14:34
sforsheebut there's no hints as to where it came from or why we applied it14:35
rtgsforshee, I don't even know who committed it.14:35
rtg(though it likely was me)14:35
sforsheeyeah, that was my guess :-)14:35
rtgsmoser, none that I know of14:36
sforsheertg: I guess I'll just email Kalle and find out what files we actually need14:37
smoserman. thats gonna be a mess to do too14:37
rtgsmoser, is it a common case ?14:38
smoserprobably not. but on ppc64el it could become more common.14:38
smoseras maas installs would end up with hwe-v (because "bare metal" really sucks with hwe-t, quite often not booting)14:39
smoserbut kvm guests hwe-t is fine.14:39
smoserso i'd like to document how you'd get back to hwe-t in a sane fashion14:39
smosersudo apt-get --purge remove "linux-(image|headers)-generic-lts-(utopic|vivid|wily).*"14:41
smoserseems maybe good14:41
smosershoot. nope.14:42
smoserfwiw, the easiest thing i can come up with is:15:10
smosersudo apt-get install linux-generic 15:10
smosersudo apt-get --purge remove "linux-(image|headers)-(3.16.0|3.19.0|4.2.0)-.*"15:10
smosersudo apt-get autoremove15:10
smosersudo reboot15:10
smoserthe knowledge of kernel versions is annoying, but copy and paste does work.15:10
leftyfbsmoser: FYI, PowerVM also fails with hwe-t15:25
leftyfbbasically, 2 out of 3 modes for Power15:25
smoserdoesnt really change anything.  there is a supported set of use cases that we'd want to have hwe-t support.15:27
smoserleftyfb, does maas support installation of powervm ?15:28
leftyfbsmoser: once the LPAR is created, I think newell has recently got that working, yes15:29
infinitysmoser: FWIW, kvm guests are much happier with hwe-v too.15:40
smoseri have no experience of anything broken with hwe-t15:40
infinitysmoser: Trust me, we have plenty of experience with 3.13 being less stable than 3.19 on the buildds. ;)15:40
smoserand if i were a "real user", i'd prefer 5 years support to much less.15:41
infinityYes, there's that.  But unless we can get all the 3.13 bugs fixed, 3.19 is definitely the better option right now.  hwe-x will likely be the best option soon.15:41
infinityWell, "soon".15:41
smoserhwe-x is the point at which i think it becomes an easy decision. 15:41
infinityIn 6 months.15:42
smoserright.15:42
smoseraugust 2016.15:42
smoserright ? 8 months.15:42
infinityApril 2016, if we do it right.15:42
infinityBut sure.15:42
infinityGiven it has to be in the archive well before I roll 14.04.5 with it.15:42
smosertrue15:43
infinitysmoser: Anyhow, was just a data point.  I'm with you on prefering LTS kernels, but 3.13 definitely has some nasty bugs we and IBM have thus far failed to nail down.15:43
smoseris there a bug covering hwe-w arrival in archive ?15:43
infinitysmoser: But they tend to only pop up under heavy and extended load (ie: buildd type usage).15:43
infinitysmoser: hwe-w will be this week, probably.  I'm on VAC, but there's only one round of review left before I think we're good to jam it in.15:44
smoserif thats true then i personally would wait https://bugs.launchpad.net/maas-images/+bug/1508565 on that.15:44
ubot5Launchpad bug 1508565 in maas (Ubuntu) "maas uses 3.13 (hwe-t) kernel which does not work on non-virtual IBM power" [Undecided,New]15:44
smoserie, jump to hwe-w rather than hwe-v. if it is available and known quantity15:45
infinitysmoser: Maybe.  3.19 is well-tested and known-good.  4.2 only has the sort of light testing one gets during development, not any production beatings yet.15:45
infinityWe probably should have smacked 4.2 around a bit in scalingstack, but getting scalingstack going at all by the deadline was already painful.15:46
smoserinfinity, glad to see you're enjoying your vacation.15:47
infinity:P15:47
infinityI intend to go enjoy it in a few minutes.15:47
smoseri'm good to stick with hwe-v.15:47
infinityAnd then unenjoy it later.  And enjoy it more later still.15:47
infinitysmoser: FWIW, IBM's also pretty focussed on HWE kernels and point releases.  As in, they ship point releases with HWE kernels on their hardware to customers, etc.  So, I think we need to be even more on the ball about our strongly-worded upgrade messaging for 14.04.5/HWE-X than we were with 12.04.5/HWE-T.15:51
infinitysmoser: And if we're getting all that right, I see no issues with maas installing hwe-* by default instead of the LTS kernel.15:51
smoserinfinity, where does that go ?15:51
smoseri personally am probably never going to see a MOTD message15:51
infinitysmoser: There was some update-manager stuff (obviously useless for servers), I think an update-motd snippet, etc.15:52
smoserand i'm *more* likely than to see that then the average "dev ops" person.15:52
infinitysmoser: I think rbasak also wanted a nagios check/nag, but that might not have happened.15:52
infinitysmoser: Plus we spam mailings lists, etc.15:52
smoseri dont have a good solution, but giving someone a kernel that has 9 months of support and not telling them tehy have to take action to get security upgrades is kind of less than ideal15:53
infinitysmoser: Honestly, I'd rather just forcefully redirect metapackages to force the upgrade, but the last time that came up, Mark vetoed it.  Maybe we can make a case.15:53
infinitysmoser: I think it's irresponsible to leave them with no support and hope they get the message.  A forced upgrade is the less bad of the two options, IMO.15:53
smoseri think that has some merrit.15:53
smosermerit.15:54
smoserhowever you spell that.15:54
infinityogasawara, slangasek: ^-- I think you literally have a meeting about this very topic in 2 minutes.  Do you want me to attend despite my VAC, or do you have it in hand?15:57
ogasawarainfinity: I'm sure we'll be ok, you continue with your vacation15:59
infinityogasawara: Check.15:59
th3s3_3y3sinfinity, tell me something17:47
th3s3_3y3swhere is the official ubuntu bttracker?17:47
th3s3_3y3sI want to find out why my release doesn't work the same way as the official docs expect.17:48
th3s3_3y3sPrudence can presume an official release o work as official docs expect.17:49
apwbttracker ?17:50
th3s3_3y3sbit torrent17:50
apwhttp://torrent.ubuntu.com:6969/ maybe ?17:51
th3s3_3y3sapw, it looks like not every official image is there17:55
apwthat is possible indeed17:57
th3s3_3y3sapw, is it possible to use 'hybrid' mode graphics where the console ttys use framebuffer and the xserver display uses full graphics mode?18:03
th3s3_3y3sI don't want the ttys to be running on the xserver.18:03
apwi think that is normally how it works, we put a framebuffer on a vt, and then X switches the vt into graphics mode18:04
apwcirtinaly we don't use the X server to display vts other than the ones with X on them18:07
infinityYeah, X has nothing to do with VTs.18:07
infinityUnless you're confusing "X" and "drm" where, indeed, most modern framebuffers are drm, but that's all kernelspace, nothing userspace, and no X.18:08
infinitys/drm/dri/?  I forget where those APIs meet.18:08
mjg59drm's the kernel side of things18:24
th3s3_3y3sapw, I can tell there is no graphics change when selecting a VT18:26
th3s3_3y3sNow sometimes there is a pause and the resolution changes.18:26
apwwell that just means both use the same resolution18:26
th3s3_3y3sThis switches instantly.18:26
apwthat tells you little to nothing about what is driving it18:27
th3s3_3y3sIsn't this called modesetting?18:28
th3s3_3y3sSo if I were to switch to a VT the mode of the GPU can go into text only.18:28
th3s3_3y3stext only is framebuffer right?18:28
mjg59th3s3_3y3s: No18:28
mjg59There's VGA text mode18:28
mjg59Which is what you used to get on console VTs back in the bad old days18:29
mjg59X used to do mode programming itself18:29
th3s3_3y3sThere is a kernel source option for "hybrid" gpu's that do this I am guessing ubuntu opts to not use it.18:29
mjg59th3s3_3y3s: Which kernel option?18:30
th3s3_3y3sIt is called something like "hybrid graphics"18:30
mjg59Hybrid graphics usually refers to systems with two GPUs18:31
th3s3_3y3sNo this is for GPU's which have text only mode.18:31
th3s3_3y3stwo GPU's is something that used to be done by hardware hackers and became built in18:32
mjg59If you can find the precise option I can tell you more about it. But otherwise I'm afraid I don't know what you're talking about.18:32
th3s3_3y3smjg59, I can look after the source directory is not in use.18:34
th3s3_3y3sIt mentions something about hercules graphics cards as an example.18:35
mjg59CONFIG_MDA_CONSOLE?18:38
th3s3_3y3sIs that what it explains?18:45
th3s3_3y3sSomething that switches to text only mode.18:45
mjg59No18:45
th3s3_3y3sThe no.18:47
th3s3_3y3ss/the/then18:47
th3s3_3y3sGoing to play quake while waiting for the kernel to compile.18:47
th3s3_3y3sDo you know how to get the hard secret on the first level?18:48
MegaBrutalHi all! Could you please check bug 1509717?19:12
ubot5bug 1509717 in linux (Ubuntu) "Wily LVM-RAID1 – md: personality for level 1 is not loaded" [Undecided,Confirmed] https://launchpad.net/bugs/150971719:12
apwMegaBrutal, that sounds like one of the dm modules is not in the initrd19:14
apwMegaBrutal, when in vivid what module is loaded for it19:14
MegaBrutalapw, how can I check that? lsmod?19:18
MegaBrutalapw, probably this one: raid1                  40960  3 dm_raid19:20
apwMegaBrutal, well that is definatly missing in the 4.2 initrd19:23
MegaBrutalapw, that's no good. What is the solution?19:25
apwMegaBrutal, and they _are_ in /lib/modules ... so most likely an initramfs-tools issue19:26
MegaBrutalapw, who maintains initramfs-tools, who could add the module to initrd?19:28
apwMegaBrutal, i do19:28
MegaBrutalapw, then could you please triage this bug, and assign it to yourself, if you please?19:32
MegaBrutalapw, nothing, I see you already did.19:32
quadrisprojsalisbury, thanks for lp #143911119:40
ubot5Launchpad bug 1439111 in linux (Ubuntu Wily) "Enable full touch support for ELAN0600 touchpad" [Medium,In progress] https://launchpad.net/bugs/143911119:40
quadrisprojsalisbury, works great19:40
jsalisburyquadrispro, np.  I'm in the process of submitting an sru request for Vivid and Wily now.19:40
quadrispro👍 cheers!19:41
th3s3_3y3sWhy doesn't a kernel compile max out the CPU?19:55
th3s3_3y3sHas it to do with the number of threads?19:56
apwth3s3_3y3s, because compiling is a cpu and disk intensive activity, and it is bounded by whichever is slower21:02
th3s3_3y3sapw, usually it defaults to pipe21:18
MegaBrutalDoes Ubuntu 15.10 support kernel live patching for the 4.2 kernel?22:39
MegaBrutalI find no information about this. I only know that 4.0 and newer kernels support live patching, but I heard nothing about how it is utilized by Ubuntu.22:40
TJ-MegaBrutal: "grep LIVEPATCH /boot/config-$(uname -r)" for confirming support; You might want kpatch to create a livepatch module itself. There's a reasonable guide at http://chrisarges.net/2015/09/21/livepatch-on-ubuntu.html22:53
apwbeing able to apply live patches is rather separate to the creation of them22:55
MegaBrutalSo I need to manually make the patch. Many people expect it to work automatically, when you install a new kernel with apt.23:04

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