Skip to contentSkip to conversation

e1000e: x86: e1000 driver trying to free already-free irq.

PATCH New Neftin 1 participant 1 message Nov 29, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 630A6B92B7EDEB45A87E20D3D286660153E3F990@hasmsx109.ger.corp.intel.com

Neftin

#1 lore raw

PATCH 1/1 e1000e: x86: e1000 driver trying to free already-free irq.

-------- Forwarded Message --------
Subject: FW: [PATCH] e1000e: x86: e1000 driver trying to free already-free irq.
Date: Tue, 29 Nov 2016 09:54:40 +0200
From: Neftin, Sasha <[email protected]>
To: Neftin, Sasha <[email protected]>

Skype Me???! -----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of David Singleton -X (davsingl - MONTA VISTA SOFTWARE INC at Cisco)
Sent: Thursday, November 24, 2016 5:18 AM
To: Brown, Aaron F <[email protected]>
Cc: David Singleton -X (davsingl - MONTA VISTA SOFTWARE INC at Cisco) <[email protected]>; intel-wired-lan at lists.osuosl.org; Khalid Mughal (khalidm) <[email protected]>
Subject: Re: [Intel-wired-lan] [PATCH] e1000e: x86: e1000 driver trying to free already-free irq.

Any further status on getting this fix into kernel.org?

Quoted 21 lines · Aaron F
Quoted 20 lines

From: netdev-owner at vger.kernel.org [mailto:netdev-
owner at vger.kernel.org] On Behalf Of David Singleton
Sent: Monday, October 17, 2016 9:51 AM
To: Kirsher, Jeffrey T <[email protected]>
Cc: khalidm <[email protected]>; intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org; linux-kernel at vger.kernel.org
Subject: [PATCH] e1000e: x86: e1000 driver trying to free already-free irq.

From: khalidm <[email protected]>

During systemd reboot sequence network driver interface is shutdown by e1000_close. The PCI driver interface is shut by e1000_shutdown. The e1000_shutdown checks for netif_running status, if still up it brings down driver. But it disables msi outside of this if statement, regardless of netif status. All this is OK when e1000_close happens after shutdown. However, by default, everything in systemd is done in parallel. This creates a conditions where e1000_shutdown is called after e1000_close, therefore hitting BUG_ON assert in free_msi_irqs.

Quoted 8 lines
Quoted 6 lines

Cc-Id: xe-kernel at external.cisco.com

---
drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan at lists.osuosl.org
http://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Hello David,
I would like recommend do not change kernel code in this moment. This is very sensitive for a driver state machine and we afraid from opening lot of issues. As I know hit on BUG_ON happen on very old NIC. Our more new NIC do not experienced such problem.
What is the NIC you use? Do you experience problem with another ours NIC, igb for example?
Sasha