From nobody Mon Mar 30 18:34:35 2026 X-Original-To: freebsd-arm@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 4fl0FC6ghjz6XDm0 for ; Mon, 30 Mar 2026 18:31:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fl0FB09PHz3rmf; Mon, 30 Mar 2026 18:31:09 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 62UIYZu9083829 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 30 Mar 2026 11:34:35 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 62UIYZlu083828; Mon, 30 Mar 2026 11:34:35 -0700 (PDT) (envelope-from fbsd) Date: Mon, 30 Mar 2026 11:34:35 -0700 From: bob prohaska To: Adrian Chadd Cc: Mark Millard , freebsd-arm@freebsd.org Subject: Re: -current network buffer exhaustion on RPi2 armv7 Message-ID: References: <0b6093e0-400c-4e0d-a674-d7b425e7a910@yahoo.com> <5860d6e0-4961-4725-be71-26769bab9d90@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.07 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.966]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_WWW(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[yahoo.com,freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4fl0FB09PHz3rmf X-Spamd-Bar: - The Raspberry Pi 2B (armv7) has been updated and it looks like the messaging, if not the problem, has changed. After boot, wifi works for a while (hours) after which the connection drops: Mar 30 07:17:17 generic ntpd[4019]: error resolving pool 2.freebsd.pool.ntp.org: Name could not be resolved at this time (2) Mar 30 07:18:23 generic syslogd: last message repeated 1 times Mar 30 07:57:52 generic named[3900]: creating IPv4 interface wlan0 failed; interface ignored Mar 30 08:57:52 generic syslogd: last message repeated 1 times Mar 30 09:57:52 generic syslogd: last message repeated 1 times Mar 30 10:57:52 generic syslogd: last message repeated 1 times # ifconfig wlan0 down Mar 30 11:00:11 generic syslogd: last message repeated 1 times Mar 30 11:00:11 generic dhclient[5255]: My address (192.168.1.12) was deleted, dhclient exiting # Mar 30 11:00:13 generic dhclient[5255]: connection closed Mar 30 11:00:13 generic dhclient[5255]: exiting. # ifconfig wlan0 up run0: firmware RT3071 ver. 0.33 loaded # Mar 30 11:00:21 generic named[3900]: creating IPv4 interface wlan0 failed; interface ignored Mar 30 11:00:24 generic wpa_supplicant[3364]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address Mar 30 11:00:30 generic named[3900]: creating IPv4 interface wlan0 failed; interface ignored I think the "...creating IPv4..." message is new. The subsequent wlan0 down/up cycle restores the connection, despite the error messages following the ifconfig up, but it quickly fails if unused. In this case the failure took only a few minutes. The machine is now at # uname -apKU FreeBSD generic 16.0-CURRENT FreeBSD 16.0-CURRENT #25 main-n284746-b65e7b4944cc: Sat Mar 28 14:31:28 PDT 2026 bob@generic:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600014 1600014 # Thanks for reading, please let me know if there are any useful experiments to be performed. bob prohaska From nobody Fri Apr 3 02:04:14 2026 X-Original-To: freebsd-arm@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 4fn28m3y5Yz6WYZv for ; Fri, 03 Apr 2026 02:04:24 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fn28l0dmNz3Brl; Fri, 03 Apr 2026 02:04:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 63324EPJ002129 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 2 Apr 2026 19:04:15 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 63324EZP002128; Thu, 2 Apr 2026 19:04:14 -0700 (PDT) (envelope-from fbsd) Date: Thu, 2 Apr 2026 19:04:14 -0700 From: bob prohaska To: Alex Samorukov Cc: freebsd-arm@freebsd.org Subject: Re: [Bug 292695] rpi3b+ muge0 panic on shutdown Message-ID: References: <4cf31d54-c952-41f4-9c19-c9fbc7140c5d@yahoo.com> <1dceddd0-65a6-43be-8284-7ce80b4ac4c0@freebsd.org> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spamd-Result: default: False [-1.04 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.95)[-0.945]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_WWW(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[zefox.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4fn28l0dmNz3Brl X-Spamd-Bar: - On Mon, Feb 02, 2026 at 08:16:44AM -0800, bob prohaska wrote: > On Mon, Feb 02, 2026 at 04:06:39PM +0100, Alex Samorukov wrote: > > > > On 02.02.2026 15:30, bob prohaska wrote: > > > > > > This seems like a promising clue but I have no idea how to > > > > > > exploit it. Can anyone suggest experiments? > > > > > > > > > > > > Thanks for reading, > > > > > > > > > > > > bob prohaska > > > > > Did you tried it with my patch or w/o it? > > > Without. The sources are unmodified. > > Ah, okay, so wrong subject :) I was confused > > > > > > > > I also found that leds are > > > > > broken in if_muge.c because of broken FDT binding. Thinking how to do a > > > > > better patch. > > > > > > > > By "leds", do you mean those on the Ethernet jack, or the red/green LEDs > > > signifying power and activity? > > > > > Ethernet jack. They are dead silent on rpi 3b+,  because of wrong fdt. > > > > I did another patch for smcs which i feel is in use for on the rpi2: > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290417 > > Looks like it works. No crash on shutdown, ethernet connected or not. Any hint when this patch will be merged into -current? A Pi2 armv7 at FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #34 main-n284745-6cc99baea607: Thu Apr 2 09:53:47 PDT 2026 bob@pelorus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600014 1600014 still crashes on shutdown Thanks for reading! bob prohaska From nobody Fri Apr 3 04:06:43 2026 X-Original-To: freebsd-arm@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 4fn4t44PrQz6Wmjq for ; Fri, 03 Apr 2026 04:06:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fn4t42D8Zz3LDJ for ; Fri, 03 Apr 2026 04:06:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1775189205; bh=UvnS4W4cqS7UK0pgddmfbHaooa8VggsgeesJeu1VFG0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=W3lK+tU3wvUsTYJCTNTTnb/Ll/W1VtWFn+AlWOkApplw53/qgbhRIMyMlLqLbzhKfJ41BhxtTz7WvjzwXNNICJsx0jd/8nfJoyCuWDng0wtgjeFaK79/rR9duzg5SqAOLC9Ie0gUejrFjxbI5bAsadHnTVtrH91uecAJcW+/f5BwzvFAPpOeWiB0T3ty/o+Ga4GSer/atcwI0SLYvHa0/uiSsKBJS0jaqUWv1c6ApDfiy+alYGJafkTttZiOicpmU4rf1OPTcWXo21crTs+VvsnYJeW/Gig+hdMyDtSHNLbAss+IPEokpy+K5WKQ8zNtCsKbXgtyxSfbfnhIwgveqA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1775189205; bh=Oalx+KlSClkEXXZ16EbCTTvsRX2trON9aSbz0wfs0SG=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=C+eO9H7N6mJF6zxcDYb1twArLkVl77zRiomkQft0utOKPWsGACbONIY6Qu4ySgAL1m1aLRR2a6h3FbJsq7SMn/JhXbdNVCm9rj4bTrKLE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V6uluaTsSNHBItF2nd0ZdDDmfYp91iTuB8jPpm3EY fXskg9DtUsZqxzvmLruttne7TLVnrt382jF3_EaVO6AlcEMaCLCBVt_oKl869n2qlpPfy8vs3_rH fArTVA8dnGV3HMGxl02q60nQLU9cRp61UgvV.5Hr59QpWhJV1_i2G1LzZRj8gbKhSUATXlnjoedS _x1o4s9UI8OeKYrX4ClXTyLZZyhOeGfBIyL6R1FfVhjg4TKDGnmTyd7FzONzHsPDIJrxYf5NkG5p LQht_rz0DSlc5lgPz8wapBFyt7pfXnDBtUFV78RfXec1KHA54jLSdx1yn2eGsr79ExrICLrAzAqC LFAY8rV6DmZP1nie.1D_V.z1GLSdp9jcQmaykCLnVORQ21t.Gr34SenaXtARincTmwMff86WtPrm Yv8TfdLVv4frcDo1TLvDNL1BJlmR4HAqWAPgmAjaitVq9Monnmaa_goU- X-Sonic-MF: X-Sonic-ID: 2fe19e28-6bd3-476f-8e91-c86bd7b700e7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Fri, 3 Apr 2026 04:06:45 +0000 Received: by hermes--production-gq1-6dfcf9f8b-wlvbp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5c35a69480031e17b2c10c7503558745; Fri, 03 Apr 2026 04:06:44 +0000 (UTC) Message-ID: <6307c3da-6050-4bc4-8291-e0890997e22e@yahoo.com> Date: Thu, 2 Apr 2026 21:06:43 -0700 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Bug 292695] rpi3b+ muge0 panic on shutdown [RPi2B smcs bugzilla 290417 actually/as-well] To: bob prohaska , Alex Samorukov Cc: freebsd-arm@freebsd.org References: <4cf31d54-c952-41f4-9c19-c9fbc7140c5d@yahoo.com> <1dceddd0-65a6-43be-8284-7ce80b4ac4c0@freebsd.org> Content-Language: en-US From: Mark Millard In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.25495 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4fn4t42D8Zz3LDJ X-Spamd-Bar: ---- On 4/2/26 19:04, bob prohaska wrote: > On Mon, Feb 02, 2026 at 08:16:44AM -0800, bob prohaska wrote: >> On Mon, Feb 02, 2026 at 04:06:39PM +0100, Alex Samorukov wrote: >>> >>> On 02.02.2026 15:30, bob prohaska wrote: >>>>>. . . >>> I did another patch for smcs which i feel is in use for on the rpi2: >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290417 >> >> Looks like it works. No crash on shutdown, ethernet connected or not. > > Any hint when this patch will be merged into -current? A Pi2 armv7 at > FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #34 main-n284745-6cc99baea607: Thu Apr 2 09:53:47 PDT 2026 bob@pelorus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600014 1600014 You might want to also put such questions in the bugzilla entry/entries that are appropriate to specific crashes, indicating the interest where the fix is. You probably should be careful to reference the dongle type involved if the RPi* works with other dongle types (presuming a dongle is even involved). But, if I remember right, smcs is internal to the RPi2B and, so, dongle independent in the specific case here. I've added Subject text for this message to make seeing the message clearer about the context it is for: it is not about RPi3B+ muge0 of itself. Making subjects give some identification of such a context distinction for a context switch makes finding/noticing things easier. > > still crashes on shutdown > > Thanks for reading! > > bob prohaska > > > -- === Mark Millard marklmi at yahoo.com