View Full Version : How To Compile A Kernel - The Mandriva Way missing sata module
Hello,
I have followed precisely the nice description provided by howtoforge.com on my Mandriva 2007.1,
still when I wanted to make the initrd:
mkinitrd /boot/initrd-2.6.21.1-custom.img 2.6.21.1-custom
I got the message:
"No module ata_piix found for kernel 2.6.21.1-custom, aborting."
It seems that besides the ata_piix.ko another module ahci is missing
I guess related to sata driving.
Do you have any idea how to solve this ? Copying these modules from earlier versions does not help.
falko
23rd May 2007, 13:28
What's in /etc/modules?
falko
24th May 2007, 19:13
What's the output of ls -l /etc? I think there must be a modules.d directory or something similar.
ls /etc/mod*
/etc/modprobe.conf /etc/modprobe.preload /etc/modules
/etc/modprobe.d:
ipw3945d ldetect-lst.conf visor
/etc/modprobe.preload.d:
cpufreq floppy
falko
25th May 2007, 16:42
Can you check the files in /etc/modprobe.d and /etc/modprobe.preload.d as well as /etc/modprobe.conf if ata_piix is mentioned there somewhere?
Hello,
in /etc/modprobe.conf I found:
install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /sbin/mod
probe sbp2; /bin/true
falko
29th May 2007, 15:12
Can you comment out that line and try again?
Commenting out that line the mkinitrd works indeed. However I could not boot with the new
kernel. I got a kernel panic message. I shall have a closer look or redo the whole procedure.
If I comment the the ata_piix line from the /etc/modprobe.conf do I still have proper sata disk handling ?
falko
1st June 2007, 19:28
What were the error messages before the kernel panic?
First it can't boot in video mode:
"unknown video mode" and makes it text mode
... then
"mount: error 6 mounting ext2 flags noatime ..
switching to new root
ERROR opening /dev/console!!!
switching to new root failed
initrd finished
Kernel panic "
falko
3rd June 2007, 18:44
It seems that your new kernel is missing some options. I don't know if this is related to the ata_piix module. I guess all you can do is compile a new kernel and play around with the options during make menuconfig (you did load the configuration file of the working kernel, didn't you?).
Yes, I did. OK maybe I shall try with an other kernel if I have time...
Anyway I just wanted to have a kernel ( >= 2.6.18), which can handle
syntekdriver. I also tried this with the 2.6.21-linus Mandriva official, but
the make always crashes ...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.