Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3269 - Compiling the kernel requires entering the CGROUP_HUGETLB option. #6427

Closed
openwrt-bot opened this issue Aug 3, 2020 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

wevsty:

When I try to compile the openwrt master branch of NanoPi R2S, it waits for user input to pause the kernel compilation.

Compile environment: Ubuntu 20.04 LTS
Board: NanoPi R2S
OpenWrt source code: snapshot 1deaf69
Replicating the bug only requires:

  1. make menuconfig and select compile NanoPi R2S.
  2. make V=99

Will Show reference

HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
net/sched/Kconfig:45: warning: menuconfig statement without prompt
.config:4276:warning: symbol value 'm' invalid for NF_NAT_REDIRECT
.config:6714:warning: override: USB_DWC3_HOST changes choice state
*

  • Restart config...
  • Control Group support

Control Group support (CGROUPS) [Y/n/?] y
Memory controller (MEMCG) [Y/n/?] y
Swap controller (MEMCG_SWAP) [Y/n/?] y
Swap controller enabled by default (MEMCG_SWAP_ENABLED) [N/y/?] n
IO controller (BLK_CGROUP) [Y/n/?] y
PIDs controller (CGROUP_PIDS) [Y/n/?] y
RDMA controller (CGROUP_RDMA) [Y/n/?] y
Freezer controller (CGROUP_FREEZER) [N/y/?] n
HugeTLB controller (CGROUP_HUGETLB) [N/y/?] (NEW)

I think the problem is caused by the commit d1a8217.

@openwrt-bot
Copy link
Author

wevsty:

It's been fixed.

@michaldorsett
Copy link

That's a strange response: where was it fixed? Other people are encountering similar issues and it would be helpful to know where this was fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants