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
Author
Message
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri Apr 08, 2005 6:23 pm

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: 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?
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 http://forums.gentoo.org/viewtopic-t-17 ... rt-50.html..
Mvh
"I am not bound to please thee with my answers" W.S.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Thu May 26, 2005 2:04 pm

i get errors when formating a DVD-RW

when i do

Code: Select all

dvd+rw-format /dev/hdb
i get

Code: Select all

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.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Thu May 26, 2005 2:34 pm

what do you get running

Code: Select all

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.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Fri May 27, 2005 8:55 am

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: Select all


* 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
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri May 27, 2005 9:14 am

try using dvd+rw media
mvh
"I am not bound to please thee with my answers" W.S.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Fri May 27, 2005 10:12 am

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.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri May 27, 2005 12:17 pm

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: Select all

# dvd+rw-format /dev/hdc -force
and do you have a line like this in fstab

Code: Select all

#/dev/hdc   /mnt/udfwrite   udf   noauto,noatime,unhide,users,rw  0 0 
and in .config

Code: Select all

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: Select all

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 http://forums.gentoo.org/viewtopic-t-17 ... rt-50.html
"I am not bound to please thee with my answers" W.S.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Fri May 27, 2005 4:10 pm

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
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri May 27, 2005 5:04 pm

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_Wri ... 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.
Top
lmcogs
Guru
Guru
Posts: 340
Joined: Sun Apr 03, 2005 5:57 pm

  • Quote

Post by lmcogs » Fri May 27, 2005 6:31 pm

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
Top
lmcogs
Guru
Guru
Posts: 340
Joined: Sun Apr 03, 2005 5:57 pm

  • Quote

Post by lmcogs » Fri May 27, 2005 7:48 pm

Hi

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

lmcogs
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Tue May 31, 2005 10:44 am

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_Wri ... 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
/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.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue May 31, 2005 11:39 am

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: Select all

dvd+rw-mediainfo /dev/hdx
If & when you do manage to format the media follow up with

Code: Select all

# 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
Last edited by Cintra on Tue May 31, 2005 11:53 am, edited 2 times in total.
"I am not bound to please thee with my answers" W.S.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue May 31, 2005 11:43 am

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.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Tue May 31, 2005 1:10 pm

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: Select all

dvd+rw-mediainfo /dev/hdx
If & when you do manage to format the media follow up with

Code: Select all

# 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?????
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue May 31, 2005 2:43 pm

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.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Tue May 31, 2005 4:30 pm

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
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Tue May 31, 2005 5:57 pm

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.
Top
lmcogs
Guru
Guru
Posts: 340
Joined: Sun Apr 03, 2005 5:57 pm

  • Quote

Post by lmcogs » Tue May 31, 2005 10:49 pm

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
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Wed Jun 01, 2005 5:06 am

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.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Fri Jun 03, 2005 11:36 am

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?
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Fri Jun 03, 2005 1:12 pm

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.
Top
eamonn
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Tue Mar 18, 2003 8:52 pm

  • Quote

Post by eamonn » Mon Jun 06, 2005 11:07 am

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!
Top
pilo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 90
Joined: Fri Jan 31, 2003 11:30 pm
Location: Sweden
Contact:
Contact pilo
Website

  • Quote

Post by pilo » Sat Jul 09, 2005 10:51 pm

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/peop ... ls/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."
Top
Post Reply

74 posts
  • Previous
  • 1
  • 2
  • 3

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