/srv/irclogs.ubuntu.com/2013/05/21/#ubuntu-kernel.txt

diwiccking, ping08:22
psivaaapw: curious if there is an ETA for the patch you mentioned in bug 110038608:24
ubot2Launchpad bug 1100386 in linux (Ubuntu) "Server installations on VMs fail to reboot after the installations" [High,Confirmed] https://launchpad.net/bugs/110038608:24
apwpsivaa, hmmm, that rings a bell, but i suspect i have lost track of that08:26
ckingdiwic, pong08:27
diwiccking, hi! I've heard you've done some system debugging in your days ;-)08:27
psivaaapw: the issue (the apparent hang) can be seen in saucy as well, so when ever you could find some time .. :)08:27
apwpsivaa, i think it was smb who had the setup to confirm the fix, i will circle with him on it08:27
psivaaapw: ack, thanks08:27
diwiccking, in short, I'm testing some code but for some reason it causes the i915 module (I think, not sure) to hang for ~50 seconds on boot08:28
diwiccking, is there a way to figure out *where* it's stuck in those 50 seconds?08:28
diwiccking, I've done some attempts with "perf top" and "operf" but I can't get them to run properly at boot time08:29
diwiccking, perf top seems to require an ncurses thing and operf just does not seem to want to start, don't know why08:30
ckingdiwic, so at least you have init up and running, hrm.. let me think08:31
diwiccking, so far, I was able to use tracing, I enabled tracing/events/module/* and the last entry before the 50 second delay is "load_module i915"08:32
apwdiwic, have you tried taking a boot chart, and have you tried enabling initcall_debug (kernel command line option) as this also gives you begin end of initcalls for module loads regardless of when08:34
ckingdiwic, or maybe seeing what the kernel is doing with LTTng08:35
apwdiwic, finally have you got a dmesg of a boot which suffered this pause08:35
apwwe may see something in it08:35
diwiccking, LTTng requires a special kernel, right?08:35
apw"in flight recorder mode" ?08:35
ckingdiwic, you may get by using lttng-modules-dkms08:36
ckings/get/get by/08:36
diwicapw, hmm, next attempt will be "drm.debug=0xf initcall_debug=1", that could indeed give something08:36
apwi think it is is just initcall_debug no =108:36
ckingdiwic, so when did this start going wrong?08:36
apwyeah what does your change do08:37
diwiccking, it's development of new code08:37
apwin the kernel, in ?08:37
diwiccking, apw in short, Intel/we are trying to build bridges between the i915 and snd-hda-intel driver for better power saving08:37
ckingdiwic, maybe finding out what bit of new code breaks it would be useful to see why it's triggering the hang08:37
apwdiwic, are you adding new deps between the two modules, could we have some kind of udev loop here ?08:38
diwiccking, well, I know that module_request("i915") is causing the hang, now to trying to understand why08:38
apwdiwic, you might want to install pitti's new udev and see if the issue is still there before trying to hard08:39
apwin case it is one of those things the new udev avoids in its cleverness08:39
ckingdiwic, perhaps for deeper tracing use http://lwn.net/Articles/365835/08:40
* diwic tries the function tracer too08:49
ckingapw, i use http://www.speedtest.bbmax.co.uk/08:51
diwicokay, so the function tracer gives too much data, so I don't see the actual hang, because it's being overwritten by later data08:55
apwdiwic, when it hangs do you have any other modprobes running, it could be a deadlock that way09:28
diwicapw, yeah, I'm thinking something like that09:29
apwyou should be able to see that with ps pretty easy09:30
apwor in the udev log it keeps during boot maybe, perhaps pastebin /var/log/udev and dmesg so we can look09:30
diwicapw, what determines if two modprobes can run in parallel or not?09:30
apwdiwic, that is a good question, there used to be some periods during which only one could run, but i did think they got rid of most of them now09:30
* apw wonders if diwic is even here09:58
diwicapw, I am09:58
diwicapw, indeed there are modprobes in parallel09:58
apwcan we see the udev log and dmesg, would give us something to look at, and the ps please09:59
apwwhat are they09:59
diwicapw, I'm using this as a method to learn kernel debugging, that's why I'm trying to analyze it myself, but in short09:59
diwicapw, udev kills the i915 modprobe after ~50 s with a syslog message (or was it dmesg)10:00
apwcool for learning, if you show us those things we promise to tell you what we find and why it is relevant :)10:01
apwwhat was the other modprobe ?10:01
diwicapw, snd-hda-intel is in a modprobe itself, and it tries to load i915 from its own modprobe10:01
diwicapw, which starts a new modprobe10:01
apwok, did you add that yourself ?10:02
apwie does your _init do like a request_module ?10:02
diwicapw, it's the .probe that does a request_module 10:02
apwit that occurs in the context of the _init (and from the hang i assume it does) i think that is not allowed (tm)10:03
apwyou presumably want to load that module to run things in it, i wonder if you can just reference them directly10:03
apwso that the module dependancy loader figures it out ... or are you trying to make it independant ?10:04
apws/independant/dependant on h/w found 10:04
diwicapw, maybe switch to a private channel as this is prerelease hw10:04
apwdiwic, ack10:04
ppisatiFYI: http://lists.randombit.net/pipermail/cryptography/2013-May/004225.html12:28
ppisati[cryptography] skype backdoor confirmation12:29
ppisatiok, this one has more details:12:29
ppisatihttp://lists.randombit.net/pipermail/cryptography/2013-May/004224.html12:29
caribouquick question : has kexec been disabled on secureboot kernels ?12:44
caribouwell, signed kernels12:44
apwcaribou, not deliberatly, it doesn't need to be because before we get to that point we have closed boot services12:48
apwcaribou, that said it is not clear that kexec can work as well in that environment as we have close boot services so you can only have a normal style boot from there12:48
caribouapw: ok, I vaguely remembered a discussion where kexec wouldn't work 12:49
caribouapw: but maybe this is done in kexec itself, not a kernel build option12:49
apwcaribou, well it cannot call the 'efi secure mode' entry point, so we cannot do all the same quirking you might use in the normal run of the boot12:50
caribouapw: just testing kdump on Quantal on a vmlinuz...signed12:50
caribouapw: ok, thanks12:55
apwnp12:57
psivaajsalisbury: i've updated bug 1181315 with the result of using the upstream kernel that you asked to test13:00
ubot2Launchpad bug 1181315 in linux (Ubuntu) "unregister_netdevice: waiting for lo to become free. Usage count = 2' is reported and causing kernel hang when floodlight tests are run using utah" [Medium,Confirmed] https://launchpad.net/bugs/118131513:00
jsalisburypsivaa, great, thanks.  I'll take a look shortly.\13:01
psivaajsalisbury: ack, thanks13:01
apwjsalisbury, is that a base issue that smb has looked at, i have a real feeling of deja-vu with that symptom, and a feeling smb was looking at something related to it in the past (some time ago)13:10
rtg_apw, I had trouble with this when entering and exiting containers, but that was a few versions ago13:11
jsalisburyapw, hmm, it could be. I'll check with smb when he's online13:11
apwthere looks to be some openvswitch in the mix here, so ick13:11
apw[  480.492344]  [<ffffffff815b490c>] copy_net_ns+0x8c/0x13013:11
apwso it is entirely possible they are using namespace containers here13:12
* apw lunches13:13
apwjsalisbury, do we have any specific wiki docs on disabling the abi checks ?13:59
jsalisburyapw, not that I know of off the top of my head14:00
bjfapw, we do but i think they are buried on one of the pages14:00
bjfapw, looking14:00
bjfapw, https://wiki.ubuntu.com/KernelTeam/KernelMaintenance   ABI section14:01
bjfapw, https://wiki.ubuntu.com/KernelTeam/KernelMaintenance#ABI14:02
apwbjf, ahh thanks14:06
apwbah why do kernel questions get asked on #ubuntu-devel more often than on here14:11
=== kentb-out is now known as kentb
rtg_apw, uploaded linux_3.10.0-0.1 to ppa:kernel-ppa/pre-proposed for DKMS testing14:43
jsalisbury**15:04
jsalisbury** Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting15:04
jsalisbury**15:04
jsalisburyhttp://reqorts.qa.ubuntu.com/reports/kernel-bugs/reports/_kernel_stable_hot_.html15:33
apwjsalisbury, hrm i assume my fookage occured at just the right time to miss this15:48
apwjsalisbury, 1100386 -- Server installations on VMs fail to reboot after the installations -- that one is one i am actually working on today15:49
jsalisburyapw, heh, yeah.  Don't worry, only one bug was assigned to you 15:49
apwjsalisbury, anyhow i hope to have fixes out for that today, just having some "fun" because we have just today shifted from udev to systemd packaging for udev binaries15:50
jsalisburyapw, cool,thanks15:50
apwjsalisbury, just put an update in the bug and nomed it all over the shop15:56
jsalisbury##    15:56
jsalisbury## Kernel team meeting in 5 minutes15:56
jsalisbury##15:56
jsalisburyapw, thanks, nom nom15:57
henrixjsalisbury: i'm confused, are you sure its already 17:00 *UTC*?16:02
jpdshenrix: 1600 UTC.16:02
jsalisburyhenrix, sorry, I'm daylight savings challenged16:02
henrixjpds: yep, that's what i thought. thanks :)16:02
jsalisburyThe meeting is in an hour16:02
jpdsjsalisbury: o/16:02
rtg_jsalisbury, just uploaded pciutils for saucy. try installing saucy on that SDP in awhile to see if lspci recognizes the Broadcom gizmo.16:22
jsalisburyrtg_, will do16:32
jsalisburyrtg_, Will pciutils be included if I just build the latest Saucy tree?16:32
rtg_jsalisbury, it is a separate package from the kernel16:33
apwjsalisbury, i think he is saying you can just upgrade pci-utils once it is built16:33
jsalisburyrtg_, apw, ahh right16:33
jsalisburyrtg_, my external usb keyboard/mouse breaks on that system with 3.10-rc1 and rc2, but works on 3.9, so I'll also bisect that16:37
jsalisbury<jsalisbury> ##    16:56
jsalisbury<jsalisbury> ## Kernel team meeting in 5 minutes16:56
jsalisbury<jsalisbury> ##16:56
=== jsalisbury changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Ubuntu Kernel Team Meeting - Tues May 28th, 2013 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
* rtg_ -> lunch17:19
infinityBenC: *nudge*17:39
infinityBenC: So, all that's left to do on #1181305 is for you to do some install/reboot smoketesting with the binaries in -proposed on a couple of machines and let me know if they're horrificially broken.17:40
infinityBenC: I'll test powerpc64 on my POWER5.  Not sure I want to disrupt my firewall to test powerpc32, but if 3 out of 4 flavours are good, we're probably in good shape.17:41
infinityBenC: Then we twiddle the regress-testing task, and wait patiently for master to pass its more extensive testing.  Once master is ready to promote, the bot with automagically mark ppc ready too (if we've done all our bits).17:42
infinitys/with/will/17:42
apwrtg_, ogasawara, i have just merged kernel-wedge from debian, minimal changes, but just in case fyi18:04
rtg_apw, ack18:04
* apw relocates to a more comfy location18:06
BenC infinity: works for me on ppce500mc18:38
marvin24hi18:46
marvin24does anything speak against enabling ARCH_TEGRA in 3.10?18:47
marvin24it has been converted to multiarch18:47
rtg_marvin24, can't see why not.18:47
marvin24well, it could harm, but there is still plenty of time to test ...18:48
rtg_looks like there are plenty of tegra models supported18:49
marvin24yes, all reference boards and some others also18:49
marvin24so we get tegra2/3 and 4 support and ~10 boards18:50
marvin24or 1518:50
infinityBenC: Kay.  I'm doing a glibc build on my POWER5 to look for testsuite regressions, I figure that's a reasonably sane kernel test. :P18:55
rtg_marvin24, I does not appear that you can enable CONFIG_TEGRA with trashing CONFIG_ARCH_MULTIPLATFORM19:12
rtg_without*19:12
marvin24rtg_: urg19:26
marvin24rtg_: will check19:26
chilukHey guys I've been working on https://bugs.launchpad.net/ubuntu/+source/ncpfs/+bug/103522620:12
ubot2Ubuntu bug 1035226 in ncpfs (Ubuntu) "Can't remove directory from NCP server" [Undecided,Confirmed]20:12
chilukwhich is actually an upstream kernel bug as well.20:12
chilukI've bisected the commit using lucid to 1d2ef5901483004d74947bbf78d5146c24038fe720:12
chilukusing mainline-build-one 1d2ef5901483004d74947bbf78d5146c24038fe7 lucid.20:13
* rtg_ -> EOD20:13
chilukhowever when I run mainline-buildone 1d2ef5901483004d74947bbf78d5146c24038fe7 precise, and test on precise rmdir works, but rm -rf fails with device busy.20:14
hallyni have /proc/locks showing me 1: FLOCK  ADVISORY  WRITE 20035 00:12:10525 0 EOF.  task 20035 which locked inode 10525 no longer exists.  how can i tell which task is holdign that fd open?20:14
chilukhallyn  task 2003520:15
chilukbut it no longer exists.20:15
chiluklocks need to be unlocked.20:15
chilukiirc20:15
hallynbut whenthe task exits the fd should be closed, and then (flock manpage claims) flock is released20:15
chilukunless the process gets killed or exits badly.20:16
hallynso long as it isn't stickign around as a zombie, i would expect the cleanup gets done int he kernel no matter how the task dies...20:17
hallynor does flcok cleanup happen in userspace?20:17
* hallyn goes rooting through fs/locks.c20:18
chilukthe lock release should probably get initiated from userspace.20:18
chilukor even the close for the at matter20:18
chilukso anyone have any clue why building the same commit id for lucid works where building it for precise fails?20:19
josephtjsalisbury: bug 1180513 has been updated20:25
ubot2Launchpad bug 1180513 in linux (Ubuntu) "lid close actions are ignored laptop always suspends" [Medium,Confirmed] https://launchpad.net/bugs/118051320:25
chilukhallyn does lsof or fuser return anything useful?20:36
hallynchiluk: oh, i think i've found it.  debootstrap seems to be firing off a running udev21:06
hallynstgraber: ^ this is bad.  presumably due to the saucy udev change...21:07
* hallyn does one more run to verify...21:07
stgraberhallyn: hmm, yeah, that could have been triggered by the new udev, blame pitti :)21:09
hallynstgraber: trivial to reproduce now:  ( flock -x 200; debootstrap saucy xxx; ) 200>/tmp/zzz21:10
hallynstgraber: markd it as affecting udev.  as per usual, i expect to get smacked over it before it's all over :)21:35

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