Project

General

Profile

Bug #10636

The firmware table is filled

Added by Steve Wheeler 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
06/04/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

Description

In current 12.1-stable based 2.5 snapshots even the default config exhausts the available firmware space at boot:

firmware: 'rt2561fw' version 0: 8192 bytes loaded at 0xffffffff82fdb330
firmware: 'rt2561sfw' version 0: 8192 bytes loaded at 0xffffffff82fdd3e0
firmware: 'rt2661fw' version 0: 8192 bytes loaded at 0xffffffff82fdf490
firmware: 'rt2860fw' version 0: 8192 bytes loaded at 0xffffffff82fe1540
firmware: 'iwm8265fw' version 0: 1811984 bytes loaded at 0xffffffff82723540
firmware: 'iwn1000fw' version 0: 337520 bytes loaded at 0xffffffff828dde28
firmware: 'iwn100fw' version 0: 337572 bytes loaded at 0xffffffff82930548
firmware: 'iwn105fw' version 0: 689680 bytes loaded at 0xffffffff82982ca0
firmware: 'iwn135fw' version 0: 701228 bytes loaded at 0xffffffff82a2b360
firmware: 'iwn2000fw' version 0: 695876 bytes loaded at 0xffffffff82ad6740
firmware: 'iwn2030fw' version 0: 707392 bytes loaded at 0xffffffff82b80638
firmware: 'iwn4965fw' version 0: 187972 bytes loaded at 0xffffffff82c2d228
firmware: 'mw88W8363fw' version 0: 94940 bytes loaded at 0xffffffff82f36358
firmware: 'mwlboot' version 0: 2280 bytes loaded at 0xffffffff82f4d638
firmware: 'rtwn-rtl8188eefw' version 111: 11216 bytes loaded at 0xffffffff82fe42b8
firmware: 'rtwn-rtl8188eufw' version 111: 13904 bytes loaded at 0xffffffff82fe6f38
firmware: 'rtwn-rtl8192cfwE' version 111: 14818 bytes loaded at 0xffffffff82fea638
firmware: 'wpifw' version 153229: 150100 bytes loaded at 0xffffffff8309d998
firmware: 'rtwn-rtl8192cfwE_B' version 111: 16332 bytes loaded at 0xffffffff82fee0d0
firmware: 'rtwn-rtl8192cfwT' version 111: 16126 bytes loaded at 0xffffffff82ff2150
firmware: 'rtwn-rtl8192cfwU' version 111: 16126 bytes loaded at 0xffffffff82ff6100
firmware: 'rtwn-rtl8192eufw' version 111: 31818 bytes loaded at 0xffffffff82ffa0b0
firmware: 'rtwn-rtl8812aufw' version 111: 32060 bytes loaded at 0xffffffff83001db0
firmware: 'rtwn-rtl8821aufw' version 111: 27804 bytes loaded at 0xffffffff83009ba0
firmware: 'mxge_eth_z8e' version 377284: 120629 bytes loaded at 0xffffffff82f4e100
firmware: 'mxge_ethp_z8e' version 387604: 121317 bytes loaded at 0xffffffff82f6b8f0
firmware: 'mxge_rss_eth_z8e' version 534724: 151912 bytes loaded at 0xffffffff82f89390
firmware: 'mxge_rss_ethp_z8e' version 544468: 152837 bytes loaded at 0xffffffff82fae5b0
firmware: 'iwn5000fw' version 0: 340696 bytes loaded at 0xffffffff82c5b120
firmware: 'iwn5150fw' version 0: 337400 bytes loaded at 0xffffffff82cae4a8
firmware: 'iwn6000fw' version 0: 454608 bytes loaded at 0xffffffff82d00b50
firmware: 'iwn6000g2afw' version 0: 677296 bytes loaded at 0xffffffff82d6fbd0
firmware: 'iwn6000g2bfw' version 0: 679436 bytes loaded at 0xffffffff82e15230
firmware: 'iwn6050fw' version 0: 469780 bytes loaded at 0xffffffff82ebb0f0
firmware: 't5fw_cfg' version 0: 5914 bytes loaded at 0xffffffff81d0e170
firmware: 't5fw_cfg_uwire' version 0: 21871 bytes loaded at 0xffffffff81d0f890
firmware: 't5fw' version 0: 673280 bytes loaded at 0xffffffff81d14e00
firmware: 't6fw_cfg' version 0: 5931 bytes loaded at 0xffffffff81db94b0
firmware: 't6fw_cfg_uwire' version 0: 22572 bytes loaded at 0xffffffff81dbabe0
firmware: 't6fw' version 0: 727552 bytes loaded at 0xffffffff81dc0410
firmware: 'ipw_bss' version 130: 209190 bytes loaded at 0xffffffff81e78d88
firmware: 'ipw_ibss' version 130: 201138 bytes loaded at 0xffffffff81eabf60
firmware: 'ipw_monitor' version 130: 196458 bytes loaded at 0xffffffff81edd1c8
firmware: 'iwi_bss' version 300: 191154 bytes loaded at 0xffffffff81f0d900
firmware: 'iwi_ibss' version 300: 185428 bytes loaded at 0xffffffff81f3c468
firmware: 'iwi_monitor' version 300: 187836 bytes loaded at 0xffffffff81f69970
firmware: 't4fw_cfg' version 0: 4535 bytes loaded at 0xffffffff81c7cd40
firmware: 't4fw_cfg_uwire' version 0: 21445 bytes loaded at 0xffffffff81c7def8
firmware: 't4fw' version 0: 568832 bytes loaded at 0xffffffff81c832c0
firmware: 'iwm3160fw' version 0: 918268 bytes loaded at 0xffffffff81f97990
firmware_register: cannot register image iwm3168fw, firmware table full!
module_register_init: MOD_LOAD (iwm3168fw_fw, 0xffffffff807476a0, 0) error 6
firmware_register: cannot register image iwm7260fw, firmware table full!
module_register_init: MOD_LOAD (iwm7260fw_fw, 0xffffffff80747700, 0) error 6
firmware_register: cannot register image iwm7265fw, firmware table full!
module_register_init: MOD_LOAD (iwm7265fw_fw, 0xffffffff80747760, 0) error 6
firmware_register: cannot register image rsu-rtl8712fw, firmware table full!
module_register_init: MOD_LOAD (rsu_rtl8712fw_fw, 0xffffffff80b1e760, 0) error 6
firmware_register: cannot register image runfw, firmware table full!
module_register_init: MOD_LOAD (runfw_fw, 0xffffffff80b41750, 0) error 6
firmware_register: cannot register image iwm7265Dfw, firmware table full!
module_register_init: MOD_LOAD (iwm7265Dfw_fw, 0xffffffff807477c0, 0) error 6
firmware_register: cannot register image iwm8000Cfw, firmware table full!
module_register_init: MOD_LOAD (iwm8000Cfw_fw, 0xffffffff80747820, 0) error 6

In addition to breaking those modules whos firmware load fails this means that any other modules requiring firmware loaded subsequently will fail.

Increasing FIRMWARE_MAX should allow that or not loading some of that firmware by default.

History

#1 Updated by Jens Leinenbach 5 months ago

I get the same error messages and some seem to be successful with FIRMWARE_MAX 100.
There is a similar discussion here:
https://forum.netgate.com/topic/142991/athp-driver/45

module_register_init: MOD_LOAD (iwm8000Cfw_fw, 0xffffffff80747820, 0) error 6
firmware_register: cannot register image iwm8000Cfw, firmware table full!
module_register_init: MOD_LOAD (iwm7265Dfw_fw, 0xffffffff807477c0, 0) error 6
firmware_register: cannot register image iwm7265Dfw, firmware table full!
module_register_init: MOD_LOAD (runfw_fw, 0xffffffff80b41750, 0) error 6
firmware_register: cannot register image runfw, firmware table full!
module_register_init: MOD_LOAD (rsu_rtl8712fw_fw, 0xffffffff80b1e760, 0) error 6
firmware_register: cannot register image rsu-rtl8712fw, firmware table full!
module_register_init: MOD_LOAD (iwm7265fw_fw, 0xffffffff80747760, 0) error 6
firmware_register: cannot register image iwm7265fw, firmware table full!
module_register_init: MOD_LOAD (iwm7260fw_fw, 0xffffffff80747700, 0) error 6
firmware_register: cannot register image iwm7260fw, firmware table full!
module_register_init: MOD_LOAD (iwm3168fw_fw, 0xffffffff807476a0, 0) error 6
firmware_register: cannot register image iwm3168fw, firmware table full!

#2 Updated by Jens Leinenbach 5 months ago

Well the problem should be gone with the next FreeBSD version:
https://github.com/freebsd/freebsd/commit/7dfd7b3b1a033dac9d594cdec23d2f82b84fa39d

#3 Updated by Renato Botelho 5 months ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho

Jens Leinenbach wrote:

Well the problem should be gone with the next FreeBSD version:
https://github.com/freebsd/freebsd/commit/7dfd7b3b1a033dac9d594cdec23d2f82b84fa39d

This commit was cherry-picked to 2.5.0 repository. It's going to be available on tomorrow's snapshots

#4 Updated by Steve Wheeler 5 months ago

  • Status changed from Feedback to Resolved

Looks good now.

Jun 13 00:14:56     kernel         firmware: 'rt2561fw' version 0: 8192 bytes loaded at 0xffffffff82fdb330
Jun 13 00:14:56     kernel         firmware: 'rt2561sfw' version 0: 8192 bytes loaded at 0xffffffff82fdd3e0
Jun 13 00:14:56     kernel         firmware: 'rt2661fw' version 0: 8192 bytes loaded at 0xffffffff82fdf490
Jun 13 00:14:56     kernel         firmware: 'rt2860fw' version 0: 8192 bytes loaded at 0xffffffff82fe1540
Jun 13 00:14:56     kernel         firmware: 'iwm8265fw' version 0: 1811984 bytes loaded at 0xffffffff82723540
Jun 13 00:14:56     kernel         firmware: 'iwn1000fw' version 0: 337520 bytes loaded at 0xffffffff828dde28
Jun 13 00:14:56     kernel         firmware: 'iwn100fw' version 0: 337572 bytes loaded at 0xffffffff82930548
Jun 13 00:14:56     kernel         wlan: mac acl policy registered
Jun 13 00:14:56     kernel         firmware: 'iwn105fw' version 0: 689680 bytes loaded at 0xffffffff82982ca0
Jun 13 00:14:56     kernel         random: entropy device external interface
Jun 13 00:14:56     kernel         firmware: 'iwn135fw' version 0: 701228 bytes loaded at 0xffffffff82a2b360
Jun 13 00:14:56     kernel         firmware: 'iwn2000fw' version 0: 695876 bytes loaded at 0xffffffff82ad6740
Jun 13 00:14:56     kernel         firmware: 'iwn2030fw' version 0: 707392 bytes loaded at 0xffffffff82b80638
Jun 13 00:14:56     kernel         firmware: 'iwn4965fw' version 0: 187972 bytes loaded at 0xffffffff82c2d228
Jun 13 00:14:56     kernel         firmware: 'mw88W8363fw' version 0: 94940 bytes loaded at 0xffffffff82f36358
Jun 13 00:14:56     kernel         firmware: 'mwlboot' version 0: 2280 bytes loaded at 0xffffffff82f4d638
Jun 13 00:14:56     kernel         wlan: <802.11 Link Layer>
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8188eefw' version 111: 11216 bytes loaded at 0xffffffff82fe42b8
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8188eufw' version 111: 13904 bytes loaded at 0xffffffff82fe6f38
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8192cfwE' version 111: 14818 bytes loaded at 0xffffffff82fea638
Jun 13 00:14:56     kernel         firmware: 'wpifw' version 153229: 150100 bytes loaded at 0xffffffff8309d998
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8192cfwE_B' version 111: 16332 bytes loaded at 0xffffffff82fee0d0
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8192cfwT' version 111: 16126 bytes loaded at 0xffffffff82ff2150
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8192cfwU' version 111: 16126 bytes loaded at 0xffffffff82ff6100
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8192eufw' version 111: 31818 bytes loaded at 0xffffffff82ffa0b0
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8812aufw' version 111: 32060 bytes loaded at 0xffffffff83001db0
Jun 13 00:14:56     kernel         firmware: 'rtwn-rtl8821aufw' version 111: 27804 bytes loaded at 0xffffffff83009ba0
Jun 13 00:14:56     kernel         firmware: 'mxge_eth_z8e' version 377284: 120629 bytes loaded at 0xffffffff82f4e100
Jun 13 00:14:56     kernel         firmware: 'mxge_ethp_z8e' version 387604: 121317 bytes loaded at 0xffffffff82f6b8f0
Jun 13 00:14:56     kernel         firmware: 'mxge_rss_eth_z8e' version 534724: 151912 bytes loaded at 0xffffffff82f89390
Jun 13 00:14:56     kernel         firmware: 'mxge_rss_ethp_z8e' version 544468: 152837 bytes loaded at 0xffffffff82fae5b0
Jun 13 00:14:56     kernel         firmware: 'iwn5000fw' version 0: 340696 bytes loaded at 0xffffffff82c5b120
Jun 13 00:14:56     kernel         firmware: 'iwn5150fw' version 0: 337400 bytes loaded at 0xffffffff82cae4a8
Jun 13 00:14:56     kernel         firmware: 'iwn6000fw' version 0: 454608 bytes loaded at 0xffffffff82d00b50
Jun 13 00:14:56     kernel         firmware: 'iwn6000g2afw' version 0: 677296 bytes loaded at 0xffffffff82d6fbd0
Jun 13 00:14:56     kernel         snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
Jun 13 00:14:56     kernel         feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
Jun 13 00:14:56     kernel         firmware: 'iwn6000g2bfw' version 0: 679436 bytes loaded at 0xffffffff82e15230
Jun 13 00:14:56     kernel         firmware: 'iwn6050fw' version 0: 469780 bytes loaded at 0xffffffff82ebb0f0
Jun 13 00:14:56     kernel         firmware: 't5fw_cfg' version 0: 5914 bytes loaded at 0xffffffff81d0e170
Jun 13 00:14:56     kernel         firmware: 't5fw_cfg_uwire' version 0: 21871 bytes loaded at 0xffffffff81d0f890
Jun 13 00:14:56     kernel         firmware: 't5fw' version 0: 673280 bytes loaded at 0xffffffff81d14e00
Jun 13 00:14:56     kernel         firmware: 't6fw_cfg' version 0: 5931 bytes loaded at 0xffffffff81db94b0
Jun 13 00:14:56     kernel         firmware: 't6fw_cfg_uwire' version 0: 22572 bytes loaded at 0xffffffff81dbabe0
Jun 13 00:14:56     kernel         firmware: 't6fw' version 0: 727552 bytes loaded at 0xffffffff81dc0410
Jun 13 00:14:56     kernel         firmware: 'ipw_bss' version 130: 209190 bytes loaded at 0xffffffff81e78d88
Jun 13 00:14:56     kernel         firmware: 'ipw_ibss' version 130: 201138 bytes loaded at 0xffffffff81eabf60
Jun 13 00:14:56     kernel         firmware: 'ipw_monitor' version 130: 196458 bytes loaded at 0xffffffff81edd1c8
Jun 13 00:14:56     kernel         firmware: 'iwi_bss' version 300: 191154 bytes loaded at 0xffffffff81f0d900
Jun 13 00:14:56     kernel         firmware: 'iwi_ibss' version 300: 185428 bytes loaded at 0xffffffff81f3c468
Jun 13 00:14:56     kernel         firmware: 'iwi_monitor' version 300: 187836 bytes loaded at 0xffffffff81f69970
Jun 13 00:14:56     kernel         firmware: 't4fw_cfg' version 0: 4535 bytes loaded at 0xffffffff81c7cd40
Jun 13 00:14:56     kernel         firmware: 't4fw_cfg_uwire' version 0: 21445 bytes loaded at 0xffffffff81c7def8
Jun 13 00:14:56     kernel         firmware: 't4fw' version 0: 568832 bytes loaded at 0xffffffff81c832c0
Jun 13 00:14:56     kernel         firmware: 'iwm3160fw' version 0: 918268 bytes loaded at 0xffffffff81f97990
Jun 13 00:14:56     kernel         firmware: 'iwm3168fw' version 0: 1028032 bytes loaded at 0xffffffff82077d40
Jun 13 00:14:56     kernel         firmware: 'iwm7260fw' version 0: 1049340 bytes loaded at 0xffffffff82172db0
Jun 13 00:14:56     kernel         firmware: 'iwm7265fw' version 0: 1180412 bytes loaded at 0xffffffff82273160
Jun 13 00:14:56     kernel         firmware: 'rsu-rtl8712fw' version 120: 122328 bytes loaded at 0xffffffff83067778
Jun 13 00:14:56     kernel         firmware: 'runfw' version 0: 8192 bytes loaded at 0xffffffff83085960
Jun 13 00:14:56     kernel         firmware: 'iwm7265Dfw' version 0: 1383604 bytes loaded at 0xffffffff82393510
Jun 13 00:14:56     kernel         firmware: 'iwm8000Cfw' version 0: 2351636 bytes loaded at 0xffffffff824e5278 

Tested:

 2.5.0-DEVELOPMENT (amd64)
built on Fri Jun 12 13:03:57 EDT 2020
FreeBSD 12.1-STABLE

Also available in: Atom PDF