LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting DVD writer working (https://www.linuxquestions.org/questions/linux-newbie-8/getting-dvd-writer-working-183246/)

simbamford 05-19-2004 07:59 AM

Getting DVD writer working
 
Hi - I lost my Linux virginity about a month ago.

I'm trying to get my DVD Writer working.

It's an Optorite DD0201 DVD burner.

It automatically added a line to /etc/fstab. The entry is identical to that of the cdrom:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

I added hdd=ide-scsi as a kernel parameter in the grub.conf file.

Doing dvdrecord - scanbus gives me:

scsibus1:
dvdrecord: Warning: controller returns wrong size for CD capabilities page.
1,0,0 100) 'OPTORITE' 'DVD RW DD0201 ' '2.17' Removable CD-ROM

I’ve created an example iso file that I want to burn (it’s about 40MB).

Then when I do:

# dvdrecord dev=/dev/hdd:1,0,0 /root/testdvd.iso

I get:

dvdrtools v0.1.3
Portions (c) 2002 Red Hat, Inc.
Based on:
Cdrecord 1.11a15 (i386-redhat-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
scsidev: '/dev/hdd:1,0,0'
devname: '/dev/hdd'
scsibus: 1 target: 0 lun: 0
dvdrecord: Invalid argument. Cannot open SCSI driver.
dvdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

What should I try next? Any advice gratefully received.

Sincerely

Simeon Bamford

wrat 05-19-2004 08:12 AM

Im not sure but I dont think " hdd=ide-scsi" is needed anymore...at least for me it was not I use k3b and it was no problem to setup my dvd burner..I just had to make sure I had all the tools

simbamford 05-19-2004 10:12 AM

Thanks for your prompt reply Wrat,

I've just looked at k3b, but I'm not sure it's going to help me because one of my requirements is to be able to schedule backups so they happen automatically once a day, so I really need to be able start a burn from the command line (it doesn't look from the spec like k3b has a scheduling capability?).

However the documentation for one of the tools it references, DVD+RW, pointed me in the right direction.

>If you have an IDE unit and run 2.4.x kernel, you most likely want >to "route" it through ide-scsi emulation layer by either:
>passing "hdX=ide-scsi" argument to kernel;
> or ...
>Keep in mind that once hdX is routed through ide-scsi, you can no longer >refer to /dev/hdX(*), but to corresponding /dev/scdN only.

So I think I do need the hdd=ide-scsi line since it is an ide device. It was this line that got the device to show up in dvdrecord - scanbus in the first place.

But I was referring to it as hdd. I've tried again with:

# dvdrecord -dummy dev=/dev/scd0:1,0,0 /root/testdvd.iso

And now I get:

dvdrtools v0.1.3
Portions (c) 2002 Red Hat, Inc.
Based on:
Cdrecord 1.11a15 (i386-redhat-linux-gnu) Copyright (C) 1995-2001 J?rg
Schilling
scsidev: '/dev/scd0:1,0,0'
devname: '/dev/scd0'
scsibus: 1 target: 0 lun: 0
dvdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open SCSI
driver.
dvdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
root.

So it's saying the problem is that it's a read only filesystem. I think it somehow thinks that the DVD burner is actually just a cdrom. Any suggestions?

Sincerely

Simeon Bamford

wrat 05-19-2004 12:04 PM

can you burn anything with k3b a cd perhaps??Im using debian and I started with the 2.4 series kernel BEFORE I tried to burn anything I installed k3b it did not load the ide-scsi mod and I was able to burn..my fstab loks a tad different..I have a dvd reader and writer

/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/hdc /cdrom iso9660 ro,user,noauto 0 0


All times are GMT -5. The time now is 08:27 AM.