LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2005, 10:41 AM   #1
bato
Member
 
Registered: Nov 2004
Distribution: Slackware 10.2
Posts: 32

Rep: Reputation: 15
CDROM detection


Hi, again.I have another problem.I have installed Slackware 10.I have also 3 cdroms(2 cd-rw and dvdrom)but the system detect me only the dvd-rom.Any suggestion how to fix this.
 
Old 02-04-2005, 10:58 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
How do you know it detect only dvd-rom ?

Are they IDE drives ? if yes, what is the output with :
ls /proc/ide

and :
cat /proc/ide/hd*/model
 
Old 02-04-2005, 11:09 AM   #3
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Post your /etc/fstab file. If it lists only one CDROM drive (/dev/hdc mounted on /mnt/cdrom most likely) than you may only need to add the other two.

Dennisk
 
Old 02-04-2005, 11:24 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...and can you post the output of " $dmesg |grep hd " ?

egag
 
Old 02-04-2005, 11:43 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Could you post the output of:
sysvbanner cdrom
 
Old 02-04-2005, 12:06 PM   #6
bato
Member
 
Registered: Nov 2004
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
re

Yes.They are IDE drives.When I am typing cat /proc/ide/hd*/model it detect the model of my drivers but i cannot see them in the Computer, so I cannot use them when I am inserting media in it.
 
Old 02-04-2005, 12:07 PM   #7
bato
Member
 
Registered: Nov 2004
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
sysvbanner cdrom

#### ##### ##### #### # #
# # # # # # # # ## ##
# # # # # # # # ## #
# # # ##### # # # #
# # # # # # # # # #
#### ##### # # #### # #
that's it.
 
Old 02-04-2005, 12:10 PM   #8
bato
Member
 
Registered: Nov 2004
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
cat /proc/ide/hd*/model

bash-2.05b# is /proc/ide
bash: is: command not found
bash-2.05b# cat /proc/ide/hdc/model
TEAC CD-W552E
bash-2.05b# cat /proc/ide/hdb/model
HITACHI DVD-ROM GD-7000
bash-2.05b# cat /proc/ide/hdd/model
CD-W54E
 
Old 02-04-2005, 12:17 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
that was not 'is' but 'ls' command I suggested, in uppercase: LS
(sysvbanner was a joke naturally)

So now you have to add in your /etc/fstab something like :
/dev/hdc /mnt/cdrom2 iso9660 noauto,user,ro 0 0
/dev/hdd /mnt/cdrom3 iso9660 noauto,user,ro 0 0

make the mount point directories :
mkdir /mnt/cdrom2 /mnt/cdrom3
(choose another names if you prefer, just make sure they match in /etc/fstab)

Last edited by keefaz; 02-04-2005 at 12:18 PM.
 
Old 02-08-2005, 10:26 AM   #10
bato
Member
 
Registered: Nov 2004
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks to all who helping me.So I can resolve this problem.
 
Old 03-02-2005, 11:52 PM   #11
atifraza82
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: Disabled
Similar Problem

Hi I have a similar problem with my system as well. I have a CDROM (connected to hdc) and a DVDROM/CD-RW (connected to hdd). As this thread explains I have done the following

ls /proc/ide

drivers hda@ hdb@ hdc@ hdd@ ideo/ ide1/ piix

and the output of cat /proc/ide/hdc/model is
ASUS CD-S520/A

the output of cat /proc/ide/hdd/model is

HL-DT-ST RW/DVD GCC-4521B

dmesg | grep hdd or dmesg | grep DVD say the drive is there.

The link dvd in /dev points to /dev/hdc not /dev/hdd

I mounted a DATA CD in the DVD ROM but after that it wont let me unmount it umount /dev/hdd says device is busy

Tell me what to do

My previous post about this thread was http://www.linuxquestions.org/questi...hreadid=296618
 
Old 03-03-2005, 02:42 AM   #12
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Rep: Reputation: 15
atifraza82:
first make sure you're not currently in the mounted directory. try "cd /" then run umount /dev/hdd. depending on your fstab entry you may also need to issue umount as the same user who performed the initial mount. so if you mounted the drive as su or root use the same user to unmount it.

to get /dev/dvd to point to the dvd drive is simple, as root:
Code:
rm /dev/dvd
ln -s /dev/hdd /dev/dvd
after that you may need to chmod /dev/dvd to give all users access but im not quite sure.

Last edited by dockpunk; 03-03-2005 at 02:46 AM.
 
Old 03-04-2005, 01:33 AM   #13
atifraza82
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: Disabled
Thumbs up Thanx dockpunk

Thank you guys especially dockpunk i did what he told me only had to make a new link after deleting the old one every thig now works perfectly
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
cdrom detection... os2 SUSE / openSUSE 1 10-15-2005 07:50 AM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM
cdrom detection problam dvdljns Linux - Hardware 2 09-23-2003 08:52 PM
CDROM detection problems andrew001 Linux - Hardware 3 06-15-2003 09:30 PM

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

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