[Bug 232347] CAM: MODE SELECT failed with SK=5h/INVALID FIELD IN PARAMETER LIST]: Input/output error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 17 08:22:31 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232347
Bug ID: 232347
Summary: CAM: MODE SELECT failed with SK=5h/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 at FreeBSD.org
Reporter: ohartmann at 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 Celsius
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="GenuineIntel" Id=0x306f2 Family=0x6 Model=0x3f Stepping=2
Features=0xbfebfbff<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>
Features2=0x7dfefbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
AMD Features2=0x21<LAHF,ABM>
Structured Extended
Features=0x37ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,NFPUSG>
Structured Extended Features3=0xc000000<IBPB,STIBP>
XSAVE Features=0x1<XSAVEOPT>
VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
TSC: P-state invariant, performance statistics
real memory = 34359738368 (32768 MB)
avail memory = 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 CDROM
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). CDB:
28 00 00 00 00 00 00 00 01 00
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). CDB:
28 00 00 00 00 00 00 00 01 00
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). CDB:
28 00 00 00 00 00 00 00 01 00
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). CDB:
28 00 00 00 00 00 00 00 01 00
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). CDB:
28 00 00 00 00 00 00 00 01 00
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 have
no chance to stop the spinning except rebooting the box. trying to reset the
CAM bus via camcontrol doesn't have any effect.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list