[FS#3269] Compiling the kernel requires entering the CGROUP_HUGETLB option.

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Aug 3 16:23:46 EDT 2020


A new Flyspray task has been opened.  Details are below. 

User who did this - wevsty (wevsty) 

Attached to Project - OpenWrt/LEDE Project
Summary - Compiling the kernel requires entering the CGROUP_HUGETLB option.
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - 中
Priority - 普通
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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 1deaf695ec02d765c9ae28b1bac264798ca54a05
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 d1a8217d87bffa33fd7d4562b3ed2f797c14beaf.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list