Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get dvdrw to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pedrok
n00b
n00b


Joined: 08 Aug 2005
Posts: 44

PostPosted: Mon Aug 08, 2005 4:02 pm    Post subject: Can't get dvdrw to work Reply with quote

Hi,

Apologies if this has been discussed before, but here goes:

I can't get my ide dvdrw to work: cdrecord -scanbus returns

Code:
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) 'ATA     ' 'Maxtor 6Y200M0  ' 'YAR5' Disk
        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) *


And when I put in a (music) cd and try to mount, I get
Code:
theorymonster ~ # mount /mnt/cdrom/
mount: block device /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0,
       or too many mounted file systems


Here's the relevant part of my /etc/fstab
Code:
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,user      0 0

and /dev/cdroms/cdrom0 is a symlink to /dev/hdc .

I'm running on an amd64 with pure udev (no devfs compiled into the kernel) with one SATA hard-drive. I've put ide-cd on my /etc/modules.autoload.d/kernel-2.6 --- before this, I did not have a hdc in /dev/ . I don't have (I think) SCSI emulation enable in the kernel. I'm very new to administering a linux system --- I've read a lot (including the gentoo docs) to try to fix it but I haven't been able to. Gentoo has been installed for a while and working pretty well but I never needed the dvd drive (except at install time) until now, for back-up purposeses.

Any help would be much appreciated!
Thanks,
Pedro
Back to top
View user's profile Send private message
[n00b@localhost]
Apprentice
Apprentice


Joined: 30 Aug 2004
Posts: 266
Location: London, UK

PostPosted: Mon Aug 08, 2005 4:09 pm    Post subject: Reply with quote

Try changing the line in your fstab to:
Code:
/dev/cdroms/cdrom0   /mnt/cdrom    auto      noauto,user    0 0

CDs come with many different filesystems on them (audiocd, iso9660, udf,...). By choosing auto mount will figure out the filesystem when it tries to mount the device.

Regarding your dvdrw problem I think you have to use the ide-scsi module for cdrecord to recognise your cd/dvd rewriting hardware. Try searching the forums for ide-scsi and cdrecord for more help.
Back to top
View user's profile Send private message
pedrok
n00b
n00b


Joined: 08 Aug 2005
Posts: 44

PostPosted: Mon Aug 08, 2005 4:15 pm    Post subject: Reply with quote

Well, I'd tried that too, I get this,
[code]
theorymonster ~ # mount /mnt/cdrom/
mount: you must specify the filesystem type
[/code]
[sigh...]
The suggestion is appreciated nevertheless!
Pedro
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54835
Location: 56N 3W

PostPosted: Mon Aug 08, 2005 4:16 pm    Post subject: Reply with quote

pedrok,

The easy one first. Music CDs don't have a filesystem to mount. You point your player at the device.
Data CDs may contain mp3 files but they do not count as music CDs.

There are several ways you can use your DVD/CD writer. One way needs an application like cdrecord, optionally with a GUI front end. The other way only works with CD-RW and DVD+RW media, where your format them and use them like any other drive. The UDF filesystem is preferred. This is the packet writing mode.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pedrok
n00b
n00b


Joined: 08 Aug 2005
Posts: 44

PostPosted: Mon Aug 08, 2005 5:01 pm    Post subject: Reply with quote

NeddySeagoon,

[quote]The easy one first.
[/quote]
This is not self-evident! But thanks!

[quote]
Music CDs don't have a filesystem to mount. You point your player at the device.
[/quote]
Hmm, hadn't appreciated this... :oops: Just tried mounting a data cd and it worked! Thanks! I was actually using an audio cd for testing... :oops: :oops: Pointing vlc to /dev/hdc plays audio cds fine too! Thanks!

About burning, I've got cdrecord, I don't understand why I get that answer from cdrecord -scanbus ...

Thanks again!
Pedro
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54835
Location: 56N 3W

PostPosted: Mon Aug 08, 2005 5:11 pm    Post subject: Reply with quote

pedrok,

cdrecord is written as a generic SCSI tool. It reports everything as ACSI, even when its not.

Try
Code:
cdrecord -scanbus dev=ATA
and
Code:
cdrecord -scanbus dev=ATAPI

to see what I mean. In both cases you tell it to use the IDE interface and it still reports it as SCSI.

There is more explaination in
Code:
man cdrecord

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pedrok
n00b
n00b


Joined: 08 Aug 2005
Posts: 44

PostPosted: Mon Aug 08, 2005 5:29 pm    Post subject: Reply with quote

NeddySeagoon,

Ah!... Got something, which is beginning to make sense! I tried to read the fine manpage before but was overwhelmed... I just want to burn some iso files which I've already created... Will persevere though!
Incidentally, any suggestion for a properly non-scsi cd/dvd burner?

Thanks very much!
Pedro

[quote]
theorymonster ~ # cdrecord -scanbus dev=ATAPI
Cdrecord-Clone 2.01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'PIONEER ' 'DVD-RW DVR-107D' '1.15' 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) *
theorymonster ~ # cdrecord -scanbus dev=ATA
Cdrecord-Clone 2.01 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0 100) 'PIONEER ' 'DVD-RW DVR-107D' '1.15' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

[/quote]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54835
Location: 56N 3W

PostPosted: Mon Aug 08, 2005 5:58 pm    Post subject: Reply with quote

pedrok,

I like xcdroast. Its geared towards GNOME. If you are a KDE user, I have heard good thihgs about k3b.
Or you can just use cdrecord from the command line. Since you already have the ISO files, thats not as hard as it sounds.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pedrok
n00b
n00b


Joined: 08 Aug 2005
Posts: 44

PostPosted: Tue Aug 09, 2005 12:22 pm    Post subject: Reply with quote

NeddySeagoon,

Thanks for your help! Will try that!
Pedro

PS Sorry I took a while to reply --- had to be away from the computer!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum