[Bug 264670] 13.1-RELEASE fails to detect card slots in SD card reader

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Jun 2022 14:08:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264670

            Bug ID: 264670
           Summary: 13.1-RELEASE fails to detect card slots in SD card
                    reader
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jmc-freebsd2@milibyte.co.uk

Created attachment 234679
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234679&action=edit
Example dmesg output when running under 13.1-RELEASE

I have an Akasa AK-ICR-01B card reader using a Realtek RTS5130 chip connected
to a USB 2 header on the motherboard

With previous versions of FreeBSD over the last twelve years the reader's four
card slots were detected at boot time and device nodes were created for da0,
da1, da2 and da3. Since upgrading from 13.0 to 13.1-RELEASE the slots are no
longer detected unless there is a card already present in at least one slot.

When running 13.0, camcontrol devlist displayed the following details for the
reader:

<Generic- Compact Flash 1.00>      at scbus6 target 0 lun 0 (da0,pass6)
<Generic- SM/xD-Picture 1.00>      at scbus6 target 0 lun 1 (da1,pass7)
<Generic- SD/MMC 1.00>             at scbus6 target 0 lun 2 (da2,pass8)
<Generic- MS/MS-Pro 1.00>          at scbus6 target 0 lun 3 (da3,pass9)

But with 13.1 none of that appears and I get the following console error
messages at boot time unless there's already a card in the reader:

(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command, 2 more tries remain

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