[Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 2 10:56:20 UTC 2020


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

--- Comment #278 from Henri Hennebert <hlh at restart.be> ---
(In reply to Zeus Panchenko from comment #277)

For the panic during mount, as the card is detected read-only, you must mount
it read-only. Is the switch on the card on read-only?

The rtsx_map_sd_drive() not use is normal because I eliminate the vendor
settings code.

I encounter from time to time the problem with:

rtsx0: Controller timeout for CMD41
rtsx0: Soft reset
rtsx0: Controller timeout for CMD55
rtsx0: Soft reset
rtsx0: Controller timeout for CMD55
rtsx0: Soft reset
rtsx0: Controller timeout for CMD55
rtsx0: Soft reset
mmc0: ACMD41 failed, RESULT: 4

and then:
rtsx0: Controller timeout for CMD2
rtsx0: Soft reset
rtsx0: Controller timeout for CMD2
rtsx0: Soft reset
rtsx0: Controller timeout for CMD2
rtsx0: Soft reset
rtsx0: Controller timeout for CMD2
rtsx0: Soft reset
mmc0: detached

But then if I remove the card and reinsert it, it is detected correctly.

Can you change the switch on the card and see if it is detected read-write?

Next it will be fine to test with the last master branch (20b8fc8) because I
introduce some corrections.

Note that from 3 to 11 July I will be in holidays :-)

Thanks for your perseverance!

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


More information about the freebsd-bugs mailing list