I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at dc00 [size=128] I/O ports at d800 [size=256] Memory at fbeff000 (32-bit, non-prefetchable) [size=4K] Memory at fbec0000 (32-bit, non-prefetchable) [size=128K] Memory at fbefc000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fbe80000 [disabled] [size=256K] Capabilities: [50] Power Management version 2 Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [94] SATA HBA <?> Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Capabilities: [160] Device Serial Number 01-00-00-00-02-00-00-00 Capabilities: [170] Power Budgeting <?>
so... I downloaded their drivers from their website:
http://www.promise.com/upload/Support/Driver/FT%20TX4650-2650%20Linux%20Kern...
(Yes, I realize it will taint my kernel... and it doesn't include all of the source.)
I tried to build it, but getting into the kernel directory:
[root@builder 2.6.27.7-53.fc9.x86_64]# pwd /usr/src/kernels/2.6.27.7-53.fc9.x86_64 [root@builder 2.6.27.7-53.fc9.x86_64]# make oldconfig scripts/kconfig/conf -o arch/x86/Kconfig # # configuration written to .config # [root@builder 2.6.27.7-53.fc9.x86_64]# make prepare scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h make[1]: *** No rule to make target `missing-syscalls'. Stop. make: *** [prepare0] Error 2 [root@builder 2.6.27.7-53.fc9.x86_64]#
I noticed that there was a chunk missing from upstream...
Is this a known issue? Reading various archives, it seems to go back to at least 2.6.23... What's the workaround?
And has anyone else gotten this compiler to build/run on their system?
I'm trying to set up an automated build factory to do about 200 nightly package builds...
Thanks,
-Philip
On 12/21/08, Philip A. Prindeville philipp_subx@redfish-solutions.com wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at dc00 [size=128] I/O ports at d800 [size=256] Memory at fbeff000 (32-bit, non-prefetchable) [size=4K] Memory at fbec0000 (32-bit, non-prefetchable) [size=128K] Memory at fbefc000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fbe80000 [disabled] [size=256K] Capabilities: [50] Power Management version 2 Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [94] SATA HBA <?> Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Capabilities: [160] Device Serial Number 01-00-00-00-02-00-00-00 Capabilities: [170] Power Budgeting <?>
so... I downloaded their drivers from their website:
http://www.promise.com/upload/Support/Driver/FT%20TX4650-2650%20Linux%20Kern...
(Yes, I realize it will taint my kernel... and it doesn't include all of the source.)
I tried to build it, but getting into the kernel directory:
Don't start there. Start with the README of the source you downloaded.
jerry
On 12/21/08, Jerry Amundson jamundso@gmail.com wrote:
On 12/21/08, Philip A. Prindeville philipp_subx@redfish-solutions.com wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at dc00 [size=128] I/O ports at d800 [size=256] Memory at fbeff000 (32-bit, non-prefetchable) [size=4K] Memory at fbec0000 (32-bit, non-prefetchable) [size=128K] Memory at fbefc000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fbe80000 [disabled] [size=256K] Capabilities: [50] Power Management version 2 Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [94] SATA HBA <?> Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Capabilities: [160] Device Serial Number 01-00-00-00-02-00-00-00 Capabilities: [170] Power Budgeting <?>
so... I downloaded their drivers from their website:
http://www.promise.com/upload/Support/Driver/FT%20TX4650-2650%20Linux%20Kern...
(Yes, I realize it will taint my kernel... and it doesn't include all of the source.)
I tried to build it, but getting into the kernel directory:
Don't start there. Start with the README of the source you downloaded.
And it looks like you'll some code fixing to get it to compile... http://www.colinmackenzie.net/index.php?option=com_content&view=article&...
jerry
Jerry Amundson wrote:
On 12/21/08, Jerry Amundson jamundso@gmail.com wrote:
On 12/21/08, Philip A. Prindeville philipp_subx@redfish-solutions.com wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at dc00 [size=128] I/O ports at d800 [size=256] Memory at fbeff000 (32-bit, non-prefetchable) [size=4K] Memory at fbec0000 (32-bit, non-prefetchable) [size=128K] Memory at fbefc000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fbe80000 [disabled] [size=256K] Capabilities: [50] Power Management version 2 Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [94] SATA HBA <?> Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Capabilities: [160] Device Serial Number 01-00-00-00-02-00-00-00 Capabilities: [170] Power Budgeting <?>
so... I downloaded their drivers from their website:
http://www.promise.com/upload/Support/Driver/FT%20TX4650-2650%20Linux%20Kern...
(Yes, I realize it will taint my kernel... and it doesn't include all of the source.)
I tried to build it, but getting into the kernel directory:
Don't start there. Start with the README of the source you downloaded.
And it looks like you'll some code fixing to get it to compile... http://www.colinmackenzie.net/index.php?option=com_content&view=article&...
jerry
I saw the more recent postings...
My understanding is that the TX4650 has the RAID-5 XOR ASICs to accelerate the reed-solomon code calculations... hence my wanting to use this driver.
I picked up the patches that you pointed me at (including "The Czar's", which was necessary to compile on 2.6.25 and subsequent)...
Then I looked at:
http://fedoraproject.org/wiki/Docs/CustomKernel?highlight=#Building_Only_Ker...
but had some questions about that.
The example is a little thin. It doesn't explain what to do if you need to pass in extra C flags, extra include directories, or if your driver has several subdirectories that need to be compiled and linked together (or if it is a partial-source release, and has canned object files that also need to be linked in).
Anyone have a real-life example that they can point me at that does this?
Thanks,
-Philip
Ok, so the below thread has changed tracks... I started looking at:
http://fedoraproject.org/wiki/Docs/CustomKernel?highlight=#Building_Only_Ker...
And saw, "*This section needs to be updated and fleshed out". Yes, indeed. I'm trying to go by this section, but it's a little thin.
Who owns it? I'd like to work with them on figuring out what needs to be added to make it useful.
Thanks,
-Philip
==== Original thread below ====
*Philip A. Prindeville wrote:
Jerry Amundson wrote:
On 12/21/08, Jerry Amundson jamundso@gmail.com wrote:
On 12/21/08, Philip A. Prindeville philipp_subx@redfish-solutions.com wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at dc00 [size=128] I/O ports at d800 [size=256] Memory at fbeff000 (32-bit, non-prefetchable) [size=4K] Memory at fbec0000 (32-bit, non-prefetchable) [size=128K] Memory at fbefc000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fbe80000 [disabled] [size=256K] Capabilities: [50] Power Management version 2 Capabilities: [70] Express Legacy Endpoint, MSI 00 Capabilities: [94] SATA HBA <?> Capabilities: [100] Advanced Error Reporting <?> Capabilities: [140] Virtual Channel <?> Capabilities: [160] Device Serial Number 01-00-00-00-02-00-00-00 Capabilities: [170] Power Budgeting <?>
so... I downloaded their drivers from their website:
http://www.promise.com/upload/Support/Driver/FT%20TX4650-2650%20Linux%20Kern...
(Yes, I realize it will taint my kernel... and it doesn't include all of the source.)
I tried to build it, but getting into the kernel directory:
Don't start there. Start with the README of the source you downloaded.
And it looks like you'll some code fixing to get it to compile... http://www.colinmackenzie.net/index.php?option=com_content&view=article&...
jerry
I saw the more recent postings...
My understanding is that the TX4650 has the RAID-5 XOR ASICs to accelerate the reed-solomon code calculations... hence my wanting to use this driver.
I picked up the patches that you pointed me at (including "The Czar's", which was necessary to compile on 2.6.25 and subsequent)...
Then I looked at:
http://fedoraproject.org/wiki/Docs/CustomKernel?highlight=#Building_Only_Ker...
but had some questions about that.
The example is a little thin. It doesn't explain what to do if you need to pass in extra C flags, extra include directories, or if your driver has several subdirectories that need to be compiled and linked together (or if it is a partial-source release, and has canned object files that also need to be linked in).
Anyone have a real-life example that they can point me at that does this?
Thanks,
-Philip
On Monday 22 December 2008 19:02:17 Philip A. Prindeville wrote:
Ok, so the below thread has changed tracks... I started looking at:
http://fedoraproject.org/wiki/Docs/CustomKernel?highlight=#Building_Only_Ke rnel_Modules
And saw, "*This section needs to be updated and fleshed out". Yes, indeed. I'm trying to go by this section, but it's a little thin.
Who owns it? I'd like to work with them on figuring out what needs to be added to make it useful.
Some or any of the crew on fedora-kernel-list or in #fedora-kernel can probably help out here (myself included, time permitting). But beware, the Red Hat offices (US anyway, but I think all/most) are officially shut down for a week and a half as of the close of business Tuesday, so there may be some lag...
On Sun, Dec 21, 2008 at 08:52:25PM -0600, Jerry Amundson wrote:
On 12/21/08, Philip A. Prindeville philipp_subx@redfish-solutions.com wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Its a totally generic AHCI controller.
You may need FC9 update kernels or FC10 however.
Alan
On Sun, Dec 21, 2008 at 06:07:44PM -0800, Philip A. Prindeville wrote:
I was going to build an RPM for the modules for the Promise FastTrak TX4650 PCI-e RAID controller for FC9.
Their support website claims it's supported "in-box" in FC9, but it turns out that's not true:
$ lspci -v -s 02:00.0 02:00.0 RAID bus controller: Promise Technology, Inc. Unknown device 3f20 Subsystem: Promise Technology, Inc. Unknown device 3f22 Flags: bus master, fast devsel, latency 0, IRQ 10
As Alan mentioned, the ahci driver drives this just fine. To confirm, here's the entry for it from drivers/ata/ahci.c ..
/* Promise */ { PCI_VDEVICE(PROMISE, 0x3f20), board_ahci }, /* PDC42819 */
(I looked at 2.6.27 because it's what I had handy, so you may need to install the latest updates)
That lspci says 'unknown device' is irrelevant to the kernel. There's no connection between the database lspci uses and the device IDs in the driver modules.
Dave