Ubuntu16.04.10 kernel built with Linux 4.19.9/Dec 13, 2018 with GRUB2

20 篇文章 0 订阅

Linux kernel stable git

git   clone   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Tag 

git tag/v4.19.9

commit be53d23e68c29900da6b6ce486b5ab8507de94b1
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Thu Dec 13 09:16:23 2018 +0100

    Linux 4.19.9  

lake@lake-Latitude-5491:~/linux-stable$ make x86_64_defconfig  ######## Change to enable Nvm for SSD disk

lake@lake-Latitude-5491:~/linux-stable$ make
  CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CHK     include/generated/compile.h

.................

Kernel: arch/x86/boot/bzImage is ready  (#1)
  Building modules, stage 2.
  MODPOST 17 modules
lake@lake-Latitude-5491:~/linux-stable$


lake@lake-Latitude-5491:~/linux-stable$ sudo   cp arch/x86_64/boot/bzImage   /boot/vmlinuz-4.19.9

lake@lake-Latitude-5491:~/linux-stable$ sudo  cp System.map   /boot/System.map-4.19.9
lake@lake-Latitude-5491:~/linux-stable$ sudo  cp .config  /boot/config-4.19.9
 

lake@lake-Latitude-5491:~/linux-stable$  make modules
  CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  Building modules, stage 2.
  MODPOST 17 modules
lake@lake-Latitude-5491:~/linux-stable$

lake@lake-Latitude-5491:~/linux-stable$ sudo make INSTALL_MOD_STRIP=1 modules_install
[sudo] password for lake:
  INSTALL drivers/thermal/x86_pkg_temp_thermal.ko
  INSTALL fs/efivarfs/efivarfs.ko
  INSTALL net/ipv4/netfilter/ipt_MASQUERADE.ko
  INSTALL net/ipv4/netfilter/iptable_nat.ko
  INSTALL net/ipv4/netfilter/nf_log_arp.ko
  INSTALL net/ipv4/netfilter/nf_log_ipv4.ko
  INSTALL net/ipv4/netfilter/nf_nat_ipv4.ko
  INSTALL net/ipv6/netfilter/nf_log_ipv6.ko
  INSTALL net/netfilter/nf_log_common.ko
  INSTALL net/netfilter/nf_nat.ko
  INSTALL net/netfilter/nf_nat_ftp.ko
  INSTALL net/netfilter/nf_nat_irc.ko
  INSTALL net/netfilter/nf_nat_sip.ko
  INSTALL net/netfilter/xt_LOG.ko
  INSTALL net/netfilter/xt_addrtype.ko
  INSTALL net/netfilter/xt_mark.ko
  INSTALL net/netfilter/xt_nat.ko
  DEPMOD  4.19.9
lake@lake-Latitude-5491:~/linux-stable$


lake@lake-Latitude-5491: $cd  /lib/modules/4.19.9

$ sudo update-initramfs -c -k 4.19.6
$ sudo update-grub

 

 

########## reboot
lake@lake-Latitude-5491:~$ cat /proc/version
Linux version 4.19.9 (lake@lake-Latitude-5491) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #2 SMP Fri Dec 14 22:33:07 CST 2018
lake@lake-Latitude-5491:~$

lake@lake-Latitude-5491:~$ lsusb  ##########  issue of new hardware
lake@lake-Latitude-5491:~$ lsmod
Module                  Size  Used by
x86_pkg_temp_thermal    16384  0
efivarfs               16384  1
lake@lake-Latitude-5491:~$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值