LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD drive mounting error (https://www.linuxquestions.org/questions/linux-hardware-18/cd-drive-mounting-error-618282/)

creature124 02-02-2008 11:14 PM

CD drive mounting error
 
Hi,

I am having issues with mounting CDs in my CD drive correctly.

I was (attempting) to install Call of Duty 2 over Wine (in vain as it would appear) and when I went to remove the CD, it would not unmount the CD or release it from the tray because the crashed installer was still registered as using it. I killed the process mention in the dialog box, and the CD ejected normally.

The next time I put in a CD and attepting at access it, I get the following error:

could not enter folder /media/cdrom0

This problem persited through a reboot. I am almost certain that this has been caused by the botched CD removal, but I am unsure how to fix it.

I am running the newest stable version of Kubuntu.

Thanks,
Greg

blackhole54 02-03-2008 12:11 AM

Quote:

Originally Posted by creature124 (Post 3044215)
This problem persited through a reboot.

Did you try a power cycle (power off, then on) instead of just a reboot? while I would be very surprised if the OS would remember anything about this across a reboot, the CD drive might.

creature124 02-03-2008 10:51 AM

It seems the problem persists through a power cycle too.

blackhole54 02-04-2008 01:31 AM

Run the command

Code:

tail -f /var/log/syslog
prior to inserting a CD, and see what messages get printed out when you insert a CD.

creature124 02-04-2008 08:12 AM

....Okay, this is starting to annoy me.

The problem appears to have resolved itself.

I'm not even kidding. This isn't the first time this has happened to me either. No less than two other times since the beginning of my foray into the wilderness of Linux, problems have inexplicably disappeared.

Well, my CD drive is working correctly again. For reference, here is the pertinent part of the output you requested:

Code:

Feb  4 09:08:09 creature-lappy NetworkManager: <debug> [1202134089.207476] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_label_COD2CD1').
Feb  4 09:08:13 creature-lappy kernel: [ 1482.472000] UDF-fs: No VRS found
Feb  4 09:08:13 creature-lappy kernel: [ 1482.536000] ISO 9660 Extensions: Microsoft Joliet Level 3
Feb  4 09:08:13 creature-lappy kernel: [ 1482.584000] ISOFS: changing to secondary root


jschiwal 02-04-2008 08:33 AM

One think to check are the two hidden files in /media/. ".hal-mtab" and ".hal-mtab-lock".

blackhole54 02-05-2008 12:17 AM

I was intending for that command to be used when you were having the problem, and hopefully shedding some light on what was going on. :) So if you are unfortunate enough for this to happen again, you might try that command again. jschiwal's comment sounds interesting too, but this is the first time I've heard of those files.


All times are GMT -5. The time now is 03:19 AM.