LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-30-2007, 11:05 PM   #1
calroger
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Second CDROM drive not detected Fedora 8


I have installed Fedora 8 on a dual boot system. The system has two 160 gb drives with four partitions each. The first, sda has four NTFS partitions on it. The second drive, sdb, has three linux partitions and one NTFS partition. These drives are connected to the primary ide controller. The secondary ide controller has a dvdrw/cdrw on the master and a cdrom on the secondary.

The dvd drive is recognized as /dev/sr0. The cdrom drive is not recognized at all.

In Windows XP Pro SP2, both drives are detected and work fine. The system bios detects both drives properly.

Any ideas on how to get Fedora to recognize the cdrom drive (secondary ide, slave)? I have verified the cabling and jumper settings.

Cal Rasmussen
 
Old 12-10-2007, 03:51 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Sorry for the late reaction but I found your post just now...

What is in your /etc/fstab or did you add the drive after installation of fedora?

What is the output of
Code:
cdrecord -scanbus
lspci
Do you have a drive icon?

Last edited by JZL240I-U; 12-10-2007 at 03:53 AM.
 
Old 12-10-2007, 01:59 PM   #3
calroger
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for responding.

Here is the fstab file and the results of the two commands you specified:

[root@athlon ~]# cat /etc/fstab
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda1 /XP-NTFS/C ntfs ro,nosuid,nodev,noatime,allow_other 0 0
/dev/sda2 /XP-NTFS/D ntfs ro,nosuid,nodev,noatime,allow_other 0 0
/dev/sda3 /XP-NTFS/E ntfs rw,nosuid,nodev,noatime,allow_other 0 0
/dev/sda4 /XP-NTFS/F ntfs rw,nosuid,nodev,noatime,allow_other 0 0
LABEL=SWAP-sdb3 swap swap defaults 0 0

[root@athlon ~]# cdrecord -scanbus
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.

[root@athlon ~]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0c.0 USB Controller: NEC Corporation USB (rev 43)
00:0c.1 USB Controller: NEC Corporation USB (rev 43)
00:0c.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0d.1 Input device controller: Creative Labs SB Live! Game Port (rev 08)
00:0e.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
00:0f.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
[root@athlon ~]#

I see nothing in /etc/fstab for the cdrom. I get an icon for the dvd if there is a disk in the drive (any kind of disk). If I put a disk in the cdrom drive, it does nothing. Here is the uname command to show what kernel I am running.

[root@athlon ~]# uname -a
Linux athlon 2.6.23.8-63.fc8 #1 SMP Wed Nov 21 18:51:08 EST 2007 i686 athlon i386 GNU/Linux
[root@athlon ~]#

Although I have worked with various flavors of UNIX for over ten years, I have only been working with Linux for a few months.

Any help would be appreciated.

Thanks,

Cal
 
Old 12-12-2007, 04:31 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Well, well.

Okay, so you don't have to have a device in /etc/fstab but to use the CD-ROM, you can also simply mount it by hand. But I don't see your DVD either We just have to find the device first, possibly by doing a
Code:
ls -la /dev
Then search for a possible candidate and mount it in a directory of your choice.

Better even, do a
Code:
dmesg | grep hd
and look for the 4 channels of the IDE-controller and (if and) where they are mounted.

I just noticed, that you have a very new kernel. I think, I read something about HAL and udev, mounting the drives dynamically (like an USB-stick) when a medium is put into the tray. That complicates it a bit.

Sorry, but I'm no expert here at all .

Hm. Did you do the suggested commands
Quote:
Originally Posted by calroger View Post
For possible targets try 'wodim --devices' or 'wodim -scanbus'
and what where the results?

Well, did you add the drive later, or was it there during installation. If it is a later addition you might try the installation-CD and use the repair mode...

Please post your findings about my rambling efforts and we'll take it from there.

Last edited by JZL240I-U; 12-12-2007 at 04:34 AM.
 
Old 12-12-2007, 11:28 PM   #5
calroger
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Both the DVDRW and the CDROM drives were physically installed when Fedora 8 was installed. The DVD mounts as /dev/sr0 on /media/sr0.

dmesg | grep hd returns nothing.

wodim --devices and wodim -scanbus return the following:
[root@athlon ~]# wodim --devices
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
[root@athlon ~]#

Note--There is no wodim.conf file. I have not done the procedures in the README.ATAPI.

I read somewhere in this forum where if there are two IDE or EIDE controllers, two IDE hard disks, and two IDE cdrom drives, that the hard disks should be on the primary and secondary MASTER channels and the cdroms should be on the primary and secondary slave channels. My setup is not that way. I have both hard drives on the primary controller and both cdroms on the secondary controller. It is not convenient to change the configuration. To do so would totally screw up my Windows XP
installation. I finally have XP working the way I want it after a major crash a few months ago.

Should I be looking closely at the WODIM docs and do a manual configuration as described therein? Heck, I don't even know what WODIM is! I never heard of it before a couple days.

If Fedora is going to drop all support for IDE devices in the near future, I may just dump the whole thing. Adding a SCSI card and SCSI devices is not an option right now.

Thanks for all the help.

Cal
 
Old 12-13-2007, 02:43 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by calroger View Post
Both the DVDRW and the CDROM drives were physically installed when Fedora 8 was installed. The DVD mounts as /dev/sr0 on /media/sr0.
Then I'd guess that the CD should be /dev/sr1 on /media/sr1. You might try to "ls -la /dev/sr*" like I suggested earlier and also try to mount that by hand -- at least if something is there . Lastly, try " cat /proc/scsi/scsi" with a medium in each device (DVD and CD) and look for it there.

Quote:
Originally Posted by calroger View Post
dmesg | grep hd returns nothing.
Huh? I never heard of that. Be that as it may, if you have no splash screen you can see the boot messages during power up. Look for hdd and any error messages there and also look at /var/log/boot for "enlightenment" .

Quote:
Originally Posted by calroger View Post
wodim --devices and wodim -scanbus return the following:
[root@athlon ~]# wodim --devices
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
Well. What I found out is in short this: wodim is a fork of an elder version of cdrecord. In some distributions cdrecord is a symlink to wodim (try "ls -la /usr/bin/cdrecord"). The earlier versions of wodim had known problems like those you describe here. So try to get either the newest wodim or change to the original cdrecord. Problem with the latter is, that you have to get an additional build system to be able to compile it...

Quote:
Originally Posted by calroger View Post
Note--There is no wodim.conf file. I have not done the procedures in the README.ATAPI.
I'm new to wodim, no idea whether that is a show stopper or not.

Quote:
Originally Posted by calroger View Post
I read somewhere in this forum where if there are two IDE or EIDE controllers, two IDE hard disks, and two IDE cdrom drives, that the hard disks should be on the primary and secondary MASTER channels and the cdroms should be on the primary and secondary slave channels.
Dunno why they wrote this, I do it your way too: when you exchange data between hd and removable medium on a master / slave setting while more IO-operations occur between CPU / RAM and that hd then you'll get probably conflicts on the bus i.e. slowed transfers. Not so, when you exchange between different channels, since they use a different set of cables. (Example: hda [master] and hdb [slave] are on the same cable while hda uses a different cable than hdc plus hdd).

So my advice would be just leave it as it is.

Quote:
Originally Posted by calroger View Post
Should I be looking closely at the WODIM docs and do a manual configuration as described therein? Heck, I don't even know what WODIM is! I never heard of it before a couple days.
See above...

Quote:
Originally Posted by calroger View Post
If Fedora is going to drop all support for IDE devices in the near future, I may just dump the whole thing. Adding a SCSI card and SCSI devices is not an option right now....
I strongly doubt that they will do that anytime soon. Do you have a red hat source for that plan?

Last edited by JZL240I-U; 12-13-2007 at 04:27 AM.
 
  


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 and usb drive not detected angryfirelord Slackware 6 07-26-2006 05:00 AM
Can boot from MEPIS CD, but CDROM drive not detected geniusiknowit Linux - Laptop and Netbook 4 03-16-2006 02:23 PM
mouse wheel not working and cdrom drive not detected anindyanuri Slackware 19 06-19-2005 02:33 PM
cdrom drive not detected dkgilbey Linux - Hardware 9 05-05-2005 03:07 AM
Fedora Core 1/Linux 2.6: CDROM not detected nfisk Linux - Hardware 1 08-29-2004 03:53 AM

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

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