Click to See Complete Forum and Search --> : Opteron and hpt374
lokop
04-14-2004, 05:38 PM
Helllo,
I have dual opteron procesor with Sata raid controlel RocketRaid with driver hpt374 on RH9 and this driver for kernel 2.4.20-8 and I need put to the server new kernel with suport opteron ... I have source for this driver . And how to make driver hpt374 for new kernel ? I need make driver before kernel booted .... becose I boot system from raid...
Thanks for answer
Icarus
04-14-2004, 05:44 PM
I'll assume that the driver is a kernel patch?
cd /usr/src/linux
$ bunzip2 -c <path to acpi-patch>/<name-of-patch>.diff.bz2 | patch -p1
OR
$ gunzip -c <path to acpi-patch>/name-of-patch>.diff.gz | patch -p1
If not, there should be a README or INSTALL in it telling how to compile/install, usually
tar zxvf filename.tar.gz
cd filename
./configure
make
make install
mrnoonan81
04-16-2004, 09:34 PM
It's a tad difficult to understand exactly what you are asking, unfortunately, but let me volunteer some information and hopefully it will answer your question.
Kernel 2.6.x supports many SATA controllers. To include SATA support (using xconfig or menuconfig), you will have to look under Device Drivers -> SCSI Device Support -> SCSI low level drivers -> Serial ATA (SATA) support. From there, you will have to select the specific driver. Unfortunately, I do not know which one would suit your specific controller.
If for some reason your controller isn't supported there, chances are you're out of luck, but on the off chance that you already have a module for your controller (and note that it would have to be built for your kernel version _and_ architecture (x86-64 for Opteron)), you could boot from a ramdisk (an initrd) which includes that module.
Also note that if you are going to upgrade your kernel from 32-bit i686 to 64-bit x86-64, it might not be such a good idea to use the same 32-bit environment. Ideally and theoretically, that would work without any problem. Personally, I wouldn't risk it, though.
If you want to take advantage of the 64-bit processing, I reccomend moving to an entirely 64-bit distrobution. I use Gentoo 2004.0 for AMD64, myself.
mdwatts
04-17-2004, 09:55 AM
Originally posted by lokop
And how to make driver hpt374 for new kernel ?
The HPT374 should already be supported at least by the later 2.4 kernels.
From /usr/src/linux/Documentation/Configure.help
HPT36X/37X chipset support
CONFIG_BLK_DEV_HPT366
HPT366 is an Ultra DMA chipset for ATA-66.
HPT368 is an Ultra DMA chipset for ATA-66 RAID Based.
HPT370 is an Ultra DMA chipset for ATA-100.
HPT372 is an Ultra DMA chipset for ATA-133.
HPT374 is an Ultra DMA chipset for ATA-133.
This driver adds up to 4 more EIDE devices sharing a single
interrupt.
The HPT366 chipset in its current form is bootable. One solution
for this problem are special LILO commands for redirecting the
reference to device 0x80. The other solution is to say Y to "Boot
off-board chipsets first support" (CONFIG_BLK_DEV_OFFBOARD) unless
your mother board has the chipset natively mounted. Regardless one
should use the fore mentioned option and call at LILO or include
"ide=reverse" in LILO's append-line.
This driver requires dynamic tuning of the chipset during the
ide-probe at boot. It is reported to support DVD II drives, by the
manufacturer.
The Opteron should also be supported.
ONFIG_X86_POWERNOW_K8
This adds the CPUFreq driver for AMD Athlon 64 and Opteron
processors.
For details, take a look at linux/Documentation/cpufreq.
If in doubt, say N.
CONFIG_X86_POWERNOW_K8_DBG
This switch enables some debug code within the CPUFreq driver
for AMD Athlon 64 and Opteron processors, and also enables
additional debug prints in the driver. You would only want
this option if you needed to debug a problem with the driver
or if you wanted more information as to frequency/voltage
changes that the driver was making. The level of debug output
is switchable by the debug level control.
However I believe the SATA controllers are only supported in the 2.6 kernels unless you patch the 2.4.