Skip to content

atapicdrom: fix spurious reads during Mac OS boot - #195

Merged
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-fix-boot
Aug 4, 2026
Merged

atapicdrom: fix spurious reads during Mac OS boot#195
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-fix-boot

Conversation

@mihaip

@mihaip mihaip commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Fixes a couple of regressions after the generic SCSI command refactor:

  • not_ready_reason was missing an override, so we were not actually returning MEDIUM_NOT_PRESENT.
  • status_good() was unconditionally called before every command, including for REQ_SENSE. It cleared sense_key, thus we were not returning the correct state back.

Fixes a couple of regressions after the generic SCSI command refactor:
- `not_ready_reason` was missing an override, so we were not actually returning
  `MEDIUM_NOT_PRESENT`
- `status_good()` was unconditionally called before every command, including for
  `REQ_SENSE`. It cleared `sense_key`, thus we were not returning the correct
   state back.
@dingusdev
dingusdev merged commit 10015af into dingusdev:master Aug 4, 2026
7 checks passed
@mihaip
mihaip deleted the upstream-fix-boot branch August 5, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants