Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133889 - app-cdr/dvd+rw-tools - growisofs fail to close session with some pioneer dvd-r
Summary: app-cdr/dvd+rw-tools - growisofs fail to close session with some pioneer dvd-r
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-20 10:09 UTC by Florian Engelhardt
Modified: 2006-12-02 19:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch to make dvd+rw-tools wait for pioneer devices (pioneer_crap_wait.patch,1.21 KB, patch)
2006-06-05 13:38 UTC, Florian Engelhardt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Engelhardt 2006-05-20 10:09:40 UTC
After buring a iso-image to a dvd+r i get the following:
builtin_dd: 1182048*2KB out @ average 3.7x1385KBps
/dev/hda: flushing cache
/dev/hda: closing track
/dev/hda: closing disc
:-[ CLOSE SESSION failed with SK=2h/ASC=04h/ACQ=07h]: Resource temporarily unavailable
/dev/hda: reloading tray


This is a bug in the pioneer firmware, but a firmware upgrade which fixes that is not available.

You can find a patch solving the problem for growisofs 5 at
http://www.gergely.risko.hu/growisofs.patch

The same function can be patched in growisofs 6 and 6.1,
but the patch does not work out of the box.

Discussion about this Problem on the debian list:
http://lists.debian.org/cdwrite/2005/06/msg00047.html
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2006-05-23 17:50:11 UTC
do you want to provide a patch for 6.1 ?
Comment 2 Ian Stakenvicius 2006-06-05 07:24:57 UTC
I don't know if this is the same error or not, but I am getting the following:

:-( unable to anonymously mmap 33554432: Resource temporarily unavailable

also with a Pioneer drive.  In my case the burn doesn't even start, tho.
dvd+rw-format works fine, however.  dvd+rw-tools v5.x (old stable) works fine -- i guess it already has the patch applied?
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2006-06-05 10:38:35 UTC
did you read the einfo after emerging dvd+rw-tools ?

It fixes that problem. Florian this is your problem too ?
Comment 4 Ian Stakenvicius 2006-06-05 12:18:29 UTC
Yep, that's my problem -- thanks for the clarification.  
Comment 5 Florian Engelhardt 2006-06-05 13:37:34 UTC
No, that are two different Problems.
This patch solves the problem: http://www.gergely.risko.hu/growisofs.patch
I have no created a patch for the 6.1 version of dvd+rw-tools.
Comment 6 Florian Engelhardt 2006-06-05 13:38:14 UTC
Created attachment 88471 [details, diff]
the patch to make dvd+rw-tools wait for pioneer devices
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2006-12-02 19:23:34 UTC
dvd+rw-tools-7.0 has some Pioneer-related code in it (different from yours).  Can you test that version?