Schorschi
Posts: 202
Joined: Thu Nov 22, 2012 9:38 pm

Get Kernel Headers Package Updated?

Sun Dec 31, 2017 6:46 am

Get Kernel Headers Package Updated?

Seems the latest raspberrypi-kernel-headers package is not current, it stops short of 4.9.72-v7? Seems the latest is 4.9.59-v7+? I am trying to compile rtl8812au driver, and I can do this on 4.9.59-v7 just fine because the package has the build information. But not so for 4.9.72-v7+ version.

/lib/modules# ls -l
total 20
drwxr-xr-x 2 root root 4096 Dec 31 04:41 3.6-trunk-rpi
drwxr-xr-x 3 root root 4096 Dec 31 06:28 4.9.59+
drwxr-xr-x 3 root root 4096 Dec 31 06:38 4.9.59-v7+
drwxr-xr-x 3 root root 4096 Dec 31 04:59 4.9.72+
drwxr-xr-x 3 root root 4096 Dec 31 04:59 4.9.72-v7+

/lib/modules/4.9.59-v7+# ls -l
total 1868
lrwxrwxrwx 1 root root 33 Oct 30 10:38 build -> /usr/src/linux-headers-4.9.59-v7+

Time line for when this might get done?
Thanks.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5212
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Get Kernel Headers Package Updated?

Sun Dec 31, 2017 9:27 am

It almost certainly won't.
raspberrypi-kernel-headers matches the kernel that is distributed via the Raspbian repo. If you're running 4.9.72 then you've used rpi-update instead.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

sparkie777
Posts: 118
Joined: Tue Nov 27, 2012 4:37 am

Re: Get Kernel Headers Package Updated?

Sun Dec 31, 2017 10:50 am

have a look at
How compile a loadable kernel module without recompiling kernel - Raspberry Pi Stack Exchange

both variants (rpi-update kernel and 'raspberrypi-kernel' package) are covered there. Maybe not quite up to date.

Schorschi
Posts: 202
Joined: Thu Nov 22, 2012 9:38 pm

Re: Get Kernel Headers Package Updated?

Thu Jan 11, 2018 4:23 pm

So the real question is why the 'raspberrypi-kernel-headers' package is lagging (several?) kernel updates?

sparkie777
Posts: 118
Joined: Tue Nov 27, 2012 4:37 am

Re: Get Kernel Headers Package Updated?

Thu Jan 11, 2018 4:56 pm

kernel-headers and kernel are pretty much in sync here:

Code: Select all

ii  raspberrypi-kernel              1.20171029-1                      armhf        Raspberry Pi bootloader
ii  raspberrypi-kernel-headers      1.20171029-1                      armhf        Header files for the Raspberry Pi Linux kernel
I don't know what the problem is?

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5212
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Get Kernel Headers Package Updated?

Thu Jan 11, 2018 5:01 pm

Schorschi wrote:
Thu Jan 11, 2018 4:23 pm
So the real question is why the 'raspberrypi-kernel-headers' package is lagging (several?) kernel updates?
It's not - it matches the raspberrypi-kernel package, which is the latest stable release for Raspbian.

You appear to have chosen to use rpi-update to grab the bleeding edge kernel which is distributed outside of Raspbian. apt has no knowledge of that.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Advanced users”

Who is online

Users browsing this forum: No registered users and 18 guests