/srv/irclogs.ubuntu.com/2018/03/14/#ubuntu-kernel.txt

xcyclistUbuntu kernel builds appear to put out a bunch of stuff, .deb files, .udeb files, and a .tar.gz file, that I don't see specified in a document accurately.  Is there a document I SHOULD  be reading, or can I help updating one that is old?01:20
xcyclistI have been using https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel, and for instance it says I should see 3 .deb files instead of dozens of files.01:20
xcyclistPlease advise how I can be most helpful in either asking a question, reading other documents, or updating inaccuracies.01:20
xcyclistI apologize.  I lost my connection.01:31
juerghxcyclist, running 'fakeroot debian/rules binary' (from the wiki page you reference) simply does a build of the binary packages for your currently running architecture (which results in 3 debs). A full official build will result in a whole lot more packages: binaries for all the supported architecture, indep packages, source package, ...07:13
apwudebs for the installer and for x86 a signing tarball08:26
tjaaltonsforshee: ping bug 175250709:21
ubot5`bug 1752507 in linux-firmware (Ubuntu Artful) "add i915/glk_dmc_ver1_04.bin" [Undecided,New] https://launchpad.net/bugs/175250709:21
threshhello.10:01
threshI'm on 4.13.0-36-generic, backported to 16.04, and see this crash/lockup ocasionnally: http://thre.sh/stuff/v05.crash.txt10:05
threshdoes that sound similar to something already known?10:05
sforsheejjohansen, tyhicks: either of you have any ideas about this? https://paste.ubuntu.com/p/JBHVsV9SsZ/13:04
sforsheeit's happening during adt, but only on ppc64el13:04
tyhickssforshee: hey - what's being tested when that's happening?13:16
sforsheetyhicks: I don't think we know, cascardo?13:20
cascardoI am not sure, but it might be apparmor13:23
tyhicksthat sounds reasonable13:23
cascardoor something way before that, cause we don't know exactly when it starts13:23
tyhicksit looks like something is testing/fuzzing the /proc/<PID>/attr/current interface13:24
sforsheethe audit backlog messages start about 1.5 minutes later, possibly these two things aren't related13:25
tyhicksthe "AppArmor: change_hat: ..." messages don't go through the audit subsystem13:27
tyhicksso they're unrelated in the sense that they're not causing the audit backlog issue13:27
tyhicksbut it is still possible that AppArmor is generating the audit messages that are causing the audit backlog issue13:28
cascardoI would disagree13:28
cascardo[121737.681674] audit: type=1400 audit(1520969595.539:16276): apparmor="DENIED" operation="setprocattr" info="current" error=-22 profile="unconfined" pid=7572 comm="bash"13:28
cascardobut, yeah, I also agree that might be a red herring13:28
tyhickscascardo: to be clear, I suspect that something is testing apparmor and apparmor is generating a bunch of audit messages13:29
tyhickswhat problems is it causing? is the testbed failing because of this?13:30
sforsheetyhicks: the test does fail, we're not sure that it's related to all of those messages but it's one of the few leads we've got right now13:30
sforsheerather the vm seems to get hung somehow13:31
sforsheebut I'm also now suspecting that it may be that a test is trying to suspend/resume the vm and that it's dying there13:32
tyhicksneither of those sets of error messages (the ones from AppArmor nor the ones from audit) indicate a dire situation that would take the vm down13:33
tyhicksthey're error conditions for sure but they're handled error conditions13:33
sforsheeok, thanks tyhicks13:34
cascardofrom my little experience with autopkgtest, sometimes the backend will look for the login prompt on the console13:34
cascardoand I thought that was the problem, that so many errors on the console would prevent it from finding it13:34
cascardobut maybe the nova backend is not that broken13:35
tyhicksthat's possible13:35
tyhicksI'd argue that the apparmor error message is mostly useless and should go away13:35
tyhicksthe audit message is important and can't go away13:35
tyhicksso, getting a clear console might not be possible13:35
cascardothat's okay13:36
cascardoI think the problem here is how it would generate that so many messages in that small amount of time13:36
cascardowhen trying to sigstop auditd, I couldn't get that to happen even when writing to attr/current in a loop13:36
tyhickshuh, why is auditd running in the VM?13:37
tyhicksthat's surprising to me13:37
cascardoI got a slightly different behavior as well, a "lost" message as well13:37
cascardoah, I am not saying it was13:37
tyhicksoh, I see what you're saying13:37
cascardothat's just the only thing I thought would have caused those backlog messages13:37
cascardolike: there need to be an open auditd socket, right?13:38
tyhicksthe audit subsystem forwards to the syslog when an auditd hasn't registered itself with the kernel13:38
tyhicksthat's the default configuration on ubuntu13:39
tyhicksI would expect that the test runners would be in that configuration (auditd isn't installed by default)13:39
cascardobut how does it forward that? by the kernel log/printk only?13:40
tyhicksyeah, forwarding is in-kernel13:40
cascardookay, so I got that same TAP13 message as from the ADT log13:42
cascardoright after running the step_after_suspend_test13:46
cascardoand my VM can't respond anymore13:46
cascardowhat is supposed to be waking it up, by the way?13:46
cascardoand nothing seemed to have changed on that test, either from our last kernel or on the testing repos13:46
cascardomore likely, we broke suspend on ppc13:47
apwor worse we made it do something, and the wake up does not work13:47
apwi have this odd feeling we don't run those in adt in some sense13:48
cascardoI could just test it with the older kernel and see how it behaves13:49
apwyeah, the problem is we modify the kernel self tests etc to turn them off, and that can stop working13:49
apwhas done before13:49
cascardojust have to set it up all over again, cause this openstack is broken13:49
cascardoI looked it up, we didn't just turn it on again recently13:50
cascardoso, it should have been running before13:50
ckinghrm, i'm confused, I was sure it was disabled for x8613:50
apwcking thinks we haven;t turned it back on13:50
apwwell this is ppc which is breaking on suspend13:50
ckingmaybe I'm mistaken, a lot changes around here13:50
apwso i am suspicious we should not be running it there either13:50
apwas an unrelaible to wake up test13:50
apwin a VM environment13:51
ckingit maybe that the RTC wakeup is broken in a VM, or it the RTC wakeup is too short, or a bunch of other reasons13:51
cascardohum... it was commented out on 4.15.0-10.1113:52
cascardoand clone didn't work on 4.15.0-11.1213:52
sforsheefrom a previous log which did run to completion, I don't see that test being run13:53
sforsheehttps://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/ppc64el/l/linux/20180221_002951_88802@/log.gz13:54
cascardookay13:55
cascardothat file has changed13:55
cascardoand the sed line is not working anymore13:55
cascardoit's not a += anymore, it's a :=13:56
sforshee\o/13:56
cascardoI am fixing that on the testsuite, then will retrigger it13:56
sforsheeawesome, thanks cascardo 13:57
cascardogotta make sure I write something that will work on new and old kernels13:57
cascardothank you for making me look past the audit backlog thing13:58
tyhicksnice!14:02
cascardonow, let's hope the only problem we see is the kallsyms one14:03
juerghapw, can you please accept the nomination for #1755817?14:04
cascardojuergh: approved14:05
juerghcascardo, thanks14:10
=== himcesjf_ is now known as him-cesjf
xcyclistThank you juergh.  Is there a document with the taxonomy of the different build combinations, both setups, and product files?15:06
* apw doubts we have anything that detailed ... the intent of packages is one thing and one thing only to build in the defined debian/ubuntu build environment15:12
sforsheecascardo: your ppc64el retry finished, the only failure is the expected kernel_symbols_missing17:11
sforsheeI'll add a hint for that, then we should be in good shape to promote17:12
sforsheeapw: the testing for our bionic kernel is all in order but it looks like we need to clear NBS17:45
apwsforshee, i think i did that already, about 15:30 my time17:49
apwbut as it is 17:50 i am suspicious17:49
sforsheeapw: the adt matrix still shows it is NBS17:50
apwsforshee, hmmm, should be resolved there soon, cirtainly britney is now showing it only held by the bug17:50
sforsheeack, ta17:51
cascardosforshee: thanks!18:40

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