Code: Select all
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h
Code: Select all
sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h
Code: Select all
ed@ed-CF-18KHHMXBM:~$ sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h
[sudo] password for ed:
ed@ed-CF-18KHHMXBM:~$ cd panasonic-hbtn
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ make
make -C /lib/modules/4.4.0-24-generic/build M=/home/ed/panasonic-hbtn modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-24-generic'
rm: cannot remove '/home/ed/panasonic-hbtn/.tmp_versions/panasonic-hbtn.mod': Permission denied
Makefile:1389: recipe for target 'crmodverdir' failed
make[1]: *** [crmodverdir] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-24-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$
Code: Select all
rm: cannot remove '/home/ed/panasonic-hbtn/.tmp_versions/panasonic-hbtn.mod': Permission denied
Code: Select all
ed@ed-CF-18KHHMXBM:~$ cd panasonic-hbtn
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ sudo make
[sudo] password for ed:
make -C /lib/modules/4.4.0-24-generic/build M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-24-generic'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'. Stop.
arch/x86/Makefile:199: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-24-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$
Code: Select all
dpkg --list|grep linux-image
dpkg --list|grep linux-headers
Code: Select all
ed@ed-CF-18KHHMXBM:~$ dpkg --list|grep linux-image
ii linux-image-4.4.0-21-generic 4.4.0-21.37 i386 Linux kernel image for version 4.4.0 on 32 bit x86 SMP
ii linux-image-4.4.0-24-generic 4.4.0-24.43 i386 Linux kernel image for version 4.4.0 on 32 bit x86 SMP
ii linux-image-extra-4.4.0-21-generic 4.4.0-21.37 i386 Linux kernel extra modules for version 4.4.0 on 32 bit x86 SMP
ii linux-image-extra-4.4.0-24-generic 4.4.0-24.43 i386 Linux kernel extra modules for version 4.4.0 on 32 bit x86 SMP
ii linux-image-generic 4.4.0.24.25 i386 Generic Linux kernel image
ed@ed-CF-18KHHMXBM:~$ dpkg --list|grep linux-headers
ii linux-headers-4.4.0-21 4.4.0-21.37 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-21-generic 4.4.0-21.37 i386 Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
ii linux-headers-4.4.0-24 4.4.0-24.43 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-24-generic 4.4.0-24.43 i386 Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
ii linux-headers-generic 4.4.0.24.25 i386 Generic Linux kernel headers
ed@ed-CF-18KHHMXBM:~$
You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?kode-niner wrote:Did you purposely downgrade your kernel at one time or another or have you configured grub to boot or are manually booting the older version?
I honestly have no idea. That was not a deliberate choice.kode-niner wrote:You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?kode-niner wrote:Did you purposely downgrade your kernel at one time or another or have you configured grub to boot or are manually booting the older version?