Comment 4 for bug 113144

Revision history for this message
Brezhonneg (fricompte) wrote : Re: System report a music CD in empty CD drive.

I thought of logging a dmesg after this happened again, so I'm attaching it.

You will see that the flooding starts after a message that says:
hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.

I am not 100% sure, but I seem to remember that I have seen that message (or a very similar one) already in the past and it was not followed by the endless error messaging.
At the other end of the stick, the flooding ceased because I ran a script I always keep at hand:

#! /bin/sh
sudo hdparm -w /dev/hda
sudo hdparm -d 1 /dev/hda

hence the final entries of the dmesg.

I was not at my desk when this happened, that's why it took so long before I ran the script. When i came back, I had a nice popup on the screen saying an audio CD was in the drive (surprise!).