Discussion:
CDROM Eject problem on SGI Prism running on Linux
(too old to reply)
swagat
2007-09-26 13:58:14 UTC
Permalink
Raw Message
My SGI Prism runs on RHEL.

$ uname -a
Linux prism.ee.iitk.ac.in 2.4.21-sgi306rp13 #5 SMP Wed Mar 1 18:57:28
CST 2006 ia64 ia64 ia64 GNU/Linux

I am able to mount my cdrom at /mnt/cdrom. However, whenever I give
eject command it fails with following error message.


$ sudo eject /dev/cdrom
eject: unable to eject, last error: Invalid argument


$ eject -s -v /dev/cdrom
eject: device name is `/dev/cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/xscsi/pci01.01.0/target0/lun0/
cd'
eject: `/dev/xscsi/pci01.01.0/target0/lun0/cd' is not mounted
eject: `/dev/xscsi/pci01.01.0/target0/lun0/cd' is not a mount point
eject: `/dev/xscsi/pci01.01.0/target0/lun0/cd' is not a multipartition
device
eject: trying to eject `/dev/xscsi/pci01.01.0/target0/lun0/cd' using
SCSI commands
eject: SCSI eject failed
eject: unable to eject, last error: Invalid argument



Please help. Thanks in advance.

Regards,
Swagat
Rudi Hoeben
2007-09-27 08:20:10 UTC
Permalink
Raw Message
Just a tought, you mount at /mnt/cdrom, but you eject /dev/cdrom, maybe
eject /mnt/cdrom.

(I compare to a harddisk, if you mount /dev/hda under /testdisk, you
unmount /testdisk, not /dev/hda)

Best regards

Rudi
Post by swagat
My SGI Prism runs on RHEL.
$ uname -a
Linux prism.ee.iitk.ac.in 2.4.21-sgi306rp13 #5 SMP Wed Mar 1 18:57:28
CST 2006 ia64 ia64 ia64 GNU/Linux
I am able to mount my cdrom at /mnt/cdrom. However, whenever I give
eject command it fails with following error message.
Loading...