Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

DVD+/-RW writing without packet writing (old)

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
74 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
andyknownasabu
Apprentice
Apprentice
User avatar
Posts: 281
Joined: Thu Feb 06, 2003 3:21 pm
Location: Zurich, Switzerland

Re: Great howto

  • Quote

Post by andyknownasabu » Tue Jan 11, 2005 5:57 pm

fs_mariner wrote:Also, what kernel are you running? I get an error running mkudffs and after googling the error I found that some people are saying you need a udf packet-writing patch on your kernel. Does this sound right?
I have a NEC ND-3500AG writer, I'm running 2.6.10-gentoo-r4 and yesterday I burned a DVD
- with k3b
- without any kernel patches
- without using udf.

BUT:
Trying to burn a normal CD with the recent dvdrtools (dvdrecord) gives me an error that the device "ATAPI:/dev/hdc" selected by k3b is invalid and no SCSI device could be found. The recent cdrecord tool didn't have this issue any longer - is the cdrecord version used by dvdrtools an older one?

Whats the difference between dvdrtools and dvd+rw-tools?
Is dvd+rw-tools used only for DVD+ media?
Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm, edited 1 time in total.
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

Re: Great howto

  • Quote

Post by Headrush » Tue Jan 11, 2005 6:05 pm

andyknownasabu wrote:yesterday I burned a DVD
- with k3b
- without any kernel patches
- without using udf.
K3B uses growisofs for burning DVDs. As such that is why udf is not needed when using K3B. To write to DVD+/-RW in a true random access way like "normal" filesystems, you need udf support.
andyknownasabu wrote:Trying to burn a normal CD with the recent dvdrtools (dvdrecord) gives me an error that the device "ATAPI:/dev/hdc" selected by k3b is invalid and no SCSI device could be found. The recent cdrecord tool didn't have this issue any longer - is the cdrecord version used by dvdrtools an older one?

Whats the difference between dvdrtools and dvd+rw-tools?
Is dvd+rw-tools used only for DVD+ media?
Check out http://fy.chalmers.se/~appro/linux/DVD+RW/, it explains all this stuff in better detail.

I do not use dvdrtools at all. K3B uses cdrecord, cdrdao, and growisofs to handle all possible burning requirements.
Top
andyknownasabu
Apprentice
Apprentice
User avatar
Posts: 281
Joined: Thu Feb 06, 2003 3:21 pm
Location: Zurich, Switzerland

Re: Great howto

  • Quote

Post by andyknownasabu » Tue Jan 11, 2005 6:08 pm

jubenvi wrote:Check out http://fy.chalmers.se/~appro/linux/DVD+RW/, it explains all this stuff in better detail.

I do not use dvdrtools at all. K3B uses cdrecord, cdrdao, and growisofs to handle all possible burning requirements.
I just decided the same and I'm unmerging dvdrtools and re-emerging cdrtools right at the moment... ;)
Thanks for your answer.
Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm, edited 1 time in total.
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue Jan 11, 2005 6:09 pm

Hei

looking up app-cdr/dvdrtools with Porthole one reads:

"A fork of cdrtools, including DVD support.
Fork of cdrtools with DVD-writing capabilities. Needs scsi-emu, so ATAPI won't work"

regards

Edit: I don't use dvdrtools either
"I am not bound to please thee with my answers" W.S.
Top
andyknownasabu
Apprentice
Apprentice
User avatar
Posts: 281
Joined: Thu Feb 06, 2003 3:21 pm
Location: Zurich, Switzerland

  • Quote

Post by andyknownasabu » Tue Jan 11, 2005 6:17 pm

Cintra wrote:Hei

looking up app-cdr/dvdrtools with Porthole one reads:

"A fork of cdrtools, including DVD support.
Fork of cdrtools with DVD-writing capabilities. Needs scsi-emu, so ATAPI won't work"

regards

Edit: I don't use dvdrtools either
Ups, thanks for your answer - I didn't see that ;)
Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm, edited 1 time in total.
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Top
()
l33t
l33t
Posts: 610
Joined: Mon Nov 25, 2002 4:10 pm

Re: Great howto

  • Quote

Post by () » Tue Jan 11, 2005 7:02 pm

Cintra wrote:
() wrote:I have the exact same problem, nitro-sources-2.6.10-r4 kernel and a NEC nd-3500 writer. From what I understood I shouldn't have to set up the device for packet writing (the solution I found by googling suggests this)?
You'll get the extents error if the disk is mounted when you run mkudffs.. btw, this thread is about dvd+rw without packet writing.
Jeg vet, jeg vet ;)

The dvd is not mounted, I simply issued mkudffs --spartable=2 --media-type=cdrw /dev/hda and received the same error as fs_mariner. Looking it up on google, the only solution I found was to set up a packet device and let mkudffs work its magic on that.
to be concerned is good
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

Re: Great howto

  • Quote

Post by Headrush » Tue Jan 11, 2005 7:11 pm

() wrote:The dvd is not mounted, I simply issued mkudffs --spartable=2 --media-type=cdrw /dev/hda and received the same error as fs_mariner. Looking it up on google, the only solution I found was to set up a packet device and let mkudffs work its magic on that.
Did you just try mkudffs /dev/hda without the spartable option?
The option spartable= implies --media-type=cdrw, so its redundant in your command line options.

Do you have packet writing enabled in your kernel also?
Do you have the latest udftools? 1.0.0-b4?
Top
()
l33t
l33t
Posts: 610
Joined: Mon Nov 25, 2002 4:10 pm

  • Quote

Post by () » Tue Jan 11, 2005 7:57 pm

Same problem with mkudffs without options, packet writing is enabled, udftools-1.0.0b-r4.
to be concerned is good
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Tue Jan 11, 2005 8:17 pm

() wrote:Same problem with mkudffs without options, packet writing is enabled, udftools-1.0.0b-r4.
Can you try without the packet writing support compiled into your kernel?

Is the media blank?

It could be that you are formatting a DVD that was formatted or had previous info from another session. Although a format should erase everything, maybe this is causing some problems. I have some DVDs I had problems with trying packet writing, I'll test and see if I can format them.
Top
()
l33t
l33t
Posts: 610
Joined: Mon Nov 25, 2002 4:10 pm

  • Quote

Post by () » Tue Jan 11, 2005 8:23 pm

I could try with packet writing disabled, this DVD-RW should be a total virgin :D
to be concerned is good
Top
()
l33t
l33t
Posts: 610
Joined: Mon Nov 25, 2002 4:10 pm

  • Quote

Post by () » Wed Jan 12, 2005 2:52 pm

Nah, the problem remains. The media is DVD+RW, not -RW as I stated earlier, if it makes any difference.
to be concerned is good
Top
mvr_rennes
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Wed Oct 23, 2002 11:04 pm

  • Quote

Post by mvr_rennes » Wed Jan 12, 2005 9:12 pm

() wrote:Nah, the problem remains. The media is DVD+RW, not -RW as I stated earlier, if it makes any difference.
I'm having the same problem with a CDRW. I've tried without setting up packet writing, and it doesn't work. Later I've tried with packet writing enabled and set up for my dvdrw drive, and it doesn't work either.
I even get that message if no media is on the drive.
FWIW, I'm using gentoo-dev-sources-r4, and a pioneer dvr-108.
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Thu Jan 13, 2005 12:17 am

mvr_rennes wrote:I'm having the same problem with a CDRW. I've tried without setting up packet writing, and it doesn't work. Later I've tried with packet writing enabled and set up for my dvdrw drive, and it doesn't work either.
I even get that message if no media is on the drive.
FWIW, I'm using gentoo-dev-sources-r4, and a pioneer dvr-108.
This is about DVD writing only. This applies to DVD+RW media only.
Last edited by Headrush on Tue Jan 24, 2006 7:55 pm, edited 1 time in total.
Top
mvr_rennes
Apprentice
Apprentice
User avatar
Posts: 155
Joined: Wed Oct 23, 2002 11:04 pm

  • Quote

Post by mvr_rennes » Thu Jan 13, 2005 10:10 am

Headrush wrote:
mvr_rennes wrote:I'm having the same problem with a CDRW. I've tried without setting up packet writing, and it doesn't work. Later I've tried with packet writing enabled and set up for my dvdrw drive, and it doesn't work either.
I even get that message if no media is on the drive.
FWIW, I'm using gentoo-dev-sources-r4, and a pioneer dvr-108.
This is about DVD writing only. This applies to DVD media only.
Ok, didn't know that, but the problem lies elsewhere, since it gives that error even with no media in the drive.
Top
z3ro
Apprentice
Apprentice
Posts: 261
Joined: Wed Jun 16, 2004 9:16 pm

  • Quote

Post by z3ro » Thu Jan 13, 2005 11:24 am

I get the same "trying to change type of multiple extents" when trying "mkudffs /dev/hdc" :(

I have packet writing enabled in my kernel. Damn, this is really annoying - all I want to do is burn some UDF dvd images I have - they are DVD4 - I know you can't burn DVD9 without a dual-layer burner.
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Thu Jan 13, 2005 4:26 pm

Z3RO 0 wrote:I get the same "trying to change type of multiple extents" when trying "mkudffs /dev/hdc" :(

I have packet writing enabled in my kernel. Damn, this is really annoying - all I want to do is burn some UDF dvd images I have - they are DVD4 - I know you can't burn DVD9 without a dual-layer burner.
I get that mutilple extents error when I try using a DVD that previously had be written to by a different system. (growisofs, packet).
You guys did say you were using clean media, so I'm going to enable packet writing in my kernel and see if that causes any problems.

Will see if I can help find the problem.
Top
z3ro
Apprentice
Apprentice
Posts: 261
Joined: Wed Jun 16, 2004 9:16 pm

  • Quote

Post by z3ro » Sun Jan 16, 2005 7:36 pm

Headrush wrote:
Z3RO 0 wrote:I get the same "trying to change type of multiple extents" when trying "mkudffs /dev/hdc" :(

I have packet writing enabled in my kernel. Damn, this is really annoying - all I want to do is burn some UDF dvd images I have - they are DVD4 - I know you can't burn DVD9 without a dual-layer burner.
I get that mutilple extents error when I try using a DVD that previously had be written to by a different system. (growisofs, packet).
You guys did say you were using clean media, so I'm going to enable packet writing in my kernel and see if that causes any problems.

Will see if I can help find the problem.
This dvd was blank, actually: I just opened the sealed packet and put it in the drive right before I tried the "mkudffs /dev/hdc" command.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Mon Jan 17, 2005 7:34 am

Don't you need this first, or is it only for packet writing?

Code: Select all

# dvd+rw-format /dev/hdc
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD+RW media detected.
* formatting 0.4//
mvh
"I am not bound to please thee with my answers" W.S.
Top
Jik
n00b
n00b
Posts: 1
Joined: Wed Jan 19, 2005 11:19 pm
Location: Moscow

  • Quote

Post by Jik » Wed Jan 19, 2005 11:23 pm

Cintra wrote:Don't you need this first, or is it only for packet writing?

Code: Select all

# dvd+rw-format /dev/hdc
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD+RW media detected.
* formatting 0.4//
mvh

It was useful for me, I think it's true. So respect topic author I got it workable without any patches.
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Mon Jan 31, 2005 4:04 am

Everything seemed to working fine until my last two DVDs.

Both have many thousands of file.

Checking the listing of each with

Code: Select all

ls -l
show several problems.
  1. Many of the files give a permission denied error.
  2. Several of the folders appear as an empty file with the same error.
Weird thing is the both the original and dvd copy show they are taking the same amount of files/directory and space, even though I can't access the ones on the DVD. :-(
Top
tytus
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Sat Jun 19, 2004 1:02 am
Location: Boston, USA

  • Quote

Post by tytus » Sun Feb 20, 2005 12:17 pm

I can't get it to work :( . This is despite the fact that I have also DRU-540A unit!

Code: Select all

 hdparm -i /dev/hdc

/dev/hdc:

 Model=SONY DVD RW DRU-540A, FwRev=1.0a, SerialNo=
 Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=1024kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:383,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 
 AdvancedPM=no

 * signifies the current active mode
I wonder if my problems are caused by the lowever version of firmware (FwRev=1.0a vs. FwRev2.1a on Headrush's unit). Is it possible to upgrade firmware version on a DVD drive?
This are the simple steps that I tried:

Code: Select all

promanus@romanus promanus $ dvd+rw-format -force /dev/hdc
* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
* 4.7GB DVD+RW media detected.
* formatting \
promanus@romanus promanus $ mkudffs /dev/hdc
start=0, blocks=16, type=RESERVED 
start=16, blocks=3, type=VRS 
start=19, blocks=237, type=USPACE 
start=256, blocks=1, type=ANCHOR 
start=257, blocks=16, type=PVDS 
start=273, blocks=1, type=LVID 
start=274, blocks=2294573, type=PSPACE 
start=2294847, blocks=1, type=ANCHOR 
start=2294848, blocks=239, type=USPACE 
start=2295087, blocks=16, type=RVDS 
start=2295103, blocks=1, type=ANCHOR 
promanus@romanus promanus $ sudo mount /dev/hdc /mnt/dvdrw
This went with no glitches. However, subseqently I had strange errors when writing to the DVD:

Code: Select all

promanus@romanus dvdrw $ mkdir promanus
mkdir: cannot create directory `promanus': Input/output error
or when trying to rsync a part of my home dir:

Code: Select all

rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(249)
rsync: writefd_unbuffered failed to write 69 bytes: phase "unknown": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(666)
Have anybody else seen these kinds of erros or is it just me?
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Sun Feb 20, 2005 12:37 pm

Hei tytus
I had many frustrating, content-destructive errors with this method, so I now use UDF packet-writing, with great success.
see http://forums.gentoo.org/viewtopic-t-17 ... rt-50.html
See also http://www.css.ap.sony.com/consumer/tem ... x?Id=35686 ref upgrade to 1.0b
Headrush's unit was a DRU-500A, FwRev=2.1a
regards
"I am not bound to please thee with my answers" W.S.
Top
tytus
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Sat Jun 19, 2004 1:02 am
Location: Boston, USA

  • Quote

Post by tytus » Sun Feb 27, 2005 11:52 pm

I upgraded firmware of my SONY DVD RW DRU-540A drive to 1.0b. This is the newest firmware for my drive (I was mistaken to say that I have the same drive as Headrush - he has DRU-500A and I have DRU-540A). Unfortunately, the upgrade did not change anything - I have lots of error in my log when trying to burn:

Code: Select all

Feb 27 18:05:34 [kernel] hdc: command error: status=0x51 { DriveReady SeekCompl\
ete Error }
                - Last output repeated 457 times -
Feb 27 18:07:16 [kernel] hdc: tray open
Feb 27 18:07:17 [kernel] hdc: command error: status=0x51 { DriveReady SeekCompl\
ete Error }
                - Last output repeated 12 times -
Feb 27 18:07:17 [kernel] end_request: I/O error, dev hdc, sector 12456
Feb 27 18:07:17 [kernel] hdc: command error: status=0x51 { DriveReady SeekCompl\
ete Error }
                - Last output repeated 24 times -
Feb 27 18:07:23 [kernel] hdc: command error: error=0x54
Feb 27 18:07:23 [kernel] hdc: command error: status=0x51 { DriveReady SeekCompl\
ete Error }
    
Headrush could you be so nice and post your kernel config. There is still a very small chance that all these problems are caused by my config. Even though I have to admit that this is rather long shot. On the other hand I am surprised that there are such a big changes between 500A unit and 540A!
Thanks in advance.

P.S. I have also tried packet writing for the same drive. Results were very similar.
Top
tanisek
n00b
n00b
Posts: 44
Joined: Sun Aug 15, 2004 5:25 pm
Location: Poland

  • Quote

Post by tanisek » Fri Apr 01, 2005 1:59 am

Could someone explain me, what is the difference between
using DVD-RW discs i a way described in this topic,
and in this howto: http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW

Whats the difference between packet-writing or not packet writing,
if both are referred as UDF? :)

Which strategy is better?
Top
niltonvolpato
n00b
n00b
User avatar
Posts: 68
Joined: Wed May 28, 2003 5:52 pm
Location: Campinas, Brazil

  • Quote

Post by niltonvolpato » Fri Apr 08, 2005 5:54 pm

I have problems with large files :(

This worked for me only for small files. For files larger than 1GB (approx), the copy operation will fail with "no space left on device", which is not true, since I still can copy smaller files, and df shows there is free space.

Code: Select all

nilton@qubit nilton $ df -h /mnt/dvdrw
Filesystem            Size  Used Avail Use% Mounted on
/dev/cdroms/cdrom0    4.4G  1.0G  3.4G  23% /mnt/dvdrw
Anybody experienced this? There is any successful copy of files larger than 1 GB?
Top
Post Reply

74 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy