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  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri Apr 08, 2005 6:23 pm    Post subject: Reply with quote

niltonvolpato wrote:
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?

Yes, thats why I went back to packet-writing, which for me works like a charm.
I listen daily to music on dvd, and have tested kdsl to dvd, both using packet-writing.
see the thread mentioned above and https://forums.gentoo.org/viewtopic-t-173263-postdays-0-postorder-asc-highlight-packet+writing-start-50.html..
Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Thu May 26, 2005 2:04 pm    Post subject: Reply with quote

i get errors when formating a DVD-RW

when i do

Code:

dvd+rw-format /dev/hdb


i get

Code:

cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
hdb: tray open
end_request: I/O error, dev hdb, sector 0
Buffer I/O error on device hdb, logical block 0
hdb: tray open
end_request: I/O error, dev hdb, sector 4
Buffer I/O error on device hdb, logical block 1
hdb: tray open
end_request: I/O error, dev hdb, sector 8
Buffer I/O error on device hdb, logical block 2
hdb: tray open
end_request: I/O error, dev hdb, sector 12
Buffer I/O error on device hdb, logical block 3
hdb: tray open
end_request: I/O error, dev hdb, sector 16
Buffer I/O error on device hdb, logical block 4
hdb: tray open
end_request: I/O error, dev hdb, sector 20
Buffer I/O error on device hdb, logical block 5
hdb: tray open
end_request: I/O error, dev hdb, sector 24
Buffer I/O error on device hdb, logical block 6
hdb: tray open
end_request: I/O error, dev hdb, sector 28
Buffer I/O error on device hdb, logical block 7
hdb: tray open
end_request: I/O error, dev hdb, sector 32
Buffer I/O error on device hdb, logical block 8
hdb: tray open
end_request: I/O error, dev hdb, sector 36
Buffer I/O error on device hdb, logical block 9
hdb: tray open
end_request: I/O error, dev hdb, sector 40
Buffer I/O error on device hdb, logical block 10
hdb: tray open
end_request: I/O error, dev hdb, sector 44
Buffer I/O error on device hdb, logical block 11
hdb: tray open
end_request: I/O error, dev hdb, sector 48
Buffer I/O error on device hdb, logical block 12
hdb: tray open
end_request: I/O error, dev hdb, sector 52
Buffer I/O error on device hdb, logical block 13
hdb: tray open
end_request: I/O error, dev hdb, sector 56
Buffer I/O error on device hdb, logical block 14
hdb: tray open
end_request: I/O error, dev hdb, sector 60
Buffer I/O error on device hdb, logical block 15
hdb: tray open
end_request: I/O error, dev hdb, sector 64
Buffer I/O error on device hdb, logical block 16
hdb: tray open
end_request: I/O error, dev hdb, sector 68
Buffer I/O error on device hdb, logical block 17
hdb: tray open
end_request: I/O error, dev hdb, sector 72
Buffer I/O error on device hdb, logical block 18
hdb: tray open
end_request: I/O error, dev hdb, sector 76
Buffer I/O error on device hdb, logical block 19
hdb: tray open
end_request: I/O error, dev hdb, sector 80
Buffer I/O error on device hdb, logical block 20
hdb: tray open
end_request: I/O error, dev hdb, sector 84
Buffer I/O error on device hdb, logical block 21
hdb: tray open
end_request: I/O error, dev hdb, sector 88
Buffer I/O error on device hdb, logical block 22
hdb: tray open
end_request: I/O error, dev hdb, sector 92
Buffer I/O error on device hdb, logical block 23
hdb: tray open
end_request: I/O error, dev hdb, sector 96
Buffer I/O error on device hdb, logical block 24
hdb: tray open
end_request: I/O error, dev hdb, sector 100
Buffer I/O error on device hdb, logical block 25
hdb: tray open
end_request: I/O error, dev hdb, sector 104
Buffer I/O error on device hdb, logical block 26
hdb: tray open
end_request: I/O error, dev hdb, sector 108
Buffer I/O error on device hdb, logical block 27
hdb: tray open
end_request: I/O error, dev hdb, sector 112
Buffer I/O error on device hdb, logical block 28
hdb: tray open
end_request: I/O error, dev hdb, sector 116
Buffer I/O error on device hdb, logical block 29
hdb: tray open
end_request: I/O error, dev hdb, sector 120
Buffer I/O error on device hdb, logical block 30
hdb: tray open
end_request: I/O error, dev hdb, sector 124
Buffer I/O error on device hdb, logical block 31
hdb: tray open
end_request: I/O error, dev hdb, sector 0
Buffer I/O error on device hdb, logical block 0
hdb: tray open
end_request: I/O error, dev hdb, sector 4
Buffer I/O error on device hdb, logical block 1
hdb: tray open
end_request: I/O error, dev hdb, sector 0
Buffer I/O error on device hdb, logical block 0
hdb: tray open
end_request: I/O error, dev hdb, sector 4
Buffer I/O error on device hdb, logical block 1
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu May 26, 2005 2:34 pm    Post subject: Reply with quote

what do you get running
Code:
dvd+rw-format /dev/hdb

with no media in the drive?
Mvh

Edit: did you mean DVD-RW media?
http://fy.chalmers.se/~appro/linux/DVD+RW/
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Fri May 27, 2005 8:55 am    Post subject: Reply with quote

i put dvd-rw in my previous post.

when i do dvd+rw-format /dev/hdb with no disc in the drive i get
Code:


* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( mounted media doesn't appear to be DVD±RW or DVD-RAM



to the terminal and nothing in dmesg
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri May 27, 2005 9:14 am    Post subject: Reply with quote

try using dvd+rw media
mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Fri May 27, 2005 10:12 am    Post subject: Reply with quote

i have done. i have one disc which was written in a pc and i cannot write to it. when i try to format it i get

* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( mounted media doesn't appear to be DVD±RW or DVD-RAM


and nothing in demsg.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri May 27, 2005 12:17 pm    Post subject: Reply with quote

I forgot to ask what kernel version you are using? Packet/UDF writing only started working around 2.6.10 if I remember right.

Did you try
Code:
# dvd+rw-format /dev/hdc -force

and do you have a line like this in fstab
Code:

#/dev/hdc   /mnt/udfwrite   udf   noauto,noatime,unhide,users,rw  0 0
and in .config
Code:
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

and do you have udftools installed?
mvh

Edit: finally, do you have packet writing configured in 'block devices' in the kernel
Code:
CDROM_PKTCDVD

Another thing I mentioned in one of the many posts above was that a lot of my trouble getting packet/udf writing to work was due to bad media, used many times with 'inCD' on XP. I gave up pure UDF and have since used packet writing on a daily basis, see https://forums.gentoo.org/viewtopic-t-173263-start-50.html
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Fri May 27, 2005 4:10 pm    Post subject: Reply with quote

i am using linux-2.6.8-gentoo-r8

and have udf support built in.


i have

CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

i have udfutils but i cannot find

CDROM_PKTCDVD

in my kernel
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri May 27, 2005 5:04 pm    Post subject: Reply with quote

Hei eamonn

you need to upgrade your kernel in order to use packet writing, which is what I would advise, thats no doubt why you cant find CDROM_PKTCDVD, though there might be a patch to enable your version to do some sort of UDF writing.. I seem to remember seeing something about that in a wiki referred to either in this or the packet writing thread link above.

Mvh

http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW#Building_the_kernel
Not sure if one of these would help.. http://web.telia.com/~u89404340/patches/packet/2.6/
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Fri May 27, 2005 6:31 pm    Post subject: Reply with quote

Hi

I followed your clear instructions and it all worked out for me. Thanks I am a newbie and this is my first dvdrw a LG and I used a cheap memorex 1x-4x RW disk.

I dragged and drop 50MB of music in kde. Hope it keeps up.

One thing I have noticed is that I don't have dvdrtools installed because it is block by cdrtools, but this does not seem to matter. I have cdrtools and cdrecord-prodvd if that make a difference. I had a problem before and I reemerged k3b with newuse variables i.e cdr and dvdr and that solved that problem.

I must try k3b again and see if these new settings have caused any problems there, keep my fingers crossed.

Lmcogs
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Fri May 27, 2005 7:48 pm    Post subject: Reply with quote

Hi

Amendment to last post I do have app-cdr/dvd+rw-tools-5.21.4.10.8 tools installed.

lmcogs
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue May 31, 2005 10:44 am    Post subject: Reply with quote

Cintra wrote:
Hei eamonn

you need to upgrade your kernel in order to use packet writing, which is what I would advise, thats no doubt why you cant find CDROM_PKTCDVD, though there might be a patch to enable your version to do some sort of UDF writing.. I seem to remember seeing something about that in a wiki referred to either in this or the packet writing thread link above.

Mvh

http://gentoo-wiki.com/HOWTO_Packet_Writing_on_CD-RW#Building_the_kernel
Not sure if one of these would help.. http://web.telia.com/~u89404340/patches/packet/2.6/


hiya, thanks for your help so far. I have installed a new kernel and added support for the things you said and when i do dvd+rw-format /dev/hdb i get the same message of

* DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 4.10.
:-( mounted media doesn't appear to be DVD±RW or DVD-RAM



Just to clear things up so far i have done :

installed the drive physically
installed udftools
installed dvd+rw-tools
compiled a new kernel building in all the options outlined above
rewritten my fstab file
Quote:
/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda3 / ext3 noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/hdb /mnt/cdrom iso9660,udf noauto,ro 0 0
/dev/hdb /mnt/dvdrw udf noauto,noatime,unhide,users,rw 0 0



where am i going wrong?? btw, i am using an atapi burner without scsi emulation.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue May 31, 2005 11:39 am    Post subject: Reply with quote

Do you have the media unloaded when you try to format it?
Have you tried new dvd+rw media? i.e. not previously used on XP..
The media you were using above could well be faulty.
It could be interesting to see the results of:
Code:
dvd+rw-mediainfo /dev/hdx


If & when you do manage to format the media follow up with
Code:
# mkudffs /dev/hdx

then you should be able to mount and write to it.

Are you trying still to get UDF writing to work, rather than packet-writing?
If so, I'm a poor source of help..

Perhaps anyone with long-term success using this method could help..?

Mvh
_________________
"I am not bound to please thee with my answers" W.S.


Last edited by Cintra on Tue May 31, 2005 11:53 am; edited 2 times 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 May 31, 2005 11:43 am    Post subject: Reply with quote

lmcogs wrote:
Hi

Amendment to last post I do have app-cdr/dvd+rw-tools-5.21.4.10.8 tools installed.

lmcogs

You have UDF writing to DVD+RW media working OK?
Still?
Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue May 31, 2005 1:10 pm    Post subject: Reply with quote

Cintra wrote:
Do you have the media unloaded when you try to format it?
Have you tried new dvd+rw media? i.e. not previously used on XP..
The media you were using above could well be faulty.
It could be interesting to see the results of:
Code:
dvd+rw-mediainfo /dev/hdx


If & when you do manage to format the media follow up with
Code:
# mkudffs /dev/hdx

then you should be able to mount and write to it.

Are you trying still to get UDF writing to work, rather than packet-writing?
If so, I'm a poor source of help..

Perhaps anyone with long-term success using this method could help..?

Mvh


i only have one dvd+rw which was burnt using nero on an nt4 machine and i have loads of (blank) DVD-rw and some (blank) dvd+r

the disc is in the drive when i call the format command and it still doesnt work. should it be in the drive at the time???

I am not sure if i am trying packet or non packet. i just want to put data onto a dvd-rw.

should i try scsi emulation?????
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue May 31, 2005 2:43 pm    Post subject: Reply with quote

Sorry, I should have said unmounted not unloaded of course..

Btw, how about the output of dvd+rw-mediainfo /dev/hdb?
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue May 31, 2005 4:30 pm    Post subject: Reply with quote

it is unmounted.

dvd+rw-mediainfo /dev/hdb
INQUIRY: [BENQ ][DVD DD DW1620 ][B7P9]
GET [CURRENT] CONFIGURATION:
:-( no media mounted, exiting...

and dmesg reads

SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 720435344
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 720623864
sda: Current: sense key=0x0
ASC=0x0 ASCQ=0x0
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 755080640
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 755068616
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785688
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785696
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785704
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785712
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785720
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785728
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785736
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785744
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785752
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785760
SCSI error : <0 0 0 0> return code = 0x70000
end_request: I/O error, dev sda, sector 754785768
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue May 31, 2005 5:57 pm    Post subject: Reply with quote

Hei eamonn

Doesn't look good :-(

Do you have the possibility to try your dw1620 on another system, XP for example?

I've been reading about it on CDfreaks forum and there was talk of a bad death rate...

B7V9 is the latest firmware for the drive, but it makes sense to check the drive on another system before any firmware upgrade.

Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
lmcogs
Guru
Guru


Joined: 03 Apr 2005
Posts: 340

PostPosted: Tue May 31, 2005 10:49 pm    Post subject: Reply with quote

Cintra

Still have UDF writing to DVD+RW media working OK. Desktop device icons one dvdrw for writing and dvdro for reading. Drag and drop working ok!

However tried to drag and drop 3GB folder of mp3 songs and it is taking a long time. It starts then stalls, then starts again and then stalls again and goes on like this until I gave up at 9% afer about an hour.

lmcogs
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jun 01, 2005 5:06 am    Post subject: Reply with quote

Hei lmcogs

Thats pretty much my experience with UDF writing.. very slow writing, stalls, hangs, inability to unmount or eject, and if I remember correctly content access was lost too.

I have stuck with packet-writing since the last hang... and see no good reason to try pure UDF again.

Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Fri Jun 03, 2005 11:36 am    Post subject: Reply with quote

Cintra wrote:
Hei eamonn

Doesn't look good :-(

Do you have the possibility to try your dw1620 on another system, XP for example?

I've been reading about it on CDfreaks forum and there was talk of a bad death rate...

B7V9 is the latest firmware for the drive, but it makes sense to check the drive on another system before any firmware upgrade.

Mvh


hiya, i tried it in a win xp machine and burnt a dvd-r very slowly. it would not except dvd-rw or dvd+rw so i sent it back. what drive would you recommend?
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Fri Jun 03, 2005 1:12 pm    Post subject: Reply with quote

I have used NEC burners for a number of years now, and currently have the ND-3520a, which I have flashed with the latest firmware via CDfreaks.. there's an ND-3540 out now too.

Quality of the media you buy is also important. CDfreaks has lots of info on media and burners, see http://club.cdfreaks.com/

Better luck with your next burner!
Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Mon Jun 06, 2005 11:07 am    Post subject: Reply with quote

i know a lot about the media. i worked for a media distributor for a few years. its just the bloody writers.

i will try and pick up an nec if i can.

cheers!
Back to top
View user's profile Send private message
pilo
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 90
Location: Sweden

PostPosted: Sat Jul 09, 2005 10:51 pm    Post subject: Reply with quote

I too experienced very slow and apparently broken file transfers using UDF, though formatting was a breeze, using cdmrw from this site: http://kernel.org/pub/linux/kernel/people/axboe/tools/cdmrw.c
Compile it with: gcc cdmrw.c -o cdmrw -I/usr/src/linx/include (if using 2.6-series of linux-headers)
Format with: ./cdmrw -d /dev/hdX -f full

I shall try packetwriting too, but technically, it looked more cumbersome than direct UDF-writing. :?
_________________
"A stroll through a lunatic asylum shows that faith does not prove anything."
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
Page 3 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