/srv/irclogs.ubuntu.com/2016/01/21/#ubuntu-kernel.txt

phil__Does anybody here know anything about pam_tally2.so, pam_tally2, and tallylog?00:18
phil__Does anybody here know anything about pam_tally2.so, pam_tally2, and tallylog?01:27
tsimonq2!patience | phil__ 01:48
ubot5phil__: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/01:48
phil__Apologies. I feel I've done a fairly extensive search (even of those forums) and I am simply not finding much. I'll remain patient.01:53
=== rharper` is now known as rharper
=== swordsma- is now known as swordsmanz
hallynWhy is master-next xenial kernel giving me gcc: error: unrecognized command line option ‘-fstack-protector-strong’03:39
hallyn ?03:39
Frogging101-chanI want to append a custom name to the end of the kernel version. But CONFIG_LOCALVERSION breaks the build with the scripts04:03
Frogging101-chanHow am I meant to do it?04:03
dsmythies1hallyn: You are getting "-fstack-protector-strong" becuase you are using an older version of the compiler. Perhaps you are using a 14.04 computer, like me. I just turn it off. Wait a minute...04:17
dsmythies1Hallyn: This is as of Ubuntu kernal configuration for kernel 4.4 series.04:18
dsmythies1hallyn: run this just before you start the compile: scripts/config --disable CC_STACKPROTECTOR_STRONG04:19
dsmythies1hallyn: Or use a new version of the compiler.04:20
Frogging101-chanI compiled GCC 5 on my 14.04-based (Mint 17.2) machine. Kernel compiles mostly fine but I'm having other build issues04:20
hallyndsmythies1: i'm on xenial...04:21
hallynbut i'll try scripts/config --disable CC_STACKPROTECTOR_STRONG - thanks04:21
dsmythies1hallyn: Oh. I thought xenial was suing a new enough version of the compiler.04:22
hallynD'OH!  i bet my environment from an arm cross compiler leaked04:22
hallynsorry for the noise :)  04:22
dsmythies1Frogging101-chan: Are you compiling mainline kernel or Ubuntu version? It has been years since I compiled Ubuntu way, so my notes are old.04:28
Frogging101-chandsmythies1: I used Git to checkout v4.4 and applied the .patch files from here http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/04:28
Frogging101-chanand then I do fakeroot debian/rules do_mainline_build=true binary-generic -j1004:28
Frogging101-chan(after setting up configs and setting the CONFIG_LOCALVERSION among other things)04:29
Frogging101-chanThe CONFIG_LOCALVERSION is what breaks the build; it even says so on some Ubuntu wiki page04:29
dsmythies1I just do this: I never seemed to get things to work with the fakeroot stuff. I just do this: "time make -j9 bindeb-pkg LOCALVERSION=-stock"04:31
Frogging101-chanwhat is the reason to use the debian/ubuntu/whatever (can't figure out where that stuff comes from actually) scripts? 04:32
Frogging101-chanThere seem to be a few different ways to do the same thing and one of them has more caveats04:33
dsmythies1or this: time make -j9 olddefconfig bindeb-pkg LOCALVERSION=-stock     (to just use defaults for any new config stuff)04:34
dsmythies1Someone will correct me if I am wrong, but you need to use the unutnu methods if you are going to submit chnages or use a PPA. I submit upstream, and not often, so only use mainline kernel, building the way I mentioned.04:36
Frogging101-chanah04:36
Frogging101-chanall right04:36
Frogging101-chandoes Ubuntu only patch the config or are there other patches I should apply to get it close to what Ubuntu has already?04:37
Frogging101-chanBecause the existing config can be obtained from the OS as it's running already04:37
dsmythies1Frogging101-chan: For the PPA you referred to, it is just the mainline kernel. And yes, I just steal the ubuntu kernel config after I install the kernel from that PPA. For the real Ubuntu version (not out yet, but there is a PPA somewhere (Ithink)) , there is a lot of stuff done to it, making it different than mainline.04:44
Frogging101-chanwell I've been on Git+config patches for a long time. Whatever I'm missing from the Ubuntu kernel doesn't seem to be causing issues04:45
dsmythies1Frogging 101-chan: I forgot to mention... After stealing the Ubuntu kernel config, run this: "scripts/config --disable DEBUG_INFO" or it will make an enormous kernel and take twice as long to compile.04:54
Frogging101-chanlol04:54
Frogging101-chanthanks :p04:54
Frogging101-chanwhat's that, debug symbols?04:54
dsmythies1Something like that.04:55
=== lan3y is now known as Laney
=== Laney is now known as Guest80303
=== Guest80303 is now known as Laney
peacefulHi, i just found same bug i have: https://bugzilla.kernel.org/show_bug.cgi?id=11045109:50
ubot5bugzilla.kernel.org bug 110451 in Config-Tables "Boot fails on HP 6715s" [Normal,Assigned]09:50
peacefulHow can i contribute to help solve it?09:51
peacefulcant boot laptop with kernel later than 3.19.0-25.2609:57
peacefuli also have hp compaq 6715s09:57
peacefulneed some help to report  bug10:02
apwpeaceful, so on whatever the last working version is, run 'ubuntu-bug linux', that will make a machine specific bug with your details10:05
apwpeaceful, then add the infor that the above version is the latest which works, and point to the upstream bugzilla in there too10:06
apwpeaceful, and then tell me the bug number and i'll find someone to help bisect it10:06
peacefulapw, ok but i see someone already reportred this bug. should i report again?10:07
apwpeaceful, that is an upstream bug, so tracks the fix if any upstream, the ubuntu bug helps us track the fix in ubuntu itself10:07
peacefulapw, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/152938110:09
ubot5Launchpad bug 1529381 in linux (Ubuntu) "[HP Compaq 6715s] Updating kernel renders system unbootable" [High,Triaged]10:09
apwjsalisbury, ^ hey that might be a bisection candidate for you10:09
peacefulthis i found this10:10
apwpeaceful, as our kernel has other stable bits on it, it can be a different fix as well10:10
peacefulhmm so how can i help to existing ubuntu bug report?10:10
apwwell firstly you can mark it me-too at the top, you can also say you have the same issue as a comment10:11
peacefulokay10:12
=== lool- is now known as lool
peacefulapw what means assign to?10:15
apwpeaceful, the assignee is the person who is owning the problem and who you should talk to before working on it (normally)10:16
peacefulshould i assign?10:16
apwpeaceful, to yourself, no it would be an engineer10:17
apwand we don't get much hung up on assigning bugs in the kernel, there are so very many of them10:18
peacefulok10:18
peacefuli just commented i have same problem10:19
apwpeaceful, ok this bug implies he found a commit which causes it, so that is quick to test.  i will produce a kernel based on 3.19.0-26.27 with just the commit removed to confirm that is the issue10:20
peacefulapw, ah okay, thanks i can test it10:20
apwpeaceful, the builder is making it now, it'll be a little while10:21
peacefulapw, no problem thanks10:21
=== Odd_Blok1 is now known as Odd_Bloke
apwpeaceful, http://people.canonical.com/~apw/lp1529381-vivid/11:02
apwpeaceful, ok you will need a linux-image and linux-image-extra for your machine (i386 or amd64)11:02
apwpeaceful, i386 for 32bit and amd64 for 64bit11:03
peacefulapw, thanks11:04
peacefuldo i need linux-headers too?11:04
apwif you don't have dkms packages, then no11:04
peacefulnot sure if i have11:05
peacefulapw, do you work for Canonical?11:06
apwpeaceful, yeah, on the kernel team11:07
peacefulapw, nice :)11:07
peacefulThanks for help i will test right now11:07
apwpeaceful, having some people who are dedicated to these things cirtainly makes it easier to keep on top of11:08
peacefulapw, what's in linux-image-extra package?11:08
peacefulsome kind of modules(drivers)?11:09
apwpeaceful, bits you need on real hardware, linux-image is what you need in a virtual machine11:09
apwso linux-virtual only needs the first half, linux-generic needs both11:09
* peaceful installing kernel11:13
peacefulapw, i have been frustrated with this problem :( i cant install current released linux distros, they have new kernels :/11:14
peacefuland im afraid to upgrade ubuntu11:14
peacefulglad i found someone that has same problem as me :)11:14
apwyeah it is good to not b unique11:15
peacefulim sure all who have hp compaq 6715s experience this11:15
peacefulbut not many are tech guys who know how to report it :)11:15
peacefulapw, to my greatest surprise it booted up!11:20
peaceful3.19.0-26-generic11:20
peacefulSo now i have to wait for latest kernel release to fixed?11:23
apwpeaceful, and if you could say that in the bug, under my call for testing11:23
apwpeaceful, well that commit is applied to upstream stable but it also says we might want to revert it if it causes regressions which it clearly is11:24
apwpeaceful, cirtainly someone need to investigate why it is blowing things up11:24
peacefulapw, ok i will comment that you helped me to fix it11:24
apwpeaceful, comment to say that the kernel in my comment boots for you, that is useful info11:25
peacefulapw, sure11:25
apwpeaceful, of course that is a vivid kernle, so there very well may not be another kernel for it11:25
apwas it goes off support in like 2 weks11:25
apwi also note that -26 is _anchient_ compared to vivid11:26
apwpeaceful, have you tested anything recent at all ?11:26
peacefulapw, yep11:26
peacefulnot booting11:26
peacefuli tested 4.311:26
apwok11:26
peacefulI didnt test 4.4, but guy in that bug report seems to ahve tested 4.411:26
peacefulseems kernels later than 3.19.25.26 not booting at all11:27
apwnow when it doesn't boot does anything happen at all, any kind of error or output11:27
apwif you boot without splash enabled11:27
peacefuli dont see any error11:27
peacefulit kind of stucks sometimes at different text11:27
peacefuland after freezing few seconds later black screen11:28
peacefuland only way to restart laptop is holding power button11:28
peacefulso i have no idea whats causing it11:28
peacefulThere isnt consistency in showing error messages11:28
peacefulIts very strange11:29
peacefulBut you something did and unbootable kernel booted up11:29
apwdepending what that text is, getting a picture may be interesting11:29
apwright we know the commit which broke things, what is breaking whne its there is less clear11:29
apwlikely it is a bios issue, given the nature of the commit11:29
peacefulapw, hmm11:30
peacefulwell originaly this pc came with windows vista11:30
apwthis commit makes it use the 64bit info the bios supplies over the 32bit info, which are supposed to be the same or your bios is broken :)11:31
apwcking, ACPICA global things (like acpi_gbl_use32_bit_fadt_addresses) are they exposed somewhere as changable ?11:32
apwcking, and remind me what the fadt even is ... stupid acronyms11:32
peacefulapw, sorry i dont know :/11:32
peacefulnot sure what it is11:32
peacefuli have 32bit ubuntu now11:33
peacefulThe guy on bug report has 64bit11:33
peacefuleven though hp6715s has Amd sempron 64bit processor11:33
ckingFADT - Fixed ACPI Description Table - this defines various fixed hardware ACPI information vita to an ACPI-compatible OS, such as the base address for the following hardware registers blocks11:34
cking*vital11:34
peacefulokay11:34
ckingThe PM register block addresses are 32 bit or 64 bit.  There are ways to determine if the kernel should be using the newer 64 bit addresses (like 32 bit fields being zero)11:35
ckingsometimes firmware gets it broken, e.g. supplying two different 32 bit addresses, one in the 32 bit field in the 64 bit field11:37
ckingpeaceful, the firmware test suite (fwts) can check for a broken FADT, e.g. sudo fwts fadt -11:38
peacefulapw, ok i commented on both ubuntu and kernel websites11:38
ckingapw, the acpi_gbl_use32_bit_fadt_addresses is not tweakable from user space11:38
apwcking, dman11:39
apwpeaceful, yeah if you could run fwts at least we would know it is bios related or not11:39
peacefulapw, yes im installing fwts11:39
ckinghttps://wiki.ubuntu.com/FirmwareTestSuite/Reference/fadt11:40
peacefulsorry guys what was the command to pastebin straight trough terminal?11:40
ckingpastebinit ?11:41
ckingpeaceful, also output from "sudo fwts acpidump -" would be useful11:41
peacefulso the command would be sudo fwts fadt - | pastebinit ?11:42
ckingi think so11:42
peacefulsomehow not working: Bad API request, invalid api_dev_key11:43
peacefulok ill do it manually11:43
peacefulhttp://paste.ubuntu.com/14589657/11:44
peaceful"sudo fwts acpidump -" : http://paste.ubuntu.com/14589663/11:45
peacefulhope it helsp11:46
apwcking, so i think fwts says it is fine, but the kernel blows chunks on it :)11:49
ckingapw, yeah, well, there is a lot of stuff to check ;-)11:49
peacefulIf i can help giving me you more info just say:)11:51
* cking eyeballing the commit, kernel source and fwts output11:53
ckingOK, so there is a bug in the firmware, 32 bit PM2 control block address is 0x00008800, where as the 64 bit PMS control block is 0x000000000000810011:56
ckingso the bios has got the 64 bit address wrong, hence the crash. There kernel has to follow what it is given, and the bios is lying on the 64 bit address11:57
ckings/PMS/X_PM2_CNT_BLK/11:57
soee_how is the work on 4.4 going ? :)12:00
ckingapw, there should be a acpi_fadt_use_32_bit=[0|1] option, sigh12:01
peacefulcking, yeeey!12:04
ckingapw, so if that fix is reverted, it probably breaks one lot of machines that get the 32 bit variant wrong, where as the commit breaks machines that get the 64 bit variant wrong.12:05
ckingmeanwhile, I'll get fwts fixed up to detect this discrepency.12:05
ckingpeaceful, can you run "sudo fwts --dump" and pastebin the acpidump.log just for reference.12:06
peacefulcking, sure12:07
peacefulcking, where that file is being saved?12:08
ckingpeaceful, hopefully in the directory you run fwts in12:08
peacefulah yes sure12:09
cking:-)12:09
peacefulhttp://paste.ubuntu.com/14589797/12:10
peacefulin case you need:12:12
peacefuldmesg.log: http://paste.ubuntu.com/14589807/12:12
peacefullspci.log: http://paste.ubuntu.com/14589809/12:12
peacefuldmidecode.log: http://paste.ubuntu.com/14589814/12:13
ckingthanks peaceful.12:15
ckingapw, so is a revert on that patch the way forward?12:15
peacefulcking, thanks you too12:15
apwcking, well the problem is the patch was applied in 3.19 and is still there unreverted, so now there is a lot of precident of it being that way round on newer kit12:44
smoserhey. looking for some guesses14:30
smoserwe boot maas on iscsi root using an 'ephemeral image'.  http://maas.ubuntu.com/images/ephemeral-v2/daily/trusty/amd64/ .  In latest daily image 20160119 shutdown fails.  I believe the previous ( 20160114.4/) worked fine.  The manifest diff between the two is http://paste.ubuntu.com/14590395/ .14:30
smoserI see on the console of hung system http://i.imgur.com/qEFH4MN.jpg .14:30
=== jdstrand_ is now known as jdstrand
beisnersmoser, similar for me with trusty + trusty kernel http://i.imgur.com/oKzFqvD.jpg14:55
smoserbeisner, you're on iscsi root also, right ? thats commissioning or install environment of maas ?15:33
beisnersmoser, deploying node from maas ui or from juju.15:44
smoserright.15:45
peacefulHi everyone!15:48
peacefulapw, cking any news about my laptop kernel problem? :)15:49
peacefuloops15:49
ckingpeaceful, i'm building a kernel with a workaround in it and will update the bug when it's all ready15:50
peacefulcking, thanks a lot15:51
ckingno problem15:51
peacefulWill latest kernel releases work on my laptop?15:52
peacefulcking, what do you suggest for me to do for example if I want to install ubuntu 15.10 but it has kernel 3.19.25+ which doesnt boot on my laptop?15:53
ckingpeaceful, lets test you H/W with the fix, and if that works and it is acceptible I will need to get the fix into other releases15:53
peacefulcking, ah ok thanks a lot15:53
apwyeah the wheels of open source grind slow15:55
ckingespecially if we need to test it, SRU it, and release it15:56
peacefulOkay :)16:00
peacefulLooking forward to it :)16:00
ckingpeaceful, check the bug report, it is ready to try out now16:02
peacefulcking, sure thanks16:04
peacefulHi, cking! It works.16:29
peaceful3.19.0-48-generic16:29
ckingpeaceful, excellent. I'll go ahead and SRU this fix. it will take some time to get through to release stage.16:30
peacefulat first i forgot to add "acpi_force_32bit_fadt_addr" in grub cmd line16:30
peacefulit didnt boot, but after addind that line it booted!16:30
ckingyay \o/16:30
peacefulyey16:30
peacefulcking, thanks ;)16:30
ckingno problem :-)16:30
peacefulcking, will this fix be only on ubuntu or other kernels too?16:31
ckingpeaceful, i'll SRU it for Wily and get it into Xenial too16:32
ckingand for Vivid of course ;-)16:32
peacefulcking, thanks a lot16:32
ckingmy pleasure16:32
apwcking, i doub you will sru it for vivid, as vivid is dead16:32
apwor dead before we get a new sru cycle (i believe16:32
ckingapw, can I squeeze the fix in, or is it too late for the final SRU cycle?16:33
peacefulcking, so kind will i need to use override parameter whenever i use new kernels on my laptop?16:33
ckingi forgot it's EOL soon16:33
ckingpeaceful, afraid so16:33
apwhenrix, have we rolled vivid for the last time ?16:33
henrixapw: we have; i expect 3.19.0-48.54 to be the last one16:35
henrixapw: we will continue to support it in trusty16:35
peacefulwill this fix be pushed in mainstream kernel? :)16:35
henrixapw: so, we're still queuing patches for 3.19 in the master-next branch, which will come into the lts-vivid kernel16:36
ckingpeaceful, yes, I'll do that later today if I get some time16:37
peacefulWhat should i comment here? https://bugzilla.kernel.org/show_bug.cgi?id=11045116:38
ubot5bugzilla.kernel.org bug 110451 in Config-Tables "Boot fails on HP 6715s" [Normal,Assigned]16:38
peacefulShould i link your kernel with fix?16:41
ckingpeaceful, please do16:47
xnoxapw, i have run file on the kernel image and it just says that it's a s390 kernel image....16:47
xnoxis that enough test to figure out the image is or isn't compressed?16:47
* xnox is not even sure if compressed kernels are supported.16:48
apwso i think that is "uncompressed" rather then the vmlinuz which is deffo compressed16:48
apwdont think so yet16:48
* xnox goes to figure out what's happening on the rhel16:48
peacefulThanks for help guys17:22
peacefulcking, how long will it take for fixes to go officially?17:27
ckingpeaceful, hopefully end of next week if all goes well17:39
peacefulcking, awesome :)17:44
kfk2It looks like the IPv4 version of static mfc/dev leaks fix (0e615e9601a15) was not applied to the latest trusty kernel (3.13.0-76.120) but the IPv6 version was (4c6980462f32b); was this a mistake?20:52
kfk2I wrote the wrong latest version; I'm looking at 76.12121:20
apwkamal, ^22:31
kamalapw, kfk2 is correct: this commit got missed for 3.13 or 3.19 -stable (the other one had a Fixes: tag that triggered its inclusion).   I'll get it applied:22:46
kamal0e615e9 net: ipmr: fix static mfc/dev leaks on table destruction22:46

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