From nobody Sat Sep 30 08:54:51 2023 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 4RyLdF3S0Zz4vpSF for ; Sat, 30 Sep 2023 08:54:57 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RyLdF2yl9z3MKn for ; Sat, 30 Sep 2023 08:54:57 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696064097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dshttyWId0NrPRR5uNyF3tuO8KMVxw+nFQjyxmQgZS0=; b=eMzJXnqcxrzB24j24kol1hUN5vI1m1A9w/X8GiWemfZ9uU4AUHY45S2nSLuYiVes9zZs8s Nqk8cxK0kveYzW3bcKxKWE1YQCaIR5E5/2c38scZptkgryU7iBHNdEOw0i4F4arSv2i4lc qoP3cV2l/n/m1GgrIewEEYiHqIGzwfreo0doJCgZ8MMDsKeeZh2PfZDwN/ht14ccLejlXp 6l7MuwF+KkAUtOEqI0aBlFpMYWrgF7J7UNYuP2c7GB9aJl2/kD4d34xNc46zXiOTfniNtR biMhno6lTVo+Pgc2dhtet2a2O/31nRPqL++OMks5GmBfYJlFAW9EU/H3PUQ8Xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696064097; a=rsa-sha256; cv=none; b=apeWK/apO4d1H9+aSpdhmoO54W18CejwCtBvjP3R9Gxlh7vuha4PTAg9cS9PdroaPi/z2Y EEcZQY1zL+0pH8Irnutx0WdHGbk+pPHp6xNycyRP1AEDbOnkSNQMnCXZzMf5BJRqExvCGE F5eInW5jNkUHOFzx0cIC2aSU7iKDbyCydkulESIt99NJ/NLUcA0jRLAvDIpEjpBUJJxOvI 4ZpeltF/nLkramc7YqjxtX4631kIZJpF4sn0q42ds7Xb4+AUglGDZRtnOv+gA68ILr/Inj Ou2MXbGqY8W7exefmyUqGUSSDsby3g45JGDu3Wijwr6BIM////VsvOev5GEWfg== 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=1696064097; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dshttyWId0NrPRR5uNyF3tuO8KMVxw+nFQjyxmQgZS0=; b=dkWAeSpfzPLOZHRFC1i1YbSVWQys5uocMLaNn4JJBMU5f2w7fZypp0Ij4Ia1MnM0dNQn2S d+PFEtru5f/m8ikZSCjX25qwIsdA0g3aev4N3qbBUgThsL3y37/AFUZIlN8M8pL04YHc5i eTX8A/plbLYPyrqwB4D7NYE3zPyh/+hATz/EAaoJjbiChEQv+qJ+T1wvSuMVnUuvOt0W/G yoJW+zRsxeT6qzmlXyA2Cc1Vw5AgLuyK3QOIpj3JArpgstDnqWg3uSp/sLBDDt3FSVREw3 U7rZPp/LKLHyE1sv+e1FXZl/KzjYo6eU0aRunTValPVaQdPPDg3fKTK9+eMgjQ== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RyLdF0MR3z1SRC for ; Sat, 30 Sep 2023 08:54:57 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 48A1F8D4A175 for ; Sat, 30 Sep 2023 08:54:55 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 64D7D2D029D2 for ; Sat, 30 Sep 2023 08:54:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id gzNgD2w5mK3w for ; Sat, 30 Sep 2023 08:54:53 +0000 (UTC) Received: from strong-aiccu0.sbone.de (strong-aiccu0.sbone.de [IPv6:fde9:577b:c1a9:f491::2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 0893F2D029D1 for ; Sat, 30 Sep 2023 08:54:52 +0000 (UTC) Date: Sat, 30 Sep 2023 08:54:51 +0000 (UTC) From: "Bjoern A. Zeeb" To: FreeBSD wireless mailing list Subject: Re: iwlwifi (main) please test now - is your firmware crash gone? In-Reply-To: Message-ID: <1401s3o5-4q37-126n-11on-34p92001s41r@SerrOFQ.bet> References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Sat, 30 Sep 2023, Bjoern A. Zeeb wrote: > Hi, > > I just pushed > > URL: > https://cgit.FreeBSD.org/src/commit/?id=16e688b2a403a3dbc05de3b9f8a3132838613790 > LinuxKPI: 802.11: fix problem removing sta > > into main. Anyone on main, can you please test that the annoying > firmware crash is gone (or rather things at least improved). > > I've been running a service netif restart wlan0 / service wpa_supplicant > restart wlan0 in a loop over the morning and not hit the fw crash myself > anymore. > > There is at least one more bug lingering (likely currently mitigated by > other code; I have a local assert which got triggered once in the above > testing loop)) which I'll try to sort out the next 48 hours but any testing > now will be highly appreciated also for the upcoming 14.0-R. > > If I can get any positive feedback I'll feel more at ease merging it all > to stable/14 and stable/13. Feedback best here or on your open PR or the current "tracking" PR [1]. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274003 In case you wonder about the other problem; seems to be related to removing the node from net80211 (node_reclaim -> node_free). I'll let you know when that is fixed. Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff80cf17a1 stack pointer = 0x28:0xfffffe009076e9b0 frame pointer = 0x28:0xfffffe009076e9c0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 6700 (wpa_supplicant) rdi: fffffe00ac7c9000 rsi: fffff80001059050 rdx: 0000000000000002 rcx: fffffe008ca59c80 r8: fffff801433af948 r9: 0000000021268000 rax: deadc0dedeadc0de rbx: fffffe00ac7c9000 rbp: fffffe009076e9c0 r10: 0000000000000000 r11: 0000000000010000 r12: fffffe00ac7c9000 r13: fffffe00ac5c3638 r14: deadc0dedeadc0de r15: fffffe00ac5bd000 trap number = 9 panic: general protection fault cpuid = 0 time = 1696062479 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe009076e6f0 vpanic() at vpanic+0x132/frame 0xfffffe009076e820 panic() at panic+0x43/frame 0xfffffe009076e880 trap_fatal() at trap_fatal+0x40c/frame 0xfffffe009076e8e0 calltrap() at calltrap+0x8/frame 0xfffffe009076e8e0 --- trap 0x9, rip = 0xffffffff80cf17a1, rsp = 0xfffffe009076e9b0, rbp = 0xfffffe009076e9c0 --- node_free() at node_free+0x11/frame 0xfffffe009076e9c0 ieee80211_sta_join1() at ieee80211_sta_join1+0xbf/frame 0xfffffe009076ea10 ieee80211_sta_join() at ieee80211_sta_join+0x427/frame 0xfffffe009076ea60 ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x104/frame 0xfffffe009076eb00 ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5ce/frame 0xfffffe009076eb70 ieee80211_ioctl() at ieee80211_ioctl+0x327/frame 0xfffffe009076ebe0 ifioctl() at ifioctl+0x940/frame 0xfffffe009076ecd0 kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe009076ed30 sys_ioctl() at sys_ioctl+0x152/frame 0xfffffe009076ee00 amd64_syscall() at amd64_syscall+0x14f/frame 0xfffffe009076ef30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe009076ef30 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0xf5284d980fa, rsp = 0xf5282168fd8, rbp = 0xf5282169030 --- KDB: enter: panic [ thread pid 6700 tid 100110 ] Stopped at kdb_enter+0x32: movq $0,0xe2a6a3(%rip) -- Bjoern A. Zeeb r15:7