Opened 3 years ago

Closed 3 years ago

#16958 closed bug (fixed)

idualwifi7260 works in hrev55078, not in 55091, 55099

Reported by: rjzak Owned by: korli
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/idualwifi7260 Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

The Intel Wi-Fi adapter was working on my System 76 Oryx Pro, until around the time of hrev55091. Also tested with the most recent version at the time of writing this bug report, hrev55099.

Network card info from listdev: device Network controller [2|80|0]

vendor 8086: Intel Corporation device a370: Wireless-AC 9560 [Jefferson Peak]

Attachments (2)

Network-1261-debug-22-05-2021-14-30-10.report (14.4 KB ) - added by rjzak 3 years ago.
Network preferences crash when viewing list of networks
syslog (154.3 KB ) - added by rjzak 3 years ago.
syslog when idualwifi module not loaded

Download all attachments as: .zip

Change History (21)

comment:1 by waddlesplash, 3 years ago

Owner: changed from waddlesplash to korli
Status: newassigned

Probably due to hrev55090.

comment:2 by korli, 3 years ago

Providing logs is a minimum when submitting bug reports. Really.

comment:3 by rjzak, 3 years ago

Now I feel like an idiot. I haven't updated any software, but I booted into Haiku to get the log file, and now idualwifi is appearing in the network preferences. However, trying to select the wifi network makes Network crash.

by rjzak, 3 years ago

Network preferences crash when viewing list of networks

comment:4 by korli, 3 years ago

You should be able to select the wifi network in the deskbar.

by rjzak, 3 years ago

Attachment: syslog added

syslog when idualwifi module not loaded

comment:5 by rjzak, 3 years ago

I booted Haiku again and the wifi card isn't working again. This is now on hrev55100.

From the syslog (full log attached):

KERN: pci_reserve_device(0, 20, 3, idualwifi7260)

KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)

KERN: set MTRRs to:

KERN: mtrr: 0: base: 0x0, size: 0x1000, type: 0

KERN: mtrr: 1: base: 0x7f000000, size: 0x800000, type: 0

KERN: mtrr: 2: base: 0x7fc00000, size: 0x100000, type: 0

KERN: mtrr: 3: base: 0x7fd00000, size: 0x8000, type: 0

KERN: mtrr: 4: base: 0x7fd0c000, size: 0x2000, type: 0

KERN: mtrr: 5: base: 0x7fd08000, size: 0x4000, type: 0

KERN: mtrr: 6: base: 0x7fe00000, size: 0x200000, type: 0

KERN: mtrr: 7: base: 0xa0000000, size: 0x20000000, type: 0

KERN: mtrr: 8: base: 0xc0000000, sKERN: ize: 0x40000000, type: 0

KERN: mtrr: 9: base: 0x80000000, size: 0x80000000, type: 1

KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 69

KERN: msi_allocate_vectors: allocated 1 vectors starting from 69

KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)

KERN: msi enabled: 0x0081

....

KERN: [idualwifi7260] (iwm) fw chunk addr 0x404000 len 712 failed to load

KERN: [idualwifi7260] (iwm) iwm_pcie_load_section: Could not load the [0] uCode section

KERN: [idualwifi7260] (iwm) iwm_start_fw: failed -2147483639

KERN: [idualwifi7260] (iwm) Failed to start INIT ucode: -2147483639

comment:6 by korli, 3 years ago

Looks like #14298

comment:7 by rjzak, 3 years ago

Looks similar. Some differences are that I've always been using EFI & 64-bit, and it somestimes works.

comment:8 by korli, 3 years ago

The real question is whether there was a regression in hrev55090. It seems unlikely to me, could you check this please?

comment:9 by X512, 3 years ago

In my case (7265) WiFi operation seems to depend on what is connected to USB ports and which USB ports. If USB boot disk is connected to wrong port, WiFi stop working.

Last edited 3 years ago by X512 (previous) (diff)

comment:10 by rjzak, 3 years ago

I don't know what MSI-X is (referred to in #14298), but this is the log when the wi-fi adapter works:

KERN: pci_reserve_device(0, 20, 3, idualwifi7260)

KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)

KERN: set MTRRs to:

KERN: mtrr: 0: base: 0x0, size: 0x1000, type: 0

KERN: mtrr: 1: base: 0x7f000000, size: 0x800000, type: 0

KERN: mtrr: 2: base: 0x7fc00000, size: 0x100000, type: 0

KERN: mtrr: 3: base: 0x7fd00000, size: 0x8000, type: 0

KERN: mtrr: 4: base: 0x7fd0c000, size: 0x2000, type: 0

KERN: mtrr: 5: base: 0x7fd08000, size: 0x4000, type: 0

KERN: mtrr: 6: base: 0x7fe00000, size: 0x200000, type: 0

KERN: mtrr: 7: base: 0xa0000000, size: 0x20000000, type: 0

KERN: mtrr: 8: base: 0xc0000000, sKERN: ize: 0x40000000, type: 0

KERN: mtrr: 9: base: 0x80000000, size: 0x80000000, type: 1

KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 69

KERN: msi_allocate_vectors: allocated 1 vectors starting from 69

KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)

KERN: msi enabled: 0x0081

comment:11 by rjzak, 3 years ago

@korli How do I downgrade to a specific version? Can't seem to figure that out with the pkgman command.

comment:13 by rjzak, 3 years ago

I'm aware of booting Haiku's prior states. The problem is that I never installed hrev55090, I went from hrev55078 to hrev55091 and later hrev55099. Can I force a downgrade in HaikuDepot or pkgman to hrev55090, or would I need to check out that revision, compile, install?

comment:14 by korli, 3 years ago

regarding iwm, hrev55091 is about the same as hrev55090.

comment:15 by korli, 3 years ago

hrev55090 reapplied in hrev55114

comment:16 by rjzak, 3 years ago

Right now, idualwifi works in hrev55114. Previously, the wifi driver would sometimes work, sometimes not. I'll try a few reboots to see if it stays working.

comment:17 by Coldfirex, 3 years ago

rjzak: Has it stayed working?

comment:18 by rjzak, 3 years ago

Worked on hrev55415 and works still after SoftwareUpdater brought me to hrev55449. Looking good.

comment:19 by waddlesplash, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.