You are not logged in.
Pages: 1
hey there, didn't exactly know which forum to put this in, but i updated my kernel with pacman -Syu and it nuked a custom 2.6.7 kernel that i had before. So i rebuilt the custom 2.6.7 just like the wiki told me to. then i rebooted into it. the problem is, it does not see my two ethernet cards and some other stuff. i think that it is not finding the modules.
so what can i do? i know that they were included.
thanks
Offline
Hi ruwach.
Take a look at the contents of /lib/modules/2.6.7/ and see if you have a full complement of modules. Your pacman -Syu upgrade would have wiped them out and set up another modules directory for the upgrade kernel (you won't be the first or last to have this happen with an upgrade).
You may have to: (a) save your custom kernel files (i.e., the relevant kernel files in /boot); and (b) perform a standard 2.6.7 install; and (c) replace the standard kernel files with your previously saved custom kernel files.
Regards,
Win
Offline
ok, i checked and this is what i have in /lib/modules
3 folders
2.6.7
2.6.7-custom and
2.6.9-Arch
each have stuff in them, but not all the same stuff,
so what should i do now?
thanks for the knowlage btw
Offline
Try doing "depmod -a" manually.
(no, this shouldn't be needed, but...)
Offline
ok what does depmod -a do , when do i do it ?
thanks - and sorry , bit of a newb here
Offline
ok what does depmod -a do , when do i do it ?
thanks - and sorry , bit of a newb here
type it into a prompt as root
depmod will scan modules and module dependancies, building a modules.dep file from a whole mess of files... IIRC "-a" means "all"...
basically without the depmod command, the kernel doesn't have a dependancy file and doesn't know how to load modules....
Offline
so i want to do this while i am using the kernel that i built?
so it will set up the modules for that particular kernel?
ok, will do when i get home. let you know the results later..
thanks
Offline
ok, i did a depmod -a and nothing seemed to happen.
dont know what to try next
Offline
Hi ruwach.
Could you show the contents of each of the /lib/modules directories?
You should see something like this:
$ ls -lr /lib/modules/2.6.9-ARCH
total 548
-rw-r--r-- 1 root root 151686 2004-10-29 00:55 modules.usbmap
-rw-r--r-- 1 root root 59074 2004-10-29 00:55 modules.symbols
-rw-r--r-- 1 root root 67348 2004-10-29 00:55 modules.pcimap
-rw-r--r-- 1 root root 16042 2004-10-29 00:55 modules.isapnpmap
-rw-r--r-- 1 root root 700 2004-10-29 00:55 modules.inputmap
-rw-r--r-- 1 root root 517 2004-10-29 00:55 modules.ieee1394map
-rw-r--r-- 1 root root 144596 2004-10-29 00:55 modules.dep
-rw-r--r-- 1 root root 69 2004-10-29 00:55 modules.ccwmap
-rw-r--r-- 1 root root 96956 2004-10-29 00:55 modules.alias
drwxr-xr-x 9 root root 216 2004-10-29 00:53 kernel
lrwxrwxrwx 1 root root 25 2004-10-29 00:53 build -> /usr/src/linux-2.6.9-ARCH
If the kernel you're trying to start doesn't have the full complement of files, specifically those under 'kernel', you won't have any modules to load.
Regards,
Win
Offline
Pages: 1