Sounds like you are missing the kernel headers. The package installs the kernel headers for the latest kernel but it's not practical to install the headers for every LTS kernel version you might boot. Try pacman -S linux-lts-headers
Search Criteria
Package Details: bios-lenovo-thinkserver-ts140 20180221.CVA-1
Git Clone URL: | https://aur.archlinux.org/bios-lenovo-thinkserver-ts140.git (read-only) |
---|---|
Package Base: | bios-lenovo-thinkserver-ts140 |
Description: | BIOS update for Lenovo ThinkServer ts140 ts440 |
Upstream URL: | http://support.lenovo.com/us/en/products/Servers/ThinkServer-tower-servers/ThinkServer-TS140 |
Licenses: | |
Submitter: | severach |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 1 |
Popularity: | 0.417205 |
First Submitted: | 2016-06-23 17:25 |
Last Updated: | 2018-03-10 05:22 |
Dependencies (7)
- binutils (binutils-tune-bfd-hash, binutils-git)
- gcc (gcc-multilib-x32, gcc-git, gcc-multilib-git, gcc6-gcccompat)
- glibc (glibc-git)
- linux (linux-surface3-git, linux-drm-tip-git, linux-libre, linux-xanmod-git, linux-bcachefs-git, linux-galliumos, linux-odroid-u3-git, linux-pf-lts, linux-amd-staging-git, linux-ryzen-amd-staging-drm-next-git, linux-bfq-mq-git, linux-xanmod, linux-ec2, linux-surfacepro3-git, linux-ryzen-git, linux-aarch64-raspberrypi-bin, linux-git, linux-bfq-mq, linux-linode, linux-amd-staging-drm-next-git)
- linux-headers (linux-surface3-git-headers, linux-lts-ck-headers, linux-drm-tip-git-headers, linux-lts41-ck-headers, linux-libre-headers, linux-xanmod-git-headers, linux-galliumos-headers, linux-ck-vfiomsitest-headers, linux-headers-odroid-u3-git, linux-pf-lts-headers, linux-amd-staging-git-headers, linux-ryzen-amd-staging-drm-next-git-headers, linux-bfq-mq-git-headers, linux-xanmod-headers, linux-ec2-headers, linux-surfacepro3-git-headers, linux-ryzen-git-headers, linux-git-headers, linux-bfq-mq-headers, linux-ck-headers, linux-gc-headers, linux-amd-staging-drm-next-git-headers)
- make (make3, make-git)
- sudo (nosudo, sudo-masochist, sudo-selinux)
Required by (0)
Sources (3)
- https://download.lenovo.com/pccbbs/thinkservers/bios_me_ts140-240-440-540_fbktcva_bioslinux32.tgz (i686)
- https://download.lenovo.com/pccbbs/thinkservers/bios_me_ts140-240-440-540_fbktcva_bioslinux32.txt
- https://download.lenovo.com/pccbbs/thinkservers/bios_me_ts140-240-440-540_fbktcva_bioslinux64.tgz (x86_64)
Latest Comments
firecat53 commented on 2018-01-09 05:32
severach commented on 2018-01-09 01:31
firecat53 commented on 2018-01-08 22:43
Hey, do you have any idea if these errors are fixable, or if there's an issue with my system?
bios-lenovo-thinkserver-ts140 $ sudo ./Linux.sh
In file included from /usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.c:17:0:
./arch/x86/include/asm/uaccess.h: In function ‘set_fs’:
./arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type ‘struct task_struct’
current->thread.addr_limit = fs;
^~
/usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.c: In function ‘wrap_copy_from_user’:
/usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.c:177:9: error: implicit declaration of function ‘copy_from_user’; did you mean ‘raw_copy_from_user’? [-Werror=implicit-function-declaration]
return copy_from_user(pvArg0, pvArg1, ulArg0);
^~~~~~~~~~~~~~
raw_copy_from_user
/usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.c: In function ‘wrap_copy_to_user’:
/usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.c:183:9: error: implicit declaration of function ‘copy_to_user’; did you mean ‘raw_copy_to_user’? [-Werror=implicit-function-declaration]
return copy_to_user(pvArg0, pvArg1, ulArg0);
^~~~~~~~~~~~
raw_copy_to_user
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:315: /usr/lib/bios-lenovo-thinkserver-ts140/.temp/amiwrap.o] Error 1
make[1]: *** [Makefile:1507: _module_/usr/lib/bios-lenovo-thinkserver-ts140/.temp] Error 2
make: *** [Makefile:8: default] Error 2
10 - Error: Unable to load driver.
Hmmm, I've already got linux-headers installed. I installed linux-lts-headers per your suggestion, but I'm not sure why, as I'm not running the lts kernel.
Any other ideas? Thanks, Scott