Monday, May 30, 2022

Re: iwm driver not working on starlabs starlite iv laptop

Dnia Mon, May 30, 2022 at 10:09:19AM +0200, Stefan Sperling napisaƂ(a):
> A likely reason is that this device is mis-detected and we are loading
> the wrong firmware image.
> Please boot Linux with iwlwifi and check which fw image gets loaded there.
> And the output of pcidump -vv on OpenBSD would help, too.

So, it looks like it's AC 9461 chip. It seems to be supported by FreeBSD:

https://www.freebsd.org/cgi/man.cgi?query=iwm&sektion=4&manpath=freebsd-release-ports

But OpenBSD does not have it on the list of supported hardware:

https://man.openbsd.org/iwm

Here is relevant Linux dmesg:

[ 28.015159] iwlwifi 0000:00:0c.0: WRT: Overriding region id 0
[ 28.015167] iwlwifi 0000:00:0c.0: WRT: Overriding region id 1
[ 28.015169] iwlwifi 0000:00:0c.0: WRT: Overriding region id 2
[ 28.015171] iwlwifi 0000:00:0c.0: WRT: Overriding region id 3
[ 28.015173] iwlwifi 0000:00:0c.0: WRT: Overriding region id 4
[ 28.015175] iwlwifi 0000:00:0c.0: WRT: Overriding region id 6
[ 28.015177] iwlwifi 0000:00:0c.0: WRT: Overriding region id 8
[ 28.015178] iwlwifi 0000:00:0c.0: WRT: Overriding region id 9
[ 28.015180] iwlwifi 0000:00:0c.0: WRT: Overriding region id 10
[ 28.015182] iwlwifi 0000:00:0c.0: WRT: Overriding region id 11
[ 28.015183] iwlwifi 0000:00:0c.0: WRT: Overriding region id 15
[ 28.015185] iwlwifi 0000:00:0c.0: WRT: Overriding region id 16
[ 28.015187] iwlwifi 0000:00:0c.0: WRT: Overriding region id 18
[ 28.015188] iwlwifi 0000:00:0c.0: WRT: Overriding region id 19
[ 28.015190] iwlwifi 0000:00:0c.0: WRT: Overriding region id 20
[ 28.015191] iwlwifi 0000:00:0c.0: WRT: Overriding region id 21
[ 28.015193] iwlwifi 0000:00:0c.0: WRT: Overriding region id 28
[ 28.015961] iwlwifi 0000:00:0c.0: loaded firmware version 46.fae53a8b.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
[ 28.306439] intel_telemetry_core Init
...
[ 28.430784] iwlwifi 0000:00:0c.0: Detected Intel(R) Wireless-AC 9461, REV=0x318
...
[ 28.486992] iwlwifi 0000:00:0c.0: base HW address: **:**:**:**:**:**
[ 28.531382] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
...
[ 28.550662] iwlwifi 0000:00:0c.0 wlp0s12f0: renamed from wlan0
...
[ 47.042546] iwlwifi 0000:00:0c.0: Conflict between TLV & NVM regarding enabling LAR (TLV = enabled NVM =disabled)

Here is OpenBSD pcidump -vv:

Domain /dev/pci0:
0:0:0: Intel Gemini Lake Host
0x0000: Vendor ID: 8086, Product ID: 31f0
0x0004: Command: 0007, Status: 0000
0x0008: Class: 06 Bridge, Subclass: 00 Host,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 31f0
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0:0:1: Intel Gemini Lake DPTF
0x0000: Vendor ID: 8086, Product ID: 318c
0x0004: Command: 0006, Status: 0090
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x0000000091110000/0x00008000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 318c
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x00d0: Capability 0x01: Power Management
State: D0
0x00e0: Capability 0x09: Vendor Specific
0:2:0: Intel UHD Graphics 605
0x0000: Vendor ID: 8086, Product ID: 3184
0x0004: Command: 0007, Status: 0010
0x0008: Class: 03 Display, Subclass: 00 VGA,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x0000000090000000/0x01000000
0x0018: BAR mem prefetchable 64bit addr: 0x0000000080000000/0x10000000
0x0020: BAR io addr: 0x00001000/0x0040
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 2212
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0040: Capability 0x09: Vendor Specific
0x0070: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 128 bytes
0x0100: Enhanced Capability 0x1b: Process Address Space ID
0x0200: Enhanced Capability 0x0f: Address Translation Services
0x0300: Enhanced Capability 0x13: Page Request Interface
0x00ac: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes
0x00d0: Capability 0x01: Power Management
State: D0
0:12:0: Intel AC 9560
0x0000: Vendor ID: 8086, Product ID: 31dc
0x0004: Command: 0006, Status: 0010
0x0008: Class: 02 Network, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x0000000091118000/0x00004000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 0264
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x00c8: Capability 0x01: Power Management
State: D0
0x00d0: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no
0x0040: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 128 bytes
0x0100: Enhanced Capability 0x00: Unknown
0x014c: Enhanced Capability 0x18: Latency Tolerance Reporting
0x0164: Enhanced Capability 0x0b: Vendor-Specific
0x0080: Capability 0x11: Extended Message Signalled Interrupts (MSI-X)
Enabled: yes; table size 16 (BAR 0:8192)
0:14:0: Intel Gemini Lake HD Audio
0x0000: Vendor ID: 8086, Product ID: 3198
0x0004: Command: 0006, Status: 0010
0x0008: Class: 04 Multimedia, Subclass: 01 Audio,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x000000009111c000/0x00004000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR mem 64bit addr: 0x0000000091000000/0x00100000
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
State: D0
0x0080: Capability 0x09: Vendor Specific
0x0060: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no
0x0070: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 512 bytes
0x0100: Enhanced Capability 0x00: Unknown
0:18:0: Intel Gemini Lake AHCI
0x0000: Vendor ID: 8086, Product ID: 31e3
0x0004: Command: 0007, Status: 02b0
0x0008: Class: 01 Mass Storage, Subclass: 06 SATA,
Interface: 01, Revision: 06
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0x91120000/0x00002000
0x0014: BAR mem 32bit addr: 0x91131000/0x00000100
0x0018: BAR io addr: 0x00001060/0x0008
0x001c: BAR io addr: 0x00001068/0x0004
0x0020: BAR io addr: 0x00001040/0x0020
0x0024: BAR mem 32bit addr: 0x91130000/0x00000800
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes
0x0070: Capability 0x01: Power Management
State: D0
0x00a8: Capability 0x12: SATA
0:21:0: Intel Gemini Lake xHCI
0x0000: Vendor ID: 8086, Product ID: 31a8
0x0004: Command: 0006, Status: 0290
0x0008: Class: 0c Serial Bus, Subclass: 03 USB,
Interface: 30, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x0000000091100000/0x00010000
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 31a8
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0070: Capability 0x01: Power Management
State: D0
0x0080: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes
0x0090: Capability 0x09: Vendor Specific
0:23:0: Intel Gemini Lake I2C
0x0000: Vendor ID: 8086, Product ID: 31b4
0x0004: Command: 0006, Status: 0010
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x0000000091127000/0x00001000
0x0018: BAR mem 64bit addr: 0x0000000091128000/0x00001000
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0:23:3: Intel Gemini Lake I2C
0x0000: Vendor ID: 8086, Product ID: 31ba
0x0004: Command: 0006, Status: 0010
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x0000000091129000/0x00001000
0x0018: BAR mem 64bit addr: 0x000000009112a000/0x00001000
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 04 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0:24:0: Intel Gemini Lake HSUART
0x0000: Vendor ID: 8086, Product ID: 31bc
0x0004: Command: 0006, Status: 0010
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x000000009112b000/0x00001000
0x0018: BAR mem 64bit addr: 0x000000009112c000/0x00001000
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0:24:2: Intel Gemini Lake HSUART
0x0000: Vendor ID: 8086, Product ID: 31c0
0x0004: Command: 0006, Status: 0010
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x0000000000000000/0x00001000
0x0018: BAR mem 64bit addr: 0x000000009112d000/0x00001000
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 03 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific
0:31:0: Intel Gemini Lake LPC
0x0000: Vendor ID: 8086, Product ID: 31e8
0x0004: Command: 0007, Status: 0200
0x0008: Class: 06 Bridge, Subclass: 01 ISA,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty (00000000)
0x0014: BAR empty (00000000)
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 8086 Product ID: 7270
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0:31:1: Intel Gemini Lake SMBus
0x0000: Vendor ID: 8086, Product ID: 31d4
0x0004: Command: 0003, Status: 0280
0x0008: Class: 0c Serial Bus, Subclass: 05 SMBus,
Interface: 00, Revision: 06
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x0000000000000000/0x00000100
0x0018: BAR empty (00000000)
0x001c: BAR empty (00000000)
0x0020: BAR io addr: 0x0000efa0/0x0020
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00

No comments:

Post a Comment