Why won't CDROM eject ?

Kim Lux lux at diesel-research.com
Thu Nov 11 20:33:49 UTC 2004

$ eject -v /dev/scd0
eject: device name is `/dev/scd0'
eject: expanded name is `/dev/scd0'
eject: `/dev/scd0' is not mounted
eject: `/dev/scd0' is not a mount point
eject: `/dev/scd0' is not a multipartition device
eject: trying to eject `/dev/scd0' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/scd0' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/scd0' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/scd0' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

I am running kernel 2.6.9-1.667 non smp.  I am using hdc=ide-scsi when

# /sbin/hdparm /dev/scd0

 HDIO_GET_MULTCOUNT failed: Invalid argument
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

# rpm -q udev

in System Logs:

Nov 11 13:23:23 localhost kernel: program eject is using a deprecated
SCSI ioctl, please convert it to SG_IO
Nov 11 13:24:21 localhost last message repeated 2 times

I don't have any control over it at all without ide-scsi.

Kim Lux (Mr.)  Diesel Research Inc

More information about the test mailing list