Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540980 - app-emulation/lxc-1.1.1 - CONFIG_RESOURCE_COUNTERS: is not set when it should be - but unavailable in Linux 3.19
Summary: app-emulation/lxc-1.1.1 - CONFIG_RESOURCE_COUNTERS: is not set when it shou...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 07:42 UTC by Dennis Schridde
Modified: 2015-03-20 21:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2015-02-22 07:42:17 UTC
I receive following message:
 * Messages for package app-emulation/lxc-1.1.0-r2:

 * Unable to calculate Linux Kernel version for build, attempting to use running version
 *   CONFIG_RESOURCE_COUNTERS:   is not set when it should be.

But the following command has empty output:
# grep -R RESOURCE_COUNTERS /usr/src/linux-3.19.0-gentoo/ | grep -v defconfig
Comment 1 Ziga Boehm 2015-03-06 23:39:09 UTC
I can confirm that CONFIG_RESOURCE_COUNTERS option is indeed gone form 3.19 kernel.

I believe it was replaced by PAGE_COUNTER and is automatically selected by the following: MEMCG [=y] && CGROUPS [=y] || CGROUP_HUGETLB [=n] && CGROUPS [=y] && HUGETLB_PAGE [=y].
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2015-03-20 21:50:10 UTC
It has been actually removed by 5b1efc027c0b51ca3e76f4e00c83358f8349f543 in v3.19-rc1. It does not seem it has been replaced by anything else so I will probably drop this check from the ebuilds.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2015-03-20 21:56:13 UTC
+  20 Mar 2015; Markos Chandras <hwoarang@gentoo.org> -lxc-1.1.0-r2.ebuild,
+  -lxc-1.1.0-r3.ebuild, -lxc-1.1.0-r4.ebuild, lxc-1.1.0-r5.ebuild,
+  lxc-1.1.1.ebuild:
+  Drop obsolete RESOURCE_COUNTERS check. Bug #540980
+
+  LKML: https://lkml.org/lkml/2014/10/13/498
+  Commit: 5b1efc027c0b51ca3e76f4e00c83358f8349f543
+