Date: Tue, 10 Dec 2019 03:21:00 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD Message-ID: <bug-204521-227-L22RVKtV9O@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/> References: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521 --- Comment #20 from Alexey Dokuchaev <danfe@FreeBSD.org> --- I've given Henri's current GitHub code a spin today, on an RTS5227 (card=3D0x1992103c chip=3D0x522710ec). I've built and loaded all three mod= ules, with the card removed; it was not able to detect card insertion (every time= I pushed the card in/out it just complained about spurious interrupt): > rtsx0: <Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xd4000000-0xd4000fff > at device 0.0 on pci2 > rtsx0: Card removed > rtsx0: Spurious interrupt - no active request > rtsx0: Spurious interrupt - no active request > rtsx0: Spurious interrupt - no active request > rtsx0: Spurious interrupt - no active request > rtsx0: Spurious interrupt - no active request Things changed when I've unloaded rtsx.ko, plugged the card, and then loade= d it again: > rtsx0: <Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xd4000000-0xd4000fff > at device 0.0 on pci2 > rtsx0: Card inserted > rtsx0: Attaching MMC bus failed [6] > mmc0: <MMC/SD bus> on rtsx0 > mmcsd0: 129GB <SDHC 00000 1.0 SN A123456Z MFG 05/2014 by 27 SM> at mmc0 > 0.4MHz/1bit/256-block > rtsx0: CRC error > rtsx0: Soft reset > mmcsd0: Error indicated: 2 Bad CRC > rtsx0: CRC error > rtsx0: Soft reset > mmcsd0: Error indicated: 2 Bad CRC > rtsx0: CRC error > rtsx0: Soft reset > mmcsd0: Error indicated: 2 Bad CRC Those errors come from trying to read anything from /dev/mmcsd0 with dd(1),= to no avail. Sometimes it's possible to read one 512-byte sector off of it, b= ut most of the times it yields an input/output error. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-L22RVKtV9O>