ATAPI cd-rom creates many, many logs in /var/log/messages

ATAPI cd-rom creates many, many logs in /var/log/messages

Post by Thomas Singleton [Eidos » Sun, 23 Apr 2000 04:00:00



Hello,
I have a RH 6.1 with 2.2.14 kernel and one of my cd-rom keeps logging error
messages until i insert a cd-rom in it
here are the messages :
Apr 22 08:59:17 thomas kernel: ATAPI device hdc:
Apr 22 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02)
Apr 22 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a,
ascq=0x01)
Apr 22 08:59:17 thomas kernel:   The failed "Test Unit Ready" packet command
was:
Apr 22 08:59:17 thomas kernel:   "00 00 00 00 00 00 00 00 00 00 00 00 "
Apr 22 08:59:17 thomas kernel: ATAPI device hdc:
Apr 22 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02)
Apr 22 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a,
ascq=0x01)
Apr 22 08:59:17 thomas kernel:   The failed "Prevent/Allow Medium Removal"
packet command was:
Apr 22 08:59:17 thomas kernel:   "1e 00 00 00 00 00 00 00 00 00 00 00 "

these messages repeat every second

Is there a way to stop this excessive logging and solve the problem ?

Thank you
Thomas

 
 
 

ATAPI cd-rom creates many, many logs in /var/log/messages

Post by Me Her » Sun, 23 Apr 2000 04:00:00




> Hello, I have a RH 6.1 with 2.2.14 kernel and one of my cd-rom keeps
> logging error messages until i insert a cd-rom in it here are the
> messages : Apr 22 08:59:17 thomas kernel: ATAPI device hdc: Apr 22
> 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02) Apr 22
> 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
> Apr 22 08:59:17 thomas kernel:   The failed "Test Unit Ready" packet
> command was: Apr 22 08:59:17 thomas kernel:   "00 00 00 00 00 00 00 00
> 00 00 00 00 " Apr 22 08:59:17 thomas kernel: ATAPI device hdc: Apr 22
> 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02) Apr 22
> 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
> Apr 22 08:59:17 thomas kernel:   The failed "Prevent/Allow Medium
> Removal" packet command was: Apr 22 08:59:17 thomas kernel:   "1e 00 00
> 00 00 00 00 00 00 00 00 00 "

> these messages repeat every second

> Is there a way to stop this excessive logging and solve the problem ?

> Thank you Thomas

Are you using GNOME? There's a prog called magicdev that, with
GNOME allows automounting of CD's upon insertion. I think this is
what causes the errors. You can either disable it from the
gnome control-center, or, I'm sure there's a way to stop just the log
entries via /etc/syslog.conf but I don't know specifically what needs
to be put in it. It's likely that taking the latter route will disable the
logging of some messages that you'd rather not.

 
 
 

ATAPI cd-rom creates many, many logs in /var/log/messages

Post by Thomas Singleton [Eidos » Mon, 24 Apr 2000 04:00:00


Thanx,
it solved my problem

Thomas Singleton




> > Hello, I have a RH 6.1 with 2.2.14 kernel and one of my cd-rom keeps
> > logging error messages until i insert a cd-rom in it here are the
> > messages : Apr 22 08:59:17 thomas kernel: ATAPI device hdc: Apr 22
> > 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02) Apr 22
> > 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
> > Apr 22 08:59:17 thomas kernel:   The failed "Test Unit Ready" packet
> > command was: Apr 22 08:59:17 thomas kernel:   "00 00 00 00 00 00 00 00
> > 00 00 00 00 " Apr 22 08:59:17 thomas kernel: ATAPI device hdc: Apr 22
> > 08:59:17 thomas kernel:   Error: Not ready -- (Sense key=0x02) Apr 22
> > 08:59:17 thomas kernel:   (reserved error code) -- (asc=0x3a, ascq=0x01)
> > Apr 22 08:59:17 thomas kernel:   The failed "Prevent/Allow Medium
> > Removal" packet command was: Apr 22 08:59:17 thomas kernel:   "1e 00 00
> > 00 00 00 00 00 00 00 00 00 "

> > these messages repeat every second

> > Is there a way to stop this excessive logging and solve the problem ?

> > Thank you Thomas

> Are you using GNOME? There's a prog called magicdev that, with
> GNOME allows automounting of CD's upon insertion. I think this is
> what causes the errors. You can either disable it from the
> gnome control-center, or, I'm sure there's a way to stop just the log
> entries via /etc/syslog.conf but I don't know specifically what needs
> to be put in it. It's likely that taking the latter route will disable the
> logging of some messages that you'd rather not.