From owner-freebsd-current@freebsd.org Mon Jun 15 13:31:17 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 284CD334198 for ; Mon, 15 Jun 2020 13:31:17 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49lsfr6dLfz4bHK for ; Mon, 15 Jun 2020 13:31:16 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: by mailman.nyi.freebsd.org (Postfix) id E385F334113; Mon, 15 Jun 2020 13:31:16 +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 E34D8333FB9 for ; Mon, 15 Jun 2020 13:31:16 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from bosmailout04.eigbox.net (bosmailout04.eigbox.net [66.96.187.4]) (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 49lsfr14B0z4bCW for ; Mon, 15 Jun 2020 13:31:15 +0000 (UTC) (envelope-from SRS0=j+G0yf=74=codenetworks.net=sm@eigbox.net) Received: from bosmailscan01.eigbox.net ([10.20.15.1]) by bosmailout04.eigbox.net with esmtp (Exim) id 1jkpCl-0004sM-5e for current@freebsd.org; Mon, 15 Jun 2020 09:31:15 -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: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Reply-To: Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eP9oRW+GHdbR9DAnmihXEDNaZ+2MGCXTtDitJdFJNzI=; b=vk6QpNarbaHf4iKvuSbNkr4t39 S+1ytKWbzCWJs9bLgr1ejaiJjxRvb62FaBwLF59gqXMfj6Tb7LWbP3rxLBZkMKlRGLDsWPIc9RWhg kTrCpGMfRIhUpP7KzBcpsquJGTjgQHOSUIAYpr01yoLIHABDTlzYwWzXzKgdogUGQWxGkQQ6z9Yef H05E+PrGf7gvNy2OovDPF09IBuINKyhA6gpfG+n0hI+K6Xq/s3eYALV0vbqp6+eSQ2BMx53xQfTaF aH0MaGPrgRN2QpKcDruAeAB4FnDXsMUqRlSEm4wpUgUSJE2defCzVzgoDyCyC+Gt57dQwaKXe4Mhn VOGx3u7A==; Received: from [10.115.3.31] (helo=bosimpout11) by bosmailscan01.eigbox.net with esmtp (Exim) id 1jkpCl-0001ep-22 for current@freebsd.org; Mon, 15 Jun 2020 09:31:15 -0400 Received: from bosauthsmtp12.yourhostingaccount.com ([10.20.18.12]) by bosimpout11 with id rRXB2200c0FdZ9W01RXEUH; Mon, 15 Jun 2020 09:31:15 -0400 X-Authority-Analysis: v=2.2 cv=RKvDJ8q+ c=1 sm=1 tr=0 a=wx0GOVZTcu8EuaXTIXj3VQ==:117 a=kkwQLKMA1cIZLGAtbCrT4w==:17 a=IkcTkHD0fZMA:10 a=nTHF0DUjJn0A:10 a=zXyMKnP1Z5YA:10 a=6I5d2MoRAAAA:8 a=rKwGeXDLPNT9r_oSBT4A:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 Received: from cpc96142-rdng26-2-0-cust93.15-3.cable.virginm.net ([80.5.170.94]:27647 helo=[192.168.0.100]) by bosauthsmtp12.eigbox.net with esmtpa (Exim) id 1jkpCh-0001Hu-C7; Mon, 15 Jun 2020 09:31:11 -0400 Subject: Re: Panic on mlx5en. To: Hans Petter Selasky , FreeBSD Current References: <1bf2ffc5-386a-c0fa-4cc1-246892da3a38@codenetworks.net> <37677b81-0984-d6f4-9a6d-ebe94957ce47@selasky.org> From: Santiago Martinez Message-ID: <5bfad49a-5b74-1947-c6bb-9d9a20f472be@codenetworks.net> Date: Mon, 15 Jun 2020 14:31:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <37677b81-0984-d6f4-9a6d-ebe94957ce47@selasky.org> 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: 49lsfr14B0z4bCW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=codenetworks.net header.s=dkim header.b=vk6QpNar; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=j@eigbox.net designates 66.96.187.4 as permitted sender) smtp.mailfrom=SRS0=j@eigbox.net X-Spamd-Result: default: False [-2.56 / 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)[]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18]; NEURAL_HAM_LONG(-1.02)[-1.021]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[codenetworks.net: no valid DMARC record]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[codenetworks.net:~]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[66.96.187.4:from]; NEURAL_HAM_SHORT(-0.56)[-0.562]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=j@eigbox.net]; RECEIVED_SPAMHAUS_PBL(0.00)[80.5.170.94:received]; 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] 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 13:31:17 -0000 Hi Peter, yes Im using the latest one. Santi On 2020-06-15 12:26, Hans Petter Selasky wrote: > On 2020-06-15 11:12, Santiago Martinez wrote: >> 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 >> > > Are you using the latest version of kernel & mlx5en as of today? There > was a regression issue with the rbtree.h implementation which recently > was fixed. > > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"