LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-29-2005, 06:16 PM   #1
monks_point
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Rep: Reputation: 0
DVD/CDRW Combo Drive Mounting Trouble


First of, I want to apologize for cross posting. I am a newbie, and this is really frustrating!
I have one DVD-R/CD-RW combo drive and on CD-Rom.
I am having trouble mounting any of them!

This is what my fstab file looks like:

/dev/hda6 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/hda5 /home ext2 defaults 1 2
/dev/cd-rw /mnt/cd-rw iso9660 noauto,user,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


$ dmesg | grep sd
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 2
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: I/O error: dev 08:00, sector 0


$ dmesg | grep hd
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdcMA, hddMA
hda: WDC WD1200BB-22DWA0, ATA DISK drive
hdc: SONY DVD RW DW-U14A, ATAPI CD/DVD-ROM drive
hdd: ATAPI CD-ROM 52XMax, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=14593/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
hda: hda1 hda2 < hda5 hda6 >


Any help would be wonderful.
 
Old 08-29-2005, 06:39 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
dmesg tells us the writer drive is /dev/hdc and the reader is /dev/hdd. So, as root do:

mkdir /mnt/hdd # Don't need this if you already have a mount point for it.
mount /dev/hdd /mnt/hdd

this shall mount the reader.

The writer will mount with:

mkdir /mnt/hdc #likewise
mount /dev/hdc /mnt/hdc

of course, you can change the mount points the way you want.
If all this work, you can edit the fstab. But try in the console first.
What distro is it, btw?

Last edited by bruno buys; 08-29-2005 at 06:41 PM.
 
Old 08-29-2005, 06:46 PM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by bruno buys
dmesg tells us the writer drive is /dev/hdc and the reader is /dev/hdd. So, as root do:

mkdir /mnt/hdd # Don't need this if you already have a mount point for it.
mount /dev/hdd /mnt/hdd

this shall mount the reader.

The writer will mount with:

mkdir /mnt/hdc #likewise
mount /dev/hdc /mnt/hdc

of course, you can change the mount points the way you want.
If all this work, you can edit the fstab. But try in the console first.
What distro is it, btw?
That seems strange, I don't use a combo drive but have separate CD and CDRW drives and yes one is /dev/hdc and the other is /dev/hdd but does linux separate a single drive like that... Just curious that it would be assigned /dev/hdc only for the single drive and why would it see a different medium as /dev/hdd...

Like I said I don't use combo drives so maybe that is how it works but just seems odd.

KC
 
Old 08-29-2005, 07:25 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Linux doesn't separate drives. Monks has two, one of them is a combo:

hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache,

This is the combo, being correctly recognized as dvd capable and also as a writer.

hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)

This is the cdrom only.

It is the writing program's duty to acknowledge the writer's capabilities. Regarding kernel's settings, everything seems ok to me.
 
Old 08-29-2005, 07:28 PM   #5
monks_point
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bruno buys
dmesg tells us the writer drive is /dev/hdc and the reader is /dev/hdd. So, as root do:

mkdir /mnt/hdd # Don't need this if you already have a mount point for it.
mount /dev/hdd /mnt/hdd

this shall mount the reader.

The writer will mount with:

mkdir /mnt/hdc #likewise
mount /dev/hdc /mnt/hdc

of course, you can change the mount points the way you want.
If all this work, you can edit the fstab. But try in the console first.
What distro is it, btw?
Thank you so much for your help. by following your directions, the drive was able to read both CD and DVD media.

Do I have to mount the drives manually every time I want to use them, or is there some way to make it have automatically?
 
Old 08-29-2005, 07:31 PM   #6
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by bruno buys
Linux doesn't separate drives. Monks has two, one of them is a combo:

hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache,

This is the combo, being correctly recognized as dvd capable and also as a writer.

hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)

This is the cdrom only.

It is the writing program's duty to acknowledge the writer's capabilities. Regarding kernel's settings, everything seems ok to me.
My apologies,

I misread the original post... I thought you were refering to a single drive...so scratch my previous response...

KC
 
Old 08-29-2005, 08:16 PM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
kencaz, nevermind. These drives are really misleading.

Monks: Of course, there is! You can edit your fstab, now that you have things figured out. You can do:

First comment out the old line, which won't work, like this:

/dev/hda6 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/hda5 /home ext2 defaults 1 2
#/dev/cd-rw /mnt/cd-rw iso9660 noauto,user,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Now, insert the new ones:

/dev/hdc /mnt/hdc auto noauto,user,rw 0 0

If 'auto' doesn't work here, try iso9660.

/dev/hdd /mnt/hdd iso9660 noauto,user,ro 0 0

notice the 'ro' param, its read-only. The drive is a reader.


You can put it anywhere in the file, it will work. Its a pity I don't have my 'regular' computer around, so I can see my fstab and post the exact line. These mounting options (between the mount dir and the zeros) still mislead me, a little. But it shall be harmless. If you reboot and it doesn't mount right, just edit the file, and try again. Tunning gnu/linux is very much a process of trial and error. Good for learning.

Last edited by bruno buys; 08-29-2005 at 08:21 PM.
 
Old 08-29-2005, 09:11 PM   #8
monks_point
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

You guys have been absolutely wonderful.
My drives are working wonderfully.
 
Old 08-29-2005, 09:15 PM   #9
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
can you burn cd's?
 
Old 08-29-2005, 10:09 PM   #10
monks_point
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I do not know yet.
I don't even know what program to use to try to burn cds!
That's a problem I haven't gotten to yet, though if you have some suggestions, I would very much appreciate them.
 
Old 08-29-2005, 10:28 PM   #11
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Well, there's k3b, very popular. There are several others. All gui programs use traditional command line tools like cdrecord and cdrdao. You have to install these two, and then you can install any gui you need.
What distro and desktop manager is it?
 
Old 08-30-2005, 11:53 AM   #12
monks_point
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I am using Slackware 10.1 and KDE 3.3
I will try the programs you mentioned tonight, when I get home and report back.
 
  


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
CDRW+DVD combo drive problem igorc Linux - Hardware 3 10-07-2005 07:11 AM
DVD/CDRW Combo Drive Mounting Trouble monks_point Linux - Newbie 1 08-29-2005 06:55 PM
Play DVD on CDRW/DVD Combo Drive?? halo14 Linux - Laptop and Netbook 13 09-21-2004 09:21 AM
Trouble with DVD/CDRW combo drive jenna_h Linux - Hardware 4 10-01-2003 08:59 AM
DVD/CDRW combo drive toySOILDer Linux - Hardware 0 08-12-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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