Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2021 21:04:43 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        junchoon@dec.sakura.ne.jp, freebsd-current@freebsd.org
Subject:   Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way!
Message-ID:  <4afdd70f-ab27-6d87-e2c1-36ed1ccc03bf@FreeBSD.org>
In-Reply-To: <20210508013445.d4391b5591f21aaa791d6aae@dec.sakura.ne.jp>
References:  <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org> <740cd7a0-3faf-7a56-80f7-dbb9bdacb55b@FreeBSD.org> <37122994-8172-b943-2602-fd1b4e9af78a@FreeBSD.org> <20210507132215.2469c296@ernst.home> <755d0029-bea6-3a43-c0c2-184349d88054@FreeBSD.org> <20210508013445.d4391b5591f21aaa791d6aae@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07.05.2021 19:34, Tomoaki AOKI wrote:

> Have you try
> 
>   dev.rtsx.0.inversion=1
> 
> in /boot/loader.conf with the device enabled on BIOS?
  Not yet :-) I'll try.

> If not yet, it would be worth trying.
> 
> In rtsx(4) manpage,
> 
>> 〓   RTS522A on Lenovo P50s and Lenovo T470p, card detection and read-only
>>       switch are reversed.  This is sovled by adding in loader.conf(5):
>>
>>       dev.rtsx.0.inversion=1
> 
> If it works for you, possibly no one had tested on T540p yet.
> And there can be much, much more PCs/chips which need it, but no one has
> tested yet.
> 
> My rtsx driver on ThinkPad P52 works fine without it, but IIRC,
> paniced with it (I did it just a test purpose when it landed).
> 
> And one more.
> If you insert write-protected card and then mount it as writable,
> it SHOULD certainly crash the system.
> It's not a rtsx driver issue, but promised to happen.
> I've encountered the problem on USB card readers, too.
  My slot is empty, no card, no adapters, no plastic pseudo-card, nothing.


-- 
// Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4afdd70f-ab27-6d87-e2c1-36ed1ccc03bf>