[Touch-packages] [Bug 1931725] Re: initramfs-tools: use zstd as the default compression method

2021-06-11 Thread Colin Ian King
Thanks Dimitri! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1931725 Title: initramfs-tools: use zstd as the default compression method Status in

[Touch-packages] [Bug 1931725] [NEW] initramfs-tools: use zstd as the default compression method

2021-06-11 Thread Colin Ian King
Public bug reported: Turns out that loading is always the slow part in loading initramfs into memory and decompressing it since decompression is always the final 10-20% or so of the task. It therefore makes sense to use a good compressor that shrinks the initramfs as much as possible with little

[Touch-packages] [Bug 1894329] Re: ZFS revert from grub menu not working.

2021-01-29 Thread Colin Ian King
I tested this out with focal -proposed and don't see any issues. Looks OK to me. ** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to coreutils in

[Touch-packages] [Bug 1895631] [NEW] systemd at 100% handling apport failures

2020-09-15 Thread Colin Ian King
Public bug reported: systemd is pegged at 100% after booting Groovy Desktop. Seems like an apport-report.service issue: Sep 15 08:01:50 lenovo systemd[1]: Failed to start Process error reports when automatic reporting is enabled. Sep 15 08:01:50 lenovo systemd[1]: apport-autoreport.service:

[Touch-packages] [Bug 1894329] Re: ZFS revert from grub menu not working.

2020-09-08 Thread Colin Ian King
This is a useful workaround, the fundamental issue is a coreutils issue with dd. I wonder if the coreutils maintainers can figure out why dd has an executable stack. ** Also affects: coreutils (Ubuntu) Importance: Undecided Status: New ** Changed in: coreutils (Ubuntu) Importance:

[Touch-packages] [Bug 1885730] Re: Please switch default, hwe, oem kernel flavours governor to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y , such that advanced userspace utilities such as game-mode can be

2020-08-20 Thread Colin Ian King
Fix sent to mailing list for review: https://lists.ubuntu.com/archives /kernel-team/2020-August/112820.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1885730 Title:

[Touch-packages] [Bug 1885730] Re: Please switch default, hwe, oem kernel flavours governor to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y , such that advanced userspace utilities such as game-mode can be

2020-08-20 Thread Colin Ian King
** Changed in: linux (Ubuntu Groovy) Assignee: (unassigned) => Colin Ian King (colin-king) ** Changed in: linux (Ubuntu Groovy) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subs

[Touch-packages] [Bug 1885730] Re: Bring back ondemand.service or switch kernel default governor for pstate - pstate now defaults to performance governor

2020-08-18 Thread Colin Ian King
@xnox, one can detect the machine type from the DMI data (iff it is available and reliable). e.g. on my laptop: sudo dmidecode -s "chassis-type" Notebook on my desktop server: sudo dmidecode -s "chassis-type" There are quite a few chassis-type, see

[Touch-packages] [Bug 1885730] Re: Bring back ondemand.service or switch kernel default governor for pstate - pstate now defaults to performance governor

2020-07-24 Thread Colin Ian King
The choice was made from running analysis on a wide range of Intel machines, old and new. We are trying to select the optimal choice for a wide range of CPUs for a wide range of use cases. Generally speaking, the intel-pstate governor has deeper understanding of the processor features and can

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-07-09 Thread Colin Ian King
** Changed in: linux-signed (Ubuntu Groovy) Assignee: Colin Ian King (colin-king) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Ti

[Touch-packages] [Bug 1861941] Re: bcache by-uuid links disappear after mounting bcache0

2020-05-15 Thread Colin Ian King
This appears not to be a kernel issue per-se, so any idea of an ETA for a fix with udev for this? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1861941 Title: bcache

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2020-02-11 Thread Colin Ian King
@Finom, that's a good observation, much appreciated. ** Changed in: systemd (Ubuntu) Importance: Undecided => High ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Dimitri John Ledkov (xnox) ** Description changed: - Description: In the event a particular Azure cloud

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-10-14 Thread Colin Ian King
A fix has landed in lxd, I refer you to the following comment: https://github.com/lxc/lxd/issues/4656#issuecomment-541266681 Please check if this addresses the issues. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in

[Touch-packages] [Bug 1847765] [NEW] network manager using small timeout polling timeouts

2019-10-11 Thread Colin Ian King
Public bug reported: I've been trying to identify wakeup events that cause the CPU to wakeup from idle on a "idle" laptop on Ubuntu Eoan. The good news is that NetworkManager doesn't utilize much CPU when idle, however, it does seem to wakeup from poll()/epool_wait() system calls once every 4-5

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-27 Thread Colin Ian King
And for Standard_D2s_v3 IP addr Mac AddrKernel Reboots 104.42.252.54 00:0d:3a:32:df:92 5.0.0-1020-azure500 104.42.150.26 00:0d:3a:31:1b:50 5.0.0-1020-azure500 104.42.147.144 00:0d:3a:32:d8:2f 5.0.0-1020-azure500 40.112.129.232

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-27 Thread Colin Ian King
@Joseph, so I can reproduce this hang/crash issue across a variety of instances. I can't get any info back on a console, so debugging this is not easy. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-27 Thread Colin Ian King
Get more failures with Standard_B1ms IP addr Mac AddrKernel Reboots 52.160.101.11 00:0d:3a:5b:a0:7c 5.0.0-1020-azure10 137.135.51.101 00:0d:3a:31:20:fc 5.0.0-1020-azure500 137.135.50.133 00:0d:3a:31:27:0f 5.0.0-1020-azure396 [hang]

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-09-26 Thread Colin Ian King
See: https://github.com/lxc/lxd/issues/4656#issuecomment-535531229 In https://github.com/lxc/lxd/blob/master/lxd/storage_zfs_utils.go#L255 the umount is done by err := unix.Unmount(mountpoint, unix.MNT_DETACH) The umount2(2) manpage writes about MNT_DETACH: Perform a lazy unmount: make

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-26 Thread Colin Ian King
I kicked off another ~20K reboot tests with Standard_B2S instances and hit hangs again: IP addr Mac AddrKernel Reboots 104.42.3.16100:0d:3a:37:82:ee 5.0.0-1020-azure100 13.91.5.23 00:0d:3a:5a:74:23 5.0.0-1020-azure57

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-26 Thread Colin Ian King
So the best way to reproduce this issue is to run ~500 reboots across multiple instances rather than 5000-1 reboots on once instance. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-25 Thread Colin Ian King
See above, I ran several thousand reboot tests on a lot of Basic_A3 instances, ranging from 50, 250 to 500 reboots. Only one failed. So this is *really* hard to reproduce. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-25 Thread Colin Ian King
IP addr Mac AddrKernel Reboots 13.64.67.18600:0d:3a:3a:dd:04 5.0.0-1016-azure50 104.42.152.115 00:0d:3a:35:b1:e6 5.0.0-1016-azure50 65.52.121.205 00:0d:3a:3b:0f:52 5.0.0-1016-azure50 13.88.28.42 00:0d:3a:3b:c7:da

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-09-24 Thread Colin Ian King
Been digging into this a bit further with lxc 3.17 on Eoan. lxc launch ubuntu:bionic zfs-bug-test Creating zfs-bug-test Starting zfs-bug-test lxc delete zfs-bug-test --force Error: Failed to destroy ZFS filesystem: Failed to run: zfs destroy -r default/containers/z1: cannot destroy

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-20 Thread Colin Ian King
@Robert, was there a specific class of virtual machine you were using when this issue occurred? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1822118 Title: Kernel Panic

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-18 Thread Colin Ian King
** Changed in: linux-azure (Ubuntu) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1822118 Title: Kernel Panic while rebooting

[Touch-packages] [Bug 1822118] Re: Kernel Panic while rebooting cloud instance

2019-09-18 Thread Colin Ian King
@Joseph, any ideas how we can progress on this? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1822118 Title: Kernel Panic while rebooting cloud instance Status in

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-09-03 Thread Colin Ian King
The ZFS destroy checks the reference count on the dataset with zfs_refcount_count(>ds_longholds) != expected_holds and returns EBUSY in dsl_destroy_head_check_impl. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-08-30 Thread Colin Ian King
Assignee: Colin Ian King (colin-king) Status: Triaged ** Also affects: lxc (Ubuntu Eoan) Importance: Undecided Status: Confirmed ** Also affects: linux (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: lxc (Ubuntu Disco) Importance: Undecided

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-08-30 Thread Colin Ian King
Do we have any hunches on how to reproduce this issue? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1779156 Title: lxc 'delete' fails to destroy ZFS filesystem 'dataset is

[Touch-packages] [Bug 1779156] Re: lxc 'delete' fails to destroy ZFS filesystem 'dataset is busy'

2019-08-30 Thread Colin Ian King
Cosmic is now end-of-life. Does this still occur on Disco? ** Changed in: linux (Ubuntu) Importance: High => Medium ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Colin Ian King (colin-king) -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1821625] Re: systemd 237-3ubuntu10.14 ADT test failure on Bionic ppc64el (test-seccomp)

2019-07-05 Thread Colin Ian King
I agree with the analysis in comment #13 about stress-ng. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1821625 Title: systemd 237-3ubuntu10.14 ADT test failure on

[Touch-packages] [Bug 1806012] Re: set-cpufreq: 'powersave' governor configuration sanity on ubuntu server

2019-05-01 Thread Colin Ian King
It is normally always preferable to use the intel-pstate driver compared to pcc-cpufreq or acpi-cpufreq on modern Intel hardware. Some HP ProLiant platforms implement the PCC interface [1] which can be disabled by a BIOS setting in which case the PCC driver will not load and the acpi-cpufreq

[Touch-packages] [Bug 1784583] [NEW] SIGILL on s390x in libpthread when run inside cosmic VM

2018-07-31 Thread Colin Ian King
Public bug reported: I installed the Cosmic s390x server on an x86-64 Cosmic host using virt manager and get a SIGILL when using libptread. For example: I built stress-ng from the upstream git repo using: sudo apt-get build-dep stress-ng git clone git://kernel.ubuntu.com/cking/stress-ng cd

[Touch-packages] [Bug 1696970] Re: softlockup DoS causes systemd-journald.service to abort with SIGABORT

2017-09-12 Thread Colin Ian King
Hrm, softlockups that break the journal aren't particularly rare on highly loaded servers. I'm a little concerned that a potential user space DoS attack could cause the log to discard important information that the system admin may use to help track down misbehaving system behaviour. -- You

[Touch-packages] [Bug 1696970] [NEW] softlockup DoS causes systemd-journald.service to abort with SIGABORT

2017-06-09 Thread Colin Ian King
Public bug reported: I was running the new stress-ng softlockup stressor and observed that systemd-journald gets killed with an abort and this corrupts the systemd journal. How to reproduce: git clone git://kernel.ubuntu.com/cking/stress-ng cd stress-ng make clean; make sudo ./stress-ng

[Touch-packages] [Bug 1661030] Re: regession tests failing after stackprofile test is run

2017-02-27 Thread Colin Ian King
tested and verified it is fixed on Ubuntu Xenial with -proposed kernel 4.4.0-64 #86 ** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor

[Touch-packages] [Bug 1661030] Re: regession tests failing after stackprofile test is run

2017-02-27 Thread Colin Ian King
tested and verified it is fixed on Ubuntu Yakkety with -proposed kernel 4.8.0-39-generic #42 ** Tags removed: verification-needed-yakkety ** Tags added: verification-done-yakkety -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1661030] Re: regession tests failing after stackprofile test is run

2017-02-01 Thread Colin Ian King
4.9.0-12_4.9.0-12.13 + jj latest fixes that landed on the kernel-team mailing list in the last 24 hours. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/1661030 Title:

[Touch-packages] [Bug 1661030] [NEW] regession tests failing after stackprofile test is run

2017-02-01 Thread Colin Ian King
Public bug reported: from source, I'm running the tests and the makefile fails at the end with: running stackprofile Makefile:303: recipe for target 'tests' failed make: *** [tests] Error 1 No idea why that is happening. It's breaking on our kernel team regression tests runs, so can this be

[Touch-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-09-22 Thread Colin Ian King
OK, a bit more data: Xenial with 4.4 and 4.8 kernels - works fine (so not a 4.8 kernel regression) Yakkety with 4.4 and 4.8 kernels - shows the slow behavior (so not a kernel issue) So I think this is a problem in the plumbing layer. ** Changed in: systemd (Ubuntu) Assignee: (unassigned)

[Touch-packages] [Bug 1626651] Re: brightness keys are handled slower in Yakkety than Xenial

2016-09-22 Thread Colin Ian King
I think this is a systemd/udevd kinda bug isn't it? ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1615685] [NEW] systemd-analyze stats for kernel startup time looks suspect

2016-08-22 Thread Colin Ian King
Public bug reported: I've instrumented a kernel so I can clearly see when processes start and exit, this allows me to see when exactly the kernel has handed off control to userspace. The time the kernel actually takes to initialize compared to the time systemd-analyze reports are different. $

[Touch-packages] [Bug 1615641] [NEW] initramfs waits for 5 seconds when executing /scripts/local-premount/resume

2016-08-22 Thread Colin Ian King
Public bug reported: I've noticed that boots on Ubuntu Yakkety have slowed down recently. I added some debug into my kernel to see where delays are occurring and I can observe 5 seconds being consumed in /scripts/local-premount/resume : Aug 22 14:34:36 lenovo kernel: [6.823263] _do_fork: 1

[Touch-packages] [Bug 1584124] Re: revisit /etc/init.d/ondemand

2016-06-07 Thread Colin Ian King
Some data to take into consideration. I've tested 4 difference configs (3 laptops, 1 server) of mixed Intel and AMD hardware, comparing the default powersave/ondemand [1] vs performance [1] depends on CPU and if intel-pstate is supported For faster modern Intel CPUs where intel-pstate is

[Touch-packages] [Bug 1584124] Re: revisit /etc/init.d/ondemand

2016-05-20 Thread Colin Ian King
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Colin Ian King (colin-king) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1584124 Title: revisit /etc/ini

[Touch-packages] [Bug 1524879] [NEW] initramfs-tools, Xenial is missing NVME kernel driver

2015-12-10 Thread Colin Ian King
Public bug reported: I can't boot from a PCIe NVME device on Xenial because the nvme.ko is missing from the initramfs. Can this please be added. ** Affects: initramfs-tools (Ubuntu) Importance: High Assignee: Andy Whitcroft (apw) Status: New ** Changed in: initramfs-tools

[Touch-packages] [Bug 1505241] Re: Phone does not suspend

2015-11-16 Thread Colin Ian King
>From the syslog in comment #2, Suspend blocking wakelocks: None Resume wakeup causes: EINT, 553 97.88% CLDMA_MD6 1.06% CLDMA_MD, 6 1.06% Suspend failure causes: tasks freezer abort

[Touch-packages] [Bug 1471029] Re: ELF programs with R_386_RELATIVE blocks are badly mapped into memory

2015-07-23 Thread Colin Ian King
Commit a87938b2e was included in 3.19.0-20.20 (see commit b51621abbcb4694b8d2842ce3a66006a60bba6e5), so perhaps trying this would be the first step to see if that commit fixes things. As it stands, I've checked the heap and stack on a VM image using this kernel and there is now plenty of space

[Touch-packages] [Bug 1471906] Re: camera app is polling the file system every second

2015-07-13 Thread Colin Ian King
OK, I guess that is the cost of a high level API that doesn't use statfs(). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to camera-app in Ubuntu. https://bugs.launchpad.net/bugs/1471906 Title: camera app is polling the

[Touch-packages] [Bug 1470845] Re: systemd on wily desktop generating short lived threads every second in a quiet system

2015-07-10 Thread Colin Ian King
** Changed in: systemd (Ubuntu) Importance: Undecided = High ** Changed in: systemd (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1466273] Re: gstreamer fails intermittently

2015-07-06 Thread Colin Ian King
It may be that the process is swapped out, so the delivery of the SIGKILL takes a while for it to be swapped back in and to hence get the signal. To test this hypothesis: a) one could disable swap and see if the process can be delivered the SIGKILL and how quickly it responds to that.

[Touch-packages] [Bug 1470845] [NEW] systemd on wily desktop generating short lived threads every second in a quiet system

2015-07-02 Thread Colin Ian King
Public bug reported: I noticed that systemd on my idle Wily desktop is creating very short lived threads at 1Hz. While these aren't doing much, it still consumes power doing wakeups to create these periodic threads. Showing thread creation with forkstat: $ sudo forkstat Time Event PID

[Touch-packages] [Bug 1438301] Re: desktop machine suspends with systemd after ~3 minutes, does NOT suspend with upstart

2015-03-31 Thread Colin Ian King
journalctl -f -b -u systemd-logind -- Logs begin at Tue 2015-03-31 09:36:25 BST. -- Mar 31 09:36:26 skylake systemd[1]: Starting Login Service... Mar 31 09:36:26 skylake systemd-logind[671]: New seat seat0. Mar 31 09:36:26 skylake systemd-logind[671]: Watching system buttons on /dev/input/event3

[Touch-packages] [Bug 1438301] Re: desktop machine suspends with systemd after ~3 minutes, does NOT suspend with upstart

2015-03-31 Thread Colin Ian King
The HandleLidSwitch=ignore stops the box from suspending: $ uptime 09:50:25 up 5 min, 2 users, load average: 0.00, 0.00, 0.00 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1438301] Re: desktop machine suspends with systemd after ~3 minutes, does NOT suspend with upstart

2015-03-31 Thread Colin Ian King
I'm actually running vivid server on this box, so I don't have a unity session running. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1438301 Title: desktop machine

[Touch-packages] [Bug 1438301] [NEW] desktop machine suspends with systemd after ~3 minutes, does NOT suspend with upstart

2015-03-30 Thread Colin Ian King
Public bug reported: For reasons I cannot fathom, my development server goes into deep suspend after ~3 minutes after startup with systemd, however, if I boot with upstart it does not. This happens everytime I boot with systemd, the machine just goes into a deep suspend without me requesting

[Touch-packages] [Bug 1438301] Re: desktop machine suspends with systemd after ~3 minutes, does NOT suspend with upstart

2015-03-30 Thread Colin Ian King
** Changed in: systemd (Ubuntu) Importance: Undecided = Critical -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1438301 Title: desktop machine suspends with systemd

[Touch-packages] [Bug 1433720] [NEW] shutdown request timeouts out and leaves tty in non-echo mode

2015-03-18 Thread Colin Ian King
Public bug reported: I believe this is a change in shutdown tied somehow to systemd, but I am guessing. How to reproduce the bug: sudo shutdown -h now [ wait a couple of minutes, don't enter in one's password ] authentication times out and one is left with non-echo on one's tty. This has to be

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
Any chance of getting that syslog to see what's going on? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to powerd in Ubuntu. https://bugs.launchpad.net/bugs/1372413 Title: Extensive battery drain on RTM Status in the base

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
FYI, For my tests, I am reading the battery capacity directly, just to keep it as light weight as possible: #!/bin/sh rm -f battery.log while true do c=$(cat /sys/devices/platform/battery/power_supply/battery/capacity) d=$(date +%d/%m/%Y %H:%M:%S) echo $d $c battery.log

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
I've correlated each processes against the spike in activity for upowerd and also see that mpdecision and systemd-udevd also change their behaviors at that transition. See attached spreadsheet. ** Attachment added: upowerd-procs.ods

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
I noticed that at this point, the syslog shows and incoming call occurred. After that, the phone does NOT deep suspend at all. Eventually, the phone drains at 03:55:33 on the 7th of Feb. So I think somebody needs to look at the way incoming calls seem to block deep suspend. Feb 6 17:12:05

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
So there is a rise of activity with systemd-udev at the same time that upowerd gets busy too -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to powerd in Ubuntu. https://bugs.launchpad.net/bugs/1372413 Title: Extensive

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
Pat, do you mind attaching the entire cpustat.log so I spot any specific trends? Thanks -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to powerd in Ubuntu. https://bugs.launchpad.net/bugs/1372413 Title: Extensive battery

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
Pat, I use something such like the following awk script to parse the data: { if ((NF == 5) ($4 != PID)) { total[$4] += $1 usr[$4] += $2 sys[$4] += $3 cmd[$4] = $5 } if ((NF == 5) ($4 == PID))

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-02-09 Thread Colin Ian King
We could possibly attach health-check to powerd to see what activity is going. E.g. health-check -r -w -W -f -c -p upowerd -d 3600 health-check.log ..that will attach health-check for 1 hour and dump the results into health-check.log. Colin -- You received this bug notification because you

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-16 Thread Colin Ian King
With wifi associated to a fairly busy AP that produces regular beacon intervals with CTS protection mode enabled and also phone data enabled I'm seeing ~24+ hours on deep sleep idle. With wifi enabled, I'm seeing ~7.5 wifi related wakeups per minute. I then disabled wifi and these wakeups

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-15 Thread Colin Ian King
I've written a bash script to periodically grab battery capacity levels over some of this afternoon and projected the expected duration (making an assumption the battery drain is linear, which it is not, i know that). Anyhow, I predict 30+ hours of idle on a default clean install on deep sleep.

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-15 Thread Colin Ian King
I also compared 10 minutes of file process wakeup activity (old pre- Christmas image vs lastest RTM image) and I'm seeing little different between old vs new, so no obvious regressions there. See attached files (spreadsheet and old vs new file activity logs). ** Attachment added:

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-15 Thread Colin Ian King
I compared 10 minutes of file access activity (old pre-Christmas image vs lastest RTM image) and I'm seeing a lot more udevd activity on /lib/udev/rules.d, /etc/modprobe.d and /etc/group. See attached files (spreadsheet and old vs new file activity logs). ** Attachment added: tar of old vs new

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-15 Thread Colin Ian King
I compared a 10 minute sleep from an image from pre-Christmas to the latest RTM image and I see better deep suspend stats with the latest image (see attached). If Thomas can attach all the syslog files from /var/log/syslog we can parse this with suspend-blocker and get an idea of what's been

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-15 Thread Colin Ian King
I compared a 10 minute sleep from an image from pre-Christmas to the latest RTM image and I see better deep suspend stats with the latest image (see attached). If Thomas can attach all the syslog files from /var/log/syslog we can parse this with suspend-blocker and get an idea of what's been

[Touch-packages] [Bug 1372413] Re: Extensive battery drain on RTM

2015-01-14 Thread Colin Ian King
Also, it would be useful to capture activity of the system using the following over a 10 minute period Still using ppa:colin-king/white: sudo apt-get install eventstat cpustat fnotifystat forkstat sudo eventstat 10 60 eventstat.log (10 seconds of sampling, 60 x a second) And see if the CPU

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-12-02 Thread Colin Ian King
I think also we need to consider security of data is the ultimate goal. Quite frankly, unpredictable things happen users can do all kinds of things like yank out the battery and trip kernel panics. Nobody has formally verified that the kernel is perfect so there is always the possibility of the

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-11-28 Thread Colin Ian King
@Ricardo, I'm added copious amounts of debug into the kernel and a shim on umount too and I can't see /dev/mmcblk023 being unmounted anywhere. Can you inform me where to expect this umount is actioned on shutdown. I just can't see it. With full journaling on I'd expect this to cope with a

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-11-28 Thread Colin Ian King
So just to re-iterate: 1. I believe the file system is not being cleanly umounted. 2. data=journal saved us from disaster because it works so well. My recommendation is to keep data=journal because a user can power off the device (battery death, pulling out battery, random kernel reboot, etc)

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-11-28 Thread Colin Ian King
I don't thing we're seeing many writes to that partition, most of it's probably data pages being flushed out in the background so it's not going to bite too hard. We do have tools to figure out how much is being written if it needs some analysis. -- You received this bug notification because

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-11-27 Thread Colin Ian King
We've been exercising the rtm images that include the latest workaround now for a considerable amount of time repeating the test that originally triggered the issue. On mako, 2 devices running: device #1, 329 iterations - no corruption observed device #2, 251 iterations - no

[Touch-packages] [Bug 1387214] Re: [TOPBLOCKER] file corruption on touch images in rw portions of the filesystem

2014-11-27 Thread Colin Ian King
** Changed in: linux-mako (Ubuntu) Assignee: Colin Ian King (colin-king) = Paolo Pisati (p-pisati) ** Changed in: linux-mako (Ubuntu RTM) Assignee: Colin Ian King (colin-king) = Paolo Pisati (p-pisati) -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1348784] Re: dbus invoked while in recovery mode

2014-10-31 Thread Colin Ian King
** Summary changed: - thermald prevents unmounting /dev/sda1 in recovery mode + dbus invoked while in recovery mode ** Changed in: thermald (Ubuntu) Status: In Progress = Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1348784] Re: thermald prevents unmounting /dev/sda1 in recovery mode

2014-10-27 Thread Colin Ian King
Did we conclude this is more of a misconfiguration rather than a thermald issue pe se, if so, I may remove thermald from the bug and rename it -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to upstart in Ubuntu.

[Touch-packages] [Bug 1377854] [NEW] idle phone; polling with 85-195 ms timeouts on poll, possible unneccessary wakeups

2014-10-06 Thread Colin Ian King
Public bug reported: While trying to figure out what's keeping the phone busy when idle (trying to save power), I noticed that unity8 is performing a lot of frequent poll() system calls with timeouts of 85-195 ms and it times out on these the majority of times.Wakeups keep a phone busy, so

[Touch-packages] [Bug 1376302] [NEW] indicator-network is frequently logging to /home/phablet/.cache/upstart/indicator-network.log

2014-10-01 Thread Colin Ian King
Public bug reported: I was trying to figure out where excessive file system writes were coming from (to try to reduce flash writes and hence reduce power consumption) and I spotted that /home/phablet/.cache/upstart/indicator- network.log is being written to rather often (every minute or so) (tail

[Touch-packages] [Bug 1376322] [NEW] telepathy-mission-control is spamming dbus.log with error messages

2014-10-01 Thread Colin Ian King
Public bug reported: I was trying to figure out where excessive file system writes were coming from (to try to reduce flash writes and hence reduce power consumption) and I spotted that the dbus log on my phone is being hit by messages from process 2046: root@ubuntu-phablet:~# ps -ef | grep 2046

[Touch-packages] [Bug 1308136] Re: telephony-service-indicator is waking up every 4 seconds adding inotifies on paths that don't exist

2014-10-01 Thread Colin Ian King
Yep, still polling at the same rate doing inotify add watches: root@ubuntu-phablet:~# strace -f -p 2078 Process 2078 attached with 4 threads [pid 2091] restart_syscall(... resuming interrupted call ... unfinished ... [pid 2081] restart_syscall(... resuming interrupted call ... unfinished ...

[Touch-packages] [Bug 1376358] [NEW] lightdm writing the same DEBUG message to /var/log/lightdm/lightdm.log

2014-10-01 Thread Colin Ian King
Public bug reported: I was trying to figure out where excessive file system writes were coming from on the ubuntu phone (to try to reduce flash writes and hence reduce power consumption) and I spotted that /var/log/lightdm/lightdm.log is getting the same debug message written to every every 300

[Touch-packages] [Bug 1376357] [NEW] lightdm writing the same DEBUG message to /var/log/lightdm/lightdm.log

2014-10-01 Thread Colin Ian King
Public bug reported: I was trying to figure out where excessive file system writes were coming from on the ubuntu phone (to try to reduce flash writes and hence reduce power consumption) and I spotted that /var/log/lightdm/lightdm.log is getting the same debug message written to every every 300

[Touch-packages] [Bug 1348784] Re: thermald prevents unmounting /dev/sda1 in recovery mode

2014-09-29 Thread Colin Ian King
@James, any idea why dbus is starting? ** Changed in: upstart (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to upstart in Ubuntu. https://bugs.launchpad.net/bugs/1348784 Title:

[Touch-packages] [Bug 1364464] Re: unity8-dash has a thread that is polling rather rapidly on epoll wait

2014-09-25 Thread Colin Ian King
Great! Thanks! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity-scopes-shell in Ubuntu. https://bugs.launchpad.net/bugs/1364464 Title: unity8-dash has a thread that is polling rather rapidly on epoll wait Status in

[Touch-packages] [Bug 1348784] Re: thermald prevents unmounting /dev/sda1 in recovery mode

2014-09-25 Thread Colin Ian King
Indeed, this does seem to be an upstart/init config issue rather than a thermald issue per se. I'll add that to the affects part of the bug report. ** Also affects: upstart (Ubuntu) Importance: Undecided Status: New ** Changed in: upstart (Ubuntu) Assignee: (unassigned) = James

[Touch-packages] [Bug 1348784] Re: thermald prevents unmounting /dev/sda1 in recovery mode

2014-09-25 Thread Colin Ian King
BTW, I'm going to slip the run level changes into thermald to address another thermald bug. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to upstart in Ubuntu. https://bugs.launchpad.net/bugs/1348784 Title: thermald

[Touch-packages] [Bug 1364464] Re: unity8-dash has a thread that is polling rather rapidly on epoll wait

2014-09-22 Thread Colin Ian King
Test scenario: Clean install with developer mode so I can access the device via adb shell. Device is on the lock screen, sitting idle, so essentially is should be doing not a lot. I ran eventstat to see which processes are generating the most wakeups: root@ubuntu-phablet:~# eventstat 60 1

[Touch-packages] [Bug 1364464] Re: unity8-dash has a thread that is polling rather rapidly on epoll wait

2014-09-18 Thread Colin Ian King
In 60 seconds, one can observe: % time seconds usecs/call callserrors syscall -- --- --- - - 44.512.252139 1052 poll 28.031.416574 366 3871 epoll_wait 24.331.23

[Touch-packages] [Bug 1364353] Re: unity8 leaking memory on idle phone

2014-09-15 Thread Colin Ian King
So the issue is in libubuntu_application_api; so is it related to bug #1206146 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1364353 Title: unity8 leaking memory on idle

[Touch-packages] [Bug 1364404] Re: qmlscene is leaking ~1.7K per second on an idle application on the phone

2014-09-04 Thread Colin Ian King
I re-flashed my mako today and tested it again and can reproduce the issue every time I test it. Perhaps you didn't have the display forced on (as described below). How to reproduce: 1. Force the phone not to suspend: powerd-cli display on bright 2. Start calendar app and find the pid:

[Touch-packages] [Bug 1364404] Re: qmlscene is leaking ~1.7K per second on an idle application on the phone

2014-09-04 Thread Colin Ian King
I think the issue is that a thread is reading sensor data and leaking memory, I put a breakpoint on mprotect calls and found most are from: (gdb) where #0 mprotect () at ../sysdeps/unix/syscall-template.S:82 #1 0xb5eeb19c in grow_heap (diff=4096, h=0xb140) at arena.c:617 #2 sysmalloc

[Touch-packages] [Bug 1364380] Re: unity8-dash is leaking memory at ~1.7K a second

2014-09-04 Thread Colin Ian King
I think it may be related to https://bugs.launchpad.net/ubuntu/+source /qtdeclarative-opensource-src/+bug/1364404/comments/3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu.

[Touch-packages] [Bug 1364353] Re: unity8 leaking memory on idle phone

2014-09-04 Thread Colin Ian King
Related bug: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative- opensource-src/+bug/1364404/comments/3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1364353 Title:

[Touch-packages] [Bug 1364368] [NEW] maliit-server has a memory leak

2014-09-02 Thread Colin Ian King
Public bug reported: I've tracked memory utilisation of maliit-server over a 12 hour period and can see that the heap is growing at about 1700 bytes a second. One can see this by strac'ing the process and seeing glib's malloc performing 4K mprotects every ~2.4 seconds and the occasional 1MB

[Touch-packages] [Bug 1364368] Re: maliit-server has a memory leak

2014-09-02 Thread Colin Ian King
To show the heap growth, run: smemstat -p $(pidof maliit-server) 10 ..and one sees ~1640 bytes per second heap growth. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to maliit-framework in Ubuntu.

  1   2   >