Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2020 17:30:38 +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-U7C6ynustL@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

Mario Lobo <lobo@bsd.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lobo@bsd.com.br

--- Comment #182 from Mario Lobo <lobo@bsd.com.br> ---
Hi;

ACER ASPIRE 5 A515-51G-C97B
FreeBSD 13.0-CURRENT #0 r360882
RTL8411B PCI Express Card Reader

I cloned https://github.com/hlh-restart/rtsx

make install
kldload rtsx

mmc0: <MMC/SD bus> on rtsx0
mmcsd0: 8GB <SDHC SU08G 8.0 SN 03518B4C MFG 08/2012 by 3 SD> at mmc0
50.0MHz/4bit/256-block

Inserting an SD first time, it yields:

rtsx0: Interrupt card inserted/removed
rtsx0: No request running

I can mount/unmount, copy, delete, anything.

OBS - The FIRST time I inserted/removed/reinserted the SD, it outputted:

mmc0: detached
rtsx0: Interrupt card inserted/removed
rtsx0: No request running
mmc0: <MMC/SD bus> on rtsx0
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
mmc0: ACMD41 failed, RESULT: 4
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Interrupt card inserted/removed
rtsx0: Controller timeout
rtsx0: Soft reset
rtsx0: Controller timeout
rtsx0: Soft reset
mmc0: detached

I unloaded/reloaded the module, and now it doesn't fail anymore. I tested
insert/remove SD about 15 times and no error.

mount -t msdosfs /dev/mmcsd0s1 /mnt

/dev/mmcsd0s1    7.4G    6.8G    559M    93%    /mnt

So it's working fine here.

--=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-U7C6ynustL>