LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2004, 06:12 AM   #1
qlinux
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
SATA - ata piix kernel compilation problem


Hey guys!!! i downloaded the 2.6.7 kernel...I compiled it but when I do the "make install" there was this problem:

SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
SKIPPED include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /home/osiris/kernelsrc/linux-2.6.7/arch/i386/boot/install.sh 2.6.7 arch/i386/boot/bzImage System.map ""
No module ata_piix found for kernel 2.6.7, aborting.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

So where can I find this ata_piix module. I already scan the .config but I can't find this ATA PIIX module.

*P4P800
*P4 3G HT
*512MB
**SATA Seagate 80GB**
 
Old 06-20-2004, 07:49 AM   #2
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
The ata_piix.ko module allows SCS Protokoll over ATA. In other words it's the responsible driver for S-ATA drives
for Intel's PIIX Chip. S-ATA drives are handled by the 2.6.x kernel as SCSI drives.

The responsible parameter in the .config file for enabling this driver is:
CONFIG_SCSI_ATA_PIIX

This parameter can be found in the SCSI low-level drivers section

It may be that you have already compiled this driver into the kernel and not as module, so
CONFIG_SCSI_ATA_PIIX=y
instead of: CONFIG_SCSI_ATA_PIIX=m

Make sure that (using e.g. make menuconfig) that also,
CONFIG_SCSI_SATA=y
CONFIG_BLK_DEV_PIIX=m
CONFIG_SCSI
CONFIG_BLK_DEV_SD

parametera are enabled, so set to y or m.

Last edited by Vlad-A; 06-20-2004 at 08:20 AM.
 
Old 12-20-2004, 02:55 AM   #3
atulb
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Same error

Hi! I am compiling 2.6.6 kernel . Even though i have followed all necessory steps , i get the same error
.....
sh /home/src/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage System.map ""
No module ata_piix found for kernel 2.6.6, aborting.
mkinitrd failed
....

I tried a lot but all invain...

plz help me how can i build ata_piix module in kernel.

At menuconfig window, i can't select scsi driver option....
 
Old 12-20-2004, 03:13 PM   #4
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
I suggest that you check your .config file in the /usr/src/linx directory and see
if you have compiled CONFIG_SCSI_ATA_PIIX as module or into the kernel,
so is
CONFIG_SCSI_ATA_PIIX=m
or
CONFIG_SCSI_ATA_PIIX=y

If you compiled CONFIG_SCSI_ATA_PIIX into the kernel (CONFIG_SCSI_ATA_PIIX=y) then there
won't be an ata_piix module.

It may also be that there is some sub-versioning => the modules are not located in /lib/modules/2.6.6 but
somwhere else.

Check your kernel Makefile.
Ther you'll find (usually at the top of the file) VERSION (shall be 2) PATCHLEVEL (shall be 6) SUBLEVEL (also 6)
and EXTRAVERSION.

If to EXTRAVERSION is assigned a value then you shall consider this as well.
E.g. EXTRAVERSION=-test then your modules are located in /lib/modules/2.6.6-test
and the kernel version is then not 2.6.6 but 2.6.6-test

Last edited by Vlad-A; 12-20-2004 at 03:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile 2.6.12 Cannot determine dependencies of module piix biophysics Linux - Software 3 07-10-2005 01:34 PM
Need ata-piix arguments for SUSE 9.0 install fraserc Linux - Hardware 0 01-01-2005 07:06 AM
Problem with serial ata and kernel 2.6.7 djrise Linux - Hardware 1 07-01-2004 11:45 AM
Can not compile piix module int o kernel 2.6.7 firenze Linux - General 1 06-27-2004 08:33 PM
low perfs on p4p800 sata , kernel 2.6.6, hd hitachi 160go (piix) nemesis_rebirth Linux - Hardware 0 06-09-2004 02:15 PM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration