From nobody Sun Apr 14 15:36:17 2024 X-Original-To: wireless@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 4VHZCQ2ctvz5GnZy for ; Sun, 14 Apr 2024 15:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VHZCQ1bhYz4L7p for ; Sun, 14 Apr 2024 15:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713108978; a=rsa-sha256; cv=none; b=iVw60Dcy1agKaY4aBRbWTiNqw0whihPdTZESOzxl9IstqlKI5y6tZaFbPaW4LRRtt6GzJo 0a9DArKqQWaoT0PmHaoyNZKE+w8yH2JK1JoVZ/dnIubLIypdGCEmVOv29aVdfTUdExkrTn M9xhViZC0+UUQ14KpAK2BbA0Pvbjz4H46WlT+/z7LhKr4jqpcwCYVlSD5HlPmyN+5ObWAd Pq0OcCGsBxZ303J3+OmP11TcwcTlyEgVT2nvU+Ycku2Rf5ajWgMhHcgCAk8hsZpGJ844Bk X0PbOfBkN1WUlCeKsFRnVJMNTBvFFh0g4OFPBm8sxVb1dccYQBFH5x+/fbWg9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713108978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HjTQccw1a5OsffFkJupmIhopXmyK3RS9byqEkEVNciQ=; b=kX80E7nf1FPzHXOCdc534QHUD5hbUx2BdtPRZ5IUEiaywgNXE89B9ySzzU8oQQGcZqX/f1 YuVmkswSpFGLGKKVkGjTHqwp5I7Wf3kmn1iM1Q/FSWg9AkqU3oa7NUmP4S4HFyfBwmFB2V 2bpiuSqZN3uqVB29wmlfBjKgzkGwAXgaKpvFOuQuzOp4YICrxv5BqTqRz0AE1mYOHsKoYP EQxeZA8jLD2QZ6vi73LV7Cdf0bgAEYPJ5MkGSUreAGGO4NprwsajwYT58lMiIGOMfetMdg svwfaeMv11qH/5u/npI9WEUALyh8JnADVNRzvDTw54HWspAPhz4vUkTNbewoPg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VHZCQ1CfszMPL for ; Sun, 14 Apr 2024 15:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43EFaILW013224 for ; Sun, 14 Apr 2024 15:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43EFaI3U013223 for wireless@FreeBSD.org; Sun, 14 Apr 2024 15:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 263632] iwlwifi(4) crashes (freezes) a few seconds after resuming from sleep (suspend/resume not working; workaround known for now) Date: Sun, 14 Apr 2024 15:36:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jon@xyinn.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263632 --- Comment #37 from Jonathan Vasquez --- Hey Bjoern, I'm on stable/14 (FreeBSD leslie 14.0-STABLE FreeBSD 14.0-STABLE #0 stable/14-n267200-50f771371356: Sat Apr 13 20:23:30 EDT 2024=20=20=20=20 root@leslie:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64) and have some updates. 1. I re-transferred that 684 MB file from my home NAS again using the wirel= ess card and instead of it taking 14m, it now only took 5m48s, so a big improvement. Doing some basic 'ls -lh' while it was transferring, it was basically transferring at about 2 MB per sec. 2. After the above, I tested sleep/resume. The system came back up without crashing, but the internet connection was broken even though 'ifconfig' said that it was associated to the network. I then did 4 more sleep/resume in sequence to see if the system would crash. It didn't :). 3. After those tests were done, I then tested tear down since I remember we mentioned that the iwlwifi driver/card doesn't like being teared down and it could crash. So I first did a `service netif restart && service routing restart` and the internet worked again (doing netif alone wasn't enough, I needed routing as well.. most likely because I'm using a static ip configuration: wlans_iwlwifi0=3D"wlan0" ifconfig_wlan0=3D"WPA inet 192.168.1.101 netmask 255.255.255.0" ifconfig_wlan0_ipv6=3D"inet6 accept_rtadv" defaultrouter=3D"192.168.1.1" create_args_wlan0=3D"country US regdomain FCC" I then did two more sleep/resume and it didn't crash (but internet broke again). 4. After this, I stress tested the tear down by doing the netif/routing restarts 8 more times in a row. It did not crash. This is all good news and is an indication that your stability fixes are working, although I'll need to use it throughout the days/weeks more to see= how stable it actually is. I'll be trying to play around with if_lagg and seeing how well it works for failover recovery between my ethernet interface that'= s on an type c dongle and the built in Intel AX210 wireless card, so I can more easily switch between locations at home ;). I did hear that FreeBSD's network stack in general is at an 802.11g level so regardless of what the driver is (Atheros, Intel, etc), the maximum speed w= ill be at g speeds. Do you know what's the status with upgrading FreeBSD's wifi stack to 802.11n/ac/ax? I believe I read in one of the recent FreeBSD foundation reports that more investments will start occurring for the wireless network stack specifically. If you ha= ve any links where I can read more up on that, that would be helpful. Other info (also attached dmesg-2024-04-14-1136): wlan0: flags=3D8843 metric 0 mtu 15= 00 options=3D0 ether c8:15:4e:aa:6d:92 inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::ca15:4eff:feaa:6d92%wlan0 prefixlen 64 scopeid 0x2 groups: wlan ssid channel 40 (5200 MHz 11a) bssid c8:7f:54:b5:d5:f4 regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 3:128-bit txpower 17 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a status: associated nd6 options=3D23 - Jonathan --=20 You are receiving this mail because: You are on the CC list for the bug.=