Package Details: bios-lenovo-thinkserver-ts140 20200526.DDA-1

Git Clone URL: https://aur.archlinux.org/bios-lenovo-thinkserver-ts140.git (read-only, click to copy)
Package Base: bios-lenovo-thinkserver-ts140
Description: BIOS update for Lenovo ThinkServer ts140 ts440
Upstream URL: https://datacentersupport.lenovo.com/us/en/products/servers/thinkserver/ts140
Licenses: custom
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 1
Popularity: 0.000000
First Submitted: 2016-06-23 17:25
Last Updated: 2020-12-11 06:48

Latest Comments

kIERO commented on 2020-12-12 03:30

It worked.

Amazing, thanks.

severach commented on 2020-12-11 06:49

Try again.

kIERO commented on 2020-12-10 18:14

Gives me error, I have the headers, rebooted...

==> Starting build()...
 - Program initializing .. 
 - Make AFULNX driver .... make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
/home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.c:50:3: error: ‘struct file_operations’ has no meuserer named ‘ioctl’
   50 |   ioctl:   wrap_ioctl,
      |   ^~~~~
/home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.c:50:12: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
   50 |   ioctl:   wrap_ioctl,
      |            ^~~~~~~~~~
/home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.c:50:12: note: (near initialization for ‘amifldrv_fops’)
/home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.c:50:12: error: initialization of ‘int (*)(struct file *, loff_t,  loff_t,  int)’ {aka ‘int (*)(struct file *, long long int,  long long int,  int)’} from incompatible pointer type ‘int (*)(struct inode *, struct file *, unsigned int,  long unsigned int)’ [-Werror=incompatible-pointer-types]
/home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.c:50:12: note: (near initialization for ‘amifldrv_fops.fsync’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:283: /home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp/amiwrap.o] Error 1
make[1]: *** [Makefile:1784: /home/user/.cache/yay/bios-lenovo-thinkserver-ts140/src/BIOSLinux64/.temp] Error 2
make: *** [Makefile:8: default] Error 2
fail
10 - Error: Unable to load driver.
==> ERROR: A failure occurred in build().
/usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable
/usr/bin/makepkg: line 132: logpipe: unbound variable
error making: bios-lenovo-thinkserver-ts140

m8D2 commented on 2018-12-03 18:34

Thanks @severach! maybe this AUR package was updated right after I just upgraded the headers, so after a reboot, I ran upgrade again, and this time it upgraded successfully. Thank you again for the great work!

severach commented on 2018-12-03 18:27

Look through uname -r; pacman -Qs 'linux.*headers'. There should be a linux-headers installed for the version you're running.

firecat53 commented on 2018-01-09 05:32

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.

bios-lenovo-thinkserver-ts140 $ uname -a
Linux homeserver 4.14.12-1-ARCH #1 SMP PREEMPT Fri Jan 5 18:19:34 UTC 2018 x86_64 GNU/Linux

bios-lenovo-thinkserver-ts140 $ pacman -Qs headers|grep linux
local/linux-api-headers 4.14.8-1
local/linux-headers 4.14.12-1
local/linux-lts-headers 4.9.75-1

$ ls /usr/lib/modules                  
4.14.12-1-ARCH  4.9.75-1-lts  extramodules-4.14-ARCH

Any other ideas? Thanks, Scott

severach commented on 2018-01-09 01:31

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

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.