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 introduce a CD-RW, maybe blank (I really don't know), and after a little movement inside the reader, the CD is ejected without any message at all. I would like to know what is going on and the reason why it is ejected. How can I know that in Natty. The CD reader is working OK because I can read other CD's. It only gave me problems writing from Natty, a few days ago, but with MacOS there was no problem. Thank you

Edit: Maybe there is no error, but then, how can I know what is in the Cd if there is anything?

share|improve this question
add comment

1 Answer

Open a terminal and run:

tail -f /var/log/syslog 

Leave the terminal open and drop the CD in the tray, let it read and eject. You should see the messages and the error(s) in the terminal. Get out of tail with Ctrl+C.

share|improve this answer
    
I saw nothing about the cd at the end of syslog. Anyway, this time I introduced the cd while executing tail -f (why sudo?), as u suggest, and nothing new was logged, but the cd was not ejected, not mounted either, and no message that a blank cd was introduced either. –  Robert Vila Nov 27 '12 at 14:29
    
I only hear the CD drive start to spin, then the head moving, then only spinning. I can eject without problem with eject command (how else?). (BTW, you get out of tail with Ctrl-C) –  Robert Vila Nov 27 '12 at 14:46
    
If I try to mount it: $ sudo mount -t iso9660 -o defaults /dev/sr0 /media/cdrom, I receive this message: mount: block device /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so –  Robert Vila Nov 27 '12 at 14:54
    
Oops, you are quite right; it's Ctrl+c. sudo because syslog used to be not readable by mortal users, only super-users. It has changed and I am old. It is interesting that mount even points you to syslog. I think your message suggests the CD is corrupted, scratched, etc. and not recognizable as a CD at all. I wonder if you can try to reformat it. –  chili555 Nov 27 '12 at 15:57
    
That is what I am thinking because when I try to mount it, in syslog I find: Nov 27 .... Sense: Unable to recover table-of-contents ... end_request: I/O error, dev sr0, sector 4096 ... sr 0:0:0:0: [sr0] Unhandled sense code ... ... sr 0:0:0:0: [sr0] Sense Key : Medium Error [current] ... sr 0:0:0:0: [sr0] Add. Sense: Unable to recover table-of-contents ... ... end_request: I/O error, dev sr0, sector 64 ... isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16 –  Robert Vila Nov 27 '12 at 19:09
show 1 more 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.