LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2005, 04:59 PM   #1
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
Problem with two IDE drives


Hi,
I recently installed Slackware linux 10.1 today, and almost everything works great.

However, I have a minor problem. My IDE DVD/CDROM (set as "slave) drive is marked by /dev/cdrom as hdc, and /dev/dvd also as hdc. This is all fine and good, but my IDE CDRW drive (set as "master") is not detected at all. Also when I got to the device thingie in Konquer, I can not eject, mount, or otherwise access the drive labeled "CDROM".

As far as I can tell, my master IDE drive is not being detected, although at bootup it shows as being loaded. As per the wiki, I did a:
Code:
ls -la /dev/cd*
and I get the one marked /dev/cdrom -> hdc, however there is another one called /dev/cdu535 (or something very close to that).

Is there any way to get the CDRW drive to show up/be detected?
 
Old 06-28-2005, 05:10 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
check how your kernel recognises those drives:

dmesg |grep hd

or post the output here...

egag
 
Old 06-28-2005, 06:13 PM   #3
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Here is the output:
Code:
bash-3.00# dmesg | grep hd
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:pio, hdd:pio
hda: WDC WD400BB-00DEA0, ATA DISK drive
hdc: LITE-ON LTR-16102B, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, (U)DMA
hdc: attached ide-cdrom driver.
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
 
Old 06-28-2005, 07:12 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
----------
hdc: LITE-ON LTR-16102B, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
----------

strange, is it possible that those are your two drives ?
if so...i would check the jumpers for master/slave though i
thought it was not possible...

if it's one and the same drive, then the other is not recognised .
maybe check the cables ?

egag
 
Old 06-28-2005, 07:14 PM   #5
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:

strange, is it possible that those are your two drives ?
if so...i would check the jumpers for master/slave though i
thought it was not possible...

if it's one and the same drive, then the other is not recognised .
maybe check the cables ?
I already did check the jumpers, and unless they are lieing then they are in the proper master/slave position. But no, they are the two drives that I have.
 
Old 06-28-2005, 07:25 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
do you have a spare ide cable ?
or do they have also a "cable select " ( cs ) position for the jumper.
if they both have that, try that setting.
my guess is that they both respond when the kernel is looking for hdc.
( never new that it could be )
so i would try another cable or jumper setting.

egag
 
Old 06-28-2005, 08:01 PM   #7
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Out of the clear blue sky (after removing the DVDROM drive), the CDRW drive began responding IF and ONLY IF I am logged in as root. Is there a way to change the permisions on a drive?


Oh yeah, and they both have a cabel select section, I'll try it tomorrow if I can't find a way to make the CDRW work for users.
 
Old 06-28-2005, 09:00 PM   #8
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Ok I tried your suggestion of changing the jumper to cs:

1) It caused an interupt or something to happen repeatedly on boot
2) Fixed nothing =/

If I could just acess the cdrom drive as a user I would be all set
 
Old 06-28-2005, 09:40 PM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...how about another cable...?
or connecting one of the two as slave on the HD cable ( it will be hdb ).

egag
 
Old 06-29-2005, 02:15 AM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
7smurfs, do you run a 2.4 kernel with ide-scsi emulation ?
If yes, it is possible that your 2nd drive is recognised
as /dev/sd<number> or /dev/sr<number>

Also what is your output with :
dmesg | grep -i cd
(just the relevant line about drives)
 
Old 06-29-2005, 10:27 AM   #11
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, I disconnected my DVDROM drive, and had to reinstall slackware due to the fact it wouldn't boot up anymore

Well, it is recognized now as a CDRW drive, though I haven't tried burning to it yet. Also, it still won't mount from a user -> how can I change that?
 
Old 06-29-2005, 12:14 PM   #12
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
Hello!

Take a look at your /etc/fstab file. For users to be able to mount a CD-roms to have "user" as an option

Example for a line for a cdrom in /etc/fstab:
Code:
/dev/hdc  	/mnt/cdrom  	auto  	ro,noauto,user,exec  	0 0
Here you will find more detailed info abou the /etc/fstab-file:
http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 06-29-2005, 01:31 PM   #13
7smurfs
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks Razze, I'll go try it right now.

EDIT: It worked, thanks again!

Last edited by 7smurfs; 06-29-2005 at 02:37 PM.
 
  


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
5 IDE Drives Help moto55 Linux - Hardware 6 06-25-2004 10:34 PM
only 3 of 4 ide drives recognized briankb713 Linux - Hardware 5 04-26-2004 06:26 PM
help with cd-r and dvd drives IDE cirkut5732 Linux - Newbie 1 04-13-2003 11:52 AM
More than 4 IDE drives? KungFuHamster Linux - Hardware 7 02-21-2003 04:06 PM
How many IDE drives can I use? newbietolinux General 15 12-15-2001 05:24 AM

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

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