Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd May 2007, 10:54
geza geza is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 23rd May 2007, 12:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in /etc/modules?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd May 2007, 19:23
geza geza is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default How To Compile A Kernel - The Mandriva Way missing sata module

It is empty ...
Geza
Reply With Quote
  #4  
Old 24th May 2007, 18:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
ls -l /etc
? I think there must be a modules.d directory or something similar.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 24th May 2007, 18:55
geza geza is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default How To Compile A Kernel - The Mandriva Way missing sata module

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
Reply With Quote
  #6  
Old 25th May 2007, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 28th May 2007, 14:44
geza geza is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,
in /etc/modprobe.conf I found:

install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /sbin/mod
probe sbp2; /bin/true
Reply With Quote
  #8  
Old 29th May 2007, 14:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Can you comment out that line and try again?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 31st May 2007, 11:33
geza geza is offline
Junior Member
 
Join Date: May 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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 ?
Reply With Quote
  #10  
Old 1st June 2007, 18:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

What were the error messages before the kernel panic?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Xen 3.0.2 /3.0.3 | No Swap in DomU Merc HOWTO-Related Questions 10 27th March 2007 11:40
WG311v2 almost working with Edgy (w/o ndiswrapper) need help with the rest caudata Server Operation 11 13th November 2006 20:02
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 12:59
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 17:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.