You are not logged in.

#1 2003-12-16 16:25:56

esel
Member
From: Norway
Registered: 2003-11-14
Posts: 20

Wrong module directory

I recently did a "pacman -Syu", and suddenly KDE reported that my soundcard wasn't working, neither was my ethernet adapter. In fact, no modules at all was loaded (nothing was listed with lsmod).

So I tried a depmod, but it complained that it couldn't open
/lib/modules/2.4.22/modules.dep.

That's because all of a sudden modules.dep is in
/lib/modules/2.4.23/

The problem is that uname -r lists 2.4.22 as the current version of the kernel, and depmod seems to be using this version number in searching for modules.dep.

To clarify, the system I had before doing the "pacman -Syu" was simply a normal installation of Arch Linux, no costum kernel or anything.

Could anybody explain how to fix this, why it happened, and how to avoid this in the future when updating with pacman?

Offline

#2 2003-12-16 16:29:06

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Wrong module directory

You've updated your kernel to 2.4.23.  If you're running lilo type 'lilo' as root and then reboot.  If you're using grub then just reboot.

Then your sound and everything else will continue working with the new kernel.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2003-12-16 17:17:26

esel
Member
From: Norway
Registered: 2003-11-14
Posts: 20

Re: Wrong module directory

Thanks  smile

Offline

Board footer

Powered by FluxBB