NB: I'm not the expert, so keep your old kernel in place.
Jeff Garzik is the maintainer for libata, which is the driver (module) that handles all of this stuff.
Code:
mingdao@silas:~$ ls -lh /lib/modules/2.6.17.8/build/drivers/scsi/libata*
-rw-r--r-- 1 mingdao users 27K 2006-08-07 12:18 /lib/modules/2.6.17.8/build/drivers/scsi/libata-bmdma.c
-rw-r--r-- 1 mingdao users 6.0K 2006-08-12 10:19 /lib/modules/2.6.17.8/build/drivers/scsi/libata-bmdma.o
-rw-r--r-- 1 mingdao users 120K 2006-08-07 12:18 /lib/modules/2.6.17.8/build/drivers/scsi/libata-core.c
-rw-r--r-- 1 mingdao users 43K 2006-08-12 10:19 /lib/modules/2.6.17.8/build/drivers/scsi/libata-core.o
-rw-r--r-- 1 mingdao users 69K 2006-08-07 12:18 /lib/modules/2.6.17.8/build/drivers/scsi/libata-scsi.c
-rw-r--r-- 1 mingdao users 16K 2006-08-12 10:19 /lib/modules/2.6.17.8/build/drivers/scsi/libata-scsi.o
-rw-r--r-- 1 mingdao users 3.6K 2006-08-07 12:18 /lib/modules/2.6.17.8/build/drivers/scsi/libata.h
-rw-r--r-- 1 mingdao users 61K 2006-08-12 10:19 /lib/modules/2.6.17.8/build/drivers/scsi/libata.o
I don't think you have to build libata.ko as a loadable module anymore. It's not in my system anywhere.
Did you read those two links I gave you about AHCI and VIA in regards to SATA? I quote:
Quote:
VIA
Summary: No TCQ/NCQ. Looks like a PATA controller, but with full SATA control including hotplug and PM.
NOTE: Newer VIA chipsets are AHCI, and use the ahci driver rather
than the sata_via driver.
|
That's why I said, "My read of Jeff's pages says to use the AHCI kernel driver, rather than the SATA driver."
So my advice is to compile the sata_ahci driver, and not sata_via.
I don't use CONFIG_SCSI_PROC_FS, and here's why:
Quote:
legacy /proc/scsi/ support (SCSI_PROC_FS)
This option enables support for the various files in
/proc/scsi. In Linux 2.6 this has been superceeded by
files in sysfs but many legacy applications rely on this.
|
Perhaps if you enable that option, you can enlighten me later.
Let's pray your kernel boots, the SATA drive works well, and you get fast transfer rates because of that AHCI controller. It looks good to me.
Just remember to keep your old kernel so you can boot if the new one fails; and build your / (root) filesystem in as well (Y != M).
I hesitated to post this, but I will. There is a
Kernel Rebuild Guide that's brief, but contains what's necessary for rebuilding a kernel in Slackware, on my website. The options to configure, build, and install the kernel are the same for all distros; if you build from source.
I would also advise you to read the README file that Linus has written and is in the top level directory of the Linux kernel source.