kern/115614: Recent ATA driver changes have broken cdrecord
Claus Endres
claus at endresconsulting.com
Sat Aug 18 02:10:02 PDT 2007
>Number: 115614
>Category: kern
>Synopsis: Recent ATA driver changes have broken cdrecord
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 18 09:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Claus Endres
>Release: 6.2 STABLE as of 16/8/2007
>Organization:
Endres Consulting
>Environment:
FreeBSD fw1.ausimm.com.au 6.2-STABLE FreeBSD 6.2-STABLE #1: Fri Aug 17 10:48:12 EST 2007 claus at fw1.ausimm.com.au:/usr/src/sys/i386/compile/FW i386
>Description:
CDRECORD fails under up-to-date 6.2_STABLE. It works under a 6.2 STABLE version
cvsup'ed in March 2007.
I have tried this with the cdrtools-devel port and the latest beta code
from Joerg Schily's server on both old and new 6.2 systems.
Command:
cdrecord dev=4,0,0 driveropts=burnfree -sao fs=32m /usr/AusIMMfw.iso
The application fails with:
Cdrecord-ProDVD-ProBD-Clone 2.01.01a33 (i386-unknown-freebsd6.2) Copyright (C) 1995-2007 Jörg Schilling
scsidev: '4,0,0'
scsibus: 4 target: 0 lun: 0
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-112D'
Revision : '1.21'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
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
Starting to write CD/DVD/BD at speed 12 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 104.107 (100) s
CDB: 2A 00 00 00 03 07 00 00 1F 00
cmd finished after 104.107s timeout 100s
write track data: error after 1587200 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0E 00 00 00 00 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x6 Unit Attention, Segment 0
Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.006s timeout 100s
/var/log/messages contains:
Aug 18 17:54:08 fw1 kernel: acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00
Aug 18 17:54:08 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:54:08 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:54:09 fw1 kernel: acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
Aug 18 17:54:09 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:54:09 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:54:09 fw1 kernel: acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00
Aug 18 17:54:18 fw1 kernel: acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
Aug 18 17:54:18 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:54:18 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:56:02 fw1 kernel: acd0: FAILURE - WRITE_BIG timed out
Aug 18 17:56:09 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Aug 18 17:56:09 fw1 kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02
Neither application error messages nor kernel messages appear with the old 6.2 system
>How-To-Repeat:
Required kernel option:
device atapicam
Port sysutils/cdrtools-devel
PIONEER DVR-112D or equivalent DVD burner
Blank DVD-R
ISO image
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list