From owner-freebsd-current@freebsd.org Mon Jun 15 09:12:37 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92AD732D10A for ; Mon, 15 Jun 2020 09:12:37 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49llwP2htsz4KcJ for ; Mon, 15 Jun 2020 09:12:37 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: by mailman.nyi.freebsd.org (Postfix) id 5C6C132D108; Mon, 15 Jun 2020 09:12:37 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C28A32D107 for ; Mon, 15 Jun 2020 09:12:37 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from bosmailout06.eigbox.net (bosmailout06.eigbox.net [66.96.189.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49llwN48Dlz4Kql for ; Mon, 15 Jun 2020 09:12:36 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from bosmailscan12.eigbox.net ([10.20.15.12]) by bosmailout06.eigbox.net with esmtp (Exim) id 1jklAR-0001xy-Of for current@freebsd.org; Mon, 15 Jun 2020 05:12:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codenetworks.net; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jxsjDpFx67nfC8ehpaHXHy51l1ihCTimvNdEogu1sG4=; b=CnZ6+UYS6ak+POLFQUpUZjwzhO IxTyPpVZxn1Dzrx5FKuIHG6AHiQUH2Y00BecBdvjl6BBDMo/pbnFzXlGcOTxzDQF3sGKcW/mDn30Z NkTXJ5XmAxfELEcXxlQNp1YNZfCYOA24DaXwkScyNL4CitiyKOIUbUK6A45wQvasd8UXVdtn+FstS bYLaLKJUFrV0iWsoKppuAqkNbZfaaPHRw4bo3nggFc+TBY10uaI4Xp+iEUpEETvCoH6ONA70jchsA KM+KMwhINGeGfRL6UGGqB6MDBh/oy7yFwzD/v6nmVjuBkGI234sqtDO3epzEMrtswJsLrXZOXzZz/ PAm17YgQ==; Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan12.eigbox.net with esmtp (Exim) id 1jklAM-0005fW-KS for current@freebsd.org; Mon, 15 Jun 2020 05:12:30 -0400 Received: from bosauthsmtp12.yourhostingaccount.com ([10.20.18.12]) by bosimpout13 with id rMCT220050FdZ9W01MCWyj; Mon, 15 Jun 2020 05:12:30 -0400 X-Authority-Analysis: v=2.2 cv=fPhJ5dSe c=1 sm=1 tr=0 a=wx0GOVZTcu8EuaXTIXj3VQ==:117 a=kkwQLKMA1cIZLGAtbCrT4w==:17 a=IkcTkHD0fZMA:10 a=nTHF0DUjJn0A:10 a=zXyMKnP1Z5YA:10 a=SL0ElOo6BE46HkWlXfoA:9 a=QEXdDO2ut3YA:10 Received: from cpc96142-rdng26-2-0-cust93.15-3.cable.virginm.net ([80.5.170.94]:19248 helo=[192.168.0.100]) by bosauthsmtp12.eigbox.net with esmtpa (Exim) id 1jklAJ-0004KH-6B for current@freebsd.org; Mon, 15 Jun 2020 05:12:27 -0400 To: FreeBSD Current From: Santiago Martinez Subject: Panic on mlx5en. Message-ID: <1bf2ffc5-386a-c0fa-4cc1-246892da3a38@codenetworks.net> Date: Mon, 15 Jun 2020 10:12:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EN-UserInfo: d3bdfab0736480cedf04ed92aaea2ef5:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: sm@codenetworks.net Sender: Santiago Martinez X-EN-OrigIP: 80.5.170.94 X-EN-OrigHost: cpc96142-rdng26-2-0-cust93.15-3.cable.virginm.net X-Rspamd-Queue-Id: 49llwN48Dlz4Kql X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=codenetworks.net header.s=dkim header.b=CnZ6+UYS; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=j@eigbox.net designates 66.96.189.6 as permitted sender) smtp.mailfrom=SRS0=j@eigbox.net X-Spamd-Result: default: False [-1.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[codenetworks.net: no valid DMARC record]; NEURAL_HAM_LONG(-0.90)[-0.896]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.81)[-0.811]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[codenetworks.net:~]; NEURAL_HAM_SHORT(-0.18)[-0.177]; RCVD_IN_DNSWL_NONE(0.00)[66.96.189.6:from]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=j@eigbox.net]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.96.189.6:from]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29873, ipnet:66.96.128.0/18, country:US]; TAGGED_FROM(0.00)[G0yf=74=codenetworks.net=sm]; FROM_NEQ_ENVFROM(0.00)[sm@codenetworks.net,SRS0=j@eigbox.net]; RECEIVED_SPAMHAUS_PBL(0.00)[80.5.170.94:received] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2020 09:12:37 -0000 Hi everyone, while doing some tests for an MRSAS panic I hit another one on mlx5en. The device is a LenovoSR655 with 2xMellanox NIC. 1 - Mellanox CX-4 Lx 10/25GbE SFP28 2-port OCP Ethernet Adapter 2 - Mellanox CX-4 Lx 10/25GbE SFP28 2-port PCIe Ethernet Adapter This only happens only with current, tried different snapshots and the same in all. On 12.1 works without a problem. Trace (please not that is OCR+ manual corrections): Tracing pid 2288 tid 182178 td @8xfffffeB385fe6500 kdb_enter() at kbd_inter+0x37/frame 0xfffffe0386030ba0 vpanic() at vpanic+0x19e/frame 0xfffffe0386030bf0 panic() at panic+0x43/frame 0xfffffe038630c50 trap_fatal() at trap_fatal+0x387/frame 0xfffffe0386030cb0 trap() at trap+0x80/frame Bxfffffe0386030dc0 calltrap() at calltrap+0x80/frame Bxfffffed386830dc0 --- trap 0x9, rip = 0xfffffff8275c060, rsp = 0xfffffe0386030e90, rbp = 0xfffffe0386030e90 --- linux_root_RB_INSERT_COLOR() at linux_root_RB_INSERT COLOR+0x40/frame 0xfffffe0386030f60 give_pages() at give pages+0x163/frame 0xfffffe0386830f20 mlx5_satisfy_startup_pages() at mlx5_satisfy_startup_pages+0x76/frame 0xfffffe0386030f60 mlx5_load_one () at mlx5_load_one+0x6b7/frame 0xfffffe0386031080 init_one() at init_one+0x12d5/frame 0xfffffe03860310f0 linux_pci_attach_device() at linux_pci_attach device+0x573/frame 0xfffffe0386031150 device_attach() at device_attach+0x3ca/frame 0xfffffe0386031190 device_probe_and_attach() at device_probe_and_attach+0x70/frame 0xfffffe03860311c0 pci_driver_added() at pci_driver_added+0xf6/frame 0xfffffe0386031200 devclass_driver_added() at devclass_driver_added+0x39/frame 0xfffffe0386031240 devclass_add_driver() at devclass_add_driver+0x147/frame 0xfffffe0386031280 _linux_pci_register_driver() at _linux_pci_register_driver+0xc9/frame 0xfffffe03860312a0