mkinitrd tells me that I haven't compiled a certain module in when, in fact, I have, and I have no idea what to do about it or where to go from here. This is my first time compiling a kernel by hand, so help me find any errors in my methods here. Going on the information in
Digital Kermit's Kernel-Build-HOWTO, I performed the following:
Downloaded "linux-2.6.8.1.tar.bz2", "patch-2.6.9-rc2.bz2", "patch-2.6.9-rc2-bk7.bz2" from kernel.org.
$ tar jxf linux-2.6.8.1.tar.bz2
$ cd linux-2.6.8.1
[moved patches to linux-* dir, bunzip2'd them]
$ patch -p1 <../patch-2.6.9-rc2
$ patch -p1 <../patch-2.6.9-rc2-bk7
This, I suspect, may be part of the problem: I don't know the difference between a prepatch and a snapshot for purposes of kernel compilation, and specifically whether or not to use one or the other, or both.
[working directory now /home/mike/linux-2.6.8.1]
$ make mrproper
$ make xconfig
Now, here I configured everything as I thought it should have been. I can post my "./.config" file for you if need be, but specifically, note that it ends up with the following lines specifically enabled:
Code:
#
# SCSI low-level drivers
#
CONFIG_BLK_DEV_3W_XXXX_RAID=m
CONFIG_SCSI_3W_9XXX=m
CONFIG_SCSI_ACARD=m
CONFIG_SCSI_AACRAID=m
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_VIA=y
CONFIG_SCSI_QLA2XXX=y
Notice especially the second-to-last: SATA_VIA
is set, but is not compiled as a module ('m').
$ make bzImage && make modules
# make modules_install
# /sbin/mkinitrd initrd-2.6.8.1.img 2.6.8.1
No module sata_via found for kernel 2.6.8.1, aborting.
So. I can compile a kernel, and its modules, and everything goes off without a hitch even installing everything, but I cannot create a RAMdisk for the life of me. Any ideas?
Thanks for your time,
Michael