Kenneth R Westerback wrote:
> Does the diff below suppress the unwanted message?
> 
> .... Ken
> 
> Index: sd.c
> ===================================================================
> RCS file: /cvs/src/sys/scsi/sd.c,v
> retrieving revision 1.182
> diff -u -p -r1.182 sd.c
> --- sd.c      15 Jan 2010 05:50:31 -0000      1.182
> +++ sd.c      24 Jan 2010 00:29:23 -0000
> @@ -357,9 +357,8 @@ sdopen(dev_t dev, int flag, int fmt, str
>       } else {
>               /* Spin up non-UMASS devices ready or not. */
>               if ((sc->sc_link->flags & SDEV_UMASS) == 0)
> -                     scsi_start(sc_link, SSS_START, (rawopen ? SCSI_SILENT :
> -                         0) | SCSI_IGNORE_ILLEGAL_REQUEST |
> -                         SCSI_IGNORE_MEDIA_CHANGE);
> +                     scsi_start(sc_link, SSS_START, SCSI_SILENT |
> +                         SCSI_IGNORE_ILLEGAL_REQUEST | 
> SCSI_IGNORE_MEDIA_CHANGE);
>  
>               /* Use sd_interpret_sense() for sense errors.
>                *
> 

Yup that works, I don't see the message anymore. :-)

Thanks!

-Bryan.

Reply via email to