Ubuntu Server 13.10:如何降级内核

Ubuntu Server 13.10:如何降级内核

Ubuntu Server 13.10似乎非常不稳定,我的系统随机崩溃,没有明显原因,并且系统日志中没有显示任何内容。

这是崩溃发生时控制台的屏幕截图

在此处输入图片描述

无论如何,我认为这实际上是由新内核 3.11 引起的。我想降级到 3.4 来检查它。可以吗?

sudo aptitude search linux-image表示我唯一可用的版本是 3.11 内核:

p   linux-image                                                     - Generic Linux kernel image.                                               
p   linux-image:i386                                                - Generic Linux kernel image.                                               
v   linux-image-3.0                                                 -                                                                           
v   linux-image-3.0:i386                                            -                                                                           
p   linux-image-3.11.0-11-lowlatency                                - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-11-lowlatency:i386                           - Linux kernel image for version 3.11.0 on x86/x86_64                       
i A linux-image-3.11.0-12-generic                                   - Linux kernel image for version 3.11.0 on 64 bit x86 SMP                   
p   linux-image-3.11.0-12-generic:i386                              - Linux kernel image for version 3.11.0 on 32 bit x86 SMP                   
p   linux-image-3.11.0-13-generic                                   - Linux kernel image for version 3.11.0 on 64 bit x86 SMP                   
p   linux-image-3.11.0-13-generic:i386                              - Linux kernel image for version 3.11.0 on 32 bit x86 SMP                   
p   linux-image-3.11.0-13-lowlatency                                - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-13-lowlatency:i386                           - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-14-generic                                   - Linux kernel image for version 3.11.0 on 64 bit x86 SMP                   
p   linux-image-3.11.0-14-generic:i386                              - Linux kernel image for version 3.11.0 on 32 bit x86 SMP                   
p   linux-image-3.11.0-14-lowlatency                                - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-14-lowlatency:i386                           - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-15-generic                                   - Linux kernel image for version 3.11.0 on 64 bit x86 SMP                   
p   linux-image-3.11.0-15-generic:i386                              - Linux kernel image for version 3.11.0 on 32 bit x86 SMP                   
p   linux-image-3.11.0-15-lowlatency                                - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.11.0-15-lowlatency:i386                           - Linux kernel image for version 3.11.0 on x86/x86_64                       
p   linux-image-3.4.0-1-goldfish:i386                               - Linux kernel image for version 3.4.0 on Android touch emulation           
i A linux-image-extra-3.11.0-12-generic                             - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP           
p   linux-image-extra-3.11.0-12-generic:i386                        - Linux kernel extra modules for version 3.11.0 on 32 bit x86 SMP           
p   linux-image-extra-3.11.0-13-generic                             - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP           
p   linux-image-extra-3.11.0-13-generic:i386                        - Linux kernel extra modules for version 3.11.0 on 32 bit x86 SMP           
p   linux-image-extra-3.11.0-14-generic                             - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP           
p   linux-image-extra-3.11.0-14-generic:i386                        - Linux kernel extra modules for version 3.11.0 on 32 bit x86 SMP           
p   linux-image-extra-3.11.0-15-generic                             - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP           
p   linux-image-extra-3.11.0-15-generic:i386                        - Linux kernel extra modules for version 3.11.0 on 32 bit x86 SMP           
p   linux-image-extra-virtual                                       - Transitional package.                                                     
p   linux-image-extra-virtual:i386                                  - Transitional package.                                                     
i A linux-image-generic                                             - Generic Linux kernel image                                                
p   linux-image-generic:i386                                        - Generic Linux kernel image                                                
p   linux-image-generic-pae:i386                                    - Transitional package                                                      
p   linux-image-goldfish:i386                                       - Linux kernel image for the goldfish kernel.                               
p   linux-image-lowlatency                                          - lowlatency Linux kernel image                                             
p   linux-image-lowlatency:i386                                     - lowlatency Linux kernel image                                             
p   linux-image-lowlatency-pae:i386                                 - Transitional package                                                      
p   linux-image-server                                              - Transitional package.                                                     
p   linux-image-server:i386                                         - Transitional package.                                                     
p   linux-image-virtual                                             - This package will always depend on the latest minimal generic kernel image
p   linux-image-virtual:i386                                        - This package will always depend on the latest minimal generic kernel image

apt-cache 搜索 linux-image

alsa-base - ALSA driver configuration files
linux-image - Generic Linux kernel image.
linux-image-3.11.0-12-generic - Linux kernel image for version 3.11.0 on 64 bit x86 SMP
linux-image-extra-3.11.0-12-generic - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
linux-image-extra-virtual - Transitional package.
linux-image-generic - Generic Linux kernel image
linux-image-server - Transitional package.
linux-image-virtual - This package will always depend on the latest minimal generic kernel image.
linux-virtual - Minimal Generic Linux kernel and headers
linux-image-generic-pae - Transitional package
linux-image-3.11.0-11-lowlatency - Linux kernel image for version 3.11.0 on x86/x86_64
linux-image-lowlatency - lowlatency Linux kernel image
linux-image-3.4.0-1-goldfish - Linux kernel image for version 3.4.0 on Android touch emulation
linux-image-goldfish - Linux kernel image for the goldfish kernel.
linux-image-lowlatency-pae - Transitional package
linux-image-3.11.0-13-generic - Linux kernel image for version 3.11.0 on 64 bit x86 SMP
linux-image-3.11.0-14-generic - Linux kernel image for version 3.11.0 on 64 bit x86 SMP
linux-image-3.11.0-15-generic - Linux kernel image for version 3.11.0 on 64 bit x86 SMP
linux-image-extra-3.11.0-13-generic - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
linux-image-extra-3.11.0-14-generic - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
linux-image-extra-3.11.0-15-generic - Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
linux-image-3.11.0-13-lowlatency - Linux kernel image for version 3.11.0 on x86/x86_64
linux-image-3.11.0-14-lowlatency - Linux kernel image for version 3.11.0 on x86/x86_64
linux-image-3.11.0-15-lowlatency - Linux kernel image for version 3.11.0 on x86/x86_64

dpkg -l | grep linux

ii  libselinux1:amd64                   2.1.13-2                            amd64        SELinux runtime shared libraries
ii  libv4l-0:amd64                      0.8.9-4                             amd64        Collection of video4linux support libraries
ii  libv4lconvert0:amd64                0.8.9-4                             amd64        Video4linux frame format conversion library
ii  linux-firmware                      1.116                               all          Firmware for Linux kernel drivers
ii  linux-generic                       3.11.0.12.13                        amd64        Complete Generic Linux kernel and headers
ii  linux-headers-3.11.0-12             3.11.0-12.19                        all          Header files related to Linux kernel version 3.11.0
ii  linux-headers-3.11.0-12-generic     3.11.0-12.19                        amd64        Linux kernel headers for version 3.11.0 on 64 bit x86 SMP
ii  linux-headers-generic               3.11.0.12.13                        amd64        Generic Linux kernel headers
ii  linux-image-3.11.0-12-generic       3.11.0-12.19                        amd64        Linux kernel image for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-extra-3.11.0-12-generic 3.11.0-12.19                        amd64        Linux kernel extra modules for version 3.11.0 on 64 bit x86 SMP
ii  linux-image-generic                 3.11.0.12.13                        amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                3.11.0-15.23                        amd64        Linux Kernel Headers for development
ii  util-linux                          2.20.1-5.1ubuntu9                   amd64        Miscellaneous system utilities

更新

尝试安装内核 http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/

但 ubuntu 挂在“正在加载初始 Ramdisk”

更新2

看起来我的系统崩溃与这个错误有关:bugs.debian.org/cgi-bin/bugreport.cgi?bug=734172 显然在 3.12.6 中已修复,但 ubuntu 再次挂在“加载初始 Ramdisk”处

答案1

你可能需要降级你的 Ubuntu 版本,因为这些内核是 13.10 中可用的。尝试本指南

否则,您可以尝试从稳定的 LTS 版本中获取较旧的内核版本:http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/

Ubuntu内核信息:https://wiki.ubuntu.com/Kernel/MainlineBuilds

答案2

请看这里:https://askubuntu.com/questions/49869/how-to-roll-back-ubuntu-to-a-previous-version

可以在这里找到一些有用的信息。

相关内容