From nobody Tue Jun 08 06:57:52 2021 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A06187C8BE4 for ; Tue, 8 Jun 2021 06:58:02 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fzgzs1tkyz3G3C; Tue, 8 Jun 2021 06:58:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 1586vqxg035118 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 8 Jun 2021 08:57:52 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202105; t=1623135472; bh=SPT0EBWIveXVFp59V7r55hhEgUKcquqBmWu9lukT6I4=; h=From:Subject:To:Cc:Date; b=c9x4Ls1GVxFW+6qCFKUDDt7c2YxPHJLF20StC0xRzRppMIbHW494t3Cl9znpVhQSR BD1r6CNMoYAzsOIazeJcKKD7PGHLXXn1dh/5dm7tQREjl8r0gjUuEefvRJFzCg0goZ N8i2Vw2ulsQbDN2x8U+rxpdJjn4Ol+pCIGsOrXzQ= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu From: Andrea Venturoli Subject: net/realtek-re-kmod panics with debug kernel To: ale@FreeBSD.org Cc: net@freebsd.org Message-ID: <348988c4-2675-ccb0-f264-c90164d6cb81@netfence.it> Date: Tue, 8 Jun 2021 08:57:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Fzgzs1tkyz3G3C X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202105 header.b=c9x4Ls1G; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202105]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[netfence.it:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[net]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hello. I've got a 12.2/amd64 desktop pc with the following on the motherboard: > re0: port 0xe000-0xe0ff mem 0xf7404000-0xf7404fff,0xf7400000-0xf7403fff irq 33 at device 0.0 on pci4 Unfortunately it's not easy to plug a new PCI NIC into it, and since re0 tends to hang on load, I'm using the driver from ports. (See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208205) Yesterday I compiled a kernel with all debug features in order to analyze some (probably unrelated) deadlock. Alas, with such features enabled, the machine panics at boot with: > _mtx_lock_sleep: recursed on non-recursive mutex re0 0 if_re.c:7085 I don't have full data now, but I can reproduce and try to get it, if it's useful. Is it worth opening a bug report? bye & Thanks av.