内核升级后,displayLink驱动程序无法工作

分享于 

3分钟阅读

ubuntu

  繁體

问题:

我更新了内核到5.4.0-42-generic之后, dock不再工作了,我尝试重新安装驱动程序并得到以下消息。


Verifying archive integrity... 100% All good.


Uncompressing DisplayLink Linux Driver 5.2.14 100% 


DisplayLink Linux Software 5.2.14 install script called: install


Distribution discovered: Ubuntu 18.04.4 LTS


Installing


Configuring EVDI DKMS module


Registering EVDI kernel module with DKMS


Building EVDI kernel module with DKMS


ERROR (code 3): Failed to build evdi/5.2.14. Consult /var/lib/dkms/evdi/5.2.14/build/make.log for details...



日志


DKMS make.log for evdi-5.2.14 for kernel 5.4.0-42-generic (x86_64)


Thu Jul 23 09:40:00 CEST 2020


make: getcwd: No such file or directory


make: *** No rule to make target 'all'. Stop.


DKMS make.log for evdi-5.2.14 for kernel 5.4.0-42-generic (x86_64)


Thu Jul 23 09:40:03 CEST 2020


make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/5.4.0-42-generic/build modules


make[1]: Entering directory '/usr/src/linux-headers-5.4.0-42-generic'


make -f ./Makefile syncconfig


make -f ./scripts/Makefile.build obj=scripts/basic


rm -f .tmp_quiet_recordmcount


make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig


 flex -oscripts/kconfig/lexer.lex.c -L scripts/kconfig/lexer.l


/bin/sh: 1: flex: not found


scripts/Makefile.host:9: recipe for target 'scripts/kconfig/lexer.lex.c' failed


make[3]: *** [scripts/kconfig/lexer.lex.c] Error 127


make[3]: *** Waiting for unfinished jobs....


 bison -o scripts/kconfig/parser.tab.c --defines=scripts/kconfig/parser.tab.h -t -l scripts/kconfig/parser.y


/bin/sh: 1: bison: not found


scripts/Makefile.host:17: recipe for target 'scripts/kconfig/parser.tab.h' failed


make[3]: *** [scripts/kconfig/parser.tab.h] Error 127


Makefile:594: recipe for target 'syncconfig' failed


make[2]: *** [syncconfig] Error 2


Makefile:704: recipe for target 'include/config/auto.conf.cmd' failed


make[1]: *** [include/config/auto.conf.cmd] Error 2


make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-42-generic'


Makefile:22: recipe for target 'all' failed


make: *** [all] Error 2




答案1:

更新到displaylink驱动程序5.3.1后,我在ubuntu_18.04,内核5.4.0和displaylink驱动程序5.2上遇到了相同的问题,它再次开始工作。


答案2:

肯定是最近的内核更新导致的。第一步你应该试着用以前的内核版本启动ubuntu,

系统启动时,像以前尝试的那样重新安装displaylink驱动程序。



Drive  disp  内核  
相关文章