Opened 2 years ago

Last modified 8 months ago

#17966 new bug

idualwifi7260 firmware not loading

Reported by: slubman Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/idualwifi7260 Version: R1/Development
Keywords: Cc:
Blocked By: #17833 Blocking:
Platform: x86-64

Description (last modified by slubman)

Installed Haiku R1/Beta3 x86_64 in UEFI mode on a Thinkpad T450s. Since the system has been updated to the latest Haiku dev version (hrev56506 as of writing)

The WiFi card is detected but not working. Network Preference dialog

In the syslog the relevant part is:

~> grep -i idualwifi /var/log/syslog
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0
KERN: pci_reserve_device(3, 0, 0, idualwifi7260)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: [idualwifi7260] idualwifi7260: /dev/net/idualwifi7260/0
KERN: idualwifi7260: init_driver(0xffffffff82064930)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/idualwifi7260
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0
KERN: pci_reserve_device(3, 0, 0, idualwifi7260)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: [idualwifi7260] idualwifi7260: /dev/net/idualwifi7260/0
KERN: idualwifi7260: init_driver(0xffffffff82064930)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/idualwifi7260
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0
KERN:    idualwifi7260:_ZL12intr_wrapperPv          (0xffffffff820422d0), data 0xffffffff810834c0, handled        0

I see there is the existing issue #17833 , however contrary to this one the bluetooth is also not working. Bluetooth Settings dialog

I have attached the full syslog file

Attachments (4)

syslog (336.3 KB ) - added by slubman 2 years ago.
syslog-hrev56465
screenshot1.png (46.9 KB ) - added by slubman 2 years ago.
Network Preference dialog
screenshot3.png (27.9 KB ) - added by slubman 2 years ago.
Bluetooth Settings dialog
photo_2022-10-03_21-25-15.jpg (227.6 KB ) - added by slubman 2 years ago.
OpenBSD installer

Download all attachments as: .zip

Change History (16)

by slubman, 2 years ago

Attachment: syslog added

syslog-hrev56465

by slubman, 2 years ago

Attachment: screenshot1.png added

Network Preference dialog

by slubman, 2 years ago

Attachment: screenshot3.png added

Bluetooth Settings dialog

comment:1 by slubman, 2 years ago

Description: modified (diff)

comment:2 by slubman, 2 years ago

Description: modified (diff)

comment:3 by slubman, 2 years ago

Description: modified (diff)

comment:4 by bruno, 2 years ago

dupe of #17855 please have a look at this ticket.

comment:5 by slubman, 2 years ago

I don't think my issue is related to the one in #17855 as for example the driver does not report a mac address for the wifi card nor can I get a list of network to be asked for a passphrase

~> ifconfig /dev/net/idualwifi7260/0 
/dev/net/idualwifi7260/0
        Hardware type: Ethernet, Address: 00:00:00:00:00:00
        inet addr: --, Bcast: --, Mask: --
        MTU: 2294, Metric: 0, up broadcast
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0

~> ifconfig /dev/net/idualwifi7260/0 scan
ifconfig: Scan on "/dev/net/idualwifi7260/0" failed: Operation not supported

comment:6 by waddlesplash, 2 years ago

Blocked By: 17833 added

Having experience with "failed to load init firwmare" before, this is almost definitely related to #17833. No MAC address generally just means the driver failed to initialize all the way. And of course no initialization means you cannot get lists of networks.

From the syslog:

KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 095b: Wireless 7265 (Dual Band Wireless-AC 7265)

What version of the intel_wifi_firmwares package is installed?

Can you test to see if this works on OpenBSD?

by slubman, 2 years ago

OpenBSD installer

in reply to:  6 comment:7 by slubman, 2 years ago

Replying to waddlesplash:

Having experience with "failed to load init firwmare" before, this is almost definitely related to #17833. No MAC address generally just means the driver failed to initialize all the way. And of course no initialization means you cannot get lists of networks.

From the syslog:

KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 095b: Wireless 7265 (Dual Band Wireless-AC 7265)

What version of the intel_wifi_firmwares package is installed?

2022_01_11-3

Can you test to see if this works on OpenBSD?

The wifi card is not working in the OpenBSD installer with a similar error

Last edited 2 years ago by waddlesplash (previous) (diff)

comment:8 by waddlesplash, 2 years ago

No, that means the firmware is not installed. You have to fetch the package containing it with the fwupdate tool. See guides elsewhere on how to do that.

comment:9 by slubman, 2 years ago

Tested on an installed OpenBSD 7.1 system, and the wifi card does work there.

iwm0: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6,AUTOCONF4> mtu 1500
	lladdr 34:02:86:XX:XX:XX
	index 2 priority 4 llprio 3
	groups: wlan egress
	media: IEEE802.11 autoselect (VHT-MCS5 mode 11ac)
	status: active
	ieee80211: join "XXXXXXXXXX" chan 60 bssid XXXXXXXXX 100% wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
	inet6 fe80::XXXX%iwm0 prefixlen 64 scopeid 0x2
	inet 192.168.XXX.XXX netmask 0xffffff00 broadcast 192.168.2.255
	inet6 2a01:XXXX prefixlen 64 autoconf pltime 3522 vltime 7122
	inet6 2a01:XXXX prefixlen 64 autoconf temporary pltime 3522 vltime 7122

comment:10 by erysdren, 14 months ago

Upvoted this, I'm experiencing the same issue on my desktop machine with Haiku under UEFI. I'm running Haiku R1/Beta4.

ifconfig:

~> ifconfig
loop    Hardware type: Local Loopback, Address: none
        inet addr: 127.0.0.1, Mask: 255.0.0.0
        inet6 addr: ::1, Prefix Length: 128
        MTU: 16384, Metric: 0, up loopback link
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0

/dev/net/idualwifi7260/0
        Hardware type: Ethernet, Address: 00:00:00:00:00:00
        inet addr: --, Bcast: --, Mask: --
        MTU: 2294, Metric: 0, up broadcast
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0

/dev/net/rtl81xx/0
        Hardware type: Ethernet, Address: 0c:9d:92:c8:30:0f
        inet addr: --, Bcast: --, Mask: --
        MTU: 9004, Metric: 0, up broadcast
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0

syslog:

KERN: pci_reserve_device(4, 0, 0, idualwifi7260)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 4
KERN: idualwifi7260: failed to load init firmware
KERN: [idualwifi7260] idualwifi7260: /dev/net/idualwifi7260/0
KERN: idualwifi7260: init_driver(0xffffffff805f3930)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/idualwifi7260
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 4
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0

Network:

https://erysdren.me/files/haiku_idualwifi7260_uefi.png

Edit:

The card also works on EFI Linux, and BIOS Haiku R1/Beta4

Last edited 14 months ago by erysdren (previous) (diff)

comment:11 by waddlesplash, 8 months ago

Please retest with a recent nightly and see if anything is different here.

comment:12 by slubman, 8 months ago

Just tried with hrev57640, and still no luck for the wifi. Furthermore, the bluetooth dialog seems not to be working anymore.

The syslog from this revision:

~> grep idualwifi /var/log/syslog
KERN: pci_reserve_device(3, 0, 0, idualwifi7260)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: [idualwifi7260] idualwifi7260: /dev/net/idualwifi7260/0
KERN: idualwifi7260: init_driver(0xffffffff8299d930)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/idualwifi7260
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0
KERN: pci_reserve_device(3, 0, 0, idualwifi7260)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(3, [16], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: [idualwifi7260] (iwm) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: [idualwifi7260] idualwifi7260: /dev/net/idualwifi7260/0
KERN: idualwifi7260: init_driver(0xffffffff8196d930)
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/idualwifi7260
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
KERN: /dev/net/idualwifi7260/0: link down, media 0x80 quality 1000 speed 0
KERN: [net/idualwifi7260/0] compat_close()
KERN: [net/idualwifi7260/0] compat_free()
KERN: [net/idualwifi7260/0] compat_open(0x2)
KERN: idualwifi7260: fw chunk addr 0x800000 len 98304 failed to load
KERN: idualwifi7260: could not load firmware chunk 0 of 3
KERN: idualwifi7260: failed to load init firmware
Last edited 8 months ago by slubman (previous) (diff)
Note: See TracTickets for help on using tickets.