https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #20 from Alexey Dokuchaev <da...@freebsd.org> ---
I've given Henri's current GitHub code a spin today, on an RTS5227
(card=0x1992103c chip=0x522710ec).  I've built and loaded all three modules,
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 loaded 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, but
most of the times it yields an input/output error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to