Re: CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way!

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Sat, 15 May 2021 09:23:17 +0200
On Fri, 14 May 2021 17:05:26 +0200
Marc Veldman <marc_at_bumblingdork.com> wrote:

> > On 14 May 2021, at 16:48, Gary Jennejohn <gljennjohn_at_gmail.com> wrote:
> > 
> > On Fri, 14 May 2021 16:21:05 +0200
> > Marc Veldman <marc_at_bumblingdork.com> wrote:
> >   
> >>> On 14 May 2021, at 10:22, Henri Hennebert <hlh_at_restart.be> wrote:
> >>> 
> >>> 
> >>> Please test the 2.0h version from GitHub.
> >>>   
> >> 
> >> On my Lenovo P50s:
> >> 
> >> Cold boot with card not inserted: OK
> >> Insert card after boot, no crash, but the message
> >> seems weird:
> >> 
> >> May 14 16:01:27 supernovo kernel: rtsx0: Interrupt card inserted/removed
> >> May 14 16:01:27 supernovo kernel: rtsx0: Card absent
> >> May 14 16:01:27 supernovo kernel: mmc0: detached
> >> 
> >> Cold boot with card inserted: OK
> >> Remove card after boot, no crash, but the message
> >> seems weird:
> >> 
> >> May 14 16:06:08 supernovo kernel: rtsx0: Interrupt card inserted/removed
> >> May 14 16:06:08 supernovo kernel: rtsx0: Card present
> >> May 14 16:06:08 supernovo kernel: mmc0: <MMC/SD bus> on rtsx0
> >> 
> >> I have the inversion flag turned on /boot/loader.conf
> >> 
> >> dev.rtsx.0.inversion=1
> >> dev.rtsx.0.debug=1
> >>   
> > 
> > This is weird because the man page states that the inversion flag is
> > required with the P50.
> > 
> > BTW Henri, if you're reading this, there's a bug in exactly this part
> > of the man page: sovled rather than solved
> > 
> > But, the trace output indicates that you do not need the inversion flag.
> > 
> > Maybe your P50 (may be a later model than the P50s tested during driver
> > development) does not have the problem.  
> 
> 
> I removed the flag, and it works now.Thanks!
> What is it in the trace that indicated that the inversion flag is not needed?
> 

You plugged in a card but the trace shows that no card is present.  Then
you removed the card and the trace shows that a card is present.  This
is exactly what the inversion flag would result in if it is not needed.

-- 
Gary Jennejohn
Received on Sat May 15 2021 - 05:23:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC