Re: Stack trace when removing Thunderbolt devices while kernel shutting down
From: Bjorn Helgaas
Date: Tue Feb 18 2020 - 09:22:47 EST
On Tue, Feb 18, 2020 at 02:18:40PM +0000, Nicholas Johnson wrote:
> Hi Bjorn,
> If I surprise remove Thunderbolt 3 devices just as the kernel is
> shutting down, I get stack dumps, when those devices would not normally
> cause stack dumps if the kernel were not shutting down.
> Because the kernel is shutting down, it makes it difficult to capture
> the logs without a serial console.
> In your mind, is this cause for concern? There is no harm caused and the
> kernel still shuts down. The main thing I am worried about is if this
> means that the locking around the subsystem is not strict enough.
> If you think this is worth looking into, I will try to learn about how
> the native interrupts are handled and try to investigate, and I will
> also try to get my serial console working again to capture the details.
Yes, I think this is worth looking into.