Issues Building and Installing Kernel for Jetson AGX Orin - NETEM Not Effective

Hello NVIDIA Community,

I am trying to use bandwidth control of k8s on the Jetson AGX Orin. However, the bandwidth control is ineffective because qdisc cannot be used. To use qdisc, I need to enable Network emulator (NETEM). Therefore, I am attempting to customize the kernel.

Now, I am encountering several issues while building the kernel for my Jetson AGX Orin 64GB Developer Kit. Here are the details of my setup and the problems I am facing:

Device Model: Jetson AGX Orin 64GB Developer Kit
Kernel Version: 36.3
Documentation Followed: Official NVIDIA documentation for kernel building Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation

Steps Taken:

I followed the official NVIDIA documentation to build the kernel.
In the .config file, I set Network emulator (NETEM) to Y.
zcat /proc/config.gz > .config
make menuconfig

After building the kernel, I replaced the Image file.
make ARCH=arm64
sudo cp $TEGRA_KERNEL_OUT/arch/arm64/boot/Image /boot/Image

I also replaced the dtb files and installed the modules.
sudo cp $TEGRA_KERNEL_OUT/arch/arm64/boot/dts/* /boot/dtb/
make ARCH=arm64 modules
sudo make modules_install

Issues Encountered:

Boot Issues:

After replacing the Image file and dtb files, and installing the modules, the device fails to boot from the SSD.
When I attempt to boot from the eMMC, it unexpectedly boots from the SSD.
NETEM Configuration:

Despite setting Network emulator (NETEM) to Y in the .config file, the setting does not take effect.
$ sudo zcat /proc/config.gz | grep CONFIG_NET_SCH_NETEM

CONFIG_NET_SCH_NETEM is not set

Request for Assistance:

Has anyone experienced similar issues with booting from SSD after kernel building? If so, what steps did you take to resolve this?
How can I effect that the NETEM configuration? Are there specific steps or additional configurations needed to make this work?
Any guidance or suggestions would be greatly appreciated. Thank you for your help!

Best regards,
Hitachi Astemo,Ltd.
Zhang Yuhang

Hi yuhang.zhang.rx,

Could you boot up the devkit successfully before updating the custom kernel image?
If so, could you boot up the devkit successfully if you use the custom kernel image w/o any change?

To update the kernel config, you can refer to the steps in the following thread.
orinNano Kernel added other driver, and need to modify the device tree, how do I need to operate - #20 by KevinFFF

Thank you all for your help! I was able to successfully compile the kernel for Jetson. I encountered issues because I hadn’t correctly read the old .config file before starting the build process, which resulted in errors.

It seems you’ve solved the issue. Congrat.!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.