🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #48

[Bug 297574] mmcsd: diskinfo returns ID and serial of the reader instead of the inserted card

#48
From: bugzilla-noreply
Date: Sat, 10 Oct 2026 14:07
57 lines
4311 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297574

--- Comment #1 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Additional info: On another machine with

rtsx0: <2.1g Realtek RTS5227 PCIe SD Card Reader> mem 0xf0400000-0xf0400fff irq
19 at device 0.0 on pci3
rtsx0: No card is detected

in its dmesg, this card IDs are correctly retrieved.

The original PR relates to a USB-attached card reader. The following shows the
relevant lines from /var/log/messages when first the card reader is attached
via USB-C and then an SDXC card is inserted:

Oct 10 16:01:21 orion kernel: ugen1.4: <vendor 0x1a40 USB2.0 HUB> at usbus1
Oct 10 16:01:21 orion kernel: uhub5 on uhub2
Oct 10 16:01:21 orion kernel: uhub5: <vendor 0x1a40 USB2.0 HUB, class 9/0, rev
2.00/1.00, addr 3> on usbus1
Oct 10 16:01:22 orion kernel: uhub5: 4 ports with 4 removable, self powered
Oct 10 16:04:52 orion kernel: ugen1.5: <Generic Mass Storage Device> at usbus1
Oct 10 16:04:52 orion kernel: umass0 on uhub5
Oct 10 16:04:52 orion kernel: umass0: <Generic Mass Storage Device, class 0/0,
rev 2.00/1.00, addr 4> on usbus1
Oct 10 16:04:52 orion kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0
Oct 10 16:04:52 orion kernel: umass0:15:0: Attached to scbus15
Oct 10 16:04:52 orion kernel: da0 at umass-sim0 bus 0 scbus15 target 0 lun 0
Oct 10 16:04:52 orion kernel: da0: <Mass Storage Device 1.00> Removable Direct
Access SCSI device
Oct 10 16:04:52 orion kernel: da0: Serial Number 121220160204
Oct 10 16:04:52 orion kernel: da0: 40.000MB/s transfers
Oct 10 16:04:52 orion kernel: da0: 244016MB (499744768 512 byte sectors)
Oct 10 16:04:52 orion kernel: da0: quirks=0x2<NO_6_BYTE>
Oct 10 16:04:52 orion kernel: (da0:umass-sim0:0:0:0): MODE SENSE for CACHE page
command failed.
Oct 10 16:04:52 orion kernel: (da0:umass-sim0:0:0:0): Mode page 8 missing,
disabling SYNCHRONIZE CACHE

So maybe the issue is with the USB driver?

-- Martin

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-297574-227-zmEQhaSYeZ@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-297574-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 297574] mmcsd: diskinfo returns ID and serial of the reader
 instead of the inserted card
Date: Sat, 10 Oct 2026 14:07:03 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-297574-227-zmEQhaSYeZ@https.bugs.freebsd.org/bugzilla/>
References: <bug-297574-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="31920"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791641223;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=6GNKh8XH5wjvpbNobtj7Gh1hiEHuHwW8NYlfdlOfHvc=;
	b=WgIloqE+kdvv0Iyyl53O8AUJ3CKGElZaS6lwYYrragKgD8hA0jjwYvQRi+6PQclzdlXJ52
	m4HUWooJx36pST6Py2ibTCkVWtKjWtMmv5XzsPJnwh2KZ4g4crsVq6g7htJILvqyrjvOsy
	1L1yCwgseNKlIIp7F9/goHkdIe+D8Ihav66/rN7fGs01UtRCTe4/bk8LMdeGJPfkJjyasH
	hFDfEURBeHr43cVo8KiCYl+GSje7vxvhGRlx9fJRb6t4/Ip3kCTr5+aGzssulLTZQkhuE3
	jNUAdBUi+BBo7WssKE2PIO7a+5LcIe7fRIQAI40ecpHcSij42NNKJuUlW17YTg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-297574-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes