Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, September 15, 2024

Convert Java properties file to sed commands using ant

 HOWTO

GitHub

Install antcontrib 

Get via Maven  https://github.com/dveselka/java-tutorial/blob/master/tools/pom.xml

To install ant-contrib:

  1. Copy ant-contrib-0.3.jar to the lib directory of your Ant installation. If you want to use one of the tasks in your own project, add the lines
    <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
    
    to your build file.
  2. Keep ant-contrib-0.3.jar in a separate location. You now have to tell Ant explicitly where to find it (say in /usr/share/java/lib):
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
      <classpath>
        <pathelement location="/usr/share/java/lib/ant-contrib-0.3.jar"/>
      </classpath>
    </taskdef>

 

Get antcontrib.jar via Maven
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>dave</groupId>
    <artifactId>tools</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <parent>
        <groupId>dave</groupId>
        <artifactId>parent</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </parent>

    <dependencies>
        <!-- https://mvnrepository.com/artifact/ant-contrib/ant-contrib -->
        <dependency>
            <groupId>ant-contrib</groupId>
            <artifactId>ant-contrib</artifactId>
            <version>1.0b3</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

$ mvn clean install


[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default) @ tools ---
[INFO] Copying ant-contrib-1.0b3.jar to /git/java-tutorial/tools/target/lib/ant-contrib-1.0b3.jar
[INFO] Copying ant-1.5.jar to /git/java-tutorial/tools/target/lib/ant-1.5.jar

 Properties file https://github.com/dveselka/java-tutorial/blob/master/tools/dave.properties

 a=1
jdbc.url=jdbc:oracle:thin:dave@dave:1521/DAVE_DB
url=https://dave.com/dave
date=Sun Sep 15 08:43:48 AM CEST 2024

 

Build.xml to produce sed file from properties file https://github.com/dveselka/java-tutorial/blob/master/tools/build.xml

Notice that @ gives value of for cycle variable , $ gives value of ant property
<project name="properties-to-sed">

    <taskdef resource="net/sf/antcontrib/antlib.xml">
        <classpath>
            <pathelement location="target/lib/ant-contrib-1.0b3.jar"/>
        </classpath>
    </taskdef>

    <target name="convert">
        
        <property file="dave.properties" prefix="dave."/>
        <propertyselector property="dave" match="dave\.(.*)" select="\1"/>
        
        <for param="key" list="${dave}">
            <sequential>
                <echo>@{key}=${dave.@{key}}</echo>
                <echo message="s#@{key}#${dave.@{key}}#g${line.separator}" file="replace-dave-props.sed" append="true"/>
            </sequential>
        </for>
    </target>
</project>
 

Run ant 

 
 $ ant convert
Buildfile: /git/java-tutorial/tools/build.xml

convert:
     [echo] url=https://dave.com/dave
     [echo] a=1
     [echo] date=Sun Sep 15 08:43:48 AM CEST 2024
     [echo] jdbc.url=jdbc:oracle:thin:dave@dave:1521/DAVE_DB

BUILD SUCCESSFUL
Total time: 0 seconds

Sed file produced from properties file

$ cat replace-dave-props.sed
s#url#https://dave.com/dave#g
s#a#1#g
s#date#Sun Sep 15 08:43:48 AM CEST 2024#g
s#jdbc.url#jdbc:oracle:thin:dave@dave:1521/DAVE_DB#g

 

 Asking Gemimi for hints - useful, provided idea with antcontrib for cycle, needs fixing - add antcontrib install, fix for cycle

 

Approach:

  1. Create a build.xml file:

    • Write the Ant build script in a build.xml file.
    • Define a target to perform the conversion.
  2. Load properties file:

    • Use the property task to load the properties file.
  3. Generate sed commands:

    • Use the for task to iterate over the properties entries.
    • For each entry, create a sed command using the echo task.
  4. Write sed commands to file:

    • Use the echo task to write the generated sed commands to a file.

build.xml example:

XML
<project name="properties-to-sed">
    <target name="convert">
        <property file="replacements.properties"/>

        <for param="key" elements="${replacements.keys()}">
            <sequential>
                <echo message="s/${replacements.${key}}/${replacements.${key}}/g" file="sed_script.sed" append="true"/>
            </sequential>
        </for>
    </target>
</project>

Explanation:

  • The replacements.properties file should contain key-value pairs where the key is the search pattern and the value is the replacement string. For example:
search1=replacement1
search2=replacement2
  • The build.xml file defines a convert target.
  • The property task loads the properties file.
  • The for task iterates over the keys in the properties file.
  • For each key, an echo task creates a sed command using the key and value as the search pattern and replacement string.
  • The echo task writes the sed command to the sed_script.sed file, appending it to the end of the file.

Additional considerations:

  • You can customize the sed command format based on your specific requirements.
  • If you need to escape special characters in the search patterns or replacement strings, use appropriate escape sequences.
  • For more complex scenarios or performance optimization, consider using a dedicated scripting language like Python or Perl.


 Asking ChatGPT for comparison


Daniel Veselka
convert properties file to sed commands using antcontrib for cycle
ChatGPT

To convert a properties file to sed commands using ant-contrib's for loop functionality, you'll need to follow a similar approach as previously mentioned, with some adjustments to implement the loop correctly. Below, I’ll provide a complete and detailed example, including how to set up your environment to use ant-contrib for iterating through properties.

Example Properties File

Assuming you have a properties file named config.properties:

properties
# config.properties
app.name=MyApp
app.version=1.0.0
app.author=John Doe

Ant Build File
<project name="PropertiesToSed" default="convert" basedir=".">
    
    <property file="config.properties"/>
    
    <target name="convert">
        <echo message="Converting properties to sed commands..." />

        <!-- Loop through the properties defined in config.properties -->
        <property name="properties.list" value="app.name,app.version,app.author"/>

        <foreach list="${properties.list}" param="property">
            <sequential>
                <echo message="sed -i 's/${property}=.*/${property}=${property}:${property}/g' target_file.txt" />
            </sequential>
        </foreach>
        
    </target>
    
</project>

Explanation of the Ant Build File

  1. Task Definition for Ant-Contrib: The line <taskdef resource="antcontrib.properties" /> defines the ant-contrib functions so you can use them in your Ant script. Make sure you have the ant-contrib.jar in your Ant classpath.

  2. Loading Properties: The properties file is loaded into the project with <property file="config.properties"/>.

  3. Defining Properties List: A property properties.list is defined, listing all the keys in the properties file that you want to generate sed commands for.

  4. Using <for> Loop: The <for> loop is used to iterate over the properties list. Each property will be accessible via the variable ${property} in the loop.

  5. Generating sed Commands:

    • The echo command inside the loop outputs the sed command that will perform the desired replacement in target_file.txt.
    • If you want to replace the value of each property in the file, you can use ${property} to get the key and ${property.value} to retrieve the corresponding value.

Step to Execute the Ant Script

  1. Ensure you have ant-contrib: Download the ant-contrib.jar and place it in the lib directory of your Ant installation or add it to your classpath.

  2. Run the Ant command:

bash
ant convert

Final Notes

  • The generated sed command will replace the line in target_file.txt that matches the pattern property=, updating it with the value from config.properties.
  • Adjust the target_file.txt with your actual target file; this is the file where the properties should be replaced.
  • Remember that you can customize the sed command based on how you want to implement the replacements based on your specific requirements.

 

Saturday, October 7, 2023

Linux Fedora 38 does not load WiFi driver on Asus notebook - SOLVED after udate

HOWTO 

[root@fedora ~]#  ls /lib/firmware/iwl* 
/lib/firmware/iwlwifi-1000-5.ucode.xz               /lib/firmware/iwlwifi-cc-a0-59.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-72.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-77.ucode.xz
/lib/firmware/iwlwifi-100-5.ucode.xz                /lib/firmware/iwlwifi-cc-a0-66.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-73.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-78.ucode.xz
/lib/firmware/iwlwifi-105-6.ucode.xz                /lib/firmware/iwlwifi-cc-a0-72.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-74.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-79.ucode.xz
/lib/firmware/iwlwifi-135-6.ucode.xz                /lib/firmware/iwlwifi-cc-a0-73.ucode.xz        /lib/firmware/iwlwifi-Qu-c0-jf-b0-77.ucode.xz   /lib/firmware/iwlwifi-so-a0-gf-a0-81.ucode.xz
/lib/firmware/iwlwifi-2000-6.ucode.xz               /lib/firmware/iwlwifi-cc-a0-74.ucode.xz        /lib/firmware/iwlwifi-QuZ-a0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-83.ucode.xz
/lib/firmware/iwlwifi-2030-6.ucode.xz               /lib/firmware/iwlwifi-cc-a0-77.ucode.xz        /lib/firmware/iwlwifi-QuZ-a0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm.xz
/lib/firmware/iwlwifi-3160-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-72.ucode.xz
/lib/firmware/iwlwifi-3168-29.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-73.ucode.xz
/lib/firmware/iwlwifi-3945-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-74.ucode.xz
/lib/firmware/iwlwifi-4965-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-77.ucode.xz
/lib/firmware/iwlwifi-5000-5.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-79.ucode.xz
/lib/firmware/iwlwifi-5150-2.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-hr-b0-81.ucode.xz
/lib/firmware/iwlwifi-6000-4.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-72.ucode.xz
/lib/firmware/iwlwifi-6000g2a-6.ucode.xz            /lib/firmware/iwlwifi-Qu-b0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-73.ucode.xz
/lib/firmware/iwlwifi-6000g2b-6.ucode.xz            /lib/firmware/iwlwifi-Qu-b0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-74.ucode.xz
/lib/firmware/iwlwifi-6050-5.ucode.xz               /lib/firmware/iwlwifi-Qu-b0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-jf-b0-77.ucode.xz
/lib/firmware/iwlwifi-7260-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-jf-b0-72.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-74.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-59.ucode.xz
/lib/firmware/iwlwifi-7265-17.ucode.xz              /lib/firmware/iwlwifi-Qu-b0-jf-b0-73.ucode.xz  /lib/firmware/iwlwifi-QuZ-a0-jf-b0-77.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode.xz
/lib/firmware/iwlwifi-7265D-29.ucode.xz             /lib/firmware/iwlwifi-Qu-b0-jf-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-72.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-72.ucode.xz
/lib/firmware/iwlwifi-8000C-34.ucode.xz             /lib/firmware/iwlwifi-Qu-b0-jf-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-73.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-73.ucode.xz
/lib/firmware/iwlwifi-8000C-36.ucode.xz             /lib/firmware/iwlwifi-Qu-c0-hr-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-74.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-74.ucode.xz
/lib/firmware/iwlwifi-8265-34.ucode.xz              /lib/firmware/iwlwifi-Qu-c0-hr-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-77.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-77.ucode.xz
/lib/firmware/iwlwifi-8265-36.ucode.xz              /lib/firmware/iwlwifi-Qu-c0-hr-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-78.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-78.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-34.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-72.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-79.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-79.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-38.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-73.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-81.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-81.ucode.xz
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-74.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0-83.ucode.xz  /lib/firmware/iwlwifi-ty-a0-gf-a0-83.ucode.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-hr-b0-77.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf4-a0.pnvm.xz      /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-38.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-jf-b0-50.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-72.ucode.xz
/lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode.xz  /lib/firmware/iwlwifi-Qu-c0-jf-b0-59.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-73.ucode.xz
/lib/firmware/iwlwifi-cc-a0-50.ucode.xz             /lib/firmware/iwlwifi-Qu-c0-jf-b0-66.ucode.xz  /lib/firmware/iwlwifi-so-a0-gf-a0-74.ucode.xz

[root@fedora ~]# lspci -nnk
[root@fedora ~]#   lspci -nnk
0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4601] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: igen6_edac
    Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] [8086:46a8] (rev 0c)
    DeviceName: VGA
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: i915
    Kernel modules: i915
0000:00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: proc_thermal_pci
    Kernel modules: processor_thermal_device_pci
0000:00:06.0 System peripheral [0880]: Intel Corporation RST VMD Managed Controller [8086:09ab]
0000:00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:0a.0 Signal processing controller [1180]: Intel Corporation Platform Monitoring Technology [8086:467d] (rev 01)
    Kernel driver in use: intel_vsec
    Kernel modules: intel_vsec
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:467f]
    Subsystem: Intel Corporation Device [8086:0000]
    Kernel driver in use: vmd
    Kernel modules: vmd
0000:00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:201f]
    Kernel driver in use: xhci_hcd
0000:00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
    DeviceName: WLAN
    Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:0074]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: mei_me
    Kernel modules: mei_me
0000:00:1e.0 Communication controller [0780]: Intel Corporation Alder Lake PCH UART #0 [8086:51a8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:1e.2 Serial bus controller [0c80]: Intel Corporation Alder Lake SPI Controller [8086:51aa] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: intel-lpss
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
0000:00:1f.3 Audio device [0403]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
    Subsystem: ASUSTeK Computer Inc. Device [1043:13e3]
10000:e0:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 04)
    Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller [0108]: Intel Corporation SSD 670p Series [Keystone Harbor] [8086:f1aa] (rev 03)
    Subsystem: Intel Corporation Device [8086:390f]
    Kernel driver in use: nvme
    Kernel modules: nvme

dmesg | grep iwl
[root@fedora ~]# dmesg | grep iwl
[    6.124426] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    6.205981] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    6.206085] iwlwifi 0000:00:14.3: PCI dev 51f0/0074, rev=0x370, rfid=0x10a100
[    6.206359] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-83.ucode failed with error -2
[    6.206393] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-82.ucode failed with error -2
[    6.262692] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    6.262713] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
[    6.263022] iwlwifi 0000:00:14.3: loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode op_mode iwlmvm
[    6.428091] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[    6.435484] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.575717] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2190 __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575740] Modules linked in: ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm
[    7.575808] RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575841]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575862]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575892]  ? __iwl_trans_pcie_grab_nic_access+0x14a/0x150 [iwlwifi]
[    7.575909]  iwl_trans_pcie_grab_nic_access+0x1a/0x40 [iwlwifi]
[    7.575926]  iwl_read_prph+0x1d/0x70 [iwlwifi]
[    7.575940]  iwl_mvm_load_ucode_wait_alive+0x2d9/0x620 [iwlmvm]
[    7.575966]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[    7.575985]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[    7.576003]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[    7.576021]  ? __iwl_trans_pcie_grab_nic_access+0xb7/0x150 [iwlwifi]
[    7.576038]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[    7.576057]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[    7.576082]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[    7.576103]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[    7.576118]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[    7.576133]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    7.576155]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[    7.576174]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    7.576251] iwlwifi 0000:00:14.3: iwlwifi transaction failed, dumping registers
[    7.576252] iwlwifi 0000:00:14.3: iwlwifi device config registers:
[    7.576481] iwlwifi 0000:00:14.3: 00000000: 51f08086 00100000 02800001 00800000 00000004 00000000 00000000 00000000
[    7.576483] iwlwifi 0000:00:14.3: 00000020: 00000000 00000000 00000000 00748086 00000000 000000c8 00000000 00000100
[    7.576484] iwlwifi 0000:00:14.3: 00000040: 00928010 10000ec0 001a0c10 00000000 00000000 00000000 00000000 00000000
[    7.576485] iwlwifi 0000:00:14.3: 00000060: 00000000 00080812 00000005 00000000 00000000 00000000 00000000 00000000
[    7.576487] iwlwifi 0000:00:14.3: 00000080: 000f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
[    7.576488] iwlwifi 0000:00:14.3: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576489] iwlwifi 0000:00:14.3: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
[    7.576490] iwlwifi 0000:00:14.3: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576491] iwlwifi 0000:00:14.3: 00000100: 16410018 00000000 00000000 00462031 00000000 00002000 00000014 00000000
[    7.576492] iwlwifi 0000:00:14.3: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.576493] iwlwifi 0000:00:14.3: 00000140: 14c00000 ff000000 000000ff 00000000 00000000 0001001e 00481e1f 00000000
[    7.576494] iwlwifi 0000:00:14.3: iwlwifi device memory mapped registers:
[    7.576539] iwlwifi 0000:00:14.3: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.576541] iwlwifi 0000:00:14.3: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.576592] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[    7.661911] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[    7.745989] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[    7.830964] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[    8.007288] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[    8.096495] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[    8.185720] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[    8.275058] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[    8.364355] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[    8.364356] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[    8.364357] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[    8.364359] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    8.542884] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.542905] Modules linked in: ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm
[    8.542955] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.542985]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543005]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543030]  ? iwl_trans_pcie_grab_nic_access+0x2c/0x40 [iwlwifi]
[    8.543046]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[    8.543063]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[    8.543081]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[    8.543099]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[    8.543121]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[    8.543135]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[    8.543153]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[    8.543173]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[    8.543191]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[    8.543209]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[    8.543227]  ? __iwl_trans_pcie_grab_nic_access+0xb7/0x150 [iwlwifi]
[    8.543244]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[    8.543262]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[    8.543282]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[    8.543302]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[    8.543316]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[    8.543331]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    8.543350]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[    8.543368]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[    8.543420] iwlwifi 0000:00:14.3: HW error, resetting before reading
[    8.638568] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[    8.638572] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[    8.638574] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[    8.638575] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    8.638576] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[    8.638576] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[    8.638577] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[    8.638578] iwlwifi 0000:00:14.3: 0x00000000 | data1
[    8.638578] iwlwifi 0000:00:14.3: 0x00000000 | data2
[    8.638579] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    8.638580] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[    8.638581] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[    8.638581] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    8.638582] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    8.638583] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[    8.638583] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[    8.638584] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[    8.638585] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[    8.638585] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[    8.638586] iwlwifi 0000:00:14.3: 0x00000000 | board version
[    8.638587] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[    8.638588] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[    8.638588] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    8.638589] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[    8.638590] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[    8.638590] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    8.638591] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[    8.638592] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[    8.638592] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    8.638593] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    8.638594] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    8.638594] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    8.638595] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[    8.638596] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    8.638596] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[    8.727796] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[    8.727798] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    8.727798] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[    8.727799] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[    8.727800] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    8.727803] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[    8.727804] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[    8.727805] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[    8.727806] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[    8.727807] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[    8.727807] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[    8.727808] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[    8.727809] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[    8.727809] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[    8.817013] iwlwifi 0000:00:14.3: IML/ROM dump:
[    8.817014] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[    8.817015] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[    8.906218] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[    8.995535] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[    9.171773] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[    9.171776] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    9.356244] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[    9.895186] iwlwifi 0000:00:14.3: Failed to get monitor header
[    9.895188] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   10.261135] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   10.811215] iwlwifi 0000:00:14.3: Failed to get monitor header
[   10.811216] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   32.254070] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   32.268027] iwlwifi 0000:00:14.3: retry init count 0
[   32.277719] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[   32.517885] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   33.884126] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[   33.973486] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[   34.062774] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[   34.152199] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[   34.330696] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[   34.419962] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[   34.509441] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[   34.598648] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[   34.688075] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[   34.688076] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[   34.688076] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[   34.688078] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   34.866766] WARNING: CPU: 1 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866786] Modules linked in: nfnetlink(+) qrtr bnep ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common snd_seq_device irqbypass asus_wmi btbcm iwlwifi
[   34.866894] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866917]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866934]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866955]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   34.866965]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[   34.866975]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[   34.866986]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[   34.867010]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[   34.867019]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[   34.867029]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[   34.867044]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[   34.867056]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[   34.867069]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[   34.867079]  ? __iwl_trans_pcie_grab_nic_access+0x133/0x150 [iwlwifi]
[   34.867090]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[   34.867101]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[   34.867114]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[   34.867125]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[   34.867134]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[   34.867142]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   34.867157]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[   34.867170]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   34.867229] iwlwifi 0000:00:14.3: HW error, resetting before reading
[   34.962905] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[   34.962908] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[   34.962909] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[   34.962909] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   34.962910] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[   34.962910] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[   34.962911] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[   34.962911] iwlwifi 0000:00:14.3: 0x00000000 | data1
[   34.962912] iwlwifi 0000:00:14.3: 0x00000000 | data2
[   34.962912] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   34.962913] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   34.962913] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[   34.962914] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   34.962914] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   34.962915] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[   34.962915] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[   34.962916] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[   34.962917] iwlwifi 0000:00:14.3: 0x00000000 | board version
[   34.962917] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[   34.962918] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[   34.962918] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   34.962919] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[   34.962919] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[   34.962920] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   34.962920] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   34.962921] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   34.962922] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   34.962922] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   34.962923] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[   34.962923] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   34.962924] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[   35.052275] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[   35.052276] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   35.052276] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[   35.052277] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[   35.052277] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[   35.052278] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[   35.052278] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[   35.052279] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[   35.052280] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[   35.052280] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[   35.052281] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[   35.052281] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[   35.141540] iwlwifi 0000:00:14.3: IML/ROM dump:
[   35.141542] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[   35.141542] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[   35.230877] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[   35.320383] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[   35.576856] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[   35.576859] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   36.014448] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   37.373822] iwlwifi 0000:00:14.3: Failed to get monitor header
[   37.373854] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   38.275853] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   39.635053] iwlwifi 0000:00:14.3: Failed to get monitor header
[   39.635055] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   63.190496] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   63.204484] iwlwifi 0000:00:14.3: retry init count 1
[   63.214492] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[   63.316712] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   64.546030] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x5a5a5a5a
[   64.638667] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x5a5a5a5a
[   64.723223] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x5a5a5a5a
[   64.808252] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x5a5a5a5a
[   64.985262] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5a5a5a5a, CPU2 Status: 0x5a5a5a5a
[   65.074129] iwlwifi 0000:00:14.3: WFPM_LMAC1_PD_NOTIFICATION: 0x5a5a5a5a
[   65.162933] iwlwifi 0000:00:14.3: HPM_SECONDARY_DEVICE_STATE: 0x5a5a5a5a
[   65.251689] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_ADDR: 0x5a5a5a5a
[   65.340485] iwlwifi 0000:00:14.3: WFPM_MAC_OTP_CFG7_DATA: 0x5a5a5a5a
[   65.340486] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0xd05c18
[   65.340487] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd05c1c
[   65.340490] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   65.518095] WARNING: CPU: 10 PID: 765 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1493 iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518122] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer nf_tables(+) nfnetlink qrtr bnep ses enclosure scsi_transport_sas sunrpc binfmt_misc vfat fat snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence iwlmvm(+) snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core mac80211 snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek soundwire_generic_allocation soundwire_bus snd_hda_codec_generic snd_soc_core intel_uncore_frequency intel_uncore_frequency_common snd_compress intel_tcc_cooling ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_intel_dspcfg coretemp snd_intel_sdw_acpi uvcvideo snd_hda_codec kvm_intel libarc4 uvc videobuf2_vmalloc iTCO_wdt pmt_telemetry intel_pmc_bxt videobuf2_memops mei_hdcp mei_pxp intel_rapl_msr snd_hda_core videobuf2_v4l2 pmt_class iTCO_vendor_support asus_nb_wmi kvm btusb snd_hwdep btrtl snd_seq videobuf2_common
[   65.518154]  snd_seq_device irqbypass asus_wmi btbcm iwlwifi btintel rapl videodev snd_pcm ledtrig_audio btmtk intel_cstate snd_timer uas processor_thermal_device_pci sparse_keymap bluetooth intel_uncore platform_profile processor_thermal_device pcspkr cfg80211 wmi_bmof snd mc usb_storage spidev mei_me soundcore processor_thermal_rfim i2c_i801 processor_thermal_mbox mei i2c_smbus rfkill idma64 processor_thermal_rapl intel_vsec intel_rapl_common igen6_edac int3400_thermal int3403_thermal int340x_thermal_zone acpi_thermal_rel acpi_tad acpi_pad joydev loop zram i915 nvme nvme_core nvme_common i2c_algo_bit drm_buddy ttm crct10dif_pclmul crc32_pclmul crc32c_intel drm_display_helper polyval_clmulni polyval_generic spi_pxa2xx_platform hid_multitouch ghash_clmulni_intel sha512_ssse3 cec dw_dmac vmd i2c_hid_acpi i2c_hid video wmi pinctrl_tigerlake serio_raw ip6_tables ip_tables fuse
[   65.518197] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518230]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518253]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518283]  ? iwl_trans_pcie_grab_nic_access+0x2c/0x40 [iwlwifi]
[   65.518300]  ? iwl_fwrt_dump_lmac_error_log+0x50c/0x600 [iwlwifi]
[   65.518317]  ? iwl_fwrt_dump_lmac_error_log+0xb3/0x600 [iwlwifi]
[   65.518335]  iwl_fwrt_dump_error_logs+0x28/0x2c0 [iwlwifi]
[   65.518352]  iwl_mvm_nic_error+0x61/0xe0 [iwlmvm]
[   65.518383]  iwl_trans_sync_nmi_with_addr+0x79/0x170 [iwlwifi]
[   65.518398]  iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[   65.518416]  iwl_mvm_load_ucode_wait_alive+0x506/0x620 [iwlmvm]
[   65.518438]  ? __pfx_iwl_alive_fn+0x10/0x10 [iwlmvm]
[   65.518457]  iwl_run_unified_mvm_ucode+0xbb/0x280 [iwlmvm]
[   65.518478]  ? __pfx_iwl_wait_init_complete+0x10/0x10 [iwlmvm]
[   65.518496]  ? __iwl_trans_pcie_grab_nic_access+0x133/0x150 [iwlwifi]
[   65.518513]  iwl_run_init_mvm_ucode+0x1f8/0x3a0 [iwlmvm]
[   65.518532]  iwl_mvm_start_get_nvm+0x88/0x1f0 [iwlmvm]
[   65.518554]  iwl_op_mode_mvm_start+0x80f/0xa10 [iwlmvm]
[   65.518574]  _iwl_op_mode_start+0x98/0xc0 [iwlwifi]
[   65.518589]  iwl_opmode_register+0x6c/0xe0 [iwlwifi]
[   65.518603]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   65.518625]  iwl_mvm_init+0x26/0xff0 [iwlmvm]
[   65.518645]  ? __pfx_iwl_mvm_init+0x10/0x10 [iwlmvm]
[   65.518726] iwlwifi 0000:00:14.3: HW error, resetting before reading
[   65.613908] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[   65.613913] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT          
[   65.613915] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status0
[   65.613916] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   65.613917] iwlwifi 0000:00:14.3: 0x00000000 | branchlink2
[   65.613917] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink1
[   65.613918] iwlwifi 0000:00:14.3: 0x00000000 | interruptlink2
[   65.613919] iwlwifi 0000:00:14.3: 0x00000000 | data1
[   65.613920] iwlwifi 0000:00:14.3: 0x00000000 | data2
[   65.613920] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   65.613921] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   65.613922] iwlwifi 0000:00:14.3: 0x00000000 | tsf low
[   65.613923] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   65.613923] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   65.613924] iwlwifi 0000:00:14.3: 0x00000000 | time gp2
[   65.613925] iwlwifi 0000:00:14.3: 0x00000000 | uCode revision type
[   65.613926] iwlwifi 0000:00:14.3: 0x00000000 | uCode version major
[   65.613926] iwlwifi 0000:00:14.3: 0x00000000 | uCode version minor
[   65.613927] iwlwifi 0000:00:14.3: 0x00000000 | hw version
[   65.613928] iwlwifi 0000:00:14.3: 0x00000000 | board version
[   65.613929] iwlwifi 0000:00:14.3: 0x00000000 | hcmd
[   65.613929] iwlwifi 0000:00:14.3: 0x00000000 | isr0
[   65.613930] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   65.613931] iwlwifi 0000:00:14.3: 0x00000000 | isr2
[   65.613931] iwlwifi 0000:00:14.3: 0x00000000 | isr3
[   65.613932] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   65.613933] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   65.613934] iwlwifi 0000:00:14.3: 0x00000000 | wait_event
[   65.613934] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   65.613935] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   65.613936] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   65.613937] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   65.613937] iwlwifi 0000:00:14.3: 0x00000000 | lmpm_pmg_sel
[   65.613938] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   65.613939] iwlwifi 0000:00:14.3: 0x00000000 | flow_handler
[   65.702760] iwlwifi 0000:00:14.3: 0x00000000 | ADVANCED_SYSASSERT
[   65.702763] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   65.702763] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink2
[   65.702764] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink1
[   65.702765] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[   65.702766] iwlwifi 0000:00:14.3: 0x00000000 | umac data1
[   65.702766] iwlwifi 0000:00:14.3: 0x00000000 | umac data2
[   65.702767] iwlwifi 0000:00:14.3: 0x00000000 | umac data3
[   65.702768] iwlwifi 0000:00:14.3: 0x00000000 | umac major
[   65.702768] iwlwifi 0000:00:14.3: 0x00000000 | umac minor
[   65.702769] iwlwifi 0000:00:14.3: 0x00000000 | frame pointer
[   65.702770] iwlwifi 0000:00:14.3: 0x00000000 | stack pointer
[   65.702770] iwlwifi 0000:00:14.3: 0x00000000 | last host cmd
[   65.702771] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[   65.791569] iwlwifi 0000:00:14.3: IML/ROM dump:
[   65.791570] iwlwifi 0000:00:14.3: 0x5A5A | IML/ROM SYSASSERT
[   65.791571] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM error/state
[   65.880279] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM data1
[   65.968488] iwlwifi 0000:00:14.3: 0x5A5A5A5A | IML/ROM WFPM_AUTH_KEY_0
[   66.145636] iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
[   66.145640] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[   66.323589] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   66.858655] iwlwifi 0000:00:14.3: Failed to get monitor header
[   66.858658] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   67.217787] iwlwifi 0000:00:14.3: WRT: Failed to dump region: id=1, type=10
[   67.765471] iwlwifi 0000:00:14.3: Failed to get monitor header
[   67.765475] iwlwifi 0000:00:14.3: WRT: Failed to fill region header: id=16, type=2
[   77.688179] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
[   77.700981] iwlwifi 0000:00:14.3: retry init count 2

After update wifi driver loaded OK
[root@fedora ~]# dmesg | grep iwl
[    6.315038] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    6.367649] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    6.367743] iwlwifi 0000:00:14.3: PCI dev 51f0/0074, rev=0x370, rfid=0x10a100
[    6.371067] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-83.ucode failed with error -2
[    6.371099] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-82.ucode failed with error -2
[    6.431361] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[    6.431382] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
[    6.431701] iwlwifi 0000:00:14.3: loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode op_mode iwlmvm
[    6.606637] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
[    6.613637] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    6.717270] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    6.717319] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    6.717367] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    6.717416] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    6.717476] iwlwifi 0000:00:14.3: Detected RF HR B3, rfid=0x10a100
[    6.718779] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    6.784542] iwlwifi 0000:00:14.3: base HW address: f4:26:79:73:61:ee
[    6.802921] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
[    7.602876] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.701657] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    7.701706] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    7.701715] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    7.701724] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    7.703214] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    7.774155] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[    7.809578] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    7.908467] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    7.908496] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    7.908544] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    7.908555] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    7.910142] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    8.019735] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[    8.019963] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    8.019966] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
[    8.019971] iwlwifi 0000:00:14.3: Loaded firmware version: 81.31fc9ae6.0 so-a0-hr-b0-81.ucode
[    8.019975] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[    8.019980] iwlwifi 0000:00:14.3: 0x000002F0 | trm_hw_status0
[    8.019983] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[    8.019986] iwlwifi 0000:00:14.3: 0x004D8B5C | branchlink2
[    8.019989] iwlwifi 0000:00:14.3: 0x004CEDFA | interruptlink1
[    8.019992] iwlwifi 0000:00:14.3: 0x004CEDFA | interruptlink2
[    8.019995] iwlwifi 0000:00:14.3: 0x00014F1A | data1
[    8.019998] iwlwifi 0000:00:14.3: 0x00000010 | data2
[    8.020000] iwlwifi 0000:00:14.3: 0x00000000 | data3
[    8.020003] iwlwifi 0000:00:14.3: 0x003E0BA8 | beacon time
[    8.020005] iwlwifi 0000:00:14.3: 0x00027A4B | tsf low
[    8.020008] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[    8.020011] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[    8.020013] iwlwifi 0000:00:14.3: 0x00033352 | time gp2
[    8.020016] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[    8.020018] iwlwifi 0000:00:14.3: 0x00000051 | uCode version major
[    8.020021] iwlwifi 0000:00:14.3: 0x31FC9AE6 | uCode version minor
[    8.020023] iwlwifi 0000:00:14.3: 0x00000370 | hw version
[    8.020026] iwlwifi 0000:00:14.3: 0x00C80002 | board version
[    8.020028] iwlwifi 0000:00:14.3: 0x001F0103 | hcmd
[    8.020030] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[    8.020033] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[    8.020035] iwlwifi 0000:00:14.3: 0x48F04802 | isr2
[    8.020037] iwlwifi 0000:00:14.3: 0x00C3000C | isr3
[    8.020039] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[    8.020042] iwlwifi 0000:00:14.3: 0x001F0103 | last cmd Id
[    8.020044] iwlwifi 0000:00:14.3: 0x00014F1A | wait_event
[    8.020046] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[    8.020048] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[    8.020051] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[    8.020053] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[    8.020055] iwlwifi 0000:00:14.3: 0x00000018 | lmpm_pmg_sel
[    8.020057] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[    8.020059] iwlwifi 0000:00:14.3: 0x00001840 | flow_handler
[    8.020121] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[    8.020123] iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
[    8.020127] iwlwifi 0000:00:14.3: 0x2010190E | ADVANCED_SYSASSERT
[    8.020130] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[    8.020132] iwlwifi 0000:00:14.3: 0x8046D5A0 | umac branchlink2
[    8.020135] iwlwifi 0000:00:14.3: 0xC0081500 | umac interruptlink1
[    8.020137] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[    8.020139] iwlwifi 0000:00:14.3: 0x01001718 | umac data1
[    8.020142] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data2
[    8.020144] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data3
[    8.020146] iwlwifi 0000:00:14.3: 0x00000051 | umac major
[    8.020148] iwlwifi 0000:00:14.3: 0x31FC9AE6 | umac minor
[    8.020151] iwlwifi 0000:00:14.3: 0x0003334D | frame pointer
[    8.020153] iwlwifi 0000:00:14.3: 0xC0886BF4 | stack pointer
[    8.020155] iwlwifi 0000:00:14.3: 0x001F0103 | last host cmd
[    8.020157] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[    8.020198] iwlwifi 0000:00:14.3: IML/ROM dump:
[    8.020200] iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
[    8.020246] iwlwifi 0000:00:14.3: 0x0000510E | IML/ROM data1
[    8.020297] iwlwifi 0000:00:14.3: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
[    8.020389] iwlwifi 0000:00:14.3: Fseq Registers:
[    8.020396] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[    8.020438] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_TOP_INIT_VERSION
[    8.020445] iwlwifi 0000:00:14.3: 0x00150001 | FSEQ_CNVIO_INIT_VERSION
[    8.020486] iwlwifi 0000:00:14.3: 0x0000A482 | FSEQ_OTP_VERSION
[    8.020493] iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
[    8.020535] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[    8.020541] iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
[    8.020583] iwlwifi 0000:00:14.3: 0x01300504 | FSEQ_CNVR_ID
[    8.020590] iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
[    8.020634] iwlwifi 0000:00:14.3: 0x01300504 | CNVR_AUX_MISC_CHIP
[    8.020690] iwlwifi 0000:00:14.3: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    8.020731] iwlwifi 0000:00:14.3: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    8.020777] iwlwifi 0000:00:14.3: 0x00150001 | FSEQ_PREV_CNVIO_INIT_VERSION
[    8.020783] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_WIFI_FSEQ_VERSION
[    8.020825] iwlwifi 0000:00:14.3: 0x00350002 | FSEQ_BT_FSEQ_VERSION
[    8.020832] iwlwifi 0000:00:14.3: 0x000000EB | FSEQ_CLASS_TP_VERSION
[    8.020880] iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x8048bb7c
[    8.020922] iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
[    8.021110] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[    8.626963] iwlwifi 0000:00:14.3: Failed to send MAC_CONFIG_CMD (action:1): -5
[    8.647836] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    8.751398] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    8.751453] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    8.751515] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    8.751526] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    8.753396] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[   12.974777] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[   13.073804] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   13.073854] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   13.073905] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[   13.073955] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[   13.075223] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5

Thursday, September 7, 2023

Bluetooth sound device not detected on Linux

 HOWTO

  • https://unix.stackexchange.com/questions/736933/what-is-the-bluetooth-controllermode-in-etc-bluetooth-main-conf-what-is-bredr 



[dave@fedora ~]$ grep ControllerMode  /etc/bluetooth/main.conf
ControllerMode = bredr

dave@fedora ~]$ sudo systemctl status bluetooth
[sudo] password for dave: 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-09-09 20:18:52 CEST; 1h 22min ago
       Docs: man:bluetoothd(8)
   Main PID: 895 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18757)
     Memory: 3.3M
        CPU: 73ms
     CGroup: /system.slice/bluetooth.service
             └─895 /usr/libexec/bluetooth/bluetoothd

Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/faststream
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/opus_05
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/opus_05
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 09 20:19:12 fedora bluetoothd[895]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Sep 09 20:19:53 fedora bluetoothd[895]: profiles/audio/avctp.c:avctp_connect_cb() connect to C4:30:18:9C:D4:49: Connection refused (111)
Sep 09 20:33:48 fedora bluetoothd[895]: /org/bluez/hci0/dev_C4_30_18_9C_D4_49/sep3/fd1: fd(29) ready
[dave@fedora ~]$ sudo systemctl restart bluetooth
[dave@fedora ~]$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-09-09 21:41:51 CEST; 1s ago
       Docs: man:bluetoothd(8)
   Main PID: 12207 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18757)
     Memory: 744.0K
        CPU: 24ms
     CGroup: /system.slice/bluetooth.service
             └─12207 /usr/libexec/bluetooth/bluetoothd

Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/sbc
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/sbc
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/sbc_xq
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/sbc_xq
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/faststream
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/faststream_duplex
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/opus_05
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/opus_05
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Sep 09 21:41:51 fedora bluetoothd[12207]: Endpoint registered: sender=:1.81 path=/MediaEndpoint/A2DPSource/opus_05_duplex
[dave@fedora ~]$ 

Thursday, March 9, 2023

Trezor on Fedora with GPG

 HOWTO

 

Install Python Trezor libs on Fedora

sudo dnf install  python-trezor
Install using PIP
pip3 install setuptools wheel
pip3 install --upgrade setuptools
pip3 install trezor
python3 -m pip install trezor[hidapi]

Initialize GPG with key from Trezor

trezor-gpg init "DaVe dave@somemail.com" -vv
export GNUPGHOME=~/.gnupg/trezor
$ find ~/.gnupg/trezor/
/home/dave/.gnupg/trezor/
/home/dave/.gnupg/trezor/run-agent.sh
/home/dave/.gnupg/trezor/gpg.conf
/home/dave/.gnupg/trezor/env
/home/dave/.gnupg/trezor/pubkey.asc
/home/dave/.gnupg/trezor/pubring.kbx~
/home/dave/.gnupg/trezor/pubring.kbx
/home/dave/.gnupg/trezor/trustdb.gpg
/home/dave/.gnupg/trezor/gpg-agent.log
/home/dave/.gnupg/trezor/ownertrust.txt
/home/dave/.gnupg/trezor/random_seed