/srv/irclogs.ubuntu.com/2016/04/29/#ubuntu-kernel.txt

Toobsteakhello there everyone ... anyone discussing kernel matters here or am I just not seeing the discussion?  :)05:45
TJ-I'm seeing a strange 16.04 amd64 issue with suspend. After suspending it last evening, kern.log indicates it woke up after every 30 minutes and then went back into suspend. timestamps jump 30 minutes throughout the night until around 06:49 where it wrote a hibernation image, but seems to have immediately woken from the sleep and then lost power.07:49
TJ-The way the timestamps of the pre-suspend/post-suspend are using the wrong time initially is making it hard to debug, any ideas on how to figure this out?07:50
TJ-I've put the logs with bug 157657108:16
ubot5bug 1576571 in linux (Ubuntu) "S3 suspend resume cycle every 30 minutes" [Undecided,New] https://launchpad.net/bugs/157657108:16
apwTJ-, well the only things i know of which can wake you like that is the BIOS EC doing it "deliberatly" or "you" setting the RTC wakealarm08:21
apwTJ-, also I don't believe we trigger hibernate, so could that be one of those BIOS assisted hibernates ?08:22
TJ-yeah, that's what I was wondering but no RTC set although the regularity points to something like that08:22
TJ-well, that's the confusing part. the timestamps for the PM: messages 'jump' every 30 minutes but in between there is logging activity which indicates the system is alive. I'm still 1/2 asleep and not yet made sense of it08:23
TJ-Its' got a pretty reasonable UEFI setup, but there's no sign of ACPI/power related options that could influence this08:24
apwTJ-, pastebin the dmesg, maybe it will make sense in context08:24
TJ-apw: it's in the bug report, kern.log08:24
TJ-actually, just noticed, the kern.log upload is truncated to 1Kib!!08:25
apwTJ-, but i see you are messing with acpi_osi, have you tested without ?08:26
TJ-lol... i ran the kern.log through 'head' to check it... and didn't remove that for the final file write!08:27
TJ-No I haven't - without acpi_osi= some devices are completely missing08:27
apwin this kernel or previous ones, i mean have you tested this 4.4 kernel without08:28
TJ-this was the first time I've noticed the suspend issue; new PC about 2 weeks ago, and it's been left powered up until now08:28
apwconfirmed they are still required for this one08:28
apwok08:29
TJ-only used it with this latest kernel. Not even got around to puting 4.6 on this thing yet, still trying to iron out all the 16.04 bugs :)08:29
TJ-It only has a bluetooth keyb, so the encrypted GRUB file-system presents a problem :P ... currently adding LUKS keyfile support to GRUB, that should be done today08:30
TJ-I've edited the bug desc. to show the PM: ... 30 minute cycle clearly with grep output08:36
TJ-hmmm, syslog makes it look like this is a case of an immediate resume-from-S3 but with systemd-suspend.service commanding a new sleep every 30 minutes08:54
apwwhich would make more sense that the other08:56
apwbut then times before and after those are never quite clear08:56
TJ-it's certainly confusing :)08:58
TJ-i'll do some S3 tests today whilst I'm watching it, although when I command the suspend the PC for all intents and purposed plays dead08:59
TJ-this is why it should be illegal to ship a PC without a UART serial port exposed :)09:00
TJ-right, will be in-and-out now as I do some tests09:01
nilujeI'm running Ubuntu 15.04 on arm. I have tons (247 exactly) of process that are defunct, and owned by init. How is it possible? shoudln't init wait for these processes?10:58
apwniluje, i think we would expect them to be reaped by init yes11:02
nilujeapw: I don't even know where to begin to understand what's going on11:04
nilujeany idea?11:05
apwpastebin a ps -ef or something and maybe there is a clue11:05
nilujehttp://pastie.org/private/ehjsuglbpdpgmw2yqgfoow11:05
apwniluje, nope they look legit and i'd expect init to deal with them11:09
apwso one has to assume systemd is sleepy, does it say anything in its journal11:10
nilujeapw: sorry, I'm back12:18
nilujenope, nothing irregular in my logs12:18
nilujewhat I don't understand also, running strace -p 1 shows that init is waiting on "pause" and it does nothing12:19
apwniluje, whihc is what yu expect it to be doing, sleeping waiting for a SIGNAL12:20
apwfrom its children so it cna reap them12:20
apwthat is its prime roll12:20
nilujeok12:23
nilujeand what could happen here?12:23
apwwell nothing that makes sense to me12:25
apwis it is paused it should have been sent signals to tell it wake up12:26
apwandit should have reaped the children befre sleeping12:26
nilujenote, but I guess that's ok12:26
nilujeif I run kill -s SIGUSR1 112:26
nilujeinit doesn't exit from pause12:26
nilujebut I guess the signal is ignored12:26
nilujelet me send a sigchld :p12:26
nilujenope12:27
nilujesame12:27
nilujedoesn't exit from pause oO12:27
apwsounds broke12:27
nilujeindeed12:28
nilujeif someone wants to take a look, I can probably spawn a server and give access to it12:28
nilujeor if anyone has an idea12:28
nilujethe issue is reproductible12:28
apwso these are always KVM guests ?12:29
nilujeno?12:30
nilujeno virtualization involved12:30
apwniluje, ok my lappy pid1 is not in pause12:32
apw[<ffffffff81255670>] ep_poll+0x2c0/0x3d012:32
nilujeyes12:32
* niluje starts a new instance12:33
nilujegrml 12:49
nilujecan't reproduce the issue :p12:49
manjoapw, you think the yakkety rebase to 4.5 (stable) will happen in the next couple of weeks ?13:19
apwwe're already past 4.5, i would think the first one will be 4.613:20
manjoapw, so it will have a 4.5 tag .. on https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/yakkety/ master is 4.413:20
apwmanjo, that is just a push forward for xenial kernels until we are ready, the rebased kernle is in unstable13:21
manjoapw, https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable/ seems to be 4.4 .. 13:23
manjoapw, I was hoping to find an official 4.5 tag/branch someplace on yakkety or unstable for me to base my friends patches on coz they moved to 4.513:24
apwmanjo, tat second one looks to be the right place, and is 4.6 for me13:24
* manjo ◉_◉ 13:24
apwthere are no tags on there, no ubuntu ones, because its never been uploaded13:24
manjoapw, yakkety once it happens after uds might have 4.5 tags ?13:25
apwmanjo, nope, we'll go striaght to 4.6, this is at 4.6-rc4 i think13:25
apwwe're not going to go backwards now13:25
manjoapw, oops .. that breaks me 13:25
apw?13:26
manjoapw, so I would need to checkout a 4.5 (tag/branch) to put some friendly sauce on top 13:26
apwrtg might have an older 4.513:26
apwif you are lucky13:26
manjoapw, coz kernel.org says 4.5 is stable my friends based their patches on 4.513:27
manjoapw, and I was hoping to see a 4.5 tag/branch in yakkety or unstable 13:27
apwmanjo, as i say, rtg may have one13:27
manjoapw, if he does not .. what do you think is the right thing to do ? use yakkety + 4.5 based patches ?13:29
manjoor ie .. 4.6 + 4.5 patches 13:29
apwyeah duno, yakkety is going to be moving like a rocket ship13:30
nilujeapw: so, can't reproduce the issue on a newer systemd. I won't search more what was going on, but I guess that's a systemd bug that has been resolved.13:30
nilujethanks for your time13:30
manjoapw, you guys should not have skipped stable tags coz some people follow kernel.org to rebase their patches to stable 13:30
manjo4.5.2 is stable in kernel.org .. so we should have had 4.5.2 tags in unstable/yakkety 13:32
manjoit might be hard for me to sell 4.6 mainline to friends who are hard to deal with in the 1st place 13:33
manjoapw, if I take the mainline builds that you do .. and pick 4.5 and apply the 3 patches will it look more or less like ubuntu-kernel ? those 3 patch sets contain any sauce we carry ?13:35
apwmanjo no they are saucelss13:39
manjoouch13:41
apwmanjo, why should we have tags for things we never rebased to13:45
apwmanjo, the up here was rebased recently directly from 4.4 to 4.613:45
manjoapw, which is also a good point .. but the reason is .. there are people who will base their patches on stable kernel.org and it is easier if we rebase to stable kernel.org tags or add those as branches + sauce 13:47
apwmanjo, it is easier for you maybe, for us to do the work we need to do twice13:48
apwbut if you have no patches for a version we wasted our time13:48
manjoapw, ack .. I got your point 13:48
apwmanjo, but as i say, rtg may well have a 4.5 around somewhere13:49
manjovery valid ... just that I am stuck ☺ 13:49
manjoapw, guessing he is not around today 13:49
manjotraveling to cloud sprint ? 13:49
apwnot sure indeed13:51
=== PaulW2U_ is now known as PaulW2U
manjoapw, thanks for all the info .. I emailed rtg and cced you 14:29
=== yofel_ is now known as yofel
pterodactylConsider that I want Ubuntu to change the input from a keyboard to some language other than English and then feed it to the application. Where do I have to make changes for such a tweak? Kernel or some other part of OS? 19:27
pterodactylI'm new to OS design and I was wondering if it's possible to make Ubuntu to operate entirely in some other language. 19:29
apwpterodactyl, yes launguage is a selectable21:01
apwpterodactyl, settings/lanuguage support21:02

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