LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2004, 02:42 PM   #1
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Rep: Reputation: 15
CD-rom cant eject??


Hi all!

I've been having a lot of problems with my cdrom - and now finally it just quit. This is the output of some commands:

[root@privilege /]# 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/scd0'
eject: `/dev/scd0' is mounted at `/mnt/cdrom'
eject: unmounting `/dev/scd0'
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy
eject: unmount of `/dev/scd0' failed

I tried unlinking cdrom from scd0 and attaching it to /dev/hdc but that did not work out either plus dmesg says cdrom is found on scd0. I am running FC2 - kde.
Any help will be appreciated!!


grub.conf

title Fedora Core (2.6.9-1.6_FC2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9-1.6_FC2 ro root=LABEL=/ hdc=ide-scsi
rhgb quiet selinux=0 audit=0
initrd /boot/initrd-2.6.9-1.6_FC2.img


[root@privilege /]# cdrecord --scanbus

scsibus0:
0,0,0 0) 'HL-DT-ST' 'CD-RW GCE-8240B ' '1.07' Removable CD-ROM
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) *

Last edited by don_dimo; 12-31-2004 at 03:44 PM.
 
Old 01-04-2005, 09:04 AM   #2
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
it should match the name in grub, if its hdc, then put it as hdc in /etc/fstab
check the kernel log in /var/log/dmesg to see what kind of name is assigned to the cdrom. pico /var/log/dmesg | grep cdrom or something similar, or just pico /var/log/dmesg to get the whole thing...

are you shure that you're not in the cdrom directory while unmounting? this will make it busy..

Just a guess...

Last edited by dslboy; 01-04-2005 at 09:06 AM.
 
Old 01-04-2005, 11:45 AM   #3
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by dslboy
it should match the name in grub, if its hdc, then put it as hdc in /etc/fstab
check the kernel log in /var/log/dmesg to see what kind of name is assigned to the cdrom. pico /var/log/dmesg | grep cdrom or something similar, or just pico /var/log/dmesg to get the whole thing...

are you shure that you're not in the cdrom directory while unmounting? this will make it busy..

Just a guess...
I am not in the same directory ... however I recompiled the kernel with scsi emulation .. rebooted the machine several times and now cdrom works perfect, it ejects, ejects -t works, when you put in a data cd it mounts automatically and shows you the contents. THATS AMAZING!!! Just one problem left ... xcdroast refuses to burn cds. I already tried reinstalling it, goiing to a different version etc, no luck. When I go to the setup and click rescan devices or add device manually it hangs for about 5 min and finally says it cannot find any devices. When I try to record again it hangs for the same amount of time and then comes up with "no cd in media"???

This is the output from dmesg and fstab as you asked:

[root@privilege]# less /var/log/dmesg | grep CD
hdc: HL-DT-ST CD-RW GCE-8240B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20

I also tried this command that tests cdrom:
[root@privilege dimitar]# dd if=/dev/cdrom of=/dev/null bs=2048
dd: reading `/dev/cdrom': Input/output error
0+0 records in
0+0 records out

fstab entry for cdrom:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0


Thanks for the reply!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Default font in X trainee Slackware 7 05-22-2005 11:19 PM
Default font? compu73rg33k Linux - Software 2 02-28-2005 06:09 PM
What's the name of the default font in Eterm? bad_andy Linux - Software 1 02-26-2005 11:35 PM
Could not init font path element. Could not find default font "fixed" SidA Red Hat 0 06-19-2004 09:42 PM
Default font? Preed Linux - Distributions 0 07-21-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration