Return-path: Received: from mail2.candelatech.com ([208.74.158.173]:57918 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751858AbdJJTnL (ORCPT ); Tue, 10 Oct 2017 15:43:11 -0400 Subject: Re: ath10k hang on rmmod after fw crash in 4.13.3+ hacks To: "linux-wireless@vger.kernel.org" , ath10k References: From: Ben Greear Message-ID: <8ee59286-42a6-7396-d420-185fefd72b57@candelatech.com> (sfid-20171010_214332_773217_3087FC8D) Date: Tue, 10 Oct 2017 12:43:11 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 10/10/2017 12:07 PM, Ben Greear wrote: > I loaded a crashing firmware (it crashes early since it ran OOM), and > then tried to rmmod it. rmmod hangs, with this stack: Looks like this is a hang related to napi, and I had a patch from an older kernel that is probably not needed anymore...maybe it causes the issue. I'll test with that removed... Thanks, Ben > > [root@ben-ota-2 ~]# cat /proc/32491/stack > [] flush_work+0x1fd/0x2d0 > [] __cancel_work_timer+0x111/0x190 > [] cancel_work_sync+0xb/0x10 > [] ath10k_core_unregister+0x14/0xa0 [ath10k_core] > [] ath10k_pci_remove+0x2d/0x70 [ath10k_pci] > [] pci_device_remove+0x34/0xb0 > [] device_release_driver_internal+0x158/0x210 > [] driver_detach+0x3b/0x80 > [] bus_remove_driver+0x53/0xd0 > [] driver_unregister+0x27/0x40 > [] pci_unregister_driver+0x24/0x90 > [] ath10k_pci_exit+0x10/0x6ee [ath10k_pci] > [] SyS_delete_module+0x1e1/0x2a0 > [] do_syscall_64+0x64/0x140 > [] entry_SYSCALL64_slow_path+0x25/0x25 > [] 0xffffffffffffffff > -- Ben Greear Candela Technologies Inc http://www.candelatech.com