文章分類


有關阿原記事本

阿原,江易原,記下一些事情跟朋友們分享,也留下自己學習與成長的紀錄。教學課程請見 "阿原小站" 還有阿原開放式課程阿原直播與教學影片阿原生活影片阿原創新顧問公司阿原科幻小說-NC1543、教師教學社團:開源軟體與教學應用
版權:除特別聲明外,本網站之照片及文字等,皆為版權沒有 (public domain, Creative Commons Zero),歡迎使用
*本站累積不少教學與食品安全資料,請善用左上角的網頁搜尋功能,或是網頁右方文章分類整理。

2020/08/18

升級 kernel from 5.7.9 to 5.8.1,祝阿原好運



$ uname -a
Linux  5.7.9-050709-generic #202007160732 SMP Thu Jul 16 07:42:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


$ ls
linux-headers-5.8.1-050801_5.8.1-050801.202008111432_all.deb
linux-headers-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb
linux-image-unsigned-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb
linux-modules-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb
$ sudo dpkg -i *.deb
[sudo] good 的密碼:        
選取了原先未選的套件 linux-headers-5.8.1-050801。
(讀取資料庫 ... 目前共安裝了 558339 個檔案和目錄。)
正在準備解包 linux-headers-5.8.1-050801_5.8.1-050801.202008111432_all.deb……
解開 linux-headers-5.8.1-050801 (5.8.1-050801.202008111432) 中...
選取了原先未選的套件 linux-headers-5.8.1-050801-generic。
正在準備解包 linux-headers-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb……
解開 linux-headers-5.8.1-050801-generic (5.8.1-050801.202008111432) 中...
選取了原先未選的套件 linux-image-unsigned-5.8.1-050801-generic。
正在準備解包 linux-image-unsigned-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb……
解開 linux-image-unsigned-5.8.1-050801-generic (5.8.1-050801.202008111432) 中...
選取了原先未選的套件 linux-modules-5.8.1-050801-generic。
正在準備解包 linux-modules-5.8.1-050801-generic_5.8.1-050801.202008111432_amd64.deb……
解開 linux-modules-5.8.1-050801-generic (5.8.1-050801.202008111432) 中...
設定 linux-headers-5.8.1-050801 (5.8.1-050801.202008111432) ...
設定 linux-headers-5.8.1-050801-generic (5.8.1-050801.202008111432) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.1-050801-generic

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild
Hunk #1 succeeded at 79 (offset 8 lines).


Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.8.1-050801-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.8.1-050801-generic/build LD=/usr/bin/ld.bfd modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.1-050801-generic (x86_64)
Consult /var/lib/dkms/nvidia/440.100/build/make.log for more information.
   ...done.
設定 linux-modules-5.8.1-050801-generic (5.8.1-050801.202008111432) ...
設定 linux-image-unsigned-5.8.1-050801-generic (5.8.1-050801.202008111432) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.7.9-050709-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.7.9-050709-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.1-050801-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.8.1-050801-generic
執行 linux-image-unsigned-5.8.1-050801-generic (5.8.1-050801.202008111432) 的觸發程式……
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.1-050801-generic

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch disable_fstack-clash-protection_fcf-protection.patch...patching file Kbuild
Hunk #1 succeeded at 79 (offset 8 lines).


Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.8.1-050801-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.8.1-050801-generic/build LD=/usr/bin/ld.bfd modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.8.1-050801-generic (x86_64)
Consult /var/lib/dkms/nvidia/440.100/build/make.log for more information.
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.1-050801-generic
W: Possible missing firmware /lib/firmware/amdgpu/navi12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi14_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_dmcu.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=08c11171-df56-40a2-8c16-ba324ed09fee)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
正在產生 grub 設定檔 ...
找到 linux 映像檔:/boot/vmlinuz-5.8.1-050801-generic
找到 initrd 映像檔:/boot/initrd.img-5.8.1-050801-generic
找到 linux 映像檔:/boot/vmlinuz-5.7.9-050709-generic
找到 initrd 映像檔:/boot/initrd.img-5.7.9-050709-generic
找到 linux 映像檔:/boot/vmlinuz-5.4.0-42-generic
找到 initrd 映像檔:/boot/initrd.img-5.4.0-42-generic
找到 linux 映像檔:/boot/vmlinuz-5.4.0-40-generic
找到 initrd 映像檔:/boot/initrd.img-5.4.0-40-generic
找到 linux 映像檔:/boot/vmlinuz-5.3.18-050318-generic
找到 initrd 映像檔:/boot/initrd.img-5.3.18-050318-generic
找到 linux 映像檔:/boot/vmlinuz-5.0.0-32-generic
找到 initrd 映像檔:/boot/initrd.img-5.0.0-32-generic
Adding boot menu entry for UEFI Firmware Settings
-----------
OK 準備重新開機,祝阿原好運。