LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Probs adding 2nd CDROM or DVD drive... (https://www.linuxquestions.org/questions/linux-hardware-18/probs-adding-2nd-cdrom-or-dvd-drive-578249/)

TexasMike 08-19-2007 03:34 PM

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

Brian1 08-19-2007 04:50 PM

To see what /dev/cdrom is reference look at your /etc/mtab file.

Brian

TexasMike 08-19-2007 06:24 PM

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

Brian1 08-21-2007 04:36 PM

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

TexasMike 08-22-2007 09:04 AM

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

Brian1 08-22-2007 03:31 PM

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


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