You are not logged in.
I installed a custom with the ABS kernel26 package (kernel version suffix -max), but I get errors during boot:
...
NET: Registered protocol family 33
modprobe: FATAL: Could not load /lib/modules/2.6.35-max/modules.dep: No such file or directory
modprobe: FATAL: Could not load /lib/modules/2.6.35-max/modules.dep: No such file or directory
...
:: Running hook [udev]
:: Triggering uvents...iwlagn 000:02:00.0: request for firmware file 'iwlwifi-5000-2.ucode' failed.
000:02:00.0: request for firmware file 'iwlwifi-5000-2.ucode' failed.
000:02:00.0: no suitable firmware found!
The system starts up fine, but my wireless intel card is not detected.
However when I boot without the mkinitcpio ramdisk, the error messages do not appear and my wireless card is recognized properly.
Thanks a lot.
Last edited by mks (2010-11-19 00:51:41)
Offline
Make sure to also build the headers. The PKGBUILD should have:
pkgname=('kernel26-max' 'kernel26-max-headers')
And rename the default build functions to
package_kernel26-max() {
...
package_kernel26-max-headers() {
Offline
slytux, I followed the guide https://wiki.archlinux.org/index.php/Ke … 26_Package and already did that.
Thanks.
Offline
Thanks a lot falconindy, that worked.
Here's what I did specifically.
I made my initcpio ramdisk include both the modules.dep and iwlwifi-500-2.ucode files by modifying /etc/mkinitcpio.conf:
FILES="/lib/modules/`uname -r`/modules.dep /lib/firmware/iwlwifi-5000-2.ucode"
Only this always includes modules.dep of the currently running kernel (uname -r) into the ramdisk. So be careful when building a ramdisk for a kernel configuration different from the one currently running.
(Or maybe there is a better way to get at the name of the target kernel within mkinitcpio.conf?)
Offline
Offline
unnecessary. mkinitcpio adds depmod files to the image for you.
I forgot to mention I compile almost everything directly into my custom kernel and don't need any modules loaded at boot. So MODULES is empty in /etc/mkinitcpio.conf, and modules.dep does not get added. If I add a module there I don't really need at boot time, e.g.
MODULES="nvidia"
then modules.dep gets added.
That's probably easier and safer than including modules.dep manually...
Last edited by mks (2010-11-19 04:19:55)
Offline