Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2022 21:18:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        scsi@FreeBSD.org
Subject:   [Bug 219857] panic in scsi_cd code
Message-ID:  <bug-219857-5313-ECG50yBxyD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219857-5313@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219857-5313@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219857

Marc Mance <mmance@mmance.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmance@mmance.com

--- Comment #36 from Marc Mance <mmance@mmance.com> ---
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: <JMicron JMS579> at usbus3
umass0 on uhub0
umass0: <JMicron JMS579, class 0/0, rev 3.00/4.14, addr 1> 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: <ASUS BW-16D1HT 3.10> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219857-5313-ECG50yBxyD>