LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-13-2004, 10:53 AM   #1
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
Install FC3 -> no /dev/cdrom set up


Hello all,
I hope everyone's upgrade of Fedora over the past week has gone smoothly. Mine has gone fairly well except for one major issue: I don't seem to have /dev/cdrom or /dev/cdrom1 setup like i used to in FC2 or FC1.

I noticed this first when trying to play an audio cd with xmms. There were no wma files in the /media/cdrom directory and when trying to play it with any other cd player app, there would be an error opening the drive.

cdrecord did see the drive and list it after cdrecord -scanbus. However, it will not record as expected.

Upon further inspection, i found that there is no symbolic link to cdrom or cdrecorder (my RW drive) in the /dev directory.

I get the feeling that I need these links to use these devices at all, but I do not know how to set one of these things up so any help would be appreciated.

BTW: Does anyone know why Fedora set up my mount points for these drives and my floppy drive in the /media directory and not the /mnt one? Is this just some new format?

Thanks.
 
Old 11-13-2004, 11:25 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
/dev/cdrom and /dev/cdrom1 are soft links to hdx where x may be a,b,c,d

if you have only one hard disk this is probably hda ( do fdisk -l to see what your hard disks are) and so
/dev/cdrom and /dev/cdrom1 probably should be /dev/hdb and /dev/hdc.

If you use ide to scsi emulator then the cdroms should be /dev/scd0 and /dev/scd1 (I think)

to create a soft link try:

ln -s < file name> <link name>

e.x

ln -s /dev/hdb /dev/cdrom

It would help if you send us your /etc/fstab entries
 
Old 11-15-2004, 11:35 AM   #3
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
Thanks for your reply.

There is a /dev/hdc and /dev/hdd, however, their default permissions allow only the root to read it. I changed the permissions to let me read from it and I can, but when I log out or shut down and start back up, the permissions are changed back to their defaults. So, everytime I want to use the drive I have to reset the permissions, which is annoying, but surely there is a way to permanently change them.

Here is my fstab if you still wanted to see it:
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-hda6         swap                    swap    defaults        0 0
/dev/hda2		/mnt/windows		ntfs	ro,uid=tom	0 0
/dev/hdd                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/hdc                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
Also, after changing permissions on the hdd to rw, I tried to burn a cd using cdrecord and it gave me every indication that it was indeed burning, except nothing was happening in the drive. The lights did not flash and it didn't make any noise like it usually would. cdrecord just kept going like it was until I stopped it. Any ideas of what would be wrong there?

Thanks again for your help.
 
Old 11-15-2004, 01:38 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Put user, or users option in the cdroms options in fstab to let everyone mount or unmount the device.
this may fix your permition problem also.

As far as i know u sould use a scsi emulator to be able to burn CD's.
read something like that http://www.seismo.ethz.ch/linux/xcdroast.html or search in google
 
Old 11-17-2004, 09:15 PM   #5
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
I did try to add the same thing the that the windows partition line has (uid=tom), but it reverts back upon restart which is really weird cause I've never had this happen before. It let me add the entire windows line to the file, why wouldn't it allow me to edit the other lines? Thanks for your help.
 
Old 11-17-2004, 09:49 PM   #6
beatupbilly
Member
 
Registered: Jan 2004
Location: Pinr Lake, GA
Distribution: Slackware, LinuxMint, FreeBSD, Xandros, CentOS, Fedora Core, RedHat, Chakra, etc etc
Posts: 215

Rep: Reputation: 30
you know I have been trying to figure out where my backup drives were listed for about three hours until this post. In the Media folder???? Argh. Progress means change and vice versa so I guess I have to be understanding.
 
Old 11-17-2004, 10:22 PM   #7
richard_67
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Dubya,

I had the same problem. I have been following this thread to find how to fix it. I finally gave up trying to figure it out. then.....

This afternoon I ran up2date and found that there were several updates including a kernel update . (2.6.9-1668_FC3). After installing all updates things started working

I now have /dev/cdrom, /dev/dvd etc... Totem, xine all work perfect now. and K3B works as well.

Hope this works for you as well. (or anyone like me, who followed this thread to find an answer)

Richard
 
Old 11-17-2004, 11:39 PM   #8
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
I may be wrong - new to Fedora (but not to Linux) and I'll check later on, but... IIRC, FC3 uses udev and hotplug so /dev entries are made on the fly depending on rules in /etc/hotplug.

What does this mean... well for starters any permission changes you make on /dev entries will change when you reboot or re-plug devices.

The rules can be set up to create a /dev/dvd or /dev/cdrom slinks as well creating the /dev entry.

This sounds annoying, but is actually quite good if you are patient and know what you are doing. You can write scripts so that when you plug in your usb camera/mp3 player etc it creates a directory somewhere and automatically mounts the player/camera to it (and do the reverse when you unplug it). You can set it up to automatically copy files if you want... all sorts. Great for non-techy users - if it is set up for them.

I'll have a look later (unless GF interrupts me)...

Last edited by slyman; 11-17-2004 at 11:43 PM.
 
Old 11-17-2004, 11:47 PM   #9
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
Try this http://fedora.redhat.com/docs/udev/

Cheers.
 
Old 11-18-2004, 10:01 AM   #10
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
Thanks a lot richard_67 and everyone else. My up2date agent was showing a blue check mark, so I didn't think it'd work when I looked for updates, but sure enough about 20 updates showed up. Totem still doesn't work for me; I get an error everytime I try to play a file. Do I need some sort of other support to get this working? Thanks again!
 
Old 11-18-2004, 10:13 AM   #11
beatupbilly
Member
 
Registered: Jan 2004
Location: Pinr Lake, GA
Distribution: Slackware, LinuxMint, FreeBSD, Xandros, CentOS, Fedora Core, RedHat, Chakra, etc etc
Posts: 215

Rep: Reputation: 30
remove it and reinstall it. i had to.
 
Old 11-18-2004, 10:29 AM   #12
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
Still doesn't work, no idea why.
 
Old 11-18-2004, 04:52 PM   #13
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
Dubya, did you read my and flysideway's posts?
 
Old 11-18-2004, 04:55 PM   #14
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
I struggled to get xmms to play a cd until I remembered that under preferences in the xmms menu, you can change parameters like whether or not you use alsa or oss, if your visualizations are selected, etc.

To fix your problem (FC3):

Go to preferences (under options). When the preference dialogue opens, you will be looking at a list of input plugins. Click cd audio player, which should be at the top of the menu. Click on configure. Then replace /mnt/cdrom with /media/cdrom and then click check drive.

This will work. Guaranteed. You don't have to change *anything* about soft links or permissions. (As long as the soft link from /dev/cdrom to your cd drive exists ie /dev/hdc )
 
Old 11-18-2004, 05:39 PM   #15
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Original Poster
Rep: Reputation: 30
Yeah, I read your posts and my original problem is solved. My last post:

Quote:
Originally posted by dubya
Still doesn't work, no idea why.
was in reference to totem; I had uninstalled totem, then reinstalled and it doesn't work.

Are you still telling me to read your posts over again to fix totem? Did you read my post from before:

Quote:
Originally posted by dubya
Thanks a lot richard_67 and everyone else. My up2date agent was showing a blue check mark, so I didn't think it'd work when I looked for updates, but sure enough about 20 updates showed up. Totem still doesn't work for me; I get an error everytime I try to play a file. Do I need some sort of other support to get this working? Thanks again!
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
clean FC3 install + cdrom module problems blizunt7 Fedora 1 02-21-2005 12:11 PM
mounting CD, CDRW... /dev/cdrom -> /dev/hda kersten78 Slackware 9 09-23-2004 11:53 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:50 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