You are not logged in.
:shock: I let pacman upgrade the kernel and just so happens we had a power outage and my my box rebooted. When it boots back up all my modules are gone and it will not find modules.dep.
Can someone help me out with this?
Offline
Reinstall the kernel - it should still be in /var/cache/pkgs/pacman. If you cannot boot then use a livecd to chroot in and simply untar the pkg in the root of your drive. Of course if you have several partitions for your install you may need to mount those first. You should then be able to boot normally and then you can reinstall the kernel using pacman - it will give you file conlficts cos the files are still there but you can just force it.
Offline
after you chroot
pacman --root=/path/to/root -U /var/cache/pacman/pkg/kernelwhatever
should work too
Offline
I never knew that...
Offline
Ran into the same troubles on my workstation (notebook working fine though).
Modules arel gone. Boottime i get a lot of errors concerning kernel modules and (i should look up dmesg) and hotplug needs about 10 minutes to start.
Dont know, may i ran into some troubles since i didn't update for a while. I'll play some when i'm at home again...
Still, your hint didn't help me out at all. But its not as if i need my workstation, since i still have this notebook to fulfill my tasks.
// STi
Ability is nothing without opportunity.
Offline
Pacman fixed the kernel. Any idea why this happened and what we can do to fix it in the future?
Thanks for your help
Offline
after you chroot
pacman --root=/path/to/root -U /var/cache/pacman/pkg/kernelwhatever
That should work *before* you chroot as well - I recently mucked my system up mid-library install. bash or sh wouldn't work, so I couldn't chroot. What I ended up doing was:
for f in /mnt/hda3/var/cache/pacman/pkg/*; do
pacman -Ufr /mnt/hda3 $f
done
Of course, I had to clean out older versions first.
Pacman fixed the kernel. Any idea why this happened and what we can do to fix it in the future?
This happened, probably because you use lilo or something and didn't rerun it.
Whenever a kernel is upgraded it removes your modules. Think of it like this: if some-package-1.7 had a file /usr/bin/something-1.7, and you upgraded to version 1.9, you would most likely be left with /usr/bin/something-1.9.
There is no difference with kernel modules - if you upgrade, all the files from the old kernel go bye bye, and the new files are put in their place.
Kernel modules are not and never will be binary compatible, so when you upgrade your kernel, reboot as soon as you can (and run lilo if it applies)
Offline
thanks, didn't think to run lilo. Live and learn.
Offline
I never knew that...
Me too. I will immediately check 'man secrets'.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
well, it doesn't work yet again. I get this now
Warning: Primary channel requires an 80-pin cable for operation
And no boot. Woohoo. I love pacman.
Offline
That seems bugger all to do with pacman to me!
Offline
That seems bugger all to do with pacman to me!
It has every thing to do with Pacman.
I managed to get the system working again. Then thought it best to make sure I get it upgraded correctly. Ran pacman again and bam nothing works again.
I managed to get it finally working tried to roll it back to the previous kernel again and now nothing. It gets to Loading Linux and then it's done. Nothing. Blank screen, with an error that I can't remember off of the top of my head. I will post it later.
If I have done nothing but work on that kernel what else could it be? It's either pacman or that kernel package, but why should I worry about what is being placed in stable? I thought it was stable?
Offline
did you edit your /etc/lilo.conf before running lilo
Offline
just out of curiosity what should I be editing? Nothing changed as far as I can tell. I booted with Knoppix and nothing is different as far as lilo.conf should be concerned.
It reads now when it boots.
Uncompress Linux ....
ran out of input data
---system halted
Offline
OK, sorry if I insulted someone, but it was very frustrating.
It looks as if I somehow corrupted lilo or the kernel. (not sure which)
Even booting with the Arch CD I couldn't get lilo to run. Anyway. Using the Arch CD I reinstalled the kernel and Lilo. Now everything is fine.
Thanks for all your help.
Offline