You are not logged in.
I have two of these servers, One as a server running CentOS 7.2, and one as a workstation, running Arch Linux
Lenovo offers native Linux Bios update, which is very impressive. I managed to get this to work on my CentOS server by simply installing the kernel-headers package.
I seem to remember this working on Arch Linux in the past (though it's possible I'm mis-remembering). when I installed a kernel headers package.
Now though, I'm unable to get it to work
[syxbit@desktop BIOSLinux64]$ sudo sh Linux64.sh
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:42:1: warning: data definition has no type or storage class
module_init(amifldrv_init_module);
^
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:42:1: error: type defaults to ‘int’ in declaration of ‘module_init’ [-Werror=implicit-int]
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:42:1: warning: parameter names (without types) in function declaration
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:43:1: warning: data definition has no type or storage class
module_exit(amifldrv_cleanup_module);
^
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:43:1: error: type defaults to ‘int’ in declaration of ‘module_exit’ [-Werror=implicit-int]
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:43:1: warning: parameter names (without types) in function declaration
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:14:12: warning: ‘amifldrv_init_module’ defined but not used [-Wunused-function]
static int amifldrv_init_module(void)
^
/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.c:22:13: warning: ‘amifldrv_cleanup_module’ defined but not used [-Wunused-function]
static void amifldrv_cleanup_module(void)
^
cc1: some warnings being treated as errors
make[2]: *** [/home/syxbit/Downloads/Misc/BIOSLinux64/.temp/amifldrv.o] Error 1
make[1]: *** [_module_/home/syxbit/Downloads/Misc/BIOSLinux64/.temp] Error 2
make: *** [default] Error 2
10 - Error: Unable to load driver.
Any ideas?
Offline
Where did you download the BIOS updater from? Does it have any README? As for it not working with Arch, it could be a kernel version issue.
Offline
To my untrained eye it seems that the problem is bad code and a modern gcc complains about it, specifically the lines with '[-Werror=implicit-int]'.
You may be able to take that Linux64.sh apart and fix the code, do all the steps manually and use less strict gcc switches. The alternative would be to run that in a supported live environment, for that you will have to check which systems are supported.
That said, I would use any ready made bootable medium the manufacturer makes available or use a bios file and do the update directly from the bios if possible.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
To my untrained eye it seems that the problem is bad code and a modern gcc complains about it, specifically the lines with '[-Werror=implicit-int]'.
You may be able to take that Linux64.sh apart and fix the code, do all the steps manually and use less strict gcc switches. The alternative would be to run that in a supported live environment, for that you will have to check which systems are supported.
That said, I would use any ready made bootable medium the manufacturer makes available or use a bios file and do the update directly from the bios if possible.
That could be. Lenovo officially supports RHEL. I'm pretty sure they don't support 4.x kernels.
Offline