/srv/irclogs.ubuntu.com/2018/02/01/#ubuntu-kernel.txt

=== himcesjf_ is now known as him-cesjf
alkisgGood morning everyone.06:11
alkisgWhy do Ubuntu installations under UEFI have both linux-generic and linux-signed-generic installed? Actually, isn't linux-signed-generic enough for any installation, either UEFI or BIOS?06:11
alkisgErm, linux-signed-image-generic depends on linux-image-extra-XXX-generic, which in turn depends on linux-image-XXX-generic. So the packaging prevents us from only having the signed kernel installed. Would that be a bug to be reported?06:37
alkisgI.e. linux-image-extra-XXX-generic should Depend on EITHER the signed or non-signed kernels06:37
=== himcesjf_ is now known as him-cesjf
xnoxalkisg, eh linux-signed-generic is no more than a detached signature, that is attached to an image.07:54
xnoxalkisg, i wonder if we need linux-image-extra-XXX-generic-signed?! =)))))07:55
* xnox thought we do need the image, ah, but i guess the unsigned metapackage is redundant.07:55
xnoxinteresting07:55
alkisgxnox: yes, I believe there's no point in having an unsigned version, but at the very least, allow uninstalling it by fixing the dependency there08:13
alkisg(I mean, an unsigned version could of course be available in the archives, but there's no point in ubuntu ever installing it automatically or even having it in live cds)08:19
=== Elimin8r is now known as Elimin8er
xnoxalkisg, somehow it feels to me that we only want signed kernels, everywhere, even if nothing knows how to validate that on a given arch.08:42
alkisgxnox: sure, that would be fine; I'm not sure if people building the kernel locally can generate them though, so having the unsigned package in the archives will be needed as well?08:43
alkisgPersonally I have no need for the unsigned version...08:44
xnoxalkisg, yes, and well we need one too. Cause we build unsigned one first; then kick of a separate build which creates the signed one.... cause otherwise chicken-egg-problem08:44
mhzlpHi everyone :-) I would like to raise a question here, before starting a launchpad ticket09:16
mhzlpHaving a problem with one of my ubuntu machines. It is giving segfaults when loading specific kernel-modules (vendor-drivers for an isdn-card).09:16
mhzlpOutput of dmesg states "kernel BUG at /build/linux-fOTvIb/linux-3.13.0/arch/x86/kernel", enclosed in a "---[ cut here ]---" block.09:16
mhzlpProblems started with the Meltdown/Spectre mitigation kernel versions, worked fine for years before that. 09:16
mhzlpDo you think it makes sense to submit this as a bug ticket?09:16
klebersmhzlp, Hi! Is this kernel module shipped by Canonical is it compiled out-of-tree?09:18
mhzlpklebers: it is a drivers package which is available for download at the hardware manufacturer. that is why i am asking09:21
mhzlpbut they deliver the source code, so i built it with #139 and #141 kernel versions, but it failed. last working was #13709:22
mhzlpwell not the built itself failed, the loading of the module afterwards did09:24
klebersthat could be either a bug on the kernel itself or a bug on the driver that's causing the BUG to be called09:25
mhzlpthen it would make sense to open up a bug report in launchpad too, right?09:28
klebersmhzlp, yes, please include the full stack trace (the 'cut here' block) and a link to download the driver package09:29
klebersmhzlp, is it possible to reproduce the issue without having the hardware?09:29
mhzlpwill do, also have a strace of the module load prepared. to be honest, i am NOT sure about that, didnt try yet. there is a setup involved for the isdn cards, which afaik has some options for the SNs. Not sure if that would affect the module behaviour09:32
mhzlpthanks for the brief evaluation and the hints so far09:36
apwxnox, always signed> yes, and we have work in progress to fix that, but it was stalled awaiting to find out if older powerpc boot laoders will barf if we switc09:49
xnoxurgh09:50
apwalso it is somewhat back-burnered because of the meltdown debackle too09:50
apwxnox, but yes, there seems to be no obvious reason we cannot ship a single signed binary, well as long as no platform moves to having more than one way to sign09:51
apwxnox, indeed it was my plan-of-record to work on that over the "quiet time" in december ... so much for _that_09:51
alkisgapw: would it make sense to fix the image-extra dependency in the meantime, as it's a small fix? So that people that want to uninstall the non-signed kernel, are able to?09:56
apwalkisg, you cannot, if you remove that you have no kernel to attach the signature to09:57
apwalkisg, the signed package doens't contain the kernel, only the signature, and copies and attached it in postinst09:58
alkisgThanks, looking (something still feels strange...)09:58
apwalkisg, trust me, i wrote that bit :)09:58
apwalkisg, the file /boot/vmlinuz-*.signed is not in apt control09:59
apwwith highsight this was not a good plan, but it was about saving download time as you need to have bot09:59
apwboth on a non-efi system, well ... we only wanted to use the signed one on efi systems09:59
apwto reduce risk when introducing it, now we have experience with it we know it is utterly10:00
apwfine in x86 at least, to boot a kernel with a signature on something which does not understand it10:00
alkisgapw: ok, all is fine, I was thinking that grub would list two kernels etc, but it doesn't, my misunderstanding10:01
apwnope because we did this, we also have to frig grub to hide the duplicate, all in all a poor design choice10:02
apwand one we are going to remedy, likely last decdember, oops10:02
alkisg:D10:02
apwit was actually my number1 priority for 2 days before meltdown was dropped in my lap10:03
apwsuch is the way of teh world10:03
apwthe best laid plans of mice and men10:03
alkisgapw: regarding https://bugzilla.kernel.org/show_bug.cgi?id=198529, there's no response yet from the regression author, yet it affects a whole lot of i5 processors, would we care to fix it downstream?10:03
ubot5bugzilla.kernel.org bug 198529 in x86-64 "Reboot on kernel load due to 92a0f81d" [High,New]10:03
alkisgI.e. 32bit Ubuntu no longer loads on a wide range of i5 processors10:04
alkisgI also mailed him, he didn't respond to that either10:05
apwalkisg, we might have found a fix for that, if it is the same issue that wgrant found a fix for10:15
apwsmb, do we have any test kernels with that 32bit iommu thing appplied ?10:16
smbapw, I have none10:16
alkisgI'm available for testing, please ping me if someone has such a 32bit test kernel at any time10:19
* apw makes one10:19
alkisgty!10:20
apwalkisg, what is your bug number ?10:21
alkisgapw: https://bugzilla.kernel.org/show_bug.cgi?id=198529 => I haven't filed one in launchpad10:21
ubot5bugzilla.kernel.org bug 198529 in x86-64 "Reboot on kernel load due to 92a0f81d" [High,New]10:21
apwalkisg, do you have an ubuntu bug ?10:22
alkisgno10:22
apwsmb, do we have a bug for that patch yet ?10:22
alkisgI can file one if you want10:22
smbapw, there were several (i386) not booting10:22
smbhttps://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1744942, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/174511810:24
ubot5Ubuntu bug 1744942 in linux (Ubuntu Artful) "Lenovo IdeaPad U460 fails to boot with 4.13.0-31.34~16.04.1" [High,Confirmed]10:24
ubot5Ubuntu bug 1745118 in linux (Ubuntu Artful) "Unable to boot with i386 4.13.0-25 / 4.13.0-26 / 4.13.0-31 kernel on Xenial / Artful" [High,Triaged]10:24
smbapw, there was a 3rd one but I am too lazy to search for that one as well10:25
apwsmb, that 118 one looks the most general10:26
smbapw, yes, though the other one was reported first I believe10:26
smbbut on hwe kernel10:27
alkisgI like the wgrant explanation on 11810:27
alkisgThere's a test kernel there10:27
alkisgShould I try it or wait for yours, apw?10:27
apwalkisg, if there is one there, have at it10:27
alkisgComment #14, https://people.canonical.com/~wgrant/linux-image-4.13.0-31-generic_4.13.0-31.34~16.04.1_i386.deb10:28
smbThat probably is already having the fix which he then submitted upstream... or at least close10:29
smbhttps://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/patch/?id=55f49fcb879fbeebf2a8c1ac7c9e6d90df55f79810:31
alkisgYeah that blames the same commit that I blamed all right10:31
apwalkisg, yeah i meant to mention it late last night, and forgot ... that is sounded similar enough to be worth testing10:32
alkisgCurrently installing, will reboot/test in a few10:33
alkisgYup, that fixed it. Thanks apw and smb and wgrant :)10:38
alkisgI'll cross-reference the bug reports10:38
apwwgrant is the man on that one10:38
apwalkisg, so that is intended to be in the next xenial/linux-hwe upload10:38
alkisgVery nice. There are still a lot of instabilities with 4.13, but that one was a show-stopper10:41
alkisgapw, smb, is https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/patch/?id=55f49fcb879fbeebf2a8c1ac7c9e6d90df55f798 accepted upstream, i.e. should I close my upstream bug report now?10:42
apwalkisg, it is very nearly ipstream, it is now in the pti branch which normally goes to linus pretty quick10:44
apwalkisg, i would make sure you reference it in your bug10:44
alkisgty, doing so10:45
=== mamarley_ is now known as mamarley
=== juergh_ is now known as juergh
naccjsalisbury: fyi, LP: #1746818 is more fallout from the 16.04 HWE change to 4.13, if you wouldn't mind triaging22:32
ubot5Launchpad bug 1746818 in smb4k (Ubuntu) "smb4k on Kubuntu 16.04 working no longer with new hwe kernel 4.13" [Undecided,New] https://launchpad.net/bugs/174681822:32
nacc(or someone else more relevant, if i'm wrong :)22:32
TJ-That reminds me of another: Bug #174309422:39
ubot5bug 1743094 in linux (Ubuntu) "[regression] hibernation (freezes on resume) since 4.13.0-25.29" [Medium,Confirmed] https://launchpad.net/bugs/174309422:39
oursland"fakeroot debian/rules binary" fails to build the kernel, giving an error that SPL/ZFS expect a fully built kernel.  Any suggestions to get past this error?23:02
=== mwsb is now known as chu

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