Re: DANGER WILL ROBINSON! SERIOUS problem with current 5.4-PRERELEASE

[ Available lists | Index of freebsd-stable | Month of Mar 2005 | Week of 30 Mar 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jim Trigg <jtrigg@spamcop.net>
Date
30 Mar 2005 17:07:24
Subject
Re: DANGER WILL ROBINSON! SERIOUS problem with current 5.4-PRERELEASE
Message-ID
44027.128.222.32.10.1112202442.squirrel@mail.scadian.net

In reply to

[ Hide this part ]
On Wed, March 30, 2005 12:43 am, Karl Denninger said:
> Here's the diff and some thoughts....

[snip, including first diff]

> 241,243c244,249
> <
> < /* if reinit succeeded and retries still permit, reinject request
> */
> < if (ata_reinit(ch) && request->retries-- > 0 &&
> request->device->param){
> ---
>> /*
>> * if reinit succeeds, retries still permit and device didn't
>> * get removed by the reinit, reinject request
>> */
>> if (!ata_reinit(ch) && request->retries-- > 0
>> && request->device->param){
[snip third diff]

> The second diff is really just a formatting and comment change.. you're
> certainly correct that the changes are small! :-)

No, it is not -- it reverses the sense of the first condition. At first
glance that is what I would expect to be the core of the problem, but I
don't have appropriate hardware to test on. (It also adds a third
condition, but that is presumably the intent of the change and should give
the desired results once the first condition is corrected.)

Jim
--
Jim Trigg, Lord High Everything Else O- /"\
Hostmaster, Huie Kin family website \ / ASCII RIBBON CAMPAIGN
Verger and System Administrator, X HELP CURE HTML MAIL
All Saints Church - Sharon Chapel / \



Elapsed time: 0.112 seconds