Date: Thu, 13 May 2021 17:38:12 +0200 From: Henri Hennebert <hlh@restart.be> To: lev@FreeBSD.org, 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: <9a15daa7-2b17-e257-d4d1-850c632a9db8@restart.be> In-Reply-To: <2c208bbc-5adc-2327-4717-a5e7c8d64b4b@FreeBSD.org> References: <a7363387-c53f-d6c0-acc0-be9081590ea1@FreeBSD.org> <e49c4a5e-d567-522b-c60c-59faa054c807@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9a15daa7-2b17-e257-d4d1-850c632a9db8>