Gentoo kernels newer than linux-2.4.19-gentoo-r7 do not support systems with the hpt372 RAID controller. Reproducible: Always Steps to Reproduce: 1. Emerge linux-2.4.20-gentoo-r5 2. Compile and install kernel on any system that has the hpt372 (or hpt374 controller) 3. Attempt to boot system with new kernel Actual Results: Boot will fail with error messages on hpt controller, system will be unusable. Expected Results: Properly recognize the hpt372/hpt374 controller. Relevant files are in the kernel drivers/ide directory (hpt366.c and ide-pci.c). I can supply patches that fix this problem and will attach them to this bug after it is in the system. Note - these patches have been tested on an Abit KX7-333R with an onboard HPT372 controller, and are derived from the code in linux-2.4.19-gentoo-r7, and merged with the code in 2.4.20-gentoo-r5. NFORCE chipset updates in ide-pci.c are retained. I do not have an NFORCE board or a system with a HPT374 controller to regression test these patches! Independent testing of these patches and subsequent inclusion in the gentoo-sources would be appreciated.
Created attachment 11944 [details, diff] Unified diff for ide-pci.c Patch for ide-pci.c in 2.4.20-gentoo-r5
Created attachment 11945 [details, diff] Unified diff for hpt366.c Patch for hpt366.c in 2.4.20-gentoo-r5
thanks. I'll take a look @ them. Jay
Has this bug been fixed in gentoo-sources-2.4.20-r6? If not please advise.
Well, I tested gentoo-sources-2.4.20-r6 and was unable to boot off the hpt372 controller (non-raid disk), so I am manually replacing the two files mentioned above with the patched files from my original report. Will there be a gentoo-sources-2.4.21 or are we going directly to 2.6.0? I think the updated ide drivers should work with these controllers on a 2.4.21 kernel if the same source is carried from the vanilla-sources (not sure about 2.6.0).
I just checked 2.4.20-gentoo-r7 and the issue with ide-pci.c and hpt366.c still persists. This bug was originally filed in May03 yet it is still marked as "NEW." Can someone apply these patches in the next release of the gentoo-sources, assuming it will still be based on kernel 2.4.20? If not, please advise as to the roadmap that Gentoo is taking with kernel sources. So far my tests using the unpatched vanilla-sources >=2.4.21 causes DMA issues on the HPT372 controller and I'm not sure how to fix it.
Fixed in -r10.