LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2006, 12:34 PM   #1
Stabby McTwist
Member
 
Registered: May 2006
Distribution: Mandrake, Ubuntu, Kubuntu, SuSE
Posts: 63

Rep: Reputation: 15
Two devices pointing to one peice of hardware!? Kubuntu


I have a feeling that this will have a simple answer, but I'm rather new to Linux and don't know how to configure things like this. I have two CD drives. One is just a CD-ROM, the other is a CD-RW. The CD-ROM should be /dev/hdc and the CD-RW should be /dev/hdd. Both hdd and hdc access the CD-ROM, though. I'm running Kubuntu. Both drives are atapi. When I insert a disk into the CD-RW(hdd) the drive reads and stuff, but nothing is mounted. The other one mounts normally. Whenever I try to access hdd, hdc starts spinning. I'm perplexed, but also inexperienced. Thanks in advance!
 
Old 08-13-2006, 01:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
What references to both drives do you see in dmesg?
I don't know where mdk makes its links under /dev but have a
look for cdrom, and check on those with ls -l ...
Maybe try
find /dev -name "cdro*" -exec ls -ld {} \;


Cheers,
Tink
 
Old 08-13-2006, 02:27 PM   #3
Stabby McTwist
Member
 
Registered: May 2006
Distribution: Mandrake, Ubuntu, Kubuntu, SuSE
Posts: 63

Original Poster
Rep: Reputation: 15
Well, the only thing I see about cdroms in dmesg is..

[17179599.628000] cdrom: open failed.
[17179599.908000] cdrom: open failed.
[17179599.912000] cdrom: open failed.

I also tried: find /dev -name "cdr*" -exec is -ld {} \;
It didn't find anything, but I can see cdrw and cdrom0 when I go into /dev in konqueror.
 
Old 08-13-2006, 04:42 PM   #4
Stabby McTwist
Member
 
Registered: May 2006
Distribution: Mandrake, Ubuntu, Kubuntu, SuSE
Posts: 63

Original Poster
Rep: Reputation: 15
Ok, I got it to something workable now. The CD-RW can burn, but only at 12x. It was a jumper problem there. The CD-RW mounts blank cds while I'm burning them, but nothing else.
 
Old 08-13-2006, 06:03 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
First thing to do is check the jumpers on the two drives. One should be jumpered to Master; the other to Slave.

Second, in your file manager, look in the /dev directory. Look for devices named cdrom, cdrecorder, or something like that. The icom may have a down pointed arrow superimposed indicating it's a symlink to another device.

To find out what divice it links to, open a console window and enter the command: ls =l /dev/cdrom. It should show you something like this:
lrwxrwxrwx 1 root root 3 2006-08-12 07:16 /dev/cdrom -> hdc
which indicates that /dev/cdrom is linked to device /dev/hdc.

The symlinks are easily broken; just delete /dev/cdrom. Symlinks are just as easily made: ln -s /dev/hdc /dev/cdrom. ln is the command to make a link; -s is the option to create a symlink; /dev/hdc is the target to link to; /dev/cdrom is the link name.

So, it the links aren't linking to the device you think they should, you can easily break the current links, and remake them as you see fit.
 
  


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
Kubuntu: Devices vanishing, processor jerking nonoitall Ubuntu 1 01-21-2006 01:34 PM
how to install hardware devices mandrakelinux Slackware 15 12-03-2005 06:32 PM
Where can I find a list of detected hardware, and where it is mounted in Kubuntu? Eerath Ubuntu 4 08-01-2005 06:46 AM
show all hardware devices and drivers explorer Linux - Hardware 2 04-11-2004 03:54 AM
Dual / Hotplug Pointing Devices - GPM Configuration muzicman82 Linux - Hardware 1 12-16-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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