From nobody Tue Aug 2 20:00:37 2022 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 4Ly5T91bpBz4Y6qm for ; Tue, 2 Aug 2022 20:00:45 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Ly5T919dLz4JBC; Tue, 2 Aug 2022 20:00:45 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659470445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YlPfhd+So4CFpvI+/9YAkh+cGPFRLrfa6jsdgJFgML4=; b=YxmaiZdvvH/0/VYPk6eIzWpkhfPMGCHQPuIXxE2EXfevJcvcAW+uqO6G6iiXL+SW3gSagC OMFU13SttdVaKzlhteFzVPoSUXrks6xdm3AcG+DWGXgVYCNIYlrr4DHOgkra4cuZ47eUBB cEpuPw//qvM9ebOAVrhDm1g2nmHN1d53/+UVB2gbmaVS3J6zm1q129uhnF9nVBU9+e4Sxq O5lz4h3/YUzPdTGF2K0w2jRN+ZUM6n/lbBvuHq6+JDlTNYwnZNR9TS01oiExzqD4tRAbiE 8kzpcoknGnatUPXEkv1OLKTTKos3RP7hC9jD3X1Cax5R0NZDaJxChQqzVkPo1g== 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" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Ly5T8661czY0X; Tue, 2 Aug 2022 20:00:44 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 436728D4A161; Tue, 2 Aug 2022 20:00:42 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 42496BD43B7; Tue, 2 Aug 2022 20:00:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id o37fJUQ4zWJ6; Tue, 2 Aug 2022 20:00:38 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 1195EBD3C10; Tue, 2 Aug 2022 20:00:37 +0000 (UTC) Date: Tue, 2 Aug 2022 20:00:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: Bakul Shah cc: FreeBSD wireless mailing list Subject: Re: New iwlwifi firmware for testing in main In-Reply-To: <94EE09A2-C890-4450-8A52-D0A8E1AA9FF5@iitbombay.org> Message-ID: References: <94EE09A2-C890-4450-8A52-D0A8E1AA9FF5@iitbombay.org> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659470445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YlPfhd+So4CFpvI+/9YAkh+cGPFRLrfa6jsdgJFgML4=; b=F5j1OhWeFZzsQzdSt5C7ViABQnv9RuT2b98/Pjr6D80HGQ+e2ELt10eIavW6cA83upMLgT SY8je0qjRWiKqZx3MxoRV2tnhSmJcVTp8w+t6CeuH8eL2kthgbP667a+dmgCIa17w5PLMy MlM5lalDCort/B8ETqtQ74ZUC/ad+ENsi33CQiev6C3U8PA/9JQJsUaWqEsKu/t14W7vVD upG9MhufZ9FMq7lxMZIVVYUxoqPdwfebsY2bNUc+u1Y/y/vT7HEVGvYY+pYjiojFwTTtyI Zzk+Pg7LrN3kKiA9KNMJgQK4jmA9uzGd5jf30YjTxCPNVq2kAlBRnSz7sbogEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659470445; a=rsa-sha256; cv=none; b=NOmAHGGpSYo4nVt6sNsbC9r/Y/6ei64U19ZmMubA8Nxxb60PmE2k4QO79uesSlXkfl1Vq0 +cA6c1lMq/CosjVZuO3BmRDeMsxo0DiqcTn2K6Lv8+x6LyftbAN9/jklVOEx9yVphLTeOn J2U3UWotNABsZysZYbTqg8FxCRdgwaamnEolOEtEYqrzOioyiuz88s1kRr3e1nZyG08QrH A63+3BIatxyqwfNqyKV/5BOACb92+nqDDYeVns2M4lKLwz8l/bz2L2U4VCFEZYnJ48k87c s/MQ5MG9Wa4+1XsP6Sau1NKaaBbDDpZ4NVUEtGmIiCjEQUaWqgH0BtJBzKJ/Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Sun, 31 Jul 2022, Bakul Shah wrote: > On Jul 30, 2022, at 5:51 PM, Bjoern A. Zeeb wrote: >> >> Hi, >> >> I've updated the firmware for iwlwifi in main (HEAD/CURRENT) with >> >> https://cgit.FreeBSD.org/src/commit/?id=13a7663c521ac3541756aa1157dcfce9f0ce78e8 >> >> It has a ~3 week MFC timer so it can be tested. >> >> If you are running main with an AX2xx or 9xxx card please give it a >> try. In case they don't work for you please let me know and (as >> always) please have a way to revert in case WiFi is the only >> connectivity on your device. > > I still get the same panic I was getting a few months back, > when I run -current in a bhyve VM. Not a priority so this > can wait. To see if this a bhyve problem I should try using > wifi from a linux guest and see if it works.... What's the leadup to this? What's the wpa_supplicant log saying? > Console output with yesterday's -current: > iwlwifi0: Microcode SW error detected. Restarting 0x0. > iwlwifi0: Start IWL Error Log Dump: > iwlwifi0: Transport status: 0x0000004B, valid: 6 > iwlwifi0: Loaded firmware version: 46.9d0122c0.0 9260-th-b0-jf-b0-46.ucode > iwlwifi0: 0x0000340A | ADVANCED_SYSASSERT > iwlwifi0: 0x000022F0 | trm_hw_status0 > iwlwifi0: 0x00000000 | trm_hw_status1 > iwlwifi0: 0x00481CEE | branchlink2 > iwlwifi0: 0x0047161E | interruptlink1 > iwlwifi0: 0x00000000 | interruptlink2 > iwlwifi0: 0x00000000 | data1 > iwlwifi0: 0xDEADBEEF | data2 > iwlwifi0: 0xDEADBEEF | data3 > iwlwifi0: 0x00000000 | beacon time > iwlwifi0: 0x0017BB87 | tsf low > iwlwifi0: 0x00000000 | tsf hi > iwlwifi0: 0x00000000 | time gp1 > iwlwifi0: 0x0017BB87 | time gp2 > iwlwifi0: 0x00000001 | uCode revision type > iwlwifi0: 0x0000002E | uCode version major > iwlwifi0: 0x9D0122C0 | uCode version minor > iwlwifi0: 0x00000321 | hw version > iwlwifi0: 0x00C89001 | board version > iwlwifi0: 0x801CF402 | hcmd > iwlwifi0: 0x00022000 | isr0 > iwlwifi0: 0x00000000 | isr1 > iwlwifi0: 0x08201802 | isr2 > iwlwifi0: 0x00417CC0 | isr3 > iwlwifi0: 0x00000000 | isr4 > iwlwifi0: 0x8019FB03 | last cmd Id > iwlwifi0: 0x0001B726 | wait_event > iwlwifi0: 0x00009809 | l2p_control > iwlwifi0: 0x00000020 | l2p_duration > iwlwifi0: 0x00000003 | l2p_mhvalid > iwlwifi0: 0x00000080 | l2p_addr_match > iwlwifi0: 0x0000000D | lmpm_pmg_sel > iwlwifi0: 0x03061219 | timestamp > iwlwifi0: 0x00001840 | flow_handler > iwlwifi0: Start IWL Error Log Dump: > iwlwifi0: Transport status: 0x0000004B, valid: 7 > iwlwifi0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL > iwlwifi0: 0x00000000 | umac branchlink1 > iwlwifi0: 0xC0088A4A | umac branchlink2 > iwlwifi0: 0xC0084484 | umac interruptlink1 > iwlwifi0: 0xC0084484 | umac interruptlink2 > iwlwifi0: 0x00000800 | umac data1 > iwlwifi0: 0xC0084484 | umac data2 > iwlwifi0: 0xDEADBEEF | umac data3 > iwlwifi0: 0x0000002E | umac major > iwlwifi0: 0x9D0122C0 | umac minor > iwlwifi0: 0x0017BB9E | frame pointer > iwlwifi0: 0xC088627C | stack pointer > iwlwifi0: 0x001E012B | last host cmd > iwlwifi0: 0x00000000 | isr status reg > iwlwifi0: IML/ROM dump: > iwlwifi0: 0x00000000 | IML/ROM error/state > iwlwifi0: 0x00000003 | IML/ROM data1 > iwlwifi0: Fseq Registers: > iwlwifi0: 0xE767707A | FSEQ_ERROR_CODE > iwlwifi0: 0x00000000 | FSEQ_TOP_INIT_VERSION > iwlwifi0: 0xDC9858EE | FSEQ_CNVIO_INIT_VERSION > iwlwifi0: 0x0000A371 | FSEQ_OTP_VERSION > iwlwifi0: 0x39D43B3D | FSEQ_TOP_CONTENT_VERSION > iwlwifi0: 0xF6D44C76 | FSEQ_ALIVE_TOKEN > iwlwifi0: 0xAD4B6D4F | FSEQ_CNVI_ID > iwlwifi0: 0x71DAB327 | FSEQ_CNVR_ID > iwlwifi0: 0x01000200 | CNVI_AUX_MISC_CHIP > iwlwifi0: 0x01300202 | CNVR_AUX_MISC_CHIP > iwlwifi0: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM > iwlwifi0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR > iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). > iwlwifi0: FW error in SYNC CMD BINDING_CONTEXT_CMD > #0 0xffffffff80e5b45b at linux_dump_stack+0x1b > #1 0xffffffff82a7b024 at iwl_trans_txq_send_hcmd+0x414 > #2 0xffffffff82a2317e at iwl_trans_send_cmd+0xce > #3 0xffffffff82a62b43 at iwl_mvm_send_cmd_status+0x53 > #4 0xffffffff82a62c4f at iwl_mvm_send_cmd_pdu_status+0x4f > #5 0xffffffff82a2bcf6 at iwl_mvm_binding_update+0x216 > #6 0xffffffff82a3d5be at __iwl_mvm_assign_vif_chanctx+0x9e > #7 0xffffffff82a39ea8 at iwl_mvm_assign_vif_chanctx+0x68 > #8 0xffffffff80e55cf2 at lkpi_80211_mo_assign_vif_chanctx+0x22 > #9 0xffffffff80e50814 at lkpi_sta_scan_to_auth+0x4b4 > #10 0xffffffff80e55683 at lkpi_iv_newstate+0x1b3 > #11 0xffffffff80d90b75 at ieee80211_newstate_cb+0x1f5 > #12 0xffffffff80c4d87a at taskqueue_run_locked+0xaa > #13 0xffffffff80c4e922 at taskqueue_thread_loop+0xc2 > #14 0xffffffff80ba0b30 at fork_exit+0x80 > #15 0xffffffff8109910e at fork_trampoline+0xe > iwlwifi0: Failed to send binding (action:1): -5 > iwlwifi0: PHY ctxt cmd error. ret=-5 > iwlwifi0: lkpi_iv_newstate: error -5 during state transition 1 (SCAN) -> 2 (AUTH) > iwlwifi0: No queue was found. Dropping TX > iwlwifi0: iwl_trans_wait_tx_queues_empty bad state = 0 > iwlwifi0: Failed to trigger RX queues sync (-5) > panic: lkpi_sta_auth_to_scan: lsta 0xfffff80005d44800 state not NONE: 0, nstate 1 arg 1 > > cpuid = 1 > time = 1659327285 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe009e760c60 > vpanic() at vpanic+0x151/frame 0xfffffe009e760cb0 > panic() at panic+0x43/frame 0xfffffe009e760d10 > lkpi_sta_auth_to_scan() at lkpi_sta_auth_to_scan+0x253/frame 0xfffffe009e760d80 > lkpi_iv_newstate() at lkpi_iv_newstate+0x1b3/frame 0xfffffe009e760df0 > ieee80211_newstate_cb() at ieee80211_newstate_cb+0x1f5/frame 0xfffffe009e760e40 > taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe009e760ec0 > taskqueue_thread_loop() at taskqueue_thread_loop+0xc2/frame 0xfffffe009e760ef0 > fork_exit() at fork_exit+0x80/frame 0xfffffe009e760f30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe009e760f30 > --- trap 0x6b616873, rip = 0x645f336c73730065, rsp = 0x6f745f68645f6c73, rbp = 0x5f7874635f336c73 --- > KDB: enter: panic > [ thread pid 0 tid 100108 ] > Stopped at kdb_enter+0x32: movq $0,0x12a3293(%rip) > db> bt > Tracing pid 0 tid 100108 td 0xfffffe006b59d3a0 > kdb_enter() at kdb_enter+0x32/frame 0xfffffe009e760c60 > vpanic() at vpanic+0x182/frame 0xfffffe009e760cb0 > panic() at panic+0x43/frame 0xfffffe009e760d10 > lkpi_sta_auth_to_scan() at lkpi_sta_auth_to_scan+0x253/frame 0xfffffe009e760d80 > lkpi_iv_newstate() at lkpi_iv_newstate+0x1b3/frame 0xfffffe009e760df0 > ieee80211_newstate_cb() at ieee80211_newstate_cb+0x1f5/frame 0xfffffe009e760e40 > taskqueue_run_locked() at taskqueue_run_locked+0xaa/frame 0xfffffe009e760ec0 > taskqueue_thread_loop() at taskqueue_thread_loop+0xc2/frame 0xfffffe009e760ef0 > fork_exit() at fork_exit+0x80/frame 0xfffffe009e760f30 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe009e760f30 > --- trap 0x6b616873, rip = 0x645f336c73730065, rsp = 0x6f745f68645f6c73, rbp = 0x5f7874635f336c73 --- > db> > > -- Bjoern A. Zeeb r15:7