• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Wireless interface iwm0 not showing in GUI?

Scheduled Pinned Locked Moved Wireless
29 Posts 6 Posters 4.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    kiokoman LAYER 8
    last edited by kiokoman Jun 15, 2020, 10:37 AM Jun 15, 2020, 10:27 AM

    the problem is
    iwm0: Failed to start INIT ucode: 35

    for some reason is not loading the firmware

    but they have built it into the kernel

    imho it would have been better to compile them out as modules instead

    nothing else on dmesg ?

    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
    Please do not use chat/PM to ask for help
    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

    1 Reply Last reply Reply Quote 0
    • C
      Cypher87
      last edited by Jun 15, 2020, 11:06 AM

      No nothing else. I've checked the /var/log files as well, but nothing there either.

      1 Reply Last reply Reply Quote 0
      • V
        viktor_g Netgate
        last edited by Jun 15, 2020, 1:10 PM

        Please create a bugreport:
        https://docs.netgate.com/pfsense/en/latest/development/bug-reporting.html

        1 Reply Last reply Reply Quote 0
        • K
          kiokoman LAYER 8
          last edited by Jun 15, 2020, 1:11 PM

          i have added info here @viktor_g https://redmine.pfsense.org/issues/7725

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          1 Reply Last reply Reply Quote 1
          • S
            stephenw10 Netgate Administrator
            last edited by Jun 20, 2020, 2:38 PM

            Hmm, odd that it doesn't appear in the list in the gui even though it does appear as an interface and is present here:
            https://github.com/pfsense/pfsense/blob/master/src/etc/inc/globals.inc#L82

            That initialisation error looks like a show stopper but...

            Have you tried configuring or querying the interface directly?

            Does it show in the output of sysctl net.wlan.devices?

            Steve

            1 Reply Last reply Reply Quote 0
            • C
              Cypher87
              last edited by Jun 20, 2020, 9:16 PM

              No it does not show....

              net.wlan.devices:
              
              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Jun 20, 2020, 9:22 PM

                @Cypher87 said in Wireless interface iwm0 not showing in GUI?:

                iwm0: Failed to start INIT ucode: 35

                Hmm, the iwm8000 firmware is the last one to load I wonder if that is failing? Testing....

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Jun 20, 2020, 9:27 PM

                  Nope looks OK in 2.4.5p1:

                  Jun 20 22:22:48 	kernel 		firmware: 'iwm3160fw' version 0: 918268 bytes loaded at 0xffffffff82026e90
                  Jun 20 22:22:48 	kernel 		firmware: 'iwm7260fw' version 0: 1049340 bytes loaded at 0xffffffff82107240
                  Jun 20 22:22:48 	kernel 		firmware: 'iwm7265fw' version 0: 1180412 bytes loaded at 0xffffffff822075f0
                  Jun 20 22:22:48 	kernel 		firmware: 'iwm7265Dfw' version 0: 1383604 bytes loaded at 0xffffffff823279a0
                  Jun 20 22:22:48 	kernel 		firmware: 'iwm8000Cfw' version 0: 2390316 bytes loaded at 0xffffffff82479708
                  Jun 20 22:22:48 	kernel 		firmware: 'iwm8265fw' version 0: 1811984 bytes loaded at 0xffffffff826c10e8 
                  
                  M 1 Reply Last reply Jun 21, 2020, 12:17 AM Reply Quote 0
                  • C
                    Cypher87
                    last edited by Jun 20, 2020, 9:34 PM

                    Anything else I can do to help diagnose this issue?

                    1 Reply Last reply Reply Quote 1
                    • M
                      mmiller7 @stephenw10
                      last edited by mmiller7 Jun 21, 2020, 12:31 AM Jun 21, 2020, 12:17 AM

                      @stephenw10
                      what command were you running to get that list?

                      Still in the same boat here...about the only thing I haven't done is a total reinstall from scratch. I've rebooted and powered fully off and reseated stuff...

                      1 Reply Last reply Reply Quote 0
                      • M
                        mmiller7
                        last edited by mmiller7 Jun 21, 2020, 12:27 AM Jun 21, 2020, 12:26 AM

                        I did just notice something on my prompt...is there a way to 100% verify that it's booted the new/current kernel and not a previous one when it reboots after the install?

                        While the homepage says 2.4.5-p1 doing uname -a just says 2.4.5, I'm unsure if this is expected or not.

                        [2.4.5-RELEASE][root@pfSense.apt]/root: uname -a
                        FreeBSD pfSense.apt 11.3-STABLE FreeBSD 11.3-STABLE #243 abf8cba50ce(RELENG_2_4_5): Tue Jun  2 17:53:37 EDT 2020     root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-245/obj/amd64/YNx4Qq3j/build/ce-crossbuild-245/sources/FreeBSD-src/sys/pfSense  amd64
                        

                        e35e8999-9990-48e1-9fba-b6d4e0185356-image.png

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jun 21, 2020, 10:16 PM

                          Yeah, uname -a reports the June 2nd build. That is correct.

                          I booted in verbose mode to see the firmware load list. Add boot_verbose="YES" to /boot/loader.conf.local.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • M
                            mmiller7
                            last edited by Jun 29, 2020, 11:40 AM

                            Ok, booting with that I see those but still no joy.

                            [2.4.5-RELEASE][root@pfSense.apt]/root: grep iwm /var/log/*
                            /var/log/dmesg.boot:firmware: 'iwm7265Dfw' version 0: 1383604 bytes loaded at 0xffffffff823279a0
                            /var/log/dmesg.boot:firmware: 'iwm8000Cfw' version 0: 2390316 bytes loaded at 0xffffffff82479708
                            /var/log/dmesg.boot:firmware: 'iwm8265fw' version 0: 1811984 bytes loaded at 0xffffffff826c10e8
                            /var/log/dmesg.boot:firmware: 'iwm3160fw' version 0: 918268 bytes loaded at 0xffffffff82026e90
                            /var/log/dmesg.boot:firmware: 'iwm7260fw' version 0: 1049340 bytes loaded at 0xffffffff82107240
                            /var/log/dmesg.boot:firmware: 'iwm7265fw' version 0: 1180412 bytes loaded at 0xffffffff822075f0
                            /var/log/dmesg.boot:iwm0: <Intel(R) Dual Band Wireless AC 8260> mem 0xfe900000-0xfe901fff irq 40 at device 0.0 on pci3
                            /var/log/dmesg.boot:iwm0: attempting to allocate 1 MSI vectors (1 supported)
                            /var/log/dmesg.boot:iwm0: using IRQ 271 for MSI
                            /var/log/dmesg.boot:random: harvesting attach, 8 bytes (4 bits) from iwm0
                            /var/log/dmesg.boot:iwm0: SecBoot CPU1 Status: 0x3090001, CPU2 Status: 0x0
                            /var/log/dmesg.boot:iwm0: Failed to start INIT ucode: 35
                            

                            Any ideas what else to try? I was reminded to check back when my ISP went out for a few hours again in another storm...

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Jun 29, 2020, 11:55 AM

                              Hmm, it sure looks like this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229138

                              Are you able to test FreeBSD 11.3 directly? It looks like an upstream bug.

                              If not maybe try pfSense 2.5 which is built on FreeBSD 12.1 currently.

                              Steve

                              M 1 Reply Last reply Jun 29, 2020, 12:01 PM Reply Quote 0
                              • M
                                mmiller7 @stephenw10
                                last edited by Jun 29, 2020, 12:01 PM

                                @stephenw10 Hmmm, I'll have to see if there is a FreeBSD LiveCD to try (never looked before) if so I could do a test.

                                I've actually seen that bug report in my searches but was unsure if it still applied with my understanding that pfSense 2.4.5-p1 was based on FreeBSD 11.3 (I think I read that somewhere?).

                                I'll see what I can do to test FreeBSD 11.3 and 12.1 to see if the wireless card will initialize properly and report back. May be a bit, can't afford to take the router offline while I'm work from home and my roomate doesn't like when I break the whole-home-lab when they are trying to surf the web...but I do want to do anything possible to figure this out, just takes longer if I have to dismantle more stuff and swap disks out.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Jun 29, 2020, 12:07 PM

                                  I'll see if I can get hold of one to test with.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mmiller7
                                    last edited by mmiller7 Jun 29, 2020, 12:29 PM Jun 29, 2020, 12:24 PM

                                    It does look like the FreeBSD DVD download offers a LiveCD option after selecting single/multi user mode when I tested a VM just now. I'll download a few versions and see if I can test to see what happens and report back. I'm downloading 11.3, 11.4, 12.1 DVD ISO versions to try. A 9AM meeting I had was cancelled so I may be able to do a quick reboot this morning and try stuff, I'm reasonably confident a LiveCD can't hurt anything and pfSense has proven reliable booting back up as long as I don't have to unhook or change hardware.

                                    If there are any specific commands that would be especially helpful for me to run and capture output of let me know and I'll try to do that, otherwise I think I'm just looking to see that the wireless card is "alive" and initialized.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mmiller7
                                      last edited by Jun 29, 2020, 2:41 PM

                                      Small update, I did a few tests but I'm apparently not sufficiently educated in FreeBSD command line operation yet, have to read up more and try again. My initial test was inconclusive/inconsistent on 11.x and looked like it was going to work on 12.1.

                                      I ran out of time to do any more experimenting with 11.x this morning, probably not the rest of today (I'll see).

                                      11.3...was not showing iwm0 when I checked dmesg or logs, didn't show anything in net.wlan.devices.
                                      11.4...showed iwm0 in the dmesg (but not logs?) didn't show anything in net.wlan.devices. Another reboot it did show iwm0 in dmesg. Unsure what I did different, I need to make a script or something to be consistent in what I do.
                                      12.1...showed iwm0 in dmesg and logs. Revisited after more research and it was showing iwm0 in net.wlan.devices. Once I manually ran ifconfig wlan0 create wlandev iwm0 it showed wlan0 in ifconfig but I don't yet know the command to scan for networks to prove it's alive.

                                      I think I'd like to try and come up with a list (or script) of commands to run and capture the output to a textfile on removable media so I can report back more accurate findings. Maybe also run it twice each version to prove it's repeatable.

                                      I'm open to suggestions of commands to dump any logs/information you think might be useful...

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by Jun 29, 2020, 3:24 PM

                                        Yeah just check that it appears and is seen as a wireless device.
                                        So sysctl net.wlan.devices

                                        Check the boot log for something like the line shown in that bug report:

                                        iwm0: hw rev 0x200, fw ver 22.361476.0, address  b8:8a:60:xx:xx:xx
                                        

                                        Which I assume shows if you don't get that error.

                                        You may need to kldload the driver and/or firmware. pfSense has it all in-kernel but FreeBSD usually doesn't.

                                        Steve

                                        M 1 Reply Last reply Jun 29, 2020, 6:01 PM Reply Quote 0
                                        • M
                                          mmiller7 @stephenw10
                                          last edited by mmiller7 Jun 29, 2020, 6:04 PM Jun 29, 2020, 6:01 PM

                                          @stephenw10 Gave it a few tries during lunch and got consistent results this time multiple boots in a row.

                                          FreeBSD 11.3/11.4 do the exact same thing pfSense 2.4.5-p1 is doing.
                                          FreeBSD 12.1 appears to work properly.

                                          I did not attempt to "sideload" anything, just booted up livecd, got to a root shell, and typed the commands. I think my prior inconsistency was some glitch with the USB CD-ROM I was using to boot from or cycling power too fast.

                                          I've attempted to attach photos of the terminal for each (with my finger pointing at the uname line showing which version is booted)
                                          11.3:
                                          photo_2020-06-29_13-58-26.jpg
                                          11.4:
                                          photo_2020-06-29_13-58-27.jpg

                                          12.1:
                                          photo_2020-06-29_13-58-30.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received