VIA VT6240 SATA Controller DVD/CD Write Failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Expired
|
High
|
|||
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.20
A detailed discussion about this case has been archived via the <email address hidden> mailing list here: http://<email address hidden>
I'll try to provide only the most immediately relevant details here to hopefully avoid providing too much noise.
- This doesn't appear to be a hardware failure because the machine with the failure dual-boots into WindowsXP and both Nero and cdrecord-2.01.01a35 are able to burn CDs and DVDs.
- First observed the problem on an Edgy Eft install but I didn't record any of the failure information at the time.
- Now on Feisty Fawn and yesterday I tried booting a Gutsy Gibbon kernel (2.6.22-11) without success, though the failure reported different problems.
-------
skynet /tmp/tmp cdrecord --version
Cdrecord-
Wodim 1.1.2
Copyright (C) 2006 Cdrkit suite contributors
Based on works from Joerg Schilling, Copyright (C) 1995-2006, J. Schilling
skynet /tmp/tmp cdrecord -scanbus
scsibus1:
1,0,0 100) 'HL-DT-ST' 'DVDRAM GSA-H62N ' 'CL00' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
skynet /tmp/tmp cdrecord -raw96r -v dev=1,0,0 -eject speed=2 -pad -audio dead_kennedys_
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 0 = CD-DA
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.34
Wodim version: 1.1.2
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identification : 'DVDRAM GSA-H62N '
Revision : 'CL00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R) (current)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes:
Drive buf size : 1053696 = 1029 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 16332 kB/s 92x CD 11x DVD
FIFO size : 12582912 = 12288 KB
wodim: Drive does not support TAO recording.
wodim: Illegal write mode for this drive.
-------
Similarly, explicitly choosing any write mode (-dao, -sao, -raw96r, etc.) results in precisely the same errors. In order to bring the issue to the attention of the cdrecord author, I also installed cdrtools and tried with that:
-------
root@skynet:
root@skynet:
/opt/schily/
root@skynet:
Cdrecord-
root@skynet:
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-
TOC Type: 0 = CD-DA
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-H62N '
Revision : 'CL00'
Device seems to be: Generic mmc2 DVD-R/DVD-
Current: CD-R
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM
Profile: CD-R (current)
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes:
Drive buf size : 1053696 = 1029 KB
Drive pbuf size: 1966080 = 1920 KB
Drive DMA Speed: 16756 kB/s 95x CD 12x DVD 3x BD
FIFO size : 4194304 = 4096 KB
cdrecord: Drive does not support SAO recording.
cdrecord: Illegal write mode for this drive.
-------
Finally, someone had suggested I try using growisofs on a pre-master DVD iso, which also seemed to fail in the same way:
-------
root@skynet:
backup.iso: ISO 9660 CD-ROM filesystem data UDF filesystem data (unknown version, id 'NSR0
root@skynet:
Executing 'builtin_dd if=./backup.iso of=/dev/dvd obs=32k seek=0'
:-[ MODE SELECT failed with SK=5h/ASC=
-------
The problem looks like it might be connected to Bug #109327, but the solution of updating to the latest Gutsy kernel didn't provide a fix and not all the symptoms seem the same, which has led me to open this bug too.
Finally, booting the Gutsy kernel from yesterday, attempting to burn backup.iso to a DVD using the official cdrecord I had slightly different behaviour, but I don't know if this is relevant or not:
-------
root@skynet:
dead_kennedys_
root@skynet:
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-
TOC Type: 0 = CD-DA
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-H62N '
Revision : 'CL00'
Device seems to be: Generic mmc2 DVD-R/DVD-
Current: CD-R
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM
Profile: CD-R (current)
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP
Drive buf size : 1053696 = 1029 KB
Drive pbuf size: 1966080 = 1920 KB
Drive DMA Speed: 16756 kB/s 95x CD 12x DVD 3x BD
FIFO size : 4194304 = 4096 KB
Track 01: audio 34 MB (03:22.81) no preemp pad
Track 02: audio 63 MB (06:19.84) no preemp pad
Track 03: audio 28 MB (02:47.44) no preemp pad
Track 04: audio 41 MB (04: 04.66) no preemp pad
Track 05: audio 37 MB (03:43.26) no preemp pad
Track 06: audio 41 MB (04:05.86) no preemp pad
Track 07: audio 55 MB (05:27.57) no preemp pad
Track 08: audio 57 MB (05: 39.46) no preemp pad
Track 09: audio 76 MB (07:35.60) no preemp pad
Track 10: audio 38 MB (03:48.74) no preemp pad
Track 11: audio 33 MB (03:20.28) no preemp pad
Track 12: audio 72 MB (07: 09.68) no preemp pad
Track 13: audio 48 MB (04:45.49) no preemp pad
Track 14: audio 61 MB (06:06.49) no preemp pad
Track 15: audio 53 MB (05:18.61) no preemp pad
Track 16: audio 56 MB (05: 36.92) no preemp pad
Total size: 799 MB (79:12.90) = 356468 sectors
Lout start: 799 MB (79:14/68) = 356468 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Disk Is not unrestricted
Disk Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11634 (97:26/66)
ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Capacity Blklen/Sparesz. Type
0 2048 No Media Present or Unknown Capacity
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 3378
Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Turning BURN-Free off
Performing OPC...
Sending CUE sheet...
cdrecord: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
cdrecord: Input/output error. send_cue_sheet: scsi sendcmd: no error
CDB: 5D 00 00 00 00 00 00 01 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 5D 34 02 80 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 200s
cdrecord: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mode.
cdrecord: Cannot send CUE sheet.
cdrecord: Could not write Lead-in.
cdrecord: faio_wait_on_buffer for writer timed out.
cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: fatal error
CDB: 1E 00 00 00 00 00
cmd finished after 0.000s timeout 200s
cdrecord: Input/output error. start/stop unit: scsi sendcmd: fatal error
CDB: 1B 00 00 00 02 00
cmd finished after 0.000s timeout 200s
cdrecord: Cannot eject media.
Writing time: 331.809s
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
-------
The disc didn't appear to have anything actually written to it, though. Burning the DVD image with growisofs and the gutsy kernel seemed to burn successfully, but the resulting disc was a coaster, could not be mounted subsequently either the burning machine (before or after a reboot) or on another machine.
Changed in linux: | |
status: | Unknown → In Progress |
Changed in linux: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
Changed in linux: | |
importance: | Unknown → High |
Changed in linux: | |
status: | In Progress → Expired |
I'd say, there is a general problem with the LG GSA-H62N dvd-writer. 2.01.01a35, which start writing, but stop after 20 seconds, leaving you with a throw-me-away disc.
I've not been able to write a iso-image to a CD.
The ubuntu (feisty) provided wodim does not even start writing. Then i tried cdrtools-
However, this problem is not ubuntu-specific. The situation is exactly the same with openSUSE 10.3.
Btw, i tried to connect the dvd-writer to both sata controllers integrated on my Abit KV8-max3 Mainboard. One is integrated in the VIA-chipset, the other one is a SIL 3114. Behavior is exactly the same on both controllers.