CD won't eject - KDE 3.3.1 (Debian unstable)
Right, I'm not too hopeful on getting a fix to this, but surprise me!
I'm running Debian unstable (kernel 2.6.8) on an SMP box, and an independently installed Debian unstable (kernel 2.6.9) on a Laptop. I see this same problem on both:
If I insert a CD and mount it from the command line it works as expected and I can eject it when I finish.
If I make a device icon on my desktop in KDE, click the icon, close the window and unmount the drive it now refuses to eject.
The error from eject -v is:
manager@host123[tbooth]sudo eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/hdc'
eject: `/dev/hdc' is not mounted
eject: `/dev/hdc' is not a mount point
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/hdc' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/hdc' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/hdc' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument
Ejecting as root works, so I run fuser and sure enough:
sudo fuser -v /dev/hdc
USER PID ACCESS COMMAND
/dev/hdc manager 6289 f.... kdeinit
And ps waux reveals the offending process is:
manager 6289 0.0 1.1 26808 12100 ? S 14:32 0:00 kdeinit: kio_audiocd audiocd /tmp/ksocket-manager/klaunchercVprYb.slave-socket /tmp/ksocket-manager/konquerorwYR6Fb.slave-socket
Sure enough I kill 6289 and the CD pops out.
It appears that the rogue process will quit after about 15 minutes if left alone, and eject is then possible.
The CD contains no audio data (I burned it myself!)
Any ideas? At the moment we are having to use an ugly workaround to keep users happy.
TIM
|