CURRENT crashes at early boot on Lenovo T540p: rtsx to blame - 13.0-RELEASE crashes same way!
Henri Hennebert
hlh at restart.be
Thu May 13 15:38:17 UTC 2021
On 5/13/21 5:09 PM, Lev Serebryakov wrote:
> On 13.05.2021 17:22, Henri Hennebert wrote:
>
>>>>>> try to rebuild your kernel with the attached patch.
>>>>> Nope, same panic after cold (power-cycle) boot.
>>>>
>>>> Can you try with "DELAY(500000);"
>>>>
>>>> to see if this is a path to dig further.
>>>
>>> It helps with panic!
>>
>> What do you mean? Does it display "card present" before the interrupt ?
> It doesn't panic, boots and works more than 500 seconds :-)
>
> Output is like this:
>
> pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> rtsx0: <2.0c Realtek RTS5227 PCI MMC/SD Card Reader> mem 0xf4500000-0xf4500fff
> at device 0.0 on pci2
> rtsx0: Interrupt card inserted/removed
> rtsx0: Card absent
> rtsx0: Card absent
> pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
> pci3: <ACPI PCI bus> on pcib3
>
> (no visible pause between two "Card absent" lines).
>
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.
Thank you for your time
Henri
More information about the freebsd-current
mailing list