lkml.org 
[lkml]   [1999]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: CDROM not ready messages from kernel - necessary?
In lists.linux.kernel, you wrote:
>
> Hi there. This is a pet peeve that has been bothering me for years.
> This is the chance to "scratch my own personal itch".
>
> Is it necessary to have the kernel print the following message to
> the console and syslog every few seconds:
>
> ...
> Apr 26 21:36:03 home kernel: sr1: CDROM not ready. Make sure there is a disc in
> the drive.
> Apr 26 21:36:34 home last message repeated 60 times
> Apr 26 21:37:35 home last message repeated 119 times
> Apr 26 21:37:44 home last message repeated 19 times

No, it is'nt.

Gerd

----------------------------------------------------
--- linux/drivers/scsi/sr_ioctl.c~ Thu Mar 25 23:11:51 1999
+++ linux/drivers/scsi/sr_ioctl.c Tue Apr 27 19:26:39 1999
@@ -110,8 +110,8 @@
break;
}
}
- printk(KERN_INFO "sr%d: CDROM not ready. Make sure there is a disc in the drive.\n",target);
#ifdef DEBUG
+ printk(KERN_INFO "sr%d: CDROM not ready. Make sure there is a disc in the drive.\n",target);
print_sense("sr", SCpnt);
#endif
err = -ENOMEDIUM;
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.044 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site