项目作者: bebehei

项目描述 :
After KernelUpgrade Loadable Modules
高级语言: Shell
项目地址: git://github.com/bebehei/akulm.git
创建时间: 2018-09-12T08:31:40Z
项目社区:https://github.com/bebehei/akulm

开源协议:GNU General Public License v3.0

下载


akulm

After KernelUpgrade Loadable Modules

Why?

Have you ever wondered, why your USB stick isn’t recognized on your shiny laptop?! Well, it may be the case that you ran pacman -Syu and it included a linux kernel update.

Installation

  1. git clone https://github.com/bebehei/akulm.git
  2. cd akulm
  3. makepkg -i

It’ll probably be available in AUR shortly.

How does akulm work?

akulm provides some pacman hooks. These hooks instruct pacman to copy the modules of the currently used kernel into /run/modules and provide a link in /usr/lib/modules. So upon reboot, the only debris left is a symlink.

Background

In comparison to other distros, ArchLinux only has got one kernel available at all times. While for example on debian, many linux-image-* packages are installed simultaneously. So pacman has to remove the module files, which are actually still required by the current running kernel. Any call to insmod/modprobe fails.

Current Limitations

You can’t downgrade to your current kernel version after you previous upgrade. You have to remove the symlink manually before invoking a downgrade. An akulm clean should suffice.