You are not logged in.
Pages: 1
Topic closed
Hello everybody,
I'm dijxtra and I'm trying out Arch using VirtualBox on my Ubuntu. Few days ago I downloaded archlinux-2008.06-core-i686, installed it, did a pacman -Syu and then got "FATAL: Could not load /lib/modules/2.6.25-ARCH/modules.dep: No such file or directory". That's the short description, I suppose that kind of problem belongs to this subforum. Now, here is what I did in detail:
* installed Arch from CD image
* got my Internet connection working over eth0
* did pacman -Syu, pacman found newer version of itself
* did pacman -S pacman
* DIDN'T update pacman.conf as I should have
* did pacman -Syu successfully
* googled about this .newpac thing that showed up in logs and realised I should have updated pacman.conf
* updated pacman.conf (I just used pacman.conf.pacnew and added those [kdemod] stuff at the end since I never edited my old pacman.conf)
* pacman -Syu failed with "Transient resolver error"s
* checked ifconfig and found out that my eth0 disappeared
* enabeled bootlogd (put BOOTLOGD_ENABLED = Yes in /etc/default/bootlogd) but /var/log/boot didn't show up
* tried to read on screen messages while booting and found two "FATAL: Could not load /lib/modules/2.6.25-ARCH/modules.dep: No such file or directory" messages
* did depmod which created /lib/modules/2.6.25-ARCH/modules.dep, but then I got:
FATAL: Module mii not found.
FATAL: Module pcnet32 not found.
* removed /lib/modules/2.6.25-ARCH
* did pacman -U /var/cache/pacman/pkg/kernel26-2.6.26.2-1-x86_64.pkg.tar.gz and got two SUCCESSes:
==> Running command: /sbin/mkinitcpio -k 2.6.26-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[...]
:: Generating image '/boot/kernel26.img'...SUCCESS
* I still get "FATAL: Could not load /lib/modules/2.6.25-ARCH/modules.dep: No such file or directory"
* I ran out of ideas.
So, there are two possible causes: either my editing of pacman.conf (unlikely, I don't see how that would mess up my kernel) or that pacman -Syu.
I do realise that right now reinstalling the system makes most sense, but... now I'm really curious how to fix this and this whole process of trying to fix a broken system teaches me a lot about GNU/Linux. So, if anybody has ideas what to do next, please do.
[BTW, thanks the guys at Ubuntuforums for helping me out with this]
Last edited by dijxtra (2008-08-28 13:33:45)
Offline
You upgraded your kernel and didn't reboot afterwards, that's all.
1000
Offline
You upgraded your kernel and didn't reboot afterwards, that's all.
How do I fix it? Is there a way to fix it or is my system lost?
BTW, I rebooted a bunch of times afterwards and that didn't fix the system.
Offline
I'm having the same problem. Something is pointing to 2.6.25-ARCH -- it should be be 26 after upgrading the kernel. Can anyone suggest what to change to make sure arch looks for the modules in the right place?
I guess I can symlink, but that doesn't seem like a wise long-term strategy.
Edit: This happened after my reboot. Also, I tried reinstalling kernel26 with no luck.
Also, I did copy the new pacman.conf over before rebooting and doing pacman -Syu
This is all on a newly-installed system.
Update:
I tried
ln -s /lib/modules/2.6.26-ARCH /lib/modules/2.6.25-ARCH
But no luck -- the error says modules are in the wrong format.
Last edited by sfabius (2008-08-29 14:39:07)
Offline
This is weird, but I think it gives a pointer to the problem. I have installed an updated kernel26, but:
#uname -r
2.6.25-ARCH
So it seems that 2.6.25-ARCH is being used, but the modules, etc are for 2.6.26-ARCH.
Maybe something is wrong in boot? I have a /boot partition (/dev/sda5) and a / partition (/dev/sda7).
Offline
I meet the same problem with dijxtra.
I back to old one "kernel26-2.6.25.6-1-i686.pkg.tar.gz" temporary avoid this problem.
pacman -U /var/cache/pacman/pkg/kernel26-2.6.25.6-1-i686.pkg.tar.gz
This not good solution.
Offline
I got the same problems except that it's for the kernel 2.6.33. It try to boot with the kernel 2.6.32 while all my module are for the kernel 2.6.33
And uname -r report 2.6.32 instead of 2.6.33
Did someone where able to resolve this issue ?
I also tryed to rebuilb the kernel image everything went fine but still booting on the kernel 2.6.32
Last edited by lymphatik (2010-04-11 08:06:55)
Offline
I have the exact same problem. Uname reports 2.6.32-ARCH, there is no /lib/modules/2.6.32-ARCH, but there is /lib/modules/2.6.33-ARCH.
Offline
.....Have you rebooted ?
Offline
Yes, rebooted more than once.
I followed the advice of the earlier comment. used pacman -U ... to downgrade to a 2.6.32 kernel and that works around the problem.
Offline
Old thread, closing.
Similar up-to-date thread here, if further discussion is required.
Offline
Pages: 1
Topic closed