Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20986 - [[ integration ready ]] No support for hpt372 raid controller in 2.4.20-gentoo-r5
Summary: [[ integration ready ]] No support for hpt372 raid controller in 2.4.20-gento...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 00:54 UTC by David Bergstein
Modified: 2004-01-06 07:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Unified diff for ide-pci.c (ide-pci.c.diff,4.18 KB, patch)
2003-05-14 00:55 UTC, David Bergstein
Details | Diff
Unified diff for hpt366.c (hpt366.c.diff,26.79 KB, patch)
2003-05-14 00:57 UTC, David Bergstein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Bergstein 2003-05-14 00:54:38 UTC
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.
Comment 1 David Bergstein 2003-05-14 00:55:57 UTC
Created attachment 11944 [details, diff]
Unified diff for ide-pci.c

Patch for ide-pci.c in 2.4.20-gentoo-r5
Comment 2 David Bergstein 2003-05-14 00:57:26 UTC
Created attachment 11945 [details, diff]
Unified diff for hpt366.c

Patch for hpt366.c in 2.4.20-gentoo-r5
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-20 00:19:12 UTC
thanks. I'll take a look @ them.

Jay
Comment 4 David Bergstein 2003-08-14 17:16:40 UTC
Has this bug been fixed in gentoo-sources-2.4.20-r6?  If not please advise. 
Comment 5 David Bergstein 2003-08-14 18:03:33 UTC
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). 
Comment 6 David Bergstein 2003-09-11 18:49:55 UTC
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. 
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2004-01-06 07:50:46 UTC
Fixed in -r10.