kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #128074
[Bug 1472293] Re: load >= 1 while idle for no obvious reason with ACPI
I was able to bisect the bug.
This is the result.
------------------------------------------
302822996fd572676bb66a7c4351f6faa0e4ddfd is the first bad commit
commit 302822996fd572676bb66a7c4351f6faa0e4ddfd
Author: Liu Chuansheng <chuansheng.liu@xxxxxxxxx>
Date: Thu Sep 12 01:42:57 2013 +0800
ACPI / osl: implement acpi_os_sleep() with msleep()
Currently, acpi_os_sleep() uses schedule_timeout_interruptible()
which can be interrupted by a signal, and that causes the real sleep
time to be shorter.
According to the ACPI spec:
The Sleep term is used to implement long-term timing requirements.
Execution is delayed for at least the required number of milliseconds.
The sleeping time should be at least the required number msecs, so use
msleep() which guarantees that to implement it.
Signed-off-by: Liu Chuansheng <chuansheng.liu@xxxxxxxxx>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
:040000 040000 5a0d397cfcbf53c03390f2805b83754cb7837d84
f06197602aac58a9c6f3220232b71fbba2ddd3d2 M drivers
------------------------------------------
git bisect start
# bad: [6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae] Linux 3.13-rc1
git bisect bad 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
# good: [5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52] Linux 3.12
git bisect good 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52
# good: [5cbb3d216e2041700231bcfc383ee5f8b7fc8b74] Merge branch 'akpm' (patches from Andrew Morton)
git bisect good 5cbb3d216e2041700231bcfc383ee5f8b7fc8b74
# bad: [e1f56c89b040134add93f686931cc266541d239a] mm: convert mm->nr_ptes to atomic_long_t
git bisect bad e1f56c89b040134add93f686931cc266541d239a
# good: [e21dd863acec8d3bc5166fb2a0c680a9982b37db] Merge branch 'mlx4'
git bisect good e21dd863acec8d3bc5166fb2a0c680a9982b37db
# good: [7f2dc5c4bcbff035b0d03f7aa78a182664b21e47] Merge tag 'dm-3.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
git bisect good 7f2dc5c4bcbff035b0d03f7aa78a182664b21e47
# bad: [15d4cb9013ab7cdf10760aeabd07b007d635b321] Merge branch 'pm-cpufreq'
git bisect bad 15d4cb9013ab7cdf10760aeabd07b007d635b321
# good: [fbbcdc0744dace5fcc8147d11c5fb0791126848a] intel_pstate: skip the driver if ACPI has power mgmt option
git bisect good fbbcdc0744dace5fcc8147d11c5fb0791126848a
# bad: [5171f4fa744de840c2c20f5b65bd3ee1cd85d0e8] Merge branch 'acpi-assorted'
git bisect bad 5171f4fa744de840c2c20f5b65bd3ee1cd85d0e8
# good: [31c466c1af229b08bec56c6564b50311d9d660ca] Merge branch 'acpi-conversion'
git bisect good 31c466c1af229b08bec56c6564b50311d9d660ca
# good: [c0ced86d38f418448dce1ca8a825dfd16ee9a23a] Merge branch 'acpi-ipmi'
git bisect good c0ced86d38f418448dce1ca8a825dfd16ee9a23a
# good: [975bcabb05436d8b99214a2293d1d5b9c0b0ca08] Merge branch 'acpi-video'
git bisect good 975bcabb05436d8b99214a2293d1d5b9c0b0ca08
# bad: [e54968ca1eaa78749d7a7fc20227639a31dff629] ACPI / platform: Add ACPI IDs for Intel SST audio device
git bisect bad e54968ca1eaa78749d7a7fc20227639a31dff629
# bad: [16a26e85279fd672050ffc3637038366629e8653] ACPI / EC: Convert all printk() calls to dynamic debug function
git bisect bad 16a26e85279fd672050ffc3637038366629e8653
# bad: [763f527b68c6b026439f0b12ebe232d96b5563df] ACPI / button: Using input_set_capability() to mark device's event capability
git bisect bad 763f527b68c6b026439f0b12ebe232d96b5563df
# bad: [302822996fd572676bb66a7c4351f6faa0e4ddfd] ACPI / osl: implement acpi_os_sleep() with msleep()
git bisect bad 302822996fd572676bb66a7c4351f6faa0e4ddfd
# first bad commit: [302822996fd572676bb66a7c4351f6faa0e4ddfd] ACPI / osl: implement acpi_os_sleep() with msleep()
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1472293
Title:
load >= 1 while idle for no obvious reason with ACPI
Status in linux package in Ubuntu:
Confirmed
Bug description:
My idling server will stay at load >=1 if ACPI is active, for no
obvious reason.
Adding "acpi=off" to grub will resolve this and load falls to 0.0x as
expected.
But I use the power button to tell the box to shut down and without
ACPI, systemd cannot respond to the power button's ACPI event.
My server is an Acer Easystore H340, that's a small NAS box with four
disk bays and an Atom 230 in it. That's standard x86 hardware capable
of running x86_64 kernels.
Recently, it was upgraded from 14.10 to 15.04 x86_64. Only after that
upgrade did I notice the load >= 1 problem, although it may have been
there in previous releases, already.
No idea how to debug this.
To resolve this, I either need
- a way to fix load >= 1 with ACPI
or
- a way to respond to the power button without ACPI
Thanks.
---
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 9 09:24 seq
crw-rw---- 1 root audio 116, 33 Jul 9 09:24 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 15.04
InstallationDate: Installed on 2015-03-16 (115 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: Acer Aspire easyStore H340
Package: linux (not installed)
PciMultimedia:
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-22-generic root=UUID=956a13ed-762e-4b00-8688-67f6339d5c37 ro nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
RelatedPackageVersions:
linux-restricted-modules-3.19.0-22-generic N/A
linux-backports-modules-3.19.0-22-generic N/A
linux-firmware 1.143.1
RfKill: Error: [Errno 2] No such file or directory
Tags: vivid vivid
Uname: Linux 3.19.0-22-generic x86_64
UnreportableReason: The report belongs to a package that is not installed.
UpgradeStatus: Upgraded to vivid on 2015-04-24 (76 days ago)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 02/03/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: P03
dmi.board.asset.tag: 0123456789
dmi.board.name: WG945GCM
dmi.board.vendor: Acer
dmi.board.version: -1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: Acer
dmi.chassis.version: A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrP03:bd02/03/2009:svnAcer:pnAspireeasyStoreH340:pvr-1:rvnAcer:rnWG945GCM:rvr-1:cvnAcer:ct1:cvrA:
dmi.product.name: Aspire easyStore H340
dmi.product.version: -1
dmi.sys.vendor: Acer
---
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
DistroRelease: Ubuntu 15.04
InstallationDate: Installed on 2015-03-16 (125 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Package: linux (not installed)
Tags: vivid
Uname: Linux 3.12.44-031244-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: Upgraded to vivid on 2015-04-24 (87 days ago)
UserGroups:
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1472293/+subscriptions
References