What desktop are you using? Is karmic a name for Ubunu 9.10? If so, the ubuntu forums would be a good place to look.
Also, is the cdrom listed in your /etc/fstab? If not try adding it: /dev/sr0 /media iso9660 \(cont'd) user,noauto,suid,rw 0 0. Adjust /dev* and /media* for your system.
Are you using an automounter? If so, is it being unmounted before ejecting?
Tom (retired penguin)