Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752229AbdIIRl3 (ORCPT ); Sat, 9 Sep 2017 13:41:29 -0400 Received: from mx4.wp.pl ([212.77.101.12]:57457 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751279AbdIIRl1 (ORCPT ); Sat, 9 Sep 2017 13:41:27 -0400 Date: Sat, 9 Sep 2017 19:41:21 +0200 From: Jakub Kicinski To: LKML Subject: Module removal-related regression? Message-ID: <20170909194121.39cd9f56@cakuba.netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-WP-MailID: 4756df6c841ed9cbd12c5ed8cf8d637b X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [MVNU] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 505 Lines: 16 Hi! I'm having trouble with modules on linux/master. rmmod succeeds but the module is still loaded and the refcount goes to 1: #rmmod nfp; insmod ./src/nfp.ko nfp_pf_netdev=0 ; \ /opt/netronome/bin/nfp-hwinfo -n 2 assembly.partno \ lsmod | grep nfp; \ rmmod nfp; \ lsmod | grep nfp nfp 249856 0 nfp 200704 1 If I rmmod again the module will be actually unloaded. The user space is mostly Ubuntu 14.04. Has anyone seen this? I'm trying to bisect now...