Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't use CD-ROM drive properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Mon Aug 15, 2005 8:53 pm    Post subject: Can't use CD-ROM drive properly Reply with quote

Well, I have pretty much all my other issues worked out now, so I figured I would try to fix my cd-rom. The problem is that I can only mount and then unmount one disc. After that, the drive becomes unresponsive (ie can't open it) and I have to reboot the machine. If I try to remount before rebooting, it says it has, but none of the files or folders actually show up, and the mount option is still available in the menu.

Also, I can't get any media program or cd player etc to see audio cd's or dvds. I get an error saying there is a cd-rom read or access error/I don't have the right permissions. I am in the audio and cdrom groups, however, and audio works fine for everything else. I simply can't figure out what the issue is. When I am able to munt a cd, it works fine, but otherwise I can't do anything at all.

The drive is a lite-on dvd +/-r/w burner that is about a year old, and I am using KDE as my gui. So, any ideas on why I can't use the drive properly?

Here is my fstab, not sure where the very last line came from. I emerged a buch of multimedia stuff while at work today, so it must have come from that. However, it was broken before that, and is still broken now.

Code:

# <fs>             <mountpoint>    <type>     <opts>            <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1      /boot      reiserfs   noauto,notail      1 2
/dev/sda3      /      reiserfs   notail         0 1
/dev/sda2      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      user,noauto,ro      0 0
/dev/sdb1      /mnt/sdb1   ntfs      noauto,ro,user,noexec   1 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0


none         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0

/dev/hdc                /media/cdrecorder       auto    user,exec,noauto,managed 0 0
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Mon Aug 15, 2005 9:56 pm    Post subject: Reply with quote

Hi.

You have emerged hal and dbus. Hal is the program that gives you the line in the fstab.
It does it by fstab-sync (may say so in the top of the fstab).
Check that hald and dbus is starting in default runlevel.
Code:
rc-update show


If not add them to the default runlevel.

Now remove this line in the fstab
Quote:
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 user,noauto,ro 0 0

Check that you have a /media directory.

Now it should work.

EDIT: Check the forum for hal dbus ivman for more info.
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Mon Aug 15, 2005 10:13 pm    Post subject: Reply with quote

Well, at least I can now use cd's normally (now I just have hdc cd burner) instead of that and the cd-rom drive. I will have to keep looking though, as I still can't play audio discs through it.

Edit: Well it still locks up after I use it, and I can't eject from the menu. I think there is still a basic hardware issue here. (hald and dbus were part of rc-update, so I have that right at least, I think)
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Mon Aug 15, 2005 10:23 pm    Post subject: Reply with quote

Check that you are in the cdrom group
Code:
groups

give you a list of what groups you belong to.

Then if you using kscd, don't forget to change the device
it uses to play cd's on.
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Mon Aug 15, 2005 10:36 pm    Post subject: Reply with quote

Yep, I was already in the cdrom group, and I changed the kscd setting to /dev/hdc, and I still get the same error (I'm assuming its a read error now, since the group settings have been right all along)
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Tue Aug 16, 2005 2:00 am    Post subject: Reply with quote

anyone else have any ideas?

my cdrom drive locks up as soon as I try to do something it doesn't like (such as eject from the menu).
Back to top
View user's profile Send private message
dreadhead
Guru
Guru


Joined: 09 Jul 2004
Posts: 470
Location: Ulm - Germany

PostPosted: Tue Aug 16, 2005 12:20 pm    Post subject: Reply with quote

Hi!

Also my CD-Drive locks up when trying to eject it after use... There is no difference if I try to eject it with the eject command or by pressing the eject button on the drive... The CD/DVD gets unmounted but the disc keeps spinning and the LED on the drive keeps flashing until I reboot the Machine...

For example I just tried to burn a DVD with K3B. After creating the image K3B checked the disc and told me to insert an empty one. But I couldn't find a way to open the Drive except rebooting...
When I burn a CD/DVD and the initial Disc is ok to write then everything works fine and the disc gets ejected after the burn process...
_________________
Kopete OTR Plugin
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Tue Aug 16, 2005 3:08 pm    Post subject: Reply with quote

Well I was doing some more searching and reading in the forums, and it looks as though the problem may be caused by ivman and kde 3.4 not getting along.

I tried to unmerge ivman, but it still appeared in rc-update. Unmerging it seemed to get eject to work with media discs, but when I used data discs, I still couldn't unmount or eject. Both failed. I tried it from the console too, all I got was errors that the drive was busy.
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Tue Aug 16, 2005 5:52 pm    Post subject: Reply with quote

Hi.

If you check the kiomedia slave in kde.
Do a
Code:
ps aux

look at kio_media, then insert a cd and check again.
Now you should have one more but it may start more and that is
the problem. It huggs the cd.
This may due to that the kdebase have been compiled with different hal version.
Do a
Code:
emerge -Dvp kdebase

(if you dont use kde meta. Then its only the kio package)
and look if the hal flag have a + sign on it.

So the revdep-rebuild from gentools and a 'emerge -p --newuse' kan help
you see if something has broken.

EDIT:You can try a recompile of the kdebase.
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Wed Aug 17, 2005 3:35 am    Post subject: Reply with quote

Well its working now. I just unmerged ivman and removed it from rc-update, and now the cd drive works as it whould, I can mount and unmount and eject without problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum