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

From: Jim Trigg (jtrigg_at_spamcop.net)
Date: 03/30/05

  • Next message: J. Buck Caldwell: "Re: Problem with IBM xSeries 226 with ServeRAID 6i+ using FreeBSD 5.3"
    Date: Wed, 30 Mar 2005 12:07:22 -0500 (EST)
    To: "Karl Denninger" <karl@denninger.net>
    
    

    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          / \
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: J. Buck Caldwell: "Re: Problem with IBM xSeries 226 with ServeRAID 6i+ using FreeBSD 5.3"