From nobody@FreeBSD.org  Sun May  4 04:16:37 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 3202FE27
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 May 2014 04:16:37 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 1EE40198D
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 May 2014 04:16:37 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s444GaYq001844
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 May 2014 04:16:36 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s444GaKr001831;
	Sun, 4 May 2014 04:16:36 GMT
	(envelope-from nobody)
Message-Id: <201405040416.s444GaKr001831@cgiserv.freebsd.org>
Date: Sun, 4 May 2014 04:16:36 GMT
From: fei <877172721@qq.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cannot use cdrecord burn cd
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         189328
>Category:       i386
>Synopsis:       cannot use cdrecord burn cd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 04:20:00 UTC 2014
>Closed-Date:    Sat May 10 12:40:47 UTC 2014
>Last-Modified:  Sat May 10 12:40:47 UTC 2014
>Originator:     fei
>Release:        cdrtools-3.00.tar
>Organization:
ava
>Environment:
Linux fei-virtual-machine 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
>Description:
root@fei-virtual-machine:/home/fei# cdrecord -v dev=1,0,0 -multi -ignsize -xa lian.iso
cdrecord: No write mode specified.
cdrecord: Assuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-linux-gnu) Copyright (C) 1995-2010 J&#65533;rg Schilling
TOC Type: 3 = CD-ROM XA mode 2
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    : 'NECVMWar'
Identifikation : 'VMware IDE CDR10'
Revision       : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RW sequential recording
Profile: DVD-R/DL layer jump recording 
Profile: DVD-R/DL sequential recording 
Profile: DVD+R/DL 
Profile: DVD+R 
Profile: DVD+RW 
Profile: DVD-RW sequential recording (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD-RAM 
Profile: DVD-R sequential recording 
Profile: DVD-ROM (current)
Profile: CD-RW 
Profile: CD-R 
Profile: CD-ROM 
Profile: Removable Disk 
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE 
Supported modes: PACKET SAO LAYER_JUMP
Drive buf size : 688128 = 672 KB
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
FIFO size      : 4194304 = 4096 KB
Track 01: data   146 MB        
Total size:      146 MB = 75246 sectors
Current Secsize: 2048
WARNING: Phys disk size 250608 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 447215
WARNING: Drive returns zero media size. Using media size from ADIP.
Blocks total: 250608 Blocks current: -6160 Blocks remaining: -81406
cdrecord: Data does not fit on current disk.
cdrecord: Notice: -overburn is not expected to work with DVD/BD media.
cdrecord: Notice: Overburning active. Trying to write more than the official disk capacity.
Reducing transfer size from 64512 to 32768 bytes.
Starting to write CD/DVD/BD at speed 2 in real SAO mode for multi 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 OFF.
Starting new track at sector: 0
Track 03:    0 of  146 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 0.010s timeout 100s

write track data: error after 0 bytes
cdrecord: The current problem looks like a buffer underrun.
cdrecord: Try to use 'driveropts=burnfree'.
cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.
Writing  time:    5.045s
Average write speed  22.1x.
Fixating...
cdrecord: Input/output error. close track/session: scsi sendcmd: no error
CDB:  5B 01 02 00 00 02 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 05 00 00 00 00 0A 00 00 00 00 72 04 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x04 (empty or partially written reserved track) Fru 0x0
Sense flags: Blk 0 (valid) 
cmd finished after 0.007s timeout 480s
Fixating time:    0.008s
cdrecord: fifo had 128 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

>How-To-Repeat:
if not use -overburn,the erro message is like that :
WARNING: Drive returns zero media size. Using media size from ADIP.
Blocks total: 250608 Blocks current: -6160 Blocks remaining: -81406
cdrecord: Data does not fit on current disk.
cdrecord: Notice: -overburn is not expected to 

if use -overburn ,it turns like the problems before.
>Fix:
i have no idea

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Sat May 10 12:40:45 UTC 2014 
State-Changed-Why:  
This is not a FreeBSD problem, this is something for Linux as you state 
in the message. Please consult a Linux group to get this resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189328 
>Unformatted:
