Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 18:51:56 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Henri Hennebert <hlh@restart.be>, Marc Veldman <marc@bumblingdork.com>
Cc:        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:  <417a97b9-2c40-310c-c445-b193c493b880@FreeBSD.org>
In-Reply-To: <9a15daa7-2b17-e257-d4d1-850c632a9db8@restart.be>
References:  <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org> <20210512133456.57f374f4@ernst.home> <b72d8b9d-8cfd-84a7-59b2-c5a2b33416e7@FreeBSD.org> <20210512141130.755ae361@ernst.home> <D9843F30-308D-4F9F-A229-05639346564A@bumblingdork.com> <9f0abf48-ed13-bff3-5687-fca0d57195d8@restart.be> <C4E25C70-25BA-4BEB-83F0-D77279B2B94A@bumblingdork.com> <8d4e076b-9ecd-aef2-0ee8-73519bb9d939@FreeBSD.org> <8d2be5f2-4144-082e-4237-0dac0c4b37e6@restart.be> <f084b1c8-5020-2db9-6cf3-47641066bb69@FreeBSD.org> <6798878a-c499-d78d-e96d-d744513cb80d@restart.be> <a630c8a3-a9d7-c6f5-111c-be0e64db1ec6@FreeBSD.org> <1de588e2-20cb-3206-3aea-f3f88f577675@restart.be> <c324501a-6a8e-f8aa-3ecd-e8d7d3485e2c@FreeBSD.org> <e20d2d7d-8584-bb6b-465d-83a5b63f8210@restart.be> <67f0874a-6a05-67f1-3f2b-c4b3dc67fa11@FreeBSD.org> <83b823bf-c6c2-2f6a-b5dd-2e91b4d1931e@restart.be> <2c208bbc-5adc-2327-4717-a5e7c8d64b4b@FreeBSD.org> <9a15daa7-2b17-e257-d4d1-850c632a9db8@restart.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13.05.2021 18:38, Henri Hennebert via freebsd-current wrote:

> This seems a good news.
> 
> Can you replace sys/dev/rtsx.c by the latest version (2.0g) from
> https://github.com/hlh-restart/rtsx
> 
> I reduce the DELAY to 250000 and make some other updates waiting in the pipeline.
I've replaced two files in /usr/src/sys/dev/rtsx, rebuilt GENERIC kernel and it boots!

  Output WITHOUT card is like this:

pci2: <ACPI PCI bus> on pcib2
rtsx0: <2.0g Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xf4500000-0xf4500fff at device 0.0 on pci2
rtsx0: We are running with inversion: 0
rtsx0: Interrupt card inserted/removed
rtsx0: Card absent
rtsx0: No card is detected
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0


  Output WITH card is like this:

pci2: <ACPI PCI bus> on pcib2
rtsx0: <2.0g Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xf4500000-0xf4500fff at device 0.0 on pci2
rtsx0: We are running with inversion: 0
rtsx0: Interrupt card inserted/removed
rtsx0: Card present
rtsx0: A card is detected
mmc0: <MMC/SD bus> on rtsx0
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
...
mmcsd0: 16GB <SDHC SDC   1.0 SN 0000056F MFG 01/2012 by 116 JE> at mmc0 50.0MHz/4bit/2048-block
...

  No visible delays in both cases.

  Both boots are "cold", with AC cycle

-- 
// Lev Serebryakov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417a97b9-2c40-310c-c445-b193c493b880>