Optical drive wont eject

Waleed Hamra kubuntu-users at whamra.com
Fri Jun 10 21:45:33 UTC 2011


On 06/10/2011 11:56 PM, Thomas Olsen wrote:
> I've been wanting to ask for a long time but I very rarely use my optical 
> drive, so I haven't gotten around to it before I had to install on a "new" 
> box.
> Since Maverick I've experienced that I can't eject my optical drive by pushing 
> the physical buttons, I have to use the 'eject' command. At first I thought it 
> had to do with faulty hw but now it's happening on another box too.
> When I boot up in Windows XP (it came with the second hand box ;) it works OK 
> but as soon as I boot into Linux it doesn't; even at the grub menu.
> dmesg has a lot of these entries in it:
> 
> [81078.265582] Buffer I/O error on device sr0, logical block 16
> [81078.265586] Buffer I/O error on device sr0, logical block 17
> [81078.269385] sr 3:0:0:0: [sr0]  Result: hostbyte=DID_OK 
> driverbyte=DRIVER_SENSE
> [81078.269390] sr 3:0:0:0: [sr0]  Sense Key : Illegal Request [current] 
> [81078.269396] sr 3:0:0:0: [sr0]  Add. Sense: Illegal mode for this track
> [81078.269402] sr 3:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01 00
> [81078.269415] end_request: I/O error, dev sr0, sector 64
> [81078.269418] Buffer I/O error on device sr0, logical block 16
> [81078.273279] sr 3:0:0:0: [sr0]  Result: hostbyte=DID_OK 
> driverbyte=DRIVER_SENSE
> [81078.273284] sr 3:0:0:0: [sr0]  Sense Key : Illegal Request [current] 
> [81078.273290] sr 3:0:0:0: [sr0]  Add. Sense: Illegal mode for this track
> [81078.273297] sr 3:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 11 00 00 01 00
> [81078.273309] end_request: I/O error, dev sr0, sector 68
> [81078.273312] Buffer I/O error on device sr0, logical block 17
> 
> My question is basically under what package I should file a bug report - 
> linux-image or whatever?
> 
> I know I ought to ask in ubuntu-users but there's so much traffic and I 
> already have 2500+ unread msgs in there.
> 

one main reason for linux to refuse ejecting is that the CD is locked.
this can happen if the CD is mounted for one instance. is it mounted? if
so, unmount it first. usually, if you're mounting CDs using the "device
notifier", things are automatic, and unmounting happens automagically.
but in your case, i'm seeing something else. sr0 refers to the device of
the optical drive, and it has several buffer errors and read errors. i
am guessing the physical media is damaged in the drive. can you try and
remove the CD from the tray, close the tray, and try ejecting it while
empty from the button, and see if it works. if it does, then the problem
was the kernel has locked the CD as it was still trying to identify it
or something. try verifying again by suing another disc that you're sure
is clean and undamaged.

hope this helps

-- 
Waleed K. Hamra
Manager of Hamra Information Systems

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20110611/5a2c684d/attachment.sig>


More information about the kubuntu-users mailing list