[6252] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: CDROM ioctl errors in 2.0.36

daemon@ATHENA.MIT.EDU (Jens Axboe)
Fri Apr 2 14:14:56 1999

Date: 	Fri, 2 Apr 1999 20:53:01 +0200
From: Jens Axboe <axboe@image.dk>
To: "Mike A. Harris" <mharris@ican.net>
Cc: linux-kernel@vger.rutgers.edu, linux-scsi@vger.rutgers.edu,
        Douglas Gilbert <dgilbert@interlog.com>
In-Reply-To: <Pine.LNX.3.96.990401193123.462J-100000@red.prv>; from Mike A. Harris on Thu, Apr 01, 1999 at 07:34:09PM -0500

On Thu, Apr 01 1999, Mike A. Harris wrote:
> Here is one example:
> 
> Mar 30 21:31:39 red kernel: sr_photocd: ioctl error (TOSHIBA #1): 0x28000000
> Mar 30 21:32:12 red last message repeated 26 times
> Mar 30 21:33:16 red last message repeated 56 times
> Mar 30 21:34:17 red last message repeated 48 times
> Mar 30 21:35:18 red last message repeated 34 times
> Mar 30 21:36:19 red last message repeated 30 times
> Mar 30 21:37:22 red last message repeated 32 times
> Mar 30 21:38:26 red last message repeated 32 times
> Mar 30 21:39:30 red last message repeated 32 times
> Mar 30 21:40:34 red last message repeated 32 times
> Mar 30 21:41:33 red last message repeated 31 times
> Mar 30 21:42:33 red last message repeated 30 times
> Mar 30 21:43:33 red last message repeated 30 times
> 
> 
> This log, kept going on with "last message repeated" entries for
> a couple pages.  It does it throughout my syslog quite a bit.  It
> is incredibly annoying getting stupid cdrom message displayed on
> my console if they are just irrelevant warnings of some bad cdrom
> or something, but if it is a legitimate driver bug, or some other
> bug, then I can see good reason for it being logged and dumped on
> the console, and I also hope that it can/will be fixed.
> 
> As a temporary measure, can you send me a patch to remove the
> messages or dump them to /dev/null?  It is really annoying...

I've attached such a patch. Seems only SCSI_MAN_TOSHIBA yags
about this, NEC, SONY, PIONEER, etc ignores it.

> There are other cdrom errors that appear from time to time.  They
> just look like warnings to me, basically saying that my cdrom
> sucks.  ;o)

Maybe not, I've crossposted to linux-scsi. Doug, is your sg driver
available for 2.0 :)

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post