Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752993AbbF3NT5 (ORCPT ); Tue, 30 Jun 2015 09:19:57 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:47939 "EHLO e06smtp14.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbbF3NTt (ORCPT ); Tue, 30 Jun 2015 09:19:49 -0400 X-Helo: d06dlp01.portsmouth.uk.ibm.com X-MailFrom: sebott@linux.vnet.ibm.com X-RcptTo: netdev@vger.kernel.org Date: Tue, 30 Jun 2015 15:19:42 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@denkbrett To: Or Gerlitz cc: Eran Ben Elisha , Or Gerlitz , Jack Morgenstein , Hadar Hen Zion , Linux Netdev List , Linux Kernel Subject: Re: mlx4: "failed to allocate default counter port 1" In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LFD 23 2013-08-11) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Registergericht?= =?ISO-8859-15?Q?=3A_Amtsgericht_Stuttgart=2C_HRB_243294=22?= MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15063013-0017-0000-0000-00000492EF9B Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1923 Lines: 49 On Tue, 30 Jun 2015, Or Gerlitz wrote: > On Tue, Jun 30, 2015 at 1:45 PM, Sebastian Ott > wrote: > > after the latest mellanox update the mlx4 driver fails to probe a VF: > > [ 88.909562] mlx4_core 0000:00:00.0: mlx4_allocate_default_counters: failed to allocate default counter port 1 err -22 > > [ 88.909564] mlx4_core 0000:00:00.0: Failed to allocate default counters, aborting > > [ 88.961735] mlx4_core: probe of 0000:00:00.0 failed with error -22 > > > > PFs still work. See below for more dmesg output - I also added a line of > > debug output...maybe this helps. > > Can you please send your "lspci | grep nox" listing? also what 0000:00:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3 Virtual Function] > Firmware version you have there? e.g when you probe the PF with > mlx4_core debug_level=1 can you sens us the lines that follow the PF > probe, e.g as here + dump of all caps as you did for the VF I have access to 2 machines and run a guest instance on both machines: * on one the guest has acccess to a PF, but VF enablement is disallowed * on the other the hypervisor controls the PF and the guests have only access to the VFs - so I cannot say much about the PF here At least I found out the FW version - it's: 2.33.5100 Regards, Sebastian > > 952.367911] mlx4_core: Mellanox ConnectX core driver v2.2-1 (Feb, 2014) > [ 952.374606] mlx4_core: Initializing 0000:06:00.0 > [ 953.384332] mlx4_core 0000:06:00.0: FW version 2.34.5000 (cmd intf > rev 3), max commands 16 > [...] > > Also send us the output of "dmesg | grep -i counter" after such verbose load. > > thanks, > > Or. > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/