From nobody@FreeBSD.org  Sun Feb 29 15:28:49 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EED3816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Feb 2004 15:28:48 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D388143D3F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Feb 2004 15:28:48 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1TNSm72061940
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Feb 2004 15:28:48 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i1TNSmZ7061939;
	Sun, 29 Feb 2004 15:28:48 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200402292328.i1TNSmZ7061939@www.freebsd.org>
Date: Sun, 29 Feb 2004 15:28:48 -0800 (PST)
From: Matthias Petermann <matthias.petermann@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST)
X-Send-Pr-Version: www-2.3

>Number:         63557
>Category:       kern
>Synopsis:       [atapicam] ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    thomas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 29 15:30:14 PST 2004
>Closed-Date:    Tue Jun 12 04:54:45 GMT 2007
>Last-Modified:  Tue Jun 12 04:54:45 GMT 2007
>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 Jrg
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:RemovableCD-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-3SWABAUDIOBURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size:4194304=4096KB
Track 01: data262MBpadsize:30KB
Total size:301MB(29:49.66)=134225sectors
Lout start:301MB(29:51/50)=134225sectors
Current Secsize: 2048
ATIP info from disk:
Indicatedwritingpower:4
Isnotunrestricted
Isnoterasable
Disksubtype:MediumTypeA,highBetacategory(A+)(3)
ATIPstartofleadin:-11077(97:34/23)
ATIPstartofleadout:359848(79:59/73)
Disk type:Longstrategytype(Cyanine,AZOorsimilar)
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 write0seconds.Operationstarts.
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:0of262MBwritten.cdrecord:Input/outputerror.write_g1:
scsi sendcmd: retryable error
CDB:2A00000001B200001F00
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
Writingtime: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:
Responsible-Changed-From-To: freebsd-bugs->thomas 
Responsible-Changed-By: arved 
Responsible-Changed-When: Sun Apr 25 04:29:34 PDT 2004 
Responsible-Changed-Why:  
Assign to atapicam maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63557 

From: Thomas Quinot <thomas@FreeBSD.org>
To: Matthias Petermann <matthias.petermann@gmx.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/63557 ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST)
Date: Fri, 15 Oct 2004 21:41:50 +0000

 On Sun, Feb 29, 2004 at 03:28:48PM -0800, Matthias Petermann wrote:
 
 > Excerpts from syslog:
 > acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x30 ascq=0x02 status=50<READY,DSC> error=0
 
 ASC 0x30 is INCOMPATIBLE MEDIUM INSTALLED.
 Do you still see this problem with FreeBSD 5.3 of FreeBSD 6-CURRENT?
 Do you see it with different kinds of media?
 
 Thomas.
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Thu Apr 19 01:23:25 UTC 2007 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63557 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 12 04:54:29 UTC 2007 
State-Changed-Why:  
Feedback timeout (6 weeks). 

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