DRIVE OS Version: : 7.0.3
Hello,
I am running Linux on NVIDIA Thor and trying to run a custom LXC container.
The system boots in pure cgroup v2 mode:
$ mount | grep cgroup
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,relatime)
$ cat /proc/filesystems | grep cgroup
nodev cgroup
nodev cgroup2
Kernel config shows legacy controllers enabled:
CONFIG_CGROUPS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_MEMORY=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_DEVICE=y
However, legacy cgroup v1 controllers cannot be mounted, even as root:
# mount -t cgroup -o cpu none /run/cgroup-legacy/cpu
mount: Operation not permitted
Only devices and freezer can be mounted; cpu, memory, cpuset, blkio, pids are blocked.
Inside LXC I have same failures:
Failed to mount cpu/memory cgroup: Operation not permitted
This prevents my container from booting.
My questions:
- Is pure cgroup v2 enforced by Thor bootloader (CBoot / DTB / kernel args)?
- Is it possible to enable hybrid cgroup (v1 + v2) on Thor?
- Which boot configuration / DT / kernel cmdline must be modified to allow mounting cgroup v1?
- Is this restriction intentional on Thor platforms?
Any guidance or official recommendation would be greatly appreciated.
Thank you.