A guide for intel wireless adapter AC 9260 and 9560 driver installation on Freebsd 12.1

the firmware file name incorrect caused the error. Look at Makefile and firmware name if they are matched? I have already. change the first post to fix this.
 
I just swapped cards again (this morning) and now I am going to do the Bluetooth side to try and cut back on all of this hunt and peck and hacking to try to get this thing to work.

Code:
[root@FreeBSD-12 /usr/ports]# find . -type d -iname "iwmbt-firmware"
./comms/iwmbt-firmware
[root@FreeBSD-12 /usr/ports]# cd ./comms/iwmbt-firmware
[root@FreeBSD-12 /usr/ports/comms/iwmbt-firmware]# make
===>  License INTEL accepted by the user
===>   iwmbt-firmware-20190717_1 depends on file: /usr/local/sbin/pkg - found
=> firmware-iwlwifi_20190717-2_all.deb doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://cdn.debian.net/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20190717-2_all.deb
firmware-iwlwifi_20190717-2_all.deb                   6630 kB 1980 kBps    03s
===> Fetching all distfiles required by iwmbt-firmware-20190717_1 for building
===>  Extracting for iwmbt-firmware-20190717_1
=> SHA256 Checksum OK for firmware-iwlwifi_20190717-2_all.deb.
===>  Patching for iwmbt-firmware-20190717_1
===>  Configuring for iwmbt-firmware-20190717_1
===>  Staging for iwmbt-firmware-20190717_1
===>   Generating temporary packing list
cd /usr/ports/comms/iwmbt-firmware/work/lib/firmware/intel && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/comms/iwmbt-firmware/work/stage/usr/local/share/iwmbt-firmware
====> Compressing man pages (compress-man)
[root@FreeBSD-12 /usr/ports/comms/iwmbt-firmware]# make install
===>  Installing for iwmbt-firmware-20190717_1
===>  Checking if iwmbt-firmware is already installed
===>   Registering installation for iwmbt-firmware-20190717_1
Installing iwmbt-firmware-20190717_1...
[root@FreeBSD-12 /usr/ports/comms/iwmbt-firmware]#

########################################

could this be due to your solution is made for ver 12 and I am running 12.1 relese. the next step in that process fail.

Code:
# cd /usr/src/sys/modules/iwmfw/iwm9260fw
# make clean all install
==> /boot/modules/iwm9260fw.ko

# cd /usr/src/sys/modules/iwm
# make clean all install
==> /boot/modules/if_iwm.ko

# cd /usr/src/sys/modules/iwm
# make clean all install
# kldload /boot/modules/iwm9260fw.ko
# kldload /boot/modules/if_iwm.ko
when I remve the 9000 reference it then get to 9260 and then fails there too.
in /usr/src/sys/modules/iwm]# nano Makefile
Code:
#SRCS+= if_iwm_7000.c if_iwm_8000.c if_iwm_9000.c if_iwm_fw.c if_iwm_9260.c

SRCS+=  if_iwm_7000.c if_iwm_8000.c if_iwm_fw.c if_iwm_9260.c
after clean then make
Code:
[root@FreeBSD-12 /usr/src/sys/modules/iwm]# make
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
make: don't know how to make if_iwm_9260.c. Stop
Remove 9260 configuration from files and Makefile. Tomorrow I will fix it in the first post
 
I got them to make and load via /boot/loader.conf but still not working.
and there is nothing coming back for iwm in dmesg grep

[root@FreeBSD-12 ~]# kldstat -v -n iwm9260fw.ko

Code:
Id Refs Address                Size Name
3    1 0xffffffff82676000   28eaf0 iwm9260fw.ko (/boot/modules/iwm9260fw.ko)
    Contains modules:
         Id Name
          2 iwm9260fw_fw
[root@FreeBSD-12 ~]# kldstat -v -n if_iwm.ko
[code

Id Refs Address Size Name
2 1 0xffffffff8264a000 2bc70 if_iwm.ko (/boot/kernel/if_iwm.ko)
Contains modules:
Id Name
1 pci/iwm

[/code]
[root@FreeBSD-12 ~]# pciconf -lv | grep Wireless
Code:
    device     = 'Wireless-AC 9260'
[root@FreeBSD-12 ~]# cat /boot/loader.conf
Code:
nvme_load=yes
fuse_enable=yes
iwm9260fw_load=yes
if_iwm_load=yes
[root@FreeBSD-12 ~]# cat /etc/rc.conf
Code:
clear_tmp_enable="YES"
hostname="FreeBSD-12.1.org"

#if_iwm_load=yes

#kldload_iwm=yes

#iwm9260fw_load=yes

#legal.intel_iwi.license_ack=1
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
create_args_wlan0="country US regdomain FCC"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
kld_list="amdgpu"
dbus_enable=yes
slim_enable=yes
devd_enable=yes
devfs_system_ruleset="localrules"
mixer_enable="YES"
linux_enable="YES"
fsck_y_enable="YES"
powerd_flags="-b adaptive -a hiadaptive"
snddetect_enable="YES"
clear_tmp_enable="YES"
autofs_enable=yes
[root@FreeBSD-12 ~]# ifconfig
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
    inet 127.0.0.1 netmask 0xff000000
    groups: lo
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 
try to use kldload loading module by hand and get dmesg, you.should see some about iwm message there. I remember you use ac9560 card. if you use ac9560 ac9260fw can't recognize ac9560.
 
try to use kldload loading module by hand and get dmesg, you.should see some about iwm message there. I remember you use ac9560 card. if you use ac9560 ac9260fw can't recognize ac9560.
yeah, the mistake on my part I have the 9260 NOT 9560. so having done both without having to reinstall everything would just deleteing the ko file for 9560 help?
how do I unload a driver via cli? (google time) just thought I'd ask anyways.

--- that is simple enough ---
Code:
kldunload -i ID

OR

kldunload module-name
 
did you get some iwm dmesg after you load iwm and iwm9260 modules ?
nothing, when it boots up I see a flash of ifconfig something all caps trying to set a config but failing type message. at the bottom of the dmesg it says it is trying to establish a bluetooth and something else. and thats about it. other then I unloaded the iwm9260fw.ko then loaded it again, and it said it has no file so I gave it a absolute path then it tells me it is loaded or in the kernel. i removed the 9560 from /boot/modules just cuz.
 
it so wired, could you disable your bluetooth and unload your bluetooth modules, try it again. I didn't get any bluetooth messages from dmesg even if I enable the bluetooth in bios. I have already tested it twice. it work fine on freebsd 12.1 release and stable.
 
it so wired, could you disable your bluetooth and unload your bluetooth modules, try it again. I didn't get any bluetooth messages from dmesg even if I enable the bluetooth in bios. I have already tested it twice. it work fine on freebsd 12.1 release and stable.
no options in boios or anywhere to turn off this bluetooth, levrono 339s ar15.

I'm thinking about saving us all a headache and just use that other wifi m.s card I bought after this happened. I was thinknig having the card that does work then I could put my desktop in then just run through the steps to build the driver/module for this wifi card and just switch them out and volia it'd work. But as you see it is not being nice, and I am not pulling down anything over 800(ish) Mbit anyways, so screw it. (again).
 
Put your dmesg log and kldload -v here, let me see that.
Have you tried to unload Bluetooth module and then load ac9260 module and iwm module by hand
 
Put your dmesg log and kldload -v here, let me see that.
Have you tried to unload Bluetooth module and then load ac9260 module and iwm module by hand
nope -- but i got this HP EliteBook 840 G3 that needs freeBSD on it.. :D with the same 9260 wifi card.
 
My laptop is up 735g6, it works very well
yeah, my first Lenovo and its like it only has enough working abiltiy to call it a laptop, but not really. If it wasn't for them getting ahold of IBM's Think Pad patent they'd not be in business today, and the other issues I've been having with that laptop, besides this wifi one is just showing me why.
 
CUSS, SWEAR, DIRTY WORDS

laptop stats
Code:
HP EliteBook 840 G3
CPU Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
RAM 11378 MB : 770 : 9722
Graphics Card [HD Graphics 520] (rev 07)
wpa_supplicant
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1

network={
ssid="XXXX"
scan_ssid=0
psk="XXXX"
priority=5
}
network={
priority=0
key_mgmt=NONE
}

rc.conf
Code:
clear_tmp_enable="YES"
hostname="FreeBSD121.org"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
kld_list="/boot/modules/if_iwm.ko"
wlan_wep_load=yes
wlan_ccmp_load=yes
wlan_tkip_load=yes
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"

# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
iwm9260fw.ko stat
Code:
Id Refs Address                Size Name
2    1 0xffffffff82649000   28eaf0 iwm9260fw.ko (/boot/modules/iwm9260fw.ko)
    Contains modules:
         Id Name
          1 iwm9260fw_fw
if_iwm.ko stat
Code:
Id Refs Address                Size Name
3    1 0xffffffff828d8000    2bc70 if_iwm.ko (/boot/kernel/if_iwm.ko)
    Contains modules:
         Id Name
          2 pci/iwm
loader.conf
Code:
iwm9260fw_load=yes
if_iwm_load=yes
Dmesg
Code:
---<<BOOT>>---
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.1-RELEASE r354233 GENERIC amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT(efifb): resolution 1920x1080
CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (2808.13-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x406e3  Family=0x6  Model=0x4e  Stepping=3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended Features=0x29c6fbf<FSGSBASE,TSCADJ,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
  Structured Extended Features3=0x9c002400<MD_CLEAR,TSXFA,IBPB,STIBP,L1DFL,SSBD>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 12884901888 (12288 MB)
avail memory = 11823988736 (11276 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <HPQOEM 8079    >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-119 on motherboard
Launching APs: 1 3 2
Timecounter "TSC-low" frequency 1404066590 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
000.000023 [4335] netmap_init               netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff8112e050, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
nexus0
efirtc0: <EFI Realtime Clock> on motherboard
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cryptosoft0: <software crypto> on motherboard
acpi0: <HPQOEM SLIC-BPC> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 24000000 Hz quality 950
Event timer "HPET" frequency 24000000 Hz quality 550
Event timer "HPET1" frequency 24000000 Hz quality 440
Event timer "HPET2" frequency 24000000 Hz quality 440
Event timer "HPET3" frequency 24000000 Hz quality 440
Event timer "HPET4" frequency 24000000 Hz quality 440
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x6e> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x3000-0x303f mem 0xe0000000-0xe0ffffff,0xd0000000-0xdfffffff at device 2.0 on pci0
vgapci0: Boot video device
xhci0: <Intel Sunrise Point-LP USB 3.0 controller> mem 0xe1200000-0xe120ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pci0: <simple comms> at device 22.0 (no driver attached)
pci0: <simple comms, UART> at device 22.3 (no driver attached)
ahci0: <Intel Sunrise Point-LP AHCI SATA controller> port 0x3088-0x308f,0x3090-0x3093,0x3040-0x305f mem 0xe1228000-0xe1229fff,0xe1230000-0xe12300ff,0xe122e000-0xe122e7ff at device 23.0 on pci0
ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pcib1: [GIANT-LOCKED]
pci1: <ACPI PCI bus> on pcib1
pci1: <unknown> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <network> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory> at device 31.2 (no driver attached)
hdac0: <Intel Sunrise Point-LP HDA Controller> mem 0xe1224000-0xe1227fff,0xe1210000-0xe121ffff at device 31.3 on pci0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_tz4: <Thermal Zone> on acpi0
acpi_tz5: <Thermal Zone> on acpi0
acpi_tz6: <Thermal Zone> on acpi0
acpi_tz7: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
Timecounters tick every 1.000 msec
hdacc0: <Conexant CX20724 HDA CODEC> at cad 0 on hdac0
hdaa0: <Conexant CX20724 Audio Function Group> at nid 1 on hdacc0
pcm0: <Conexant CX20724 (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant CX20724 (Right Analog Headphones)> at nid 29 on hdaa0
hdacc1: <Intel Skylake HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Skylake Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Skylake (HDMI/DP 8ch)> at nid 3 on hdaa1
ugen0.1: <0x8086 XHCI root HUB> at usbus0
uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Samsung SSD 860 EVO 500GB RVT01B6Q> ACS-4 ATA SATA 3.x device
ada0: Serial Number S3Z1NB0K439399A
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors)
Trying to mount root from ufs:/dev/ada0p8 [rw]...
lo0: link state changed to UP
uhub0: 18 ports with 18 removable, self powered
ugen0.2: <vendor 0x8087 product 0x0025> at usbus0
ugen0.3: <vendor 0x138a product 0x003f> at usbus0
ugen0.4: <SunplusIT Inc HP HD Camera> at usbus0
ubt0 on uhub0
ubt0: <vendor 0x8087 product 0x0025, class 224/1, rev 2.00/0.02, addr 1> on usbus0
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
Security policy loaded: MAC/ntpd (mac_ntpd)
and yeah it is not working aaahhhhh :D :D


I did not read dmesg untill after posting. went in and turned off bluetooth in my BIOS and nope, just remove the two lines at the bottom of this dmess
Code:
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
[/ocde]
that is not showing now and still no wifi just lo in ifconfig
 
I finally got it, that message about ifconfig on this one. the other laptop it'd go up off the page.

Code:
ifconfig: SIOCIFCREATE2: Device not configured
both of my laptops are giving this error on boot.
still reading but something about needing something port, which means the source code is not likely to be there. so got to figure out how to get that and put it into freeBSD where ever that is suppose to go something else I have no idea on.
 
Use stable svn to checkout source code and compile it again. I use the source code from the FreeBSD 12.1 stable version svn.
 
Yes,it work for 12.1. My FreeBSD is 12.1 release
:p phsuuuuu still getting that ifconfig message ,,, you want to trade laptops?

I order another 8260NGW that works with freeBSD it should be here this Friday, case closed. thanks for all of your help.
 
Back
Top