From owner-freebsd-wireless@freebsd.org Sun Feb 28 21:00:29 2021 Return-Path: Delivered-To: freebsd-wireless@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 914B054A723 for ; Sun, 28 Feb 2021 21:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpbQ52LRKz4vFp for ; Sun, 28 Feb 2021 21:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3DF0354A880; Sun, 28 Feb 2021 21:00:29 +0000 (UTC) Delivered-To: wireless@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 3D34C54A5D9 for ; Sun, 28 Feb 2021 21:00:29 +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 4DpbQ46Xg3z4vKZ for ; Sun, 28 Feb 2021 21:00:28 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 BB7D9178CF for ; Sun, 28 Feb 2021 21:00:28 +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 11SL0SBC020779 for ; Sun, 28 Feb 2021 21:00:28 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11SL0SvQ020778 for wireless@FreeBSD.org; Sun, 28 Feb 2021 21:00:28 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202102282100.11SL0SvQ020778@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 28 Feb 2021 21:00:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 21:00:29 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 237921 | wpi: Memory leak in function wpi_free_tx_ring of Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 236918 | Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node Open | 238636 | ath: Fix kernel addresses printed in if_ath_sysct Open | 240776 | iwm: Can't find wifi networks after short time si 5 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Wed Mar 3 02:51:19 2021 Return-Path: Delivered-To: freebsd-wireless@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 50E2355A9CA for ; Wed, 3 Mar 2021 02:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dqz5z1gVKz4W4p for ; Wed, 3 Mar 2021 02:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3957855A173; Wed, 3 Mar 2021 02:51:19 +0000 (UTC) Delivered-To: wireless@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 3920255A172 for ; Wed, 3 Mar 2021 02:51:19 +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 4Dqz5z161wz4WWm for ; Wed, 3 Mar 2021 02:51:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 191B621E5B for ; Wed, 3 Mar 2021 02:51:19 +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 1232pJQN027884 for ; Wed, 3 Mar 2021 02:51:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1232pJm4027883 for wireless@FreeBSD.org; Wed, 3 Mar 2021 02:51:19 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 253970] 13.0-BETA4: changing mac address makes operation stop on if_cdce. Date: Wed, 03 Mar 2021 02:51:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ish@amail.plala.or.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 02:51:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253970 Bug ID: 253970 Summary: 13.0-BETA4: changing mac address makes operation stop on if_cdce. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: ish@amail.plala.or.jp I tested cdce driver with Planex USB-LAN2500R usb nic on 13.0-BETA4 and 14-current main-b5449c92b. If I changed mac address of ue0, it stopped operation. And cdce driver has no media and mediaopt parameters of ifconfig command. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed Mar 3 10:27:35 2021 Return-Path: Delivered-To: freebsd-wireless@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 0A274565C10; Wed, 3 Mar 2021 10:27:35 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dr9DQ0tPyz3GPN; Wed, 3 Mar 2021 10:27:33 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-ej1-x62b.google.com with SMTP id jt13so41197387ejb.0; Wed, 03 Mar 2021 02:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=uR4nCr/UsJcDzwg37BNXJKj55usqTF+mPK5tdkf3L+E=; b=I+whmIheryKPXvvIP5k3LlVYqWOvX4jLFI4drd4X+8NVSgQb6ohoNes5gzmpyr7RCw 7XEfAjEWNEfi+7nWjWwEQr+8rOu/Stw/GepsckCWlYI0WquOeK7OBxN6Fuj4bxkbxrtJ 3zN9fgZ50p4JX5rMJH4YTlXle8+v2ZbilzjtnzzADGFOcHy3xIuLsLBr8PVNjsBJaiDC 2Ul5W7MftsiSczB2zHnROOp+SKnenQxvyahgTM/+EgPbS31zkvVi7V2oy37p+GGDUgn2 cU3CTrvx32kc92pAcrQoZfE1XtMVtdWgKTIB1iSsfShl/LadVKwwdV8b08eCFmm3jam/ rweg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=uR4nCr/UsJcDzwg37BNXJKj55usqTF+mPK5tdkf3L+E=; b=Gh6usEp8Sa0lOA3dsCNpq8Xyu1ZfAmWXho9wVtZRBK2F+tjJAgIUxRK/DmbizwbVmI IxzZ4+RWZtp/j8AQpWG2HMDvm9WDd2kkNxWyttryT5L71c7WE0AMbj81JEEsDkeqQki3 DyPBUhcuemrtt16s1Fs3OZMzCyfwiGdSWX9dgd+pCJnH6mcJE43M4sXMXA9TX59YRG6+ jihBsbg0AsUR32aKgGW9XbHjOMRq9Gh9jS3rWlf3OHy4mZD3Ck4H/eeSdRYNo41sUPVP 9LC4ev5dcVILAt6ucuzZKIyjTc6XfenusOK++jbjnq63RTJFCSiY8THXzvEjqlhs7cPl UyHg== X-Gm-Message-State: AOAM530HA00Y62sOyuuWRk4t6hetb1qEY7yZ0/Fr6mZIGCzr/L2F4MEh Ofy3XD24ClFR+kDy1pOKQoRbqPDf8Uk= X-Google-Smtp-Source: ABdhPJyr9O3Y6M5MltU11jjV6yliXDZa9shnjVRwB0wkcyZbUu3XikPQJCjLnaqkK4ZIpRtvsT1abQ== X-Received: by 2002:a17:906:6c4:: with SMTP id v4mr13243549ejb.198.1614767252783; Wed, 03 Mar 2021 02:27:32 -0800 (PST) Received: from localhost (cpe-109-60-4-54.st3.cable.xnet.hr. [109.60.4.54]) by smtp.gmail.com with ESMTPSA id r4sm21838069edv.27.2021.03.03.02.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 02:27:32 -0800 (PST) Date: Wed, 3 Mar 2021 11:28:03 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: hackers@freebsd.org, freebsd-wireless@freebsd.org Subject: AR9227/AR9287 unresponsive after some time Message-ID: <20210303112803.0000260f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Dr9DQ0tPyz3GPN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=I+whmIhe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rank1seeker@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=rank1seeker@gmail.com X-Spamd-Result: default: False [-2.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; R_MIXED_CHARSET(1.25)[subject]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62b:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[109.60.4.54:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62b:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[hackers,freebsd-wireless] X-Mailman-Approved-At: Wed, 03 Mar 2021 12:56:58 +0000 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 10:27:35 -0000 For about 5 years now I have: -- ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c chip=3D0x002d168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR9227 Wireless Network Adapter' class =3D network -- ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 on pci3 ath1: [HT] enabling HT modes ath1: [HT] enabling short-GI in 20MHz mode ath1: [HT] 1 stream STBC receive enabled ath1: [HT] 1 stream STBC transmit enabled ath1: [HT] 2 RX streams; 2 TX streams ath1: AR9227 mac 384.2 RF5133 phy 15.15 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 -- Everything is perfects upon device's fresh config and init. There were and always are problems with this card, AFTER some time passes. It's like it simply becomes unresponsive. Now at 12.2-RELEASE-p3 - i386, after some time passes: 1) As station/client =3D> in associated state it simply stops transmitting= packets It can't ping it's AP! # service netif restart ..., "fixes" issue. 2) As AP =3D> it ignores it's clients and simply stops transmitting packets And WORST, slowly but surely freezes whole OS! Even console becomes unresponsive and only hard reset helps! Where should I look at? What should I do? PS: Take a note that SAME setup poses no problem for: -- ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 chip=3D0x0013168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR5212/5213/2414 Wireless Network Adapter' class =3D network subclass =3D ethernet -- I saw in section 'Known chipset issues/limitations/bugs': interrupt read-and-clear bug Has anyone yet found a way to deal with it? PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me posted. Thx in advance, Domagoj Smol=C4=8Di=C4=87 From owner-freebsd-wireless@freebsd.org Wed Mar 3 16:12:18 2021 Return-Path: Delivered-To: freebsd-wireless@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 B961E56ED5A; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrJtB4mG1z4T6C; Wed, 3 Mar 2021 16:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id d20so23514417qkc.2; Wed, 03 Mar 2021 08:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OcApl3Kkpwz2RgOf3FLbinJqPwY6uADZnqtxxNqXeLg=; b=KEa7DYqeubcZSEbqJPy9+JUat1pK7W5tiFn7/IQt+nVzO9tYagUVQCyRtiNV4OW5NC YzoYQHkS+Zsn8FhYYxxYd4SF+s6Oe3CTbRxin8Ip5qpZkofPswYrbBX5+lcCwnE7Yg6f /wcDCzmi2on7gyitxD9fJiG4+WMa6VCfFHkUjOE0sM0fM1Ej6ALmCrj4fPIIkupv+Q3D nijFiIjOsb+xlTRWzpEkx9lf/ad2TUMGdZ03J6MYQbV3qFqdqMgbaakQyqmAd5vssAkY f5JS9a7f9HGPaejNG9idwscwU1A+Ut7Qe2wT58uqGW2gd2CdjYgFLWvYLX6o1+NG26U+ UATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OcApl3Kkpwz2RgOf3FLbinJqPwY6uADZnqtxxNqXeLg=; b=SHjEohM2/oAMw8tWajSPM2gr2rpPBS4N11waryJoB0zcWCH8Gv+OgsWwFGECRTltg+ LCkECZt3nJfeh2QOWjl7FoMQL0pevkjxOD4RfNxdeN8pLuA47lUl3nryzqQPuJXqCMyj HD2uFLqH8vptL32HqwK2YQPaVbK+LBcExIZ0g20wdo+ToeizDXfnInxhBtEoruqMmrDL yeYlmy/KziWtC5WfZ3ChhhqMgAPoS3RPDNPqyLtApH853Owa3eAWo5sqmbDflTb7/mA5 xex9rc/MbyKir2KS+bcMHlReH0+JaowpDt0iCfQg0aYsnQYA06W4ECyldei+JfFvalya IERQ== X-Gm-Message-State: AOAM530IyPfo5Lsmr6j34usB9F8N1QpBeQRLaHHcFdQ+mEzD6hBQdreN xPz29614DKqA8qrisNZsMsuYRB4z/zkO40tAZ1E= X-Google-Smtp-Source: ABdhPJzgAQ2P4p9GwhqfE2lCGaI2M1WlIvta6Lv8gStHmskflwvFcO1oubgsrt5qX4uTcZgopy4aFJ436e8GyI8NLDQ= X-Received: by 2002:a37:9d93:: with SMTP id g141mr23053533qke.270.1614787937908; Wed, 03 Mar 2021 08:12:17 -0800 (PST) MIME-Version: 1.0 References: <20210303112803.0000260f@gmail.com> In-Reply-To: <20210303112803.0000260f@gmail.com> From: Adrian Chadd Date: Wed, 3 Mar 2021 08:12:05 -0800 Message-ID: Subject: Re: AR9227/AR9287 unresponsive after some time To: =?UTF-8?B?RG9tYWdvaiBTbW9sxI1pxIc=?= Cc: "freebsd-hackers@freebsd.org" , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DrJtB4mG1z4T6C X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 16:12:18 -0000 hi! Yeah, there's been some long standing calibration issues with the 9227 that i've never figured out :( -a On Wed, 3 Mar 2021 at 02:27, Domagoj Smol=C4=8Di=C4=87 wrote: > > For about 5 years now I have: > -- > ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c chip=3D0x002d1= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Qualcomm Atheros' > device =3D 'AR9227 Wireless Network Adapter' > class =3D network > -- > ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 on pci= 3 > ath1: [HT] enabling HT modes > ath1: [HT] enabling short-GI in 20MHz mode > ath1: [HT] 1 stream STBC receive enabled > ath1: [HT] 1 stream STBC transmit enabled > ath1: [HT] 2 RX streams; 2 TX streams > ath1: AR9227 mac 384.2 RF5133 phy 15.15 > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > -- > > Everything is perfects upon device's fresh config and init. > There were and always are problems with this card, AFTER some time passes= . > It's like it simply becomes unresponsive. > > Now at 12.2-RELEASE-p3 - i386, after some time passes: > 1) As station/client =3D> in associated state it simply stops transmitti= ng packets > It can't ping it's AP! > # service netif restart ..., "fixes" issue. > 2) As AP =3D> it ignores it's clients and simply stops transmitting pack= ets > And WORST, slowly but surely freezes whole OS! > Even console becomes unresponsive and only hard reset helps! > > Where should I look at? > What should I do? > > PS: Take a note that SAME setup poses no problem for: > -- > ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 chip=3D0x00131= 68c rev=3D0x01 hdr=3D0x00 > vendor =3D 'Qualcomm Atheros' > device =3D 'AR5212/5213/2414 Wireless Network Adapter' > class =3D network > subclass =3D ethernet > -- > > I saw in section 'Known chipset issues/limitations/bugs': > interrupt read-and-clear bug > Has anyone yet found a way to deal with it? > > PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me posted. > > > Thx in advance, > Domagoj Smol=C4=8Di=C4=87 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " From owner-freebsd-wireless@freebsd.org Thu Mar 4 10:33:27 2021 Return-Path: Delivered-To: freebsd-wireless@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 00FF256B77F; Thu, 4 Mar 2021 10:33:27 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrnJk6KHnz3Gln; Thu, 4 Mar 2021 10:33:26 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id lr13so48358933ejb.8; Thu, 04 Mar 2021 02:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yrrEv04kOALsv0CWSdMFELBznU/Yp9QPjoojzxLKRsM=; b=LXhlKGSjYXxec0Z8b+89T17zElQquoLQGQ672jDbI4/JJcFDowvMeiAy3wFHhQZare dUCtLlMoD2zVDFeJ0akmebCyO8dv1CU4bTyfoIR83gAIl3RtoDuWd7ehV7CCKtymkvdE pBIhkRU/KfR7XZswVRacm/Bo7126KtXXFRpwix+HPDeNHBrardGgb104DGmc597HpYBS 54IGtJ/kqIK+fMz8DwXYUH36p5vhHs86HC/UscrbruZw2awnWw0R7Z9bseASCVGDRBMf MyDxZBDcwNVyzcY/8QiDVrGlcjhTyT9xb2+28u1Nz0xyEUUBoykxtRZDOjZ8qK/5q6JM IIGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yrrEv04kOALsv0CWSdMFELBznU/Yp9QPjoojzxLKRsM=; b=t2XcfsmkAkpmBIulEcGbYy5RVyxKh1nKtfFVxVNlmyVFX77sJg09jz4RgXdGn8Ui1s 7p9TanueNbNUCqCOMUN2Blxf0vm0IOTlIBOtvZK0M40WELNya7eFDAcfANMfOZS28gmP lIUfgg+U846ILiES2YCwJYtc6g5n2L1jNpB5dtHPc8xEXbbXJc3I9vAq5c49z5gr8+Iv /9ccvoc4vvvEULrhhXoOwBbyOKt+Mwrj0tkXWWZZ6AQNYi6NQhwqE1GatyYMvJAqom90 ynpfCrXtLbdjer/lk4yxMawBoN1yyWJ/LeQtXv3HHIXaqRdIT48SJSVeahRktUkKvNOm 37DQ== X-Gm-Message-State: AOAM532dq9/ktuTBtQv7WWNKERZMGxfbwBp+9QbRY16GDQwJKtjmg3LC YvYVAhTU9YLbA3G1XW0Ec4o= X-Google-Smtp-Source: ABdhPJy0zb2FdBHMbyYJ6fKeO/fehcYGRHY4pUseDI7LP/6sD+D2mAgczK1KEsAzJZvpe4tcQ5AE+A== X-Received: by 2002:a17:906:8593:: with SMTP id v19mr3536118ejx.32.1614854004036; Thu, 04 Mar 2021 02:33:24 -0800 (PST) Received: from localhost (cpe-109-60-4-54.st3.cable.xnet.hr. [109.60.4.54]) by smtp.gmail.com with ESMTPSA id si3sm2831918ejb.90.2021.03.04.02.33.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 02:33:23 -0800 (PST) Date: Thu, 4 Mar 2021 11:33:54 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: Adrian Chadd Cc: "freebsd-hackers@freebsd.org" , "freebsd-wireless@freebsd.org" Subject: Re: AR9227/AR9287 unresponsive after some time Message-ID: <20210304113354.00004fa6@gmail.com> In-Reply-To: References: <20210303112803.0000260f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DrnJk6KHnz3Gln X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-Mailman-Approved-At: Thu, 04 Mar 2021 11:27:57 +0000 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 10:33:27 -0000 Hi Adrian, Give me a set of your commands to execute and keep running in parallel with= AR9227 running. I'll be frequently sending you a results/dump files. If you agree/have time, of course. PS: 'interrupt read-and-clear bug' affects ALL chips in section 'Known chip= set issues/limitations/bugs' at =3D> https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport Domagoj On Wed, 3 Mar 2021 08:12:05 -0800 Adrian Chadd wrote: > hi! >=20 > Yeah, there's been some long standing calibration issues with the 9227 > that i've never figured out :( >=20 >=20 > -a >=20 > On Wed, 3 Mar 2021 at 02:27, Domagoj Smol=C4=8Di=C4=87 > wrote: > > > > For about 5 years now I have: > > -- > > ath1@pci0:3:2:0: class=3D0x028000 card=3D0x0300168c > > chip=3D0x002d168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Athero= s' > > device =3D 'AR9227 Wireless Network Adapter' > > class =3D network > > -- > > ath1: mem 0xf1040000-0xf104ffff irq 5 at device 2.0 > > on pci3 ath1: [HT] enabling HT modes > > ath1: [HT] enabling short-GI in 20MHz mode > > ath1: [HT] 1 stream STBC receive enabled > > ath1: [HT] 1 stream STBC transmit enabled > > ath1: [HT] 2 RX streams; 2 TX streams > > ath1: AR9227 mac 384.2 RF5133 phy 15.15 > > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > -- > > > > Everything is perfects upon device's fresh config and init. > > There were and always are problems with this card, AFTER some time > > passes. It's like it simply becomes unresponsive. > > > > Now at 12.2-RELEASE-p3 - i386, after some time passes: > > 1) As station/client =3D> in associated state it simply stops > > transmitting packets It can't ping it's AP! > > # service netif restart ..., "fixes" issue. > > 2) As AP =3D> it ignores it's clients and simply stops transmitting > > packets And WORST, slowly but surely freezes whole OS! > > Even console becomes unresponsive and only hard reset helps! > > > > Where should I look at? > > What should I do? > > > > PS: Take a note that SAME setup poses no problem for: > > -- > > ath0@pci0:3:1:0: class=3D0x020000 card=3D0x3a131186 > > chip=3D0x0013168c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Athero= s' > > device =3D 'AR5212/5213/2414 Wireless Network Adapter' > > class =3D network > > subclass =3D ethernet > > -- > > > > I saw in section 'Known chipset issues/limitations/bugs': > > interrupt read-and-clear bug > > Has anyone yet found a way to deal with it? > > > > PS: freebsd-wireless@ =3D> I'm not on a mailing list, so keep me > > posted. > > > > > > Thx in advance, > > Domagoj Smol=C4=8Di=C4=87 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org"=20