LinuxQuestions.org
Register a domain and help support LQ
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 01-07-2005, 09:14 PM   #1
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Rep: Reputation: 15
Question "Normal" Steps for Adding a DVD/CD-RW Drive


Hi,

I'm trying to add a Sony DVD/CD-RW to my system which already has a Lite-On CD-R drive. I was hoping that after I connected it and rebooted, kudzu would detect the drive and I'd be done. Unfortunately, the drive is not recognized. It does have power as I can open and close the tray. It's just that there is no entry in /etc/fstab for the Sony drive and it is unmountable. Having the drive connected as it was, caused problems with my mouse and for some reason my x-termimal session was even bothered by it. I disconnected the Sony drive and now everything is back to the way it was and running just fine.

I've never been fortunate enough to have two drives on any system I've owned (Windows included), so I wonder if in there is a little more to setting up the drives than just getting kudzu to detect and configure it for me. I saw some posts about master-slave settings, but none of the posts started at the ground level (which is where I'm at), so I wasn't able to figure out if what was being discussed was pertinent to my situation.

Could someone please outline what would be the normal process of adding a new drive to a healthy Linux machine?

Thanks alot,

Scott Cook
Chicago, IL

(RedHat 9.0, kernel 2.4.20-8)

Last edited by CooManChu; 01-07-2005 at 09:15 PM.
 
Old 01-07-2005, 09:57 PM   #2
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Original Poster
Rep: Reputation: 15
Nevermind - I checked the existing drive and its jumper was set for cable select. I set the new drive to be cable select and everything is working great. Sorry if anyone bothered....
 
Old 01-07-2005, 09:58 PM   #3
jacks4u
Member
 
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
Ok, first with the IDE interfaces and cabeling.

Most computers now days use IDE as the interface for the hard drives and CDROMs. Most of these computers have 2 interfaces, and each interface has 2 'ports' (a Master and a Slave) for a total of 4 drives possible without adding new interface cards. An interface will not work correctly with 2 masters, or 2 slaves, nor will it work correctly with a master in the place where a slave should be, or a slave where a master should be. The Master always plugs into the connector closest to the motherboard, with the slave connected all the way out at the end of the cable.

Most hardware is setup with hard disks as master, and CD-ROMs as slaves, but I'm not sure there is a great difference in performance, as I've never actually configured a system different than that, except where I had several drives, some as master and some as slave, depending on usage.

For a system with 1 HDD, 1 CD-R and 1 CD-RW, I would configure the HDD as master on the primary interface, and the CD-R as slave on that same interface, and the CD-RW as master on the secondary interface.

What this means, is that the HDD would be on the 'Primary' cable, with it's jumper set as 'Master', in the connector in the middle of the cable. The CD-R would be plugged into the connector at the end of that cable, with it's jumpers set as 'Slave'. The CD-RW would be plugged into the center connector for the 'Secondary' cable, and it's jumpers set to 'Master'

There is, on some devices a third setting, besides 'Master' or 'Slave', and that being 'Cable Select' - meaning, where ever the device is plugged into, it takes on the properties of that connector. ie a device jumpered as 'Cable Sellect' and plugged ino the center connector will be referenced as 'Master', plugged into the end connector, it will be referenced as 'Slave'

Devices are deferenced as follows:
The Primary Master is referenced as /dev/hda
The Primary Slave is /dev/hdb
The Secondary master is /dev/hdc
The secondary slave is /dev/hdd

Many systems will create a symlink between /dev/hd* and /dev/cdrom for an interface that has a cdrom on it.

I have never had a system with a CD-RW, so do not know if symlinks are created for that as well, or if it is referenced as /dev/hd*

Disclaimer:
Please double check my information! I believe this to be true, or quite close to the truth, if I recall correctly. OR I may have had an Alsheimers moment and all the stuff I just typed is wrong. I don't feel it's completely wrong, but perhaps a detail here or there may be slightly incorrect. If you have any doubts, a Google search should give you a LOT of information, both info covered here, and things not discussed yet
 
Old 01-08-2005, 09:59 AM   #4
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks Jacks4U,

Since my existing drive was set to CS, I just went ahead and set the new one to CS too instead of worrying about master/slave relationships.

You're right about the links. I didn't have those setup correctly, but after a couple tries, everything is straight (CD-R is still an IDE, CR-RW/DVD is a SCSI):

# cd /dev
# ll dv*
lrwxrwxrwx 1 root root 4 Jan 8 09:02 dvd -> scd0
# ll cd*
lrwxrwxrwx 1 root root 8 Jan 8 08:50 cdrom -> /dev/hdc
lrwxrwxrwx 1 root root 4 Jan 8 08:58 cdrom1 -> scd0

# cdrecord --scanbus
scsibus0:
0,0,0 0) 'LITE-ON ' 'COMBO SOHC-5232K' 'NK0E' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

Thanks again for the help,

Scott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 "Subscribe" button next to "Reply"? pnellesen LQ Suggestions & Feedback 2 06-21-2005 09:12 PM
DVD wont mon't drive stays lit "no media present" aero402 Linux - Software 5 01-05-2005 09:25 PM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 07:41 AM
Accessing windows drive from my "normal" user. At0mic_PC Slackware 6 08-01-2003 11:33 PM
How to mount "Combo DRIVE"? (CD-RW/DVD) wailinux Linux - Hardware 8 12-30-2002 07:00 PM


All times are GMT -5. The time now is 11:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration