Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 15:28:48 -0800 (PST)
From:      Matthias Petermann <matthias.petermann@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/63557: ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST)
Message-ID:  <200402292328.i1TNSmZ7061939@www.freebsd.org>
Resent-Message-ID: <200402292330.i1TNUEFu044002@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63557
>Category:       kern
>Synopsis:       ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 29 15:30:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Petermann
>Release:        5.2-CURRENT (CVS 2004-02-29)
>Organization:
>Environment:
FreeBSD sirius.localnet 5.2-CURRENT FreeBSD 5.2-CURRENT #8: Sun Feb 29 11:34:37 CET 2004 root@sirius.localnet:/usr/src/sys/i386/compile/SIRIUS  i386

>Description:
cdrecord crashes with following output while trying to record a CD-R, using the ATAPICAM driver. Earlier versions of 5.2-CURRENT worked fine.

sirius# cdrecord dev=1,0,0 -data -v -pad 5.2.1-RELEASE-i386-disc2.iso
Cdrecord 2.00.3 (i386-unknown-freebsd5.2) Copyright (C) 1995-2002 Jörg
Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.7'
atapi: 0
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'TEAC    '
Identifikation : 'DV-W50D         '
Revision       : '1.05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for
cdrecord-ProDVD.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   262 MB         padsize:   30 KB
Total size:      301 MB (29:49.66) = 134225 sectors
Lout start:      301 MB (29:51/50) = 134225 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 4
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, high Beta category (A+) (3)
  ATIP start of lead in:  -11077 (97:34/23)
  ATIP start of lead out: 359848 (79:59/73)
Disk type:    Long strategy type (Cyanine, AZO or similar)
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 225623
Starting to write CD/DVD at speed 16 in real TAO 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...
Starting new track at sector: 0
Track 01:    0 of  262 MB written.cdrecord: Input/output error. write_g1:
scsi sendcmd: retryable error
CDB:  2A 00 00 00 01 B2 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 00 00
00 00 00 00 0E 00 00 00 00 00 00
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.008s timeout 40s

write track data: error after 888832 bytes
Sense Bytes: 70 00 00 00 00 00 00 0E 00 00 00 00 00 00 00 00 00 00
Writing  time:   11.636s
Average write speed 339.0x.
Fixating...
Fixating time:   16.081s
cdrecord: fifo had 78 puts and 15 gets.
cdrecord: fifo was 0 times empty and 1 times full, min fill was 82%.
sirius#


Excerpts from syslog:
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x30 ascq=0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0
acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50<READY,DSC> error=0

>How-To-Repeat:
Use cdrecord...
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402292328.i1TNSmZ7061939>