LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   eject problem (https://www.linuxquestions.org/questions/linux-newbie-8/eject-problem-352776/)

bruse 08-13-2005 02:50 AM

eject problem
 
mandrake 10.0
having cd eject problem.



[root@localhost root]# eject
eject: unable to find or open device for: `/dev/cdrom'
[root@localhost root]# eject cdrom
eject: unable to eject, last error: Invalid argument
[root@localhost root]# eject /mnt/cdrom/
eject: unable to eject, last error: Invalid argument
[root@localhost root]#


[root@localhost root]# umount /mnt/cdrom/
umount: /mnt/cdrom/: not mounted
[root@localhost root]# mount /mnt/cdrom/
mount: /dev/hdc already mounted or /mnt/cdrom busy
[root@localhost root]#


so how to eject it or .

which services i have to restart for devices.

bruse 08-13-2005 03:05 AM

now see the result

[root@localhost root]# cdrecord dev=ATAPI:0,0,0 --scanbus
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) '' '' '' NON CCS Disk
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[root@localhost root]#



[root@localhost root]# cdrecord -eject dev=ATAPI:0,0,0
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
Device type : Disk
Version : 0
Response Format: 0
Vendor_info : 'ADAPTEC '
Identifikation : 'ACB-5500 '
Revision : 'FAKE'
Device seems to be: Adaptec 5500.
cdrecord: Sorry, no CD/DVD-Drive found on this target.
[root@localhost root]#



but cdrom actually in the drive.
pls on this.

SlackerLX 08-13-2005 03:14 AM

#su
{root password}
#eject /dev/hdc

Electro 08-13-2005 03:23 AM

You have to first make sure there are no users at the CD-ROM drive. Next, if /dev/cdrom is not in /dev, you will have to create it. Usually /dev/cdrom is symbolic link.


All times are GMT -5. The time now is 01:24 PM.