From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 29 15:30:14 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A523716A4CE for ; Sun, 29 Feb 2004 15:30:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D34543D2D for ; Sun, 29 Feb 2004 15:30:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1TNUEbv044003 for ; Sun, 29 Feb 2004 15:30:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1TNUEFu044002; Sun, 29 Feb 2004 15:30:14 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 29 Feb 2004 15:30:14 -0800 (PST) Resent-Message-Id: <200402292330.i1TNUEFu044002@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Petermann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EED3816A4CE for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/63557: ATAPICAM broken in 5.2-CURRENT (REQUEST_SENSE ILLEGAL REQUEST) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 23:30:14 -0000 >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 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 acd0: FAILURE - REQUEST_SENSE ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x4d 0x00 0x02 status=50 error=0 >How-To-Repeat: Use cdrecord... >Fix: >Release-Note: >Audit-Trail: >Unformatted: