LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2004, 11:49 AM   #1
kkempter
Member
 
Registered: Dec 2002
Posts: 187

Rep: Reputation: 30
Help ! Cannot mount cdwriter device in Fedora Core 3


I just installed FC3 on a sony S260 laptop. The cdrom worked fine until I ran the update agent for all the latest updates (100+ updates). Now if I try and mount a cd via the desktop I get the following error :
Error- kio_devices_mounthelper
mount: block device /dev/hdc is write-protected, mounting read-only
mount: /dev/hdc already mounted or /media/cdrecorder busy
Please check that the disk is entered correctly.

# mount /dev/hdc /media/cdrecorder
mount: block device /dev/hdc is write-protected, mounting read-only

If I go to a root command prompt I can mount the cd however I still get a read-only warning (not that I expect to mount the cd in write-mode).


How can I make the desktop Icon work ?


Thanks in advance fr your help.
 
Old 12-26-2004, 12:22 PM   #2
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
What does your /etc/fstab say with regard to your CD drive? Chances are some of your updates have changed /etc/fstab.

The line about the CD/DVD drive should read like this:
Code:
/dev/cdrom  /mnt/cdrom  iso9660  noauto,owner,ro 0 0
I'd also make sure that the permission of /dev/hdc is set to 666.
 
Old 01-22-2005, 07:40 AM   #3
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
I need help editing my fstab in FC3, I don't know what this pamconsole thing is, but I edited it to look like the above post and "CD player" still won't let me change the device to /dev/hdc

here is my /etc/fstab

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda5 swap swap defaults 0 0
/dev/sda1 /media/usbdisk vfat pamconsole,noatime,sync,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,ro,owner,noauto 0 0
 
Old 01-25-2005, 03:55 AM   #4
ianni67
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 3
Posts: 6

Rep: Reputation: 0
Hi there - don't edit your fstab.
Instead, choose a group to which make your user id belong (for example uucp) and then chgrp uucp /media/cdrecorder.
Let me know, it worked for me

*OK I forgot one more step: from fstab, remove the exec keyword from the row related to the cdrecorder and add (in the same place) the keyword ro. This latter keyword will prevent the system from producing the annoying message telling you that your cdrom is... ReadOnly.
bye

Last edited by ianni67; 01-25-2005 at 01:03 PM.
 
Old 02-05-2005, 07:14 AM   #5
proxyghost
LQ Newbie
 
Registered: Jan 2005
Location: Bristol VA
Distribution: Fedora Core 3 / Slack 10
Posts: 13

Rep: Reputation: 0
Thumbs up Thanks

Replacing "exec" with "ro" worked great for me.
 
Old 02-28-2005, 10:17 PM   #6
Erkki
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
I have had enough. I can't get this mounting work with Fedore core 3
and KDE after few hours of messing around. I'm switching to something else.
If simple cd-rom mounting doesn't work then so be it. From now on I will use
Fedore core 3 cd's as frisbees. I wonder how far will the fly... I must try out soon.
I'll post the results here as soon as I'm finshed. I have been using Redhat/Fedora for
few years but enough is enough.

The problem is where to go next... My next distro must have KDE. Gnome plainly
sucks and anything Gnome based won't do. Any suggestions?
 
Old 03-01-2005, 12:55 AM   #7
ianni67
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 3
Posts: 6

Rep: Reputation: 0
Did you try with the suggestions posted here?
it seems that in most cases the problem can be solved by just editing the /etc/fstab file, remove the exec keyword from the row related to the cdrecorder and add (in the same place) the keyword ro.
Did you try this?
 
Old 03-01-2005, 04:04 PM   #8
Erkki
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
Yesterday I tried all kinds of settings in fstab, no success. But today when I started
my machine mounting works, it's a ¤#"%"#% miracle!

This is what I have in my fstab:
/dev/hdd /media/cdrecorder auto user,exec,noauto 0 0

Maybe I'll give Fedora one more chance... But still it's not acceptable
that you have to fix these kind of basic things in the year 2005. Home
computers were invented 25 years ago and 25 years later I can't get
my CD-ROM working. At least I could read my floppy discs with C64.
Damn, now when I said that I feel like throwing some
Fedora CD's again. Oh well, I guess this is the advanced 21th century
technology.

Anyway, here's some other things you have to fix to get Fedora
Core 3 working:

No NFS, not needed:
chkconfig --level 35 rpcidmapd off
chkconfig --level 35 nfslock off

NVidia diplay driver:
cp -a /dev/nvidia /dev/nvidia0 /dev/nvidiactl /etc/udev/devices/
# alternative: echo /sbin/modprobe nvidia >> /etc/rc.local
/etc/sysconfig/desktop switched content DESKTOP="GNOME" --> DESKTOP="KDE"

After adding file /etc/yum.repos.d/dag.repo containing:
[dag] name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag

yum install xmms-mp3
yum install xine

Fix 30 second lock ups:
echo alias net-pf-10 off >> /etc/modprobe.conf

Last edited by Erkki; 03-01-2005 at 04:06 PM.
 
Old 03-01-2005, 04:30 PM   #9
Erkki
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
I thought it was a miracle, I was wrong:

[erkki@potkukelkka ~]$ umount /media/cdrecorder/
umount: /media/cdrecorder: device is busy
umount: /media/cdrecorder: device is busy
[erkki@potkukelkka ~]$ fuser /media/cdrecorder/
/media/cdrecorder/: 5155
[erkki@potkukelkka ~]$ ps -A|grep 5155
5155 ? 00:00:00 gam_server
[erkki@potkukelkka ~]$
 
Old 03-02-2005, 02:25 AM   #10
ianni67
LQ Newbie
 
Registered: Aug 2004
Distribution: fedora core 3
Posts: 6

Rep: Reputation: 0
Yes - you're definitely right. The fix I suggested in fstab only helps you in solving the _mount_ problem.
The umount problem is still there and depends on some interaction between the kernel and gamin (gamserver).
It happens that the gamserver does not understand that there are no open files in the cd, so it denies you the permission to umount the device.
The only solution I have till now (but I'm not a guru, I'm just a user) is to digit:
killall gamserver before umounting. It works.
But it's annoying and illogic. Yes.
I can also tell you that something similar happened to me with an old version of mandrake linux, perhaps 9.x or even 10.0.
Mandrake did not use gamin, but something different (supermount), yet it suffered from the same problem.
As a further idea I suggest that the problem might be connected to the fact that when I browse the content of the CD with Konqueror and then close the window, it seems that the process related to that window does not disappear (ps -aux). As long as I don't KILL all the processes related to konqueror, it seems that Konqueror somewhat keeps some pointer to the cd, thus misleading gamserver.
Anyone has some information/hints on this hypothesis?
 
Old 03-16-2005, 11:53 AM   #11
Erkki
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
The latest updates now have fixed the problem. These were among updates
so something must have been changed:

kernel-2.6.10-1.770_FC3
gamin-0.0.25-1.FC3
udev-039-10.FC3.

[erkki@potkukelkka ~]$ mount /media/cdrecorder/
mount: block device /dev/hdd is write-protected, mounting read-only
[erkki@potkukelkka ~]$ umount /media/cdrecorder/
[erkki@potkukelkka ~]$

I'm really sorry that I still have not thrown my cd's so I don't know how far will they fly :-)
 
  


Reply



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
Fedora core fedora device /dev/dsp can't be opened J3N7iL Linux - Hardware 3 06-30-2005 03:10 PM
Fedora core 3 mount windows FAT32 partition device busy starney Fedora 4 11-30-2004 09:08 PM
Disable USB device in Fedora Core 2 crashdum Linux - Hardware 1 09-02-2004 07:32 PM
Fedora Core 1 SCSI CD-ROM Won't Mount (always get "is not a valid block device") jerrykuch Linux - Hardware 2 04-18-2004 01:02 PM
Unable to mount dvd device on Fedora corpus_delicti Linux - Hardware 8 02-03-2004 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:47 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
Open Source Consulting | Domain Registration