Jump to content

wahaha

Members
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by wahaha

  1. Hi, I noticed that in the kernel config, # CONFIG_NFSD is not set Could you please provide a patch so that it can be enabled? trying to use sudo apt-get install nsf-kernel-server Also, would it be possible to provide a tutorial on how to create kernel patches to enable some of these configs? Thanks! Jake
  2. I changed the settings to carry on reading from cgroups v1 instead. I do this by setting this in /boot/cmdline.txt: systemd.unified_cgroup_hierarchy=0
  3. hi, i am using cgroup v2 for containerization. however, cgroup v2 is not able to get cpu and cpuset. not sure if this is related to a kernel issue? cgroup v1 is able to detect it, but i have to use cgroup v2 instead. would be great if you could help
  4. hello, I am trying to launch a kubernetes cluster on the tinker board 2s. however, i am met with these errors during the preflight check list. [init] Using Kubernetes version: v1.22.4 [preflight] Running pre-flight checks [preflight] The system verification failed. Printing the output from the verification: KERNEL_VERSION: 4.4.194 CONFIG_NAMESPACES: enabled CONFIG_NET_NS: enabled CONFIG_PID_NS: enabled CONFIG_IPC_NS: enabled CONFIG_UTS_NS: enabled CONFIG_CGROUPS: enabled CONFIG_CGROUP_CPUACCT: enabled CONFIG_CGROUP_DEVICE: enabled CONFIG_CGROUP_FREEZER: enabled CONFIG_CGROUP_PIDS: enabled CONFIG_CGROUP_SCHED: enabled CONFIG_CPUSETS: enabled CONFIG_MEMCG: enabled CONFIG_INET: enabled CONFIG_EXT4_FS: enabled CONFIG_PROC_FS: enabled CONFIG_NETFILTER_XT_TARGET_REDIRECT: enabled CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled CONFIG_FAIR_GROUP_SCHED: enabled CONFIG_OVERLAY_FS: enabled CONFIG_AUFS_FS: not set - Required for aufs. CONFIG_BLK_DEV_DM: enabled CONFIG_CFS_BANDWIDTH: enabled CONFIG_CGROUP_HUGETLB: not set - Required for hugetlb cgroup. CONFIG_SECCOMP: enabled CONFIG_SECCOMP_FILTER: enabled DOCKER_VERSION: 20.10.11 DOCKER_GRAPH_DRIVER: overlay2 OS: Linux CGROUPS_CPU: missing CGROUPS_CPUSET: missing CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled CGROUPS_MEMORY: enabled CGROUPS_PIDS: enabled CGROUPS_HUGETLB: missing [WARNING SystemVerification]: missing optional cgroups: hugetlb error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR SystemVerification]: missing required cgroups: cpu cpuset It seems to be missing these items: CONFIG_AUFS_FS: not set - Required for aufs. CONFIG_CGROUP_HUGETLB: not set - Required for hugetlb cgroup. CGROUPS_CPU: missing CGROUPS_CPUSET: missing CGROUPS_HUGETLB: missing from my google search, it seems to be related to kernel. Could you please help?
  5. Hello, After successfully enabling apparmor, sudo apt-get install snapd also proved to be successful. However, when I carry on with sudo snap install core (or any other package), i get met with the below error: ● snap-core-11996.mount - Mount unit for core Loaded: loaded (/etc/systemd/system/snap-core-11996.mount; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-12-01 17:30:36 UTC; 47s ago Where: /snap/core/11996 What: /var/lib/snapd/snaps/core_11996.snap Process: 2523 ExecMount=/bin/mount /var/lib/snapd/snaps/core_11996.snap /snap/core/11996 -t squashfs (code=exited, sta journalctl -xe results in: Dec 01 17:29:23 linaro-alip sudo[2408]: pam_unix(sudo:session): session opened for user root by linaro(uid=0) Dec 01 17:29:32 linaro-alip sudo[2408]: pam_unix(sudo:session): session closed for user root Dec 01 17:29:33 linaro-alip sudo[2411]: linaro : TTY=pts/0 ; PWD=/home/linaro ; USER=root ; COMMAND=/bin/systemctl sta Dec 01 17:29:33 linaro-alip sudo[2411]: pam_unix(sudo:session): session opened for user root by linaro(uid=0) Dec 01 17:29:40 linaro-alip sudo[2411]: pam_unix(sudo:session): session closed for user root Dec 01 17:30:10 linaro-alip sudo[2430]: linaro : TTY=pts/0 ; PWD=/home/linaro ; USER=root ; COMMAND=/usr/bin/snap inst Dec 01 17:30:10 linaro-alip sudo[2430]: pam_unix(sudo:session): session opened for user root by linaro(uid=0) Dec 01 17:30:10 linaro-alip /usr/lib/snapd/snapd[2343]: api.go:879: Installing snap "core" revision unset Dec 01 17:30:10 linaro-alip snapd[2343]: 2021/12/01 17:30:10.398219 api.go:879: Installing snap "core" revision unset Dec 01 17:30:12 linaro-alip /usr/lib/snapd/snapd[2343]: taskrunner.go:353: DEBUG: Running task 1 on Do: Download snap "c Dec 01 17:30:12 linaro-alip /usr/lib/snapd/snapd[2343]: daemon.go:176: DEBUG: uid=0;@ POST /v2/snaps/core 1.734063s 202 Dec 01 17:30:16 linaro-alip kernel: rockchip-vop ff900000.vop: [drm:vop_isr] *ERROR* POST_BUF_EMPTY irq err Dec 01 17:30:16 linaro-alip kernel: rockchip-vop ff900000.vop: [drm:vop_isr] *ERROR* POST_BUF_EMPTY irq err Dec 01 17:30:32 linaro-alip /usr/lib/snapd/snapd[2343]: taskrunner.go:353: DEBUG: Running task 2 on Do: Fetch and check Dec 01 17:30:36 linaro-alip /usr/lib/snapd/snapd[2343]: taskrunner.go:353: DEBUG: Running task 3 on Do: Mount snap "core Dec 01 17:30:36 linaro-alip kernel: squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported Dec 01 17:30:36 linaro-alip systemd[1]: Failed to mount Mount unit for core. -- Subject: Unit snap-core-11996.mount has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit snap-core-11996.mount has failed. -- -- The result is failed. Dec 01 17:30:36 linaro-alip /usr/lib/snapd/snapd[2343]: task.go:303: DEBUG: 2021-12-01T17:30:36Z ERROR [start snap-core- See "systemctl status snap-core-11996.mount" and "journalctl -xe Dec 01 17:30:37 linaro-alip /usr/lib/snapd/snapd[2343]: taskrunner.go:353: DEBUG: Running task 1 on Undo: Download snap Dec 01 17:30:37 linaro-alip sudo[2430]: pam_unix(sudo:session): session closed for user root Dec 01 17:31:30 linaro-alip ntpd[869]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized lines 2102-2130/2130 (END) How should this be fixed? Thanks!
  6. @tooz Thanks for this, it works with this boot image now. Not sure if you are able to explain a bit further as to what the changes took place in the boot image?
  7. Hi @tooz, can i please clarify with you. I am trying to rebuild the stable kernel release from https://www.kernel.org/ which is currently (5.15.5). The steps that I take are as follows: 1. download linux-5.15.5.tar 2. untar (1) 3. cd linux-5.15.5 4. cp arch/arm64/configs/config .config 5. make menuconfig (optional if there are stuffs in .config that you want to amend) -> save it in .config file 6. make -j24 bindeb-pkg ----- currently it is still going through no6 ----- but after that is done, i should have an iso file that i can then do a sudo dpkg -i linux-image.deb followed by a reboot. Is this correct? I tried the 3 steps you listed, but i'm not sure at which stage should that be done instead?
  8. Hi, i am referring to the instructions here: https://gist.github.com/TinkerTeam/6286550ce70d34f6b3d483cd803da786#gistcomment-3563189 on how to compile my own kernel for tinker board 2s. However, in the guide above, it listed that that it is targeting: # Fetch Tinkerboard kernel config curl -L https://raw.githubusercontent.com/TinkerBoard/debian_kernel/develop/arch/arm/configs/miniarm-rk3288_defconfig -o arch/arm/configs/miniarm-rk3288_defconfig But with tinker board 2s, it is a RK3399 64 bit chip. Where should I be looking at to obtain the correct defconfig? Thanks, Jake
  9. I am looking to enable apparmor in my tinker board 2s, and according to the documentation, i should include these lines into the kernel boot. apparmor=1 security=apparmor lsm=lockdown,yama,apparmor Would like to check where do i need to go to update the kernel parameters? I have tried loading it in /boot/cmdline.txt and separately in /boot/config.txt, sudo reboot the tinker board, but systemctl status apparmor still shows apparmor failing to start with: Condition check resulted in Load AppArmor profiles being skipped. how should i go about with this please?
×
×
  • Create New...