Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2018 08:22:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232347] CAM: MODE SELECT failed with SK=5h/INVALID FIELD IN PARAMETER LIST]: Input/output error
Message-ID:  <bug-232347-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 232347
           Summary: CAM: MODE SELECT failed with SK=3D5h/INVALID FIELD IN
                    PARAMETER LIST]: Input/output error
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org

I'm using port sysutils/dvd+rw-tools to prepare software we use and need on=
 DVD
for updates and so forth.

Since a couple of time with 12-CURRENT, I face a problem on a Fujitsu Celsi=
us
with a older DVD burner model (FreeBSD 11-CURRENT and 11.0 didn't show the
problem!). The workstation's hardware is (from dmesg):

[...]
CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (3492.01-MHz K8-class CPU)
  Origin=3D"GenuineIntel"  Id=3D0x306f2  Family=3D0x6  Model=3D0x3f  Steppi=
ng=3D2
=20
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
=20
Features2=3D0x7dfefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSS=
E3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDL=
T,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x21<LAHF,ABM>
  Structured Extended
Features=3D0x37ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,NFPU=
SG>
  Structured Extended Features3=3D0xc000000<IBPB,STIBP>
  XSAVE Features=3D0x1<XSAVEOPT>
  VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  =3D 34359738368 (32768 MB)
avail memory =3D 33054359552 (31523 MB)
[...]


The recent DVD/CDROM drive is:

cd0 at ahcich9 bus 0 scbus7 target 0 lun 0
cd0: <hp DVD A  DH16ABLH 3HD9> Removable CD-ROM SCSI device
cd0: Serial Number xxxxxxx
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)

but the failure is also seen on other burner (also some older types).

When burning a normal CDROM image, maximum ~ 700MB, either on a DVD or a CD=
ROM
W (via cdrecord or growisofs) everything is all right, the burn finishes.

Whenever I try to burn a DVD larger than ~ 2 - 3 GB, I receive an error:

segmentation fault (growisofs)

and there are lots of error messages from the CAM susbsystem on the console:

[...]
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): READ(10). C=
DB:
28 00 00 00 00 00 00 00 01 00=20
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): CAM status:
SCSI Status Error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI status:
Check Condition
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): Error 22,
Unretryable error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): cddone: got
error 0x16 back
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): READ(10). C=
DB:
28 00 00 00 00 00 00 00 01 00=20
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): CAM status:
SCSI Status Error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI status:
Check Condition
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): Error 22,
Unretryable error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): cddone: got
error 0x16 back
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): READ(10). C=
DB:
28 00 00 00 00 00 00 00 01 00=20
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): CAM status:
SCSI Status Error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI status:
Check Condition
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): Error 22,
Unretryable error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): cddone: got
error 0x16 back
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): READ(10). C=
DB:
28 00 00 00 00 00 00 00 01 00=20
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): CAM status:
SCSI Status Error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI status:
Check Condition
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): Error 22,
Unretryable error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): cddone: got
error 0x16 back
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): READ(10). C=
DB:
28 00 00 00 00 00 00 00 01 00=20
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): CAM status:
SCSI Status Error
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI status:
Check Condition
Oct 17 07:45:33 <kern.crit> freyja kernel: (cd0:ahcich9:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
[...]

As far as I can tell, those errors never happened with FreeBSD 11 and they
occured sometime after in 12-CURRENT.

After the burn broke, the drive never stops spinning at high speed and I ha=
ve
no chance to stop the spinning except rebooting the box. trying to reset the
CAM bus via camcontrol doesn't have any effect.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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