Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD+/-RW writing without packet writing (old)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Tue Jan 11, 2005 5:57 pm    Post subject: Re: Great howto Reply with quote

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?
_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/


Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Jan 11, 2005 6:05 pm    Post subject: Re: Great howto Reply with quote

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.
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Tue Jan 11, 2005 6:08 pm    Post subject: Re: Great howto Reply with quote

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.
_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/


Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue Jan 11, 2005 6:09 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Tue Jan 11, 2005 6:17 pm    Post subject: Reply with quote

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 ;)
_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/


Last edited by andyknownasabu on Wed Jan 12, 2005 4:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Tue Jan 11, 2005 7:02 pm    Post subject: Re: Great howto Reply with quote

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
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Jan 11, 2005 7:11 pm    Post subject: Re: Great howto Reply with quote

() 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?
Back to top
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Tue Jan 11, 2005 7:57 pm    Post subject: Reply with quote

Same problem with mkudffs without options, packet writing is enabled, udftools-1.0.0b-r4.
_________________
to be concerned is good
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Jan 11, 2005 8:17 pm    Post subject: Reply with quote

() 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.
Back to top
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Tue Jan 11, 2005 8:23 pm    Post subject: Reply with quote

I could try with packet writing disabled, this DVD-RW should be a total virgin :D
_________________
to be concerned is good
Back to top
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Wed Jan 12, 2005 2:52 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
mvr_rennes
Apprentice
Apprentice


Joined: 23 Oct 2002
Posts: 155

PostPosted: Wed Jan 12, 2005 9:12 pm    Post subject: Reply with quote

() 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.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jan 13, 2005 12:17 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
mvr_rennes
Apprentice
Apprentice


Joined: 23 Oct 2002
Posts: 155

PostPosted: Thu Jan 13, 2005 10:10 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
z3ro
Apprentice
Apprentice


Joined: 16 Jun 2004
Posts: 261

PostPosted: Thu Jan 13, 2005 11:24 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Jan 13, 2005 4:26 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
z3ro
Apprentice
Apprentice


Joined: 16 Jun 2004
Posts: 261

PostPosted: Sun Jan 16, 2005 7:36 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Mon Jan 17, 2005 7:34 am    Post subject: Reply with quote

Don't you need this first, or is it only for packet writing?
Code:
# 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.
Back to top
View user's profile Send private message
Jik
n00b
n00b


Joined: 19 Jan 2005
Posts: 1
Location: Moscow

PostPosted: Wed Jan 19, 2005 11:23 pm    Post subject: Reply with quote

Cintra wrote:
Don't you need this first, or is it only for packet writing?
Code:
# 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.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Jan 31, 2005 4:04 am    Post subject: Reply with quote

Everything seemed to working fine until my last two DVDs.

Both have many thousands of file.

Checking the listing of each with
Code:
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. :-(
Back to top
View user's profile Send private message
tytus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 97
Location: Boston, USA

PostPosted: Sun Feb 20, 2005 12:17 pm    Post subject: Reply with quote

I can't get it to work :( . This is despite the fact that I have also DRU-540A unit!
Code:
 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:
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:
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:
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?
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Sun Feb 20, 2005 12:37 pm    Post subject: Reply with quote

Hei tytus
I had many frustrating, content-destructive errors with this method, so I now use UDF packet-writing, with great success.
see https://forums.gentoo.org/viewtopic-t-173263-start-50.html
See also http://www.css.ap.sony.com/consumer/template/DDSummary.aspx?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.
Back to top
View user's profile Send private message
tytus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 97
Location: Boston, USA

PostPosted: Sun Feb 27, 2005 11:52 pm    Post subject: Reply with quote

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:
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.
Back to top
View user's profile Send private message
tanisek
n00b
n00b


Joined: 15 Aug 2004
Posts: 44
Location: Poland

PostPosted: Fri Apr 01, 2005 1:59 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
niltonvolpato
n00b
n00b


Joined: 28 May 2003
Posts: 68
Location: Campinas, Brazil

PostPosted: Fri Apr 08, 2005 5:54 pm    Post subject: Reply with quote

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:
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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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