- Package:
- dvd+rw-tools
- Source:
- dvd+rw-tools
- Description:
- DVD+-RW/R tools
- Submitter:
- Giuseppe D'Angelo
- Date:
- 2010-02-11 10:39:03 UTC
- Severity:
- important
Growisofs doesn't write anything on a DVD: it exits successfully but on the media there is no data, as dvd+rw-mediainfo reports. I'm attaching the outputs of: 1. dvd+rw-mediainfo before burning 2. growisofs 3. dvd+rw-mediainfo after burning In dmesg I read: isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16 attempt to access beyond end of device hdc: rw=0, want=68, limit=4 isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16 cdrom: This disc doesn't have any tracks I recognize! The command line was # growisofs -Z /dev/dvd -J -r burn/ Thanks.
http://bugs.debian.org/355764 http://bugs.debian.org/325741 If this is kernel bug, let's move this to there. (Andy, if you just reply, then bug report on dvd+rw-tools will be moved by us) Since we use 2.6 kernel's capability to write to IDE DVD, this may be issue there. This machine used to write DVD without problem. Old DVDs written on this machine can be read without problem now. It has been a while (1yr?) since I burn DVD on this PC. I suffer this DVD-R burning issue now. I initally experienced this under gnome nautilus-cdburner but the problem happens even when I issued this $ growisofs -dvd-compat -Z /dev/hdc -J -R PHOTO So I am reporting this under this bug. Under nautilus, sometimes it did not burn any data (color of DVD did not change and no data was written. So this may be due to bug reported in #325741) But with this direct command, I did burn CD (color changed) but I can not mound created DVD. This is really annoying. The media info seems to indicate DVD written recently seems to be different from what used to be. Here we go, ... dvd+rw-mediainfo /dev/hdc for recently burned bad dvd indicates: INQUIRY: [TOSHIBA ][DVD-ROM SD-R6012][1S34] GET [CURRENT] CONFIGURATION: Mounted Media: 10h, DVD-ROM Media ID: ProdiscF01 GET [CURRENT] PERFORMANCE: Write Performance: 1.0x1385=1350KB/s@[0 -> 0] Speed Descriptor#0: 00/2298495 R@1.0x1385=1350KB/s W@1.0x1385=1350KB/s READ DVD STRUCTURE[#0h]: Media Book Type: 25h, DVD-R book [revision 5] Legacy lead-out at: 0*2KB=0 READ DISC INFORMATION: Disc status: appendable Number of Sessions: 1 State of Last Session: empty "Next" Track: 1 Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: invisible incremental Track Start Address: 0*2KB Next Writable Address: 0*2KB Free Blocks: 2297888*2KB Track Size: 2297888*2KB FABRICATED TOC: Track#1 : 14@0 Track#AA : 14@16777200 Multi-session Info: #1@0 READ CAPACITY: 0*2048=0 Free Blocks and Track Size seems huge. And Last Recorded Address is missing. The Legacy lead-out is 0 too. And here is my dmesg when I insert this bad DVD: ...<snip> end_request: I/O error, dev hdc, sector 0 hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x52 { EndOfMedia LastFailedSense=0x05 } ide: failed opcode was: unknown ...<snip> end_request: I/O error, dev hdc, sector 0 hdc: command error: status=0x51 { DriveReady SeekComplete Error } hdc: command error: error=0x52 { EndOfMedia LastFailedSense=0x05 } ide: failed opcode was: unknown end_request: I/O error, dev hdc, sector 0 attempt to access beyond end of device hdc: rw=0, want=68, limit=4 isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16 Here is mediainfo of good DVD burned about year ago: INQUIRY: [TOSHIBA ][DVD-ROM SD-R6012][1S34] GET [CURRENT] CONFIGURATION: Mounted Media: 10h, DVD-ROM Media ID: ProdiscF01 GET [CURRENT] PERFORMANCE: Write Performance: 1.0x1385=1350KB/s@[0 -> 1673999] Speed Descriptor#0: 00/2298495 R@1.0x1385=1350KB/s W@1.0x1385=1350KB/s READ DVD STRUCTURE[#0h]: Media Book Type: 25h, DVD-R book [revision 5] Legacy lead-out at: 1674000*2KB=3428352000 READ DISC INFORMATION: Disc status: complete Number of Sessions: 1 State of Last Session: complete Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: complete incremental Track Start Address: 0*2KB Free Blocks: 0*2KB Track Size: 1674000*2KB Last Recorded Address: 1673999*2KB FABRICATED TOC: Track#1 : 14@0 Track#AA : 14@1674000 Multi-session Info: #1@0 READ CAPACITY: 1674000*2048=3428352000
Sorry didn't answer earlier. Have been busy. New version is coming out, featuring Blu-ray Disc support:-) This one sounds more like mkisofs bug. Well, it's too little information, but if we *assume* that the user passed directory name to growisofs and not something like -Z /dev/cdrom=image. On the other hand even if we assume that it was -Z /dev/cdrom=image one should question where this image come from? Then note that Nero burned a bit more, meaning that it must have padded the input. May it be that the image is malformed in such way that padding fixes it? This one sounds like test-write mode gets engaged somehow. Information provided in 355764 holds together rather good. Most notably if you perform test-write, but don't reload media, dvd+rw-mediainfo shall return sane results. But reload media and it's reported blank again. Then test-write is not an option in Restricted Overwrite mode, the test-write bit is ignored if media is formatted for Restricted Overwrite. Of course it might be some hardware problem with recorder unit... Or it might a compiler bug... = 1." This one is not in my source. Is it the only modification? Does it modify any parts that might affect test-write? Please tell where the patch is so I can look at it. A.
That was in my report to the bug which may not be exactly the situation for the original reporter.. As I reported afterwards, my situation was caused by failing DVD-burner. It was not completely dead but "failing". After changing my note PC's DVD burner, everything works fine. As for funny message, I addedd few fprintf to get what exactly was going on. No real changes to the program behavior was done. It looked OK as far as application was going for me, so I said "kernel bug". Well, ... kernel was OK too. It was just hardware problem I have unconfirmed fear that my old (tossed) DVD drive had failing laser so its max light power was lower than it should be. Writing on DVD-RW (pase change), CD writing, and all the reading may need lower power but DVD-R writing may need more power. My newly burned DVDs on new drive have much more contrast between written area and external unwritten area than the one written by the old one. Osamu
Hi there,
I bought 2 packages of 5 DVD-RW resp. +RW.
One of those I managed to burn propperly.
After some upgrades, I wasn't able to burn
or to format them anymore.
growisofs finishes successfull, but the DVD is not readable/empty?
Now, I try to delete/format, and this is my results. Any assistance
welcome (reportbug-ng brought me here, but it doesn't pass versions or
background information, so please tell me if you need further info).
dvd+rw-tools 7.1-6 0
500 http://ftp.us.debian.org sid/main Packages
---
dvd+rw-mediainfo /dev/sr0
INQUIRY: [LITE-ON ][DVDRW LDW-811S ][HS0P]
GET [CURRENT] CONFIGURATION:
Mounted Media: 14h, DVD-RW Sequential
Current Write Speed: 8.0x1385=11080KB/s
:-[ READ DVD STRUCTURE#0 failed with SK=2h/LOGICAL UNIT IS IN PROCESS OF
BECOMING READY]: Resource temporarily unavailable
:-[ READ DISC INFORMATION failed with SK=2h/LOGICAL UNIT IS IN PROCESS
OF BECOMING READY]: Resource temporarily unavailable
---
dvd+rw-format -blank=full /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.7GB DVD-RW media in Sequential mode detected.
* blanking .:-[ READ TRACK INFORMATION failed with SK=5h/INVALID FIELD
IN CDB]: Input/output error
---
dvd+rw-format -force=full /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.7GB DVD-RW media in Sequential mode detected.
* formatting .:-[ READ TRACK INFORMATION failed with SK=5h/INVALID FIELD
IN CDB]: Input/output error
---
dvd+rw-format -lead-out /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.7GB DVD-RW media in Sequential mode detected.
- illegal command-line option for this media.
===
uname -a
Linux siduxbox 2.6.32-3.slh.3-sidux-686 #1 SMP PREEMPT Thu Jan 14
23:42:43 UTC 2010 i686 GNU/Linux
---
dmesg
cdrom: This disc doesn't have any tracks I recognize!
sr 1:0:1:0: [sr1] Unhandled sense code
sr 1:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:1:0: [sr1] Sense Key : Medium Error [current]
sr 1:0:1:0: [sr1] Add. Sense: Unable to recover table-of-contents
sr 1:0:1:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 40 00
end_request: I/O error, dev sr1, sector 0
Buffer I/O error on device sr1, logical block 0
Buffer I/O error on device sr1, logical block 1
Buffer I/O error on device sr1, logical block 2
Buffer I/O error on device sr1, logical block 3
Buffer I/O error on device sr1, logical block 4
Buffer I/O error on device sr1, logical block 5
Buffer I/O error on device sr1, logical block 6
Buffer I/O error on device sr1, logical block 7
Buffer I/O error on device sr1, logical block 8
Buffer I/O error on device sr1, logical block 9
sr 1:0:1:0: [sr1] Unhandled sense code
sr 1:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:1:0: [sr1] Sense Key : Medium Error [current]
sr 1:0:1:0: [sr1] Add. Sense: Unable to recover table-of-contents
sr 1:0:1:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
end_request: I/O error, dev sr1, sector 0
sr 1:0:1:0: [sr1] Unhandled sense code
sr 1:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:1:0: [sr1] Sense Key : Medium Error [current]
sr 1:0:1:0: [sr1] Add. Sense: Unable to recover table-of-contents
sr 1:0:1:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
end_request: I/O error, dev sr1, sector 0
sr 1:0:1:0: [sr1] Unhandled sense code
sr 1:0:1:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:1:0: [sr1] Sense Key : Medium Error [current]
sr 1:0:1:0: [sr1] Add. Sense: Unable to recover table-of-contents
sr 1:0:1:0: [sr1] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
end_request: I/O error, dev sr1, sector 0
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to userspace modesetting.
[drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on minor 0
agpgart-sis 0000:00:00.0: AGP 3.0 bridge
agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:00:00.0 into 16x
mode
agpgart-sis 0000:00:00.0: SiS delay workaround: giving bridge time to
recover
agpgart-sis 0000:00:00.0: putting AGP V3 device at 0000:01:00.0 into 16x
mode
[drm] Setting GART location based on new memory map
[drm] Loading R100 Microcode
platform radeon_cp.0: firmware: requesting radeon/R100_cp.bin
[drm] writeback test succeeded in 1 usecs
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sr0, sector 0
__ratelimit: 60 callbacks suppressed
Buffer I/O error on device sr0, logical block 0
sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
sr 1:0:0:0: [sr0] Add. Sense: Logical block address out of range
sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01 00
end_request: I/O error, dev sr0, sector 0
Buffer I/O error on device sr0, logical block 0
cdrom: This disc doesn't have any tracks I recognize!
===
lshal |grep dvd
storage.cdrom.dvd = true (bool)
storage.cdrom.dvdplusr = true (bool)
storage.cdrom.dvdplusrdl = false (bool)
storage.cdrom.dvdplusrw = true (bool)
storage.cdrom.dvdplusrwdl = false (bool)
storage.cdrom.dvdr = true (bool)
storage.cdrom.dvdram = false (bool)
storage.cdrom.dvdrdl = false (bool)
storage.cdrom.dvdrw = true (bool)
storage.cdrom.hddvd = false (bool)
storage.cdrom.hddvdr = false (bool)
storage.cdrom.hddvdrw = false (bool)
udi = '/org/freedesktop/Hal/devices/volume_empty_dvd_rw'
info.udi = '/org/freedesktop/Hal/devices/volume_empty_dvd_rw'
(string)
volume.disc.type = 'dvd_rw' (string)
storage.cdrom.dvd = true (bool)
storage.cdrom.dvdplusr = true (bool)
storage.cdrom.dvdplusrdl = false (bool)
storage.cdrom.dvdplusrw = true (bool)
storage.cdrom.dvdplusrwdl = false (bool)
storage.cdrom.dvdr = false (bool)
storage.cdrom.dvdram = false (bool)
storage.cdrom.dvdrdl = false (bool)
storage.cdrom.dvdrw = true (bool)
storage.cdrom.hddvd = false (bool)
storage.cdrom.hddvdr = false (bool)
storage.cdrom.hddvdrw = false (bool)
udi = '/org/freedesktop/Hal/devices/volume_empty_dvd_rw_0'
info.udi = '/org/freedesktop/Hal/devices/volume_empty_dvd_rw_0'
(string)
volume.disc.type = 'dvd_rw' (string)