lkml.org 
[lkml]   [2003]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: PATCH: [2.4.21-pre3] Fix for Promise PIO Lockup
Ross Biro writes:
> Newer kernels will lock up when a drive command (SMART, hdparm -I, etc.)
> is issued to a drive connected to a Promise 20265 or 20267 controller
> while the controller is in DMA mode. The problem appears to be that
> tune_chipset incorrectly clears the high PIO bit thinking that it is a
> "PIO force on" bit. The documentation I have access to does not seem to
> mention a PIO force bit. Not changing that bit seems to fix the problem
> with drive commands on a promise controller.
>
> The documentation I have also says the values for the TB and TC
> variables should be the same for all UDMA modes and they are not.
> However the driver seems to work anyway, so I left them the way they are.
>
> To reproduce this problem make sure your drive is set to a DMA mode, eg
> hdparm -X 67 and then issue a drive command, e.g. hdparm -I.

I have tried to reproduce this problem according to your description
above, but neither my 20269 (with "new" driver) nor my 20267 (with
"old" driver) hangs. I checked with kernels 2.5.58 and 2.4.21-pre3.

Maybe something else is needed for the hang to occur?

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.018 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site