Comment 47 for bug 11517

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #46)
> Martin, can you test the kernel I placed at this URL:
>
> http://people.ubuntu.com/~bcollins/kernels/Bug-5049/
>
> (new one since you tested the last one). This one has some printk's in the
> CDROMEJECT stuff, so check dmesg if it fails again. I have about as close as I
> think I can get to the eject -s emulation.

Unfortunately this still fails:

$ LANG=C eject -rv /dev/sda
eject: device name is `/dev/sda'
eject: expanded name is `/dev/sda'
eject: `/dev/sda' is not mounted
eject: `/dev/sda' is not a mount point
eject: `/dev/sda' is a multipartition device
eject: trying to eject `/dev/sda' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Input/output error

with the dmesg output:
Dec 16 11:13:05 localhost kernel: [ 501.616135] Sending
GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL

One last try might be to ignore the ALLOW_MEDIUM_REMOVAL failure and try with
START_STOP(0x1b) block 1 and 2. This is certainly not the scientific way, but it
would at least be interesting to figure out what is actually required to eject
these beasts.

Thank you!