Re: CDROM ioctl errors in 2.0.36
Jens Axboe (axboe@image.dk)
Fri, 2 Apr 1999 20:53:01 +0200
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-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/