buildKernelAndModules icon indicating copy to clipboard operation
buildKernelAndModules copied to clipboard

Unable to download kernel

Open jonwilliams84 opened this issue 3 years ago • 1 comments

I am trying to enable NFSv4 on my Jetson Nano. I know I am running an old release, long story but I can't update as the main workload on this machine only supports CUDA 10.0 not 10.2 included in latest JetPack.

Output:

NVIDIA Jetson Nano (Developer Kit Version)
Jetpack 4.2.1 [L4T 32.2.0]
Kernel Release: 4.9
Placing kernel source into /usr/src/
./scripts/getKernelSources.sh: line 74: [: =: unary operator expected
'universe' distribution component is already enabled for all sources.
Get:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.326  InRelease
Get:2 file:/var/visionworks-repo  InRelease
Ign:2 file:/var/visionworks-repo  InRelease
Get:3 file:/var/visionworks-sfm-repo  InRelease
Ign:3 file:/var/visionworks-sfm-repo  InRelease
Get:4 file:/var/visionworks-tracking-repo  InRelease
Ign:4 file:/var/visionworks-tracking-repo  InRelease
Get:5 file:/var/cuda-repo-10-0-local-10.0.326  Release [574 B]
Get:6 file:/var/visionworks-repo  Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:5 file:/var/cuda-repo-10-0-local-10.0.326  Release [574 B]
Get:8 file:/var/visionworks-tracking-repo  Release [2,008 B]
Get:6 file:/var/visionworks-repo  Release [1,999 B]
Get:7 file:/var/visionworks-sfm-repo  Release [2,003 B]
Get:8 file:/var/visionworks-tracking-repo  Release [2,008 B]
Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:10 http://international.download.nvidia.com/jetson/repos/common r32 InRelease
Hit:11 http://international.download.nvidia.com/jetson/repos/t210 r32 InRelease
Hit:13 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:16 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:17 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu2).
0 to upgrade, 0 to newly install, 0 to remove and 62 not to upgrade.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
0 to upgrade, 0 to newly install, 0 to remove and 62 not to upgrade.
/usr/src/linux-headers-4.9.140-tegra-ubuntu18.04_aarch64/kernel-4.9/Module.symvers
/usr/src
http://: Invalid host name.
tar: public_sources.tbz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: kernel_src.tbz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
rm: cannot remove 'kernel_src.tbz2': No such file or directory
./scripts/getKernelSources.sh: line 115: cd: kernel/kernel-4.9: No such file or directory
/usr/src
bash: scripts/config: No such file or directory

Any ideas?

TIA

jonwilliams84 avatar Jan 07 '22 21:01 jonwilliams84

you can try PR https://github.com/JetsonHacksNano/buildKernelAndModules/pull/16

fkpwolf avatar Jun 10 '22 03:06 fkpwolf

Fixed in v1.1

JetsonHacksNano avatar Nov 22 '22 04:11 JetsonHacksNano