Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got a Virtual CD which can mount remote media via IPMI. After doing an install of Ubuntu 12.10 I'm getting this error every 2 sec in the syslog and on the console:

  [628.890722] sr 6:0:0:0: rejecting I/O to offline device

How can I figure out what is trying to write to that CD, it's certainly offline as I don't have any remote media mounted via IPMI right now.

share|improve this question
add comment

1 Answer

You could give it a try using lsof with the path to the cd drive as argument to see which process is using it.

lsof /path/to/cd or lsof -a /path/to/cd

share|improve this answer
    
The CD is offline and not mounted. I tried a grep for "sr0" and "cdrom" as devices, but it seems that lsof just shows mounted filesystems. This is something more bizarre than a user-space app trying to write to a CD that's engaged. –  David Parks Apr 16 '13 at 1:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.