Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598627

Re: [BUG] 4.11.0-rc1 panic on shutdown X61s

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [BUG] 4.11.0-rc1 panic on shutdown X61s
Date 2017-03-12 15:00 +0100
Message-ID <tkccp-2gk-3@gated-at.bofh.it> (permalink)
References <tk4oy-5lr-3@gated-at.bofh.it> <tkakh-Zu-7@gated-at.bofh.it> <tkaNj-1px-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Mar 12, 2017 at 2:26 PM, Borislav Petkov <bp@alien8.de> wrote:
> On Sun, Mar 12, 2017 at 12:57:03PM +0100, Borislav Petkov wrote:
>> On Sat, Mar 11, 2017 at 09:37:23PM -0800, lkml@pengaru.com wrote:
>> > Hello list,
>> >
>> > Here's a photo of the panic, on imgur to be kind to vger:
>> > http://imgur.com/a/wZI32
>> >
>> > I'm out on a sailboat so can't really do much, but had a chance with internet
>>
>> So you didn't bring another box with you on the sailboat to connect it to the
>> laptop over netconsole to catch full dmesg, did you?
>
> Hahah, you're so in luck: I just sent this mail and hibernated my laptop
> and got the same BUG. What's the chance of that happening?! Apparently
> big enough.
>
> But I was able to catch the warning before it too. So the question is,
> do you have an e1000e eth controller in that machine too?
>
> Because the symptoms below are consistent with the observed behavior:
> e1000e fails to initialize MSI interrupts for whatever reason and falls
> back to legacy interrupts.
>
> Then, PCI core shuts down and BUGs because the msi_list is empty.
>
> Anyway, lemme add e1000e people too to the fun thread.
>

The only change that IMHO matters happened between v4.10 and v4.11-rc1 is this:

@@ -6276,8 +6274,8 @@ static int e1000e_pm_freeze(struct device *dev)
                /* Quiesce the device without resetting the hardware */
                e1000e_down(adapter, false);
                e1000_free_irq(adapter);
+               e1000e_reset_interrupt_capability(adapter);
        }
-       e1000e_reset_interrupt_capability(adapter);

So, it apparently misses something for the other case, like
pci_disable_msi() call or so.

P.S. I'm not PCI or e1000e guy :-)

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[BUG] 4.11.0-rc1 panic on shutdown X61s lkml@pengaru.com - 2017-03-12 06:40 +0100
  Re: [BUG] 4.11.0-rc1 panic on shutdown X61s Borislav Petkov <bp@alien8.de> - 2017-03-12 13:00 +0100
    Re: [BUG] 4.11.0-rc1 panic on shutdown X61s Borislav Petkov <bp@alien8.de> - 2017-03-12 13:30 +0100
      Re: [BUG] 4.11.0-rc1 panic on shutdown X61s Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-12 15:00 +0100
        Re: [BUG] 4.11.0-rc1 panic on shutdown X61s Borislav Petkov <bp@alien8.de> - 2017-03-12 23:30 +0100
          Re: [BUG] 4.11.0-rc1 panic on shutdown X61s Bjørn Mork <bjorn@mork.no> - 2017-03-13 18:00 +0100
            RE: [BUG] 4.11.0-rc1 panic on shutdown X61s "Brown, Aaron F" <aaron.f.brown@intel.com> - 2017-03-14 02:30 +0100
      Re: [BUG] 4.11.0-rc1 panic on shutdown X61s lkml@pengaru.com - 2017-03-12 19:30 +0100

csiph-web