Problem burning DVD

Polytropon freebsd at
Sat Jun 22 07:00:24 UTC 2019

On a Lenovo R61i, I try to burn a DVD with the built-in optical unit.
After inserting a blank media, the following error appears:

	(cd0:ata0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
	(cd0:ata0:0:0:0): CAM status: SCSI Status Error
	(cd0:ata0:0:0:0): SCSI status: Check Condition
	(cd0:ata0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0
	                  (Logical block address out of range)
	(cd0:ata0:0:0:0): Error 22, Unretryable error
	(cd0:ata0:0:0:0): cddone: got error 0x16 back

This error is repeated several times. Maybe this is normal, as the
media size cannot be queried for a non-written medium. This assumption
is due to the following message:

	cd0: Attempt to query device size failed: NOT READY, Medium not present

The unit in question is:

	cd0 at ata0 bus 0 scbus0 target 0 lun 0
	cd0: <MATSHITA DVD-RAM UJ-842 RB01> Removable CD-ROM SCSI device
	cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)

>From "camcontrol devlist":

	<MATSHITA DVD-RAM UJ-842 RB01> at scbus0 target 0 lun 0 (cd0,pass0)

I have set all permissions as needed. Using growisofs, after a little
progress (when the program adjusts the write speed, ca. 3%), abort
with errors like "input/output error" or "medium not supported".
I've been seeing this with different brands of DVD media.

The command is "growisofs -Z /dev/cd0 -dvd-video -r -J -udf dvd/",
so nothing special. :-)

	/dev/pass0: "Current Write Speed" is 2.5x1352KBps.
	:-[ WRITE at LBA=5f0h failed with SK=4h/ASC=03h/ACQ=00h]:
	Input/output error
	:-( write failed: Input/output error
	/dev/pass0: flushing cache
	/dev/pass0: closing track
	/dev/pass0: closing disc


	:-( unable to CLOSE TRACK: Input/output error
	/dev/pass0: closing disc
	Input/output error

Of course, the result perfectly fits the garbage can.

What could be the problem here?

Is there some description of what error codes like "Error 22", "0x16"
or "SK=4h/ASC=03h/ACQ=00h" mean?

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list