# How to get linux header of Kernel version 5.10.35-00023-gcf7d90a076c

**URL:** <https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470>\
**Category:** NXP LX2160\
**Tags:** NXP-LX2160\
**Created:** [September 22, 2022, 8:25am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470 "2022-09-22T08:25:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vader](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@vader](https://community.solid-run.com/u/vader)\
**Post date:** [September 22, 2022, 8:25am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/1 "2022-09-22T08:25:00Z")

</div>

I want to install NVIDIA driver,but has a probom when run,

```auto
apt-get install linux-headers-$(uname -r)

```

some output as follow,

```auto
root@localhost:/home# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.10.35-00023-gcf7d90a076c
E: Couldn't find any package by glob 'linux-headers-5.10.35-00023-gcf7d90a076c'
E: Couldn't find any package by regex 'linux-headers-5.10.35-00023-gcf7d90a076c'

```

Is there some way to get linux header?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 23, 2022, 8:53am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/2 "2022-09-23T08:53:14Z")

</div>

They would need to be packaged from the lx2160a\_build/build directory. Which nvidia driver are you trying to install, I don’t believe their current driver will run under device-tree however I haven’t tested it in a while.

---

<div class="post-metadata">

**Author:** ![vader](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@vader](https://community.solid-run.com/u/vader)\
**Post date:** [September 27, 2022, 2:47am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/3 "2022-09-27T02:47:11Z")

</div>

I try to install P2200 driver. Yes,it’s such a bit difficulty.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 27, 2022, 1:50pm UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/4 "2022-09-27T13:50:08Z")

</div>

So the P2200 is Pascal architecture if I am not mistaken. Unfortunately this needs the standard nvidia binary driver which does not work on HoneyComb. We had worked with Nvidia on this but ultimately they decided they would just support Turing and newer with their fully OSS kernel driver. I have this working with an Nvidia Turing card and everything is fully functional but it only supports Turing and newer. I have tried on older Nvidia GPUs like a GT1030 (also Pascal) and the driver will not work properly.

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 27, 2022, 1:57pm UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/5 "2022-09-27T13:57:55Z")

</div>

If you want to discuss this in more realtime feel free to join our discord channel. [Developer-Ecosystem](https://discord.gg/yFnRAWF)

---

<div class="post-metadata">

**Author:** ![vader](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@vader](https://community.solid-run.com/u/vader)\
**Post date:** [September 28, 2022, 2:19am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/6 "2022-09-28T02:19:23Z")

</div>

thanks for the invitation

---

<div class="post-metadata">

**Author:** ![vader](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@vader](https://community.solid-run.com/u/vader)\
**Post date:** [September 28, 2022, 3:30am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/7 "2022-09-28T03:30:01Z")

</div>

Thx, I will replace P2200 with GTX3080Ti(Ampere) and try again.

The process should be

1. package Linux\_header from lx2160a\_build/build directory
2. install CUDA as described on the NVIDIA Developer website

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 28, 2022, 3:33am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/8 "2022-09-28T03:33:56Z")

</div>

You will need to install the kernel module from [GitHub - NVIDIA/open-gpu-kernel-modules: NVIDIA Linux open GPU kernel module source](https://github.com/NVIDIA/open-gpu-kernel-modules)

Then install the binary driver package as per the directions in that repository. Basically run the installer without the kernel modules, that is all documented by Nvidia.

Then you may need some patches I have made for running everything on the LX2160a with ACPI. I have not tested device-tree at all though.

---

<div class="post-metadata">

**Author:** ![vader](https://avatars.discourse-cdn.com/v4/letter/v/9d8465/32.png) [@vader](https://community.solid-run.com/u/vader)\
**Post date:** [September 30, 2022, 1:09am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/9 "2022-09-30T01:09:41Z")

</div>

thanks for your help. where may I get those patches?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [October 4, 2022, 6:51am UTC](https://community.solid-run.com/t/how-to-get-linux-header-of-kernel-version-5-10-35-00023-gcf7d90a076c/470/10 "2022-10-04T06:51:27Z")

</div>

> <https://gist.github.com/jnettlet/226c0787ae9744082493accc512a9a6b>
