~Toughbooktalk~ Rob - 630-300-8877

The largest Toughbook discussion site on the net!
It is currently Sun Dec 10, 2017 10:12 pm

All times are UTC-06:00




Post new topic  Reply to topic  [ 75 posts ]  Go to page Previous 13 4 5 6 7 8 Next
Author Message
PostPosted: Fri Jun 24, 2016 5:33 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Hmm, try this

Code:
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


then run a make again in the panasonic_hbtn source directory and check for errors

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Mon Jun 27, 2016 11:21 am 
Offline

Joined: Thu Apr 03, 2014 2:28 pm
Posts: 71
Code:
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$



Did I cd into the wrong directory? I noticed you used an underscore rather than a hyphen in "panasonic_hbtn"


Top
   
PostPosted: Mon Jun 27, 2016 3:47 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Code:
rm: cannot remove '/home/ed/panasonic-hbtn/.tmp_versions/panasonic-hbtn.mod': Permission denied

Nah, you got the directory right. I think the last time you compiled it you sudo'ed the command so you have root-owned files in it. Try again with sudo.

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Tue Jun 28, 2016 1:06 pm 
Offline

Joined: Thu Apr 03, 2014 2:28 pm
Posts: 71
Code:
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$



Top
   
PostPosted: Tue Jun 28, 2016 5:48 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Something isn't right with your kernel and headers. Your latest kernel version for your distro seems to be 4.4.0-24 yet you are running 4.4.0-21 and your libc is 4.4.0-24. 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?

Lets confirm what versions you have installed for both.
Code:
dpkg --list|grep linux-image
dpkg --list|grep linux-headers

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Wed Jun 29, 2016 12:36 pm 
Offline

Joined: Thu Apr 03, 2014 2:28 pm
Posts: 71
Code:
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:~$


Top
   
PostPosted: Wed Jun 29, 2016 5:18 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
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?

You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Thu Jun 30, 2016 7:36 am 
Offline

Joined: Thu Apr 03, 2014 2:28 pm
Posts: 71
kode-niner wrote:
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?

You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?


I honestly have no idea. That was not a deliberate choice.


Top
   
PostPosted: Fri Jul 01, 2016 12:57 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Next time you boot, try and choose the latest kernel at the grub menu. It might appear by selecting "Advanced Options for ...." if it's not already in a visible list at the grub menu. Note that this change is not permanent and will only apply to this one time boot, in case for some reason booting another kernel causes your system to crap out. If everything works, we'll worry later about making it permanent.


Attachments:
grubbygrubgrub.jpg
grubbygrubgrub.jpg [ 13.29 KiB | Viewed 818 times ]

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4
Top
   
PostPosted: Fri Jul 01, 2016 2:11 pm 
Offline

Joined: Thu Apr 03, 2014 2:28 pm
Posts: 71
Okay. I had to look up how to get to the grub menu, but I have now successfully (I think) booted with the latest kernel.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 75 posts ]  Go to page Previous 13 4 5 6 7 8 Next

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited