diff --git a/devices/common/scsi/scsihd.cpp b/devices/common/scsi/scsihd.cpp index 9eae012..f391580 100644 --- a/devices/common/scsi/scsihd.cpp +++ b/devices/common/scsi/scsihd.cpp @@ -447,6 +447,10 @@ void ScsiHardDisk::read_capacity_10() { LOG_F(ERROR, "%s: non-zero LBA for PMI=0", this->name.c_str()); this->status = ScsiStatus::CHECK_CONDITION; this->sense = ScsiSense::ILLEGAL_REQ; + this->asc = 0x24; // Invalid Field in CDB + this->ascq = 0; + this->sksv = 0xc0; // sksv=1, C/D=Command, BPV=0, BP=0 + this->field = 8; this->switch_phase(ScsiPhase::STATUS); return; }