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 08-19-2007, 03:34 PM   #1
TexasMike
LQ Newbie
 
Registered: Jun 2006
Posts: 19

Rep: Reputation: 0
Question Probs adding 2nd CDROM or DVD drive...


Hello all...
I have UBUNTU 7.04 (uname -r gives: 2.6.20-16-generic). Originally installed with 1 IDE HD and 1 CD-R/RW (Sony CD-RW CRX195E1)on Pri IDE interface, using the "cable select) jumper option on both. Now I'd like to add my Sony 710A DVD-R/RW drive; so I moved the CD-R/RW to the Sec. IDE interface as Master (jumper set to Master), and added the DVD-R/RW as Slave (jumper set to Slave) on Sec. IDE Interface (NOTE: cable for Sec. IDE is standard 40-pin IDE cable). Now neither optical drive will mount. My fstab follows:

mike@mike-ubuntu:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=eaab1b24-6b26-4018-ba3c-10f30e52d1d5 / ext3 defaults,error
s=remount-ro 0 1
# /dev/hda5
UUID=19003608-8941-40ef-82f2-85afc9c7541d none swap sw
0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/md0 /media/raid auto defaults 0 10

Now I cannot find any reference in /dev to either optical drive. so, how do I query the system to check if it even sees these two drives? If found, how do I create proper /dev files for each drive? and, how do I add them to /etc/fstab so they are always available and auto-mount when cds or dvds are inserted?
I am a "noob" so please excuse my ignorance. I did search the forums for a suitable fix, but did not find anything I felt could help me.
Any assistance the members here can supply are greatly appreciated.

TexasMike
 
Old 08-19-2007, 04:50 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
To see what /dev/cdrom is reference look at your /etc/mtab file.

Brian
 
Old 08-19-2007, 06:24 PM   #3
TexasMike
LQ Newbie
 
Registered: Jun 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Brian1...
Here are the contents of /etc/mtab :

mike@mike-ubuntu:/etc$ more mtab
/dev/sda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
/dev/md0 /media/raid ext3 rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
mike@mike-ubuntu:/etc$


I see no reference to cdrom...

Mike
 
Old 08-21-2007, 04:36 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Must be the new udev hal stuff doing that automaount and creation. Use to the way Fedora from a few versions back worked. If the cdrom drive is IDE then it will be /dev/hd*. Where /dev/hda is the first IDE on the first controller. /dev/hdb is the second drive on the first controller. /dev/hdc is the first drive on the second controller. same for /dev/hdd is the second drive on the second controller.

Brian
 
Old 08-22-2007, 09:04 AM   #5
TexasMike
LQ Newbie
 
Registered: Jun 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Cool

Quote:
If the cdrom drive is IDE then it will be /dev/hd*. Where /dev/hda is the first IDE on the first controller. /dev/hdb is the second drive on the first controller. /dev/hdc is the first drive on the second controller. same for /dev/hdd is the second drive on the second controller.
Brian,
I understand what you said about the Pri and Sec IDE controller and how it "labels" hard disks, BUT, on this system the CD and DVD drives, connected to the Sec IDE ctlr, are seen as scd1 & scd0, while any Hard disk is "labeled" as you specified. In fact, I just checked my Ubuntu at the office, and found the same "naming", ie... my Sony CD/DVD-+R/RW drive is seen as scd0.

In any case, this problem is RESOLVED!!! Everything is now fine, both drives mounting and working! The solution was that the DVD drive was bad in some way; it was in a working Winders XP system, and had been used to burn a disk with Ubuntu 7.04 (the very one I used to install Ubuntu!!) only 3 days prior to the fiasco with installing it to the Ubuntu machine (very strange). Verified this by returning drive to the W-XP system (which had been off since the drive as removed) and sure enough, it wouldn't work there anymore!!!

Regards....

TexasMike
 
Old 08-22-2007, 03:31 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Oh that is right. I forget now with the newest kernels how the IDE interface are routed through the scsi module interface of the kernel. Thats why it is scd0 and scd1. So many module choices these days. Not all IDE controllers have pata mode modules but many are supported these days.

Brian
 
  


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
Adding a 2nd Hard Drive? carlosinfl Linux - Hardware 1 03-29-2007 03:07 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
Adding 2nd hard drive with data on it MichaelH23 Linux - Hardware 3 11-23-2005 01:28 AM
DVD drive only recognized as CDROM general4172 Linux - Hardware 2 08-25-2003 03:10 PM
Can't mount cdrom after adding new drive jimweatherly Linux - General 4 05-29-2001 11:25 AM

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

All times are GMT -5. The time now is 09:35 AM.

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