LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-06-2006, 02:35 PM   #1
Woody Ochs
LQ Newbie
 
Registered: Jul 2005
Location: North Carolina
Distribution: Slackware, Suse, Fedora, Debian, Knoppix
Posts: 17
Blog Entries: 1

Rep: Reputation: 0
DVD burning with 10.2


With Slackware 10.2 I have had good luck with cdrecord, and now I would like to burn some DVDs, but evidently I need to modify cdrecord with "proDVD" or somehow acquire "dvdrecord" capabilities. Can anyone point me in the right direction? As for k3b and xcdroast, I have tried to use them but have despaired at conjuring the magic formulae necessary for navigating their GUIs, but if anyone can recommend any HOWTOs for them as well I would certainly appreciate that too.
 
Old 04-06-2006, 02:38 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You can also try graveman. It has rather easy interface.
You need these packages for burning/playing DVDs:
Code:
dvd+rw-tools-6.1-i486-1
libdvdcss-1.2.9-i486-1kjz
libdvdnav-0.1.10-i686-3dl
libdvdread-0.9.5-i686-1jto

Last edited by Alien_Hominid; 04-06-2006 at 02:40 PM.
 
Old 04-06-2006, 04:43 PM   #3
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
ProDVD is one way to burn dvd's Dvd+rw tools is the other. The later is included with slackware under ap/ and does not require a key. The previous maintainer of cdrtools writes proDVD and he is at odds with the rest of the linux community. There appears to be a community effort to shift away from his software. Google for dvd+rw tools to see how to use after you install. I have used dvdrw tools to burn dual layer dvd's succesfully.
 
Old 04-07-2006, 08:09 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Welcome to LQ!

The command line tool for burning DVDs is basically growisofs.

You might also want to look at DVD-R Tools, which is a fork of cdrtools.
 
Old 04-08-2006, 12:04 AM   #5
Woody Ochs
LQ Newbie
 
Registered: Jul 2005
Location: North Carolina
Distribution: Slackware, Suse, Fedora, Debian, Knoppix
Posts: 17
Blog Entries: 1

Original Poster
Rep: Reputation: 0
growisofs

Thank you for your replies. It seems that I already had "dvd+rw-tools" on my system but didn't realize it. I have tried to use "growisofs" to burn an iso image (a Fedora installation DVD) a few times now but have not succeeded. From the command:
"# growisofs -Z /dev/sr0 FC-5-x86...iso"
I get the followinf error report:
"[WRITE@LBA=10h failed with SK=5h/ASC=21h/ACQ=02h]: Input/output error"
Of course I don't have the faintest idea of what that means. Do you have any ideas about where I could research the failure codes for this program so that I might decypher this, or, preferably, could you perhaps tell me what this code means and how I could rectify the problems which caused it?
 
Old 04-08-2006, 03:29 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
For that growisofs method I just use:
Code:
growisofs -dvd-compat -Z /dev/hd*=image.iso
as root, from the directory with the image. So change the
hd* to your device. If you don't know which one issue:
Code:
bruce@silas:~$ dmesg | grep -i atapi
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hdc: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
and choose the one you'd like to use.

As for that error message, I use Google <Linux>
 
Old 04-08-2006, 01:03 PM   #7
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Quote:
"# growisofs -Z /dev/sr0 FC-5-x86...iso"
Distros using the 2.6 kernel usually do not have scsi emulation set up. "sr0" is a scsi drive and will work on the 2.4 kernel series with scsi emulation set up. This is actually one issue with cdrtools. The cdrtools maintainer is hardcore unix and feels that drives should have "proper names". Linus Torvald feels that scsi emulation is an ugly hack and the kernel developers have moved toward /dev/hd* as Chinaman said.
/dev/sr0 = /dev/hdc
/dev/sr1 = /dev/hdd
 
Old 04-08-2006, 09:24 PM   #8
Woody Ochs
LQ Newbie
 
Registered: Jul 2005
Location: North Carolina
Distribution: Slackware, Suse, Fedora, Debian, Knoppix
Posts: 17
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thanks again for the replies, but nothing seems to work. I keep getting this same error message on the command line, "[WRITE@LBA=10h failed with SK=5h/ASC=21h/ACQ=02h]: Input/output error", and "/var/log/messages" shows "...kernel: sr0: CDROM not ready yet." Yet I am running (or trying to run) growisofs as "root" from a root log-in to KDE; I have a symbolic link of "/dev/cdrom" connecting to "/dev/sr0", and have tried "growisofs" with the listing of each directory to no avail. Running as root, or trying to, should obviate any questions about "sudo" problems I would think, and I don't seem to have any problems accessing that DVD drive in other contexts. I'm running Slackware 10.2 with kernel 2.4.31 on a dual-core AMD processor and trying to burn a DVD with a NEC ND-3550A. As for the Internet in general, I have so far been unable to find any site with a listing of growisofs's error codes, so if anyone knows where that sort of information might be buried we could all benefit by such a revelation.
 
Old 04-08-2006, 09:29 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
That command you're running, try this.
Issue "dmesg | grep -i atapi" to find out the DEVICE NAME or your drive.
Then issue "growisofs -dvd-compat -Z /dev/hd*=image.iso"
as root, from the directory with the image. So change the
hd* to your device.

*Seems like I've read this somewhere before ...

You could issue and read "man growisofs" too.

Last edited by Bruce Hill; 04-08-2006 at 09:30 PM.
 
Old 04-09-2006, 02:19 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I have NEC 2500A and there aren't any problems. I don't know why your cdrom became scsi (it didn't happen me) type, but kernel recompile into 2.6 should solve this problem.
 
Old 04-11-2006, 10:07 PM   #11
Woody Ochs
LQ Newbie
 
Registered: Jul 2005
Location: North Carolina
Distribution: Slackware, Suse, Fedora, Debian, Knoppix
Posts: 17
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Lemmie try this again:
Thank you, everyone, for your time and your replies. I finally got growisofs to burn a DVD with Slackware 10.2 by identifying my drive as "/dev/hdc" (which it is) instead of "/dev/sr0" (which it also is). I boot Slackware 10.2 (kernel 2.4.31) with SCSI emulation for the NEC ND3550-A for the sake of "cdrecord". Evidently "growisofs" prefers that I identify it as "hdc". I can't remember if I passed the parameter "hdc=ide-scsi" to the kernel for that particular boot or not, but I think that I did. Anyway, that was the source of the problem - evidently.
 
Old 04-11-2006, 10:30 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Hey, Woody. You don't need SCSI emulation (faking it) for cdrecord, either. The maintainer of it, Joerg Schilling, would not fix it to use device names (/dev/hdc) rather than fake names (dev/dev=0,1,0 or /dev/scd0) in earlier days of the 2.6.x.y kernel when asked; so Linus Torvalds and Jens Axbode "patched it" and now you can do this. Because you are using an ATAPI device, not a SCSI device.

That's why this command:
Code:
bruce@silas:~$ dmesg | grep -i atapi
gives this output:
Code:
Apr 10 15:05:32 silas kernel: hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
Apr 10 15:05:32 silas kernel: hdc: PIONEER DVD-RW DVR-109, ATAPI CD/DVD-ROM drive
I've been doing it for about 2 years, daily, so here are a few of the commands I use with device names:
Code:
To blank a CD-RW
cdrecord -v dev=/dev/hda blank=fast

To blank a DVD+RW
su -c "growisofs -Z /dev/dvd=/dev/zero"
dvd+rw-format -force -lead-out /dev/dvd

To burn an image of a CD to the hd
dd if=/dev/hda of=namethecd.iso

To make a CD from an ISO image
cdrecord -v -eject driveropts=burnfree dev=/dev/hda /path/to/file.iso

To burn an ISO image to DVD
growisofs -dvd-compat -Z /dev/hd*=image.iso
Another thing, he turns burnfree off in cdrecord by default, which is not good. But you can add this and fix it:
Code:
To enable BurnProof when using cdrecord:
You can enable it with "driveropts=burnfree".
Another useful option is fs=<number>m, which sets the
buffer size to <number> megabytes.
You might have just got here (using Linux), I don't know; but we've been putting up with the prima donna Joerg Schilling for years.

And you can use cdrecord as a normal user, and not root if you so choose. But it's better to use root, even as:
Code:
su -c "cdrecord -v -eject driveropts=burnfree dev=/dev/hda /path/to/file.iso"
to lock the memory, or something like that. I forget -- I'm just a redneck, you know.

So now you don't have to append "hdc=ide-scsi" in LiLO, or when you boot, either -- to properly use cdrecord. Be free!

Last edited by Bruce Hill; 04-11-2006 at 10:38 PM.
 
  


Reply

Tags
cdrecord


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Burning DVD using multiple DVD writers desmo Linux - Software 5 04-12-2006 06:15 PM
burning divx/xvid to dvd for play on standalone dvd player blanny Linux - General 0 12-30-2005 10:29 PM
Burning ISO image (DVD+R, external DVD writer) swan2925 Linux - Software 6 06-02-2005 10:49 AM
DVD::Rip and Burning to DVD lapthorn Linux - Software 4 10-19-2004 02:19 PM
DVD Burning jr206 Linux - Software 1 09-02-2004 03:46 AM


All times are GMT -5. The time now is 09:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration