怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#1

帖子 nicejack » 2017-04-30 16:02

怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核;进4.6的内核;不管做什么都有点卡
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#2

帖子 vickycq » 2017-04-30 21:05

执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
lspci -knn
find /lib/modules | grep nvidia.ko
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#3

帖子 nicejack » 2017-05-03 14:59

root@zhu:/home/zhu# uname -a
Linux zhu 4.6.0-rc7+ #6 SMP Wed May 11 18:03:51 CEST 2016 x86_64 x86_64 x86_64 GNU/Linux
root@zhu:/home/zhu# lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:591f] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:01.1 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x8) [8086:1905] (rev 05)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5912] (rev 04)
DeviceName: Onboard IGD
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a2af]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a2ba]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a282]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
Kernel driver in use: ahci
Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a2e7] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1b.4 PCI bridge [0604]: Intel Corporation Device [8086:a2eb] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a290] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:a294] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a298] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c5]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
00:1f.2 Memory controller [0580]: Intel Corporation Device [8086:a2a1]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a2f0]
Subsystem: ASUSTeK Computer Inc. Device [1043:8736]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a2a3]
Subsystem: ASUSTeK Computer Inc. Device [1043:872f]
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (5) I219-V [8086:15d6]
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (5) I219-V [1043:8672]
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 Mass storage controller [0180]: Apple Inc. Device [106b:2002] (rev 11)
Subsystem: Apple Inc. Device [106b:2002]
Kernel driver in use: nvme
Kernel modules: nvme
04:00.0 Non-Volatile memory controller [0108]: Intel Corporation Device [8086:f1a5] (rev 03)
Subsystem: Intel Corporation Device [8086:390a]
Kernel driver in use: nvme
Kernel modules: nvme
06:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
Subsystem: ASUSTeK Computer Inc. ASM1142 USB 3.1 Host Controller [1043:8675]
Kernel driver in use: xhci_hcd
root@zhu:/home/zhu# find /lib/modules |grep nvidia.ko
root@zhu:/home/zhu# find /lib/modules | grep nvidia.ko
root@zhu:/home/zhu# find /lib/modules | grep nvidia.ko
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#4

帖子 nicejack » 2017-05-04 15:05

大家帮我看下啊
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#5

帖子 poloshiao » 2017-05-04 20:19

Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核
1. Ubuntu 16.04 預裝 Linux kernel 4.4
1-1. https://wiki.ubuntu.com/XenialXerus/Rel ... kernel_4.4
Ubuntu 16.04 LTS is based on the long-term supported Linux release series 4.4.

2. Linux kernel 4.8 是 HWE Stack
2-0. HWE Stack 套件是 linux-image-generic-hwe-16.04 版本是 4.8.0.49.21
http://packages.ubuntu.com/search?suite ... chon=names
套件 linux-image-generic-hwe-16.04
xenial (16.04LTS) (kernel): Generic Linux kernel image
4.8.0.49.21 [security]
2-1. https://wiki.ubuntu.com/Kernel/RollingL ... k#Proposal
Desktop installs will continue to offer the HWE Stack option only and default to it.
2-2. https://wiki.ubuntu.com/YakketyYak/Rele ... kernel_4.8
Ubuntu 16.10 is based on the Linux release series 4.8.
2-3-1. 3. 在 Linux kernel 4.8 與 Linux kernel 4.4 之間 並沒有 Linux kernel 4.6
2-3-2. 意思是 Linux kernel 4.6 並非 Ubuntu 16.04.02 的 穩定版本

3. 什麼原因 你必須降級為 Linux kernel 4.6
3-1. 如何降級為 4.6 ?
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#6

帖子 nicejack » 2017-05-05 14:24

我现在要做一个芯片的驱动;但是拿不到这个芯片的资料;只有一个这个芯片的二进制文件;这个二进制文件是4.6编译的
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#7

帖子 nicejack » 2017-05-05 14:26

会不会是系统兼容高版本的好些;兼容低版本的就差很 多啊;那我把高版本的删掉;会不会好点啊
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#8

帖子 vickycq » 2017-05-05 15:08

nicejack 写了:会不会是系统兼容高版本的好些;兼容低版本的就差很 多啊;那我把高版本的删掉;会不会好点啊
您的处理器属于 SkyLake 微架构,比较新。内核当然越新越好。关于有点卡的问题,您可能遇到了一些已知问题,建议到 https://bugzilla.kernel.orghttps://bugs.freedesktop.org 这几个地方逛一逛。不过就算找到了相似的问题,解决方案也多半是使用最新的内核。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
nicejack
帖子: 6
注册时间: 2010-06-03 22:46

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#9

帖子 nicejack » 2017-05-05 15:34

但是在另外和我配置一样的电脑上装的4.6和4.4内核就不会出现这样的情况
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 怎么Ubuntu 16.04 LTS 4.8的内核降级成4.6的内核

#10

帖子 poloshiao » 2017-05-05 17:11

这个二进制文件是4.6编译的
1. 你可以下載
1-1. Ubuntu 16.04 的 ISO
https://wiki.ubuntu.com/XenialXerus/ReleaseNotes/16.04
1-2. 或 Ubuntu 16.04.1 的 ISO
https://wiki.ubuntu.com/XenialXerus/Rel ... es/16.04.1
來安裝 Ubuntu 16.04
1-3. 安裝完成 或 日後更新 就預設不會安裝 套件 linux-image-generic-hwe-16.04 (除非你手動安裝)
1-4. 安裝後 把 整個 Ubuntu 16.04 系統 全部備存
然後 安裝 linux-kernel 4.6
1-5. 注意 從 Linux 官網下載來安裝 跟 從 Ubuntu 官網下載來安裝 的 Linux kernel 是不一樣的
在另外和我配置一样的电脑上装的4.6和4.4内核就不会出现这样的情况
2. 補充
如果 你直接下載 Ubuntu 16.04.2以後版本的 ISO 來安裝
預設就會安裝 套件 linux-image-generic-hwe-16.04
2-1. 這個時候的 Linux kernel 版本 更新 請參閱
https://wiki.ubuntu.com/Kernel/RollingL ... ementStack
RollingLTSEnablementStack
回复