From nobody Sat Apr 02 21:18:24 2022 X-Original-To: scsi@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EE2301A54854 for ; Sat, 2 Apr 2022 21:18:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KW8z456kGz3Kn3 for ; Sat, 2 Apr 2022 21:18:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B135109F9 for ; Sat, 2 Apr 2022 21:18:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 232LIOY2026090 for ; Sat, 2 Apr 2022 21:18:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 232LIOCK026089 for scsi@FreeBSD.org; Sat, 2 Apr 2022 21:18:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: scsi@FreeBSD.org Subject: [Bug 219857] panic in scsi_cd code Date: Sat, 02 Apr 2022 21:18:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mmance@mmance.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ken@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648934304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u+kSwqxK9xAmE/LvxybP3VOSfXqzsCxl7w9wJAtRKaQ=; b=UtRYt7whISFvi+gNyFBhCOLz+jfi4g/3LOXzGG4ESvTozecdE+75z1jzzU62x7+6E62fRL cVP607EbrsngNb1xqIUXJt0iu0uIgLw3MhYE2J0A0quCfsbNFTJKnoyistnIjxtJPR5UYf ZAZsdnbNF0ZU4cpi9UZPMpuZO2HBsfoQoTQnctIBbLGizg/RAIlaapA0Le/2xAAG3AY/rt eFeA91PuCdhTZCTT+hS+d3WJ0aC3kjq9avgJeKxh3bSDwIiI2MM0IoJhyFwyU1CaK1o41a qX91cUFuUWtHInJZF0TXZXi3cDfEm4HcJ7n1RLSu5IPHSXc4VTXauFyXpmTyKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648934304; a=rsa-sha256; cv=none; b=ZrXQF/m8tBzcZCn7VZLliIxgwzMOyBMfvgh1/edYE/CIEl5HZdO4tlYXZ/gH9cRutV7nRr JM7TMNlXXXMAlaJMUxT0j/rHJ+g8ewvQuW8uMnp6dueLbW+dmDZCfWOLGzBIo1O4dQlPUd CusoH19TVHfsLxo4VnIeS0qdOKgNclfp0IoDQ5HNeRmdW1bBdSSDRL/YUVLe0BjNC3CN+R P2tUbACZ8mGB7TuUob2m1fWU6+83KEyF75m/YPR7RGCY3viy7QpKBT19ubHL+Z2ANvHxAK vmS08b4jne/g8fRVhGCH7OgB1qoLCdQXNdVIM4oGkgs1kXt+lfRhC0szL2qHMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219857 Marc Mance changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmance@mmance.com --- Comment #36 from Marc Mance --- I am on FreeBSD 13. I am very new to BSD. I just tried to use Brasero to = burn a blu-ray and it was not recognizing I had a blank disc in. When I looked at dmesg: ugen3.2: at usbus3 umass0 on uhub0 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:4:0: Attached to scbus4 cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: 400.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray closed cd0: quirks=3D0x10<10_BYTE_ONLY> (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error (cd0:umass-sim0:0:0:0): SCSI status: Check Condition (cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:umass-sim0:0:0:0): Error 22, Unretryable error (cd0:umass-sim0:0:0:0): cddone: got error 0x16 back I did not get a panic. But this was the only place I have found the same error. It only happens when I have a blank Blu-Ray in the drive. This is = my first optical I have used with BSD, I was trying to play a DVD movie to test the drive in BSD, but I have to learn how still. The error above the panic was the same as what I got, but I am on a new BSD= . I don't know if it is related. -------- [mmance@freeMance /mnt]$ sudo cdrecord -minfo Cdrecord-ProDVD-ProBD-Clone 3.02a10 2021/07/23 (amd64-unknown-freebsd13.0) Copyright (C) 1995-2019 Joerg Schilling Using libscg version 'schily-0.9'. No target specified, trying to find one... Using dev=3D4,0,0. Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities :=20 Vendor_info : 'ASUS ' Identifikation : 'BW-16D1HT ' Revision : '3.10' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Using generic SCSI-3/mmc-3 BD-R driver (mmc_bdr). Driver flags : NO-CD BD MMC-3 BURNFREE=20 Supported modes: PACKET SAO LAYER_JUMP cdrecord: Warning: Cannot read drive buffer. cdrecord: Warning: The DMA speed test has been skipped. WARNING: Phys disk size 4452354 differs from rzone size 12219392! Prerecord= ed disk? WARNING: Phys start: 25088 Phys end 4477441 Mounted media class: BD Mounted media type: BD-R sequential recording Disk Is not erasable data type: standard disk status: empty session status: empty BG format status: none first track: 1 number of sessions: 1 first track in last sess: 1 last track in last sess: 1 Disk Is unrestricted Disk type: DVD, HD-DVD or BD Track Sess Type Start Addr End Addr Size =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1 1 Blank 0 12219391 12219392 Next writable address: 0 Remaining writable size: 12219392 --=20 You are receiving this mail because: You are on the CC list for the bug.=