You are not logged in.

#1 2008-12-31 18:19:56

jmak
Member
Registered: 2008-12-21
Posts: 453

FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

Hello,

I've compiled a new kernel following exactly the instructions on the kernel compilition page:

http://wiki.archlinux.org/index.php/Ker … rom_Source

Evryting went smoothly, but now when I boot the new kernel I get the following error messages.

Dec 31 12:56:28 myhost modprobe: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such file or directory
Dec 31 12:56:28 myhost modprobe: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such file or directory
Dec 31 12:56:28 myhost modprobe: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such file or directory
Dec 31 12:56:28 myhost modprobe: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such file or directory
Dec 31 12:56:28 myhost modprobe: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such file or directory

The kerenel boots up fine but a few things are not working on my computer, like for instance the lm-sensors disappeared, also the ttyUSB0 is not loaded. Could anyone advise me how to rectify the problem.
I compiled the kernel the traditional way as it was instructed in the first part of the tutorial.

Thanks,
jmak

Offline

#2 2008-12-31 19:18:00

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

Sounds like you didn't run make modules_install also sounds like you didn't compile all the module and what not.

Also kerenel26 2.6.28 is in the testing repository you might want to consider installing that unless if you want to learn about the kernel and your hardware.


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-12-31 19:44:35

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

Thanks pyther,

I did all the steps specified in the tutorial mentioned above. How should I proceed now? Could you advise me?

jmak

Offline

#4 2008-12-31 20:50:00

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

Why don't you just install kernel 2.6.28 from testing?

It really sounds like you missed a step and did not run make modules_install as that is what generates modules.dep


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2008-12-31 21:00:55

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

If you take a look at the above tutorial, there is no such step given there as module_install. How should I proceed removing the kernel? Just delete it from the boot directory? Because my original kernel is still there and that one works fine.

jmak

Offline

#6 2008-12-31 21:04:00

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

http://wiki.archlinux.org/index.php/Ker … nal_method

It is right there! However, to remove the kernel you should just be able to delete it from the boot dir and edit the grub config file. I would suggest using the kernel in core, until you become more experienced!


Website - Blog - arch-home
Arch User since March 2005

Offline

#7 2008-12-31 21:32:24

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

It seems, I overlooked that step. Now, I delete the kernel from the boot directory and wait till it shows up in the core.

Thanks ones again.

Offline

#8 2008-12-31 22:07:58

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

2.6.28 just hit testing, normally speaking it takes 7 - 10 days for it to come to core, negating any substantial problems with it's stability.

You might have to wait 2 weeks.

Offline

#9 2008-12-31 22:11:21

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: FATAL: Could not load /lib/modules/2.6.28-ARCH/modules.dep: No such fi

If you are still interested .

Maybe you should check 'kernel26.install' . That file executes post-installation .

Your PKGBUILD should contain :

install=kernel26.install

build() {
.
.
.
.
.
  sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26.install
}

And your 'kernel26.install'  :

post_install () {
  echo ">>> Updating module dependencies. Please wait ..."
  KERNEL_VERSION=2.6.28
  /sbin/depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
}

post_upgrade() {
  echo ">>> Updating module dependencies. Please wait ..."
  KERNEL_VERSION=2.6.28
  /sbin/depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
}

op=$1
shift

$op $*

English is not my native language .

Offline

Board footer

Powered by FluxBB