No Linux headers

Test and fix the Kernel 4.14 features
Post Reply
stevemartinov
Posts: 20
Joined: Fri Feb 08, 2019 10:59 pm
languages_spoken: english
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

No Linux headers

Unread post by stevemartinov » Wed Mar 20, 2019 5:55 pm

I have XU4Q and when I type uname -r I get:
4.14.102+

But in /usr/src/ I do not see any 4.14.102+ Linux headers. Why is that?

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: No Linux headers

Unread post by odroid » Wed Mar 20, 2019 6:03 pm

Which OS image do you use?
Ubuntu 18.04 image should have the header package by default

Code: Select all

odroid@odroid:~$ ls /usr/src/
linux-4.14.102-156 

stevemartinov
Posts: 20
Joined: Fri Feb 08, 2019 10:59 pm
languages_spoken: english
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: No Linux headers

Unread post by stevemartinov » Wed Mar 20, 2019 6:10 pm

I am using 18.04 and /usr/src/ I get this:

linux-headers-4.15.0-46
googletest
linux-4.14.94-155
linux-headers-4.15.0-46-generic

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: No Linux headers

Unread post by odroid » Wed Mar 20, 2019 6:25 pm

Try this command if your custom built Kernel doesn't matter.

Code: Select all

sudo apt install --reinstall  linux-odroid-5422

stevemartinov
Posts: 20
Joined: Fri Feb 08, 2019 10:59 pm
languages_spoken: english
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: No Linux headers

Unread post by stevemartinov » Wed Mar 20, 2019 6:41 pm

I get this message:

Reinstallation of linux-odroid-5422 is not possible, it cannot be downloaded.

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: No Linux headers

Unread post by odroid » Wed Mar 20, 2019 6:49 pm

I think you might break some dependencies when you built/install your custom kernel.
Cleanly flash the OS image again if you can't fix it.

stevemartinov
Posts: 20
Joined: Fri Feb 08, 2019 10:59 pm
languages_spoken: english
ODROIDs: Odroid XU4Q
Has thanked: 0
Been thanked: 0
Contact:

Re: No Linux headers

Unread post by stevemartinov » Wed Mar 20, 2019 6:55 pm

Can you send me the link to the OS image that I can flash?

User avatar
odroid
Site Admin
Posts: 32146
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 119 times
Been thanked: 297 times
Contact:

Re: No Linux headers

Unread post by odroid » Wed Mar 20, 2019 7:17 pm


Post Reply

Return to “Linux Kernel 4.14 Debugging Party”

Who is online

Users browsing this forum: No registered users and 2 guests