On Fri, Sep 15, 2000 at 06:32:45 -0700, Cy Schubert - ITSD Open Systems Group wrote:
> In message <[EMAIL PROTECTED]>, "Kenneth D. Merry" 
> writes:
> > In any case, if you want to see error messages, even for retried commands, 
> > boot with -v and comment out the following print_sense line in
> > scsi_interpret_sense() in sys/cam/scsi/scsi_sa.c:
> > 
> >     default:
> >             /* decrement the number of retries */
> >             retry = ccb->ccb_h.retry_count > 0;
> >             if (retry) {
> >                     ccb->ccb_h.retry_count--;
> >                     error = ERESTART;
> >                     print_sense = FALSE;
> >             } else 
> >                     error = EIO;
> >             break;
> >     }
> 
> Would it be possible to implement this using a sysctl?

Yes.  If this gets done, it would probably be best to do it as a kernel
option combined with a sysctl variable.

The sysctl variable would default to off normally, but default to on with
the kernel option.

The reason you would want that is so you could get the additional error
output on boot, before setting a sysctl variable is possible.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to