OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: P-Kalk on October 20, 2018, 10:18:30 pm

Title: Broadcom wireless card wont load drivers
Post by: P-Kalk on October 20, 2018, 10:18:30 pm
Hello,

I have brought a new wifi card to my Opensense box. The card is "TP-Link Archer T9E AC1900 Wireless". The problem is I cant get this card to recognise in opnsense. When I go "interfaces -> Wireless -> Devices" I cant see any devices even if I click add button.

The "pciconf -lv | grep -B3 network" show the card
Code: [Select]
vmx0@pci0:3:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad rev=0x01 hdr=0x00
    vendor     = 'VMware'
    device     = 'VMXNET3 Ethernet Controller'
    class      = network
--
vmx1@pci0:11:0:0: class=0x020000 card=0x07b015ad chip=0x07b015ad rev=0x01 hdr=0x00
    vendor     = 'VMware'
    device     = 'VMXNET3 Ethernet Controller'
    class      = network
--
none2@pci0:19:0:0: class=0x028000 card=0x061914e4 chip=0x43a014e4 rev=0x03 hdr=0x00
    vendor     = 'Broadcom Limited'
    device     = 'BCM4360 802.11ac Wireless Network Adapter'
    class      = network

viewing the "/var/run/dmesg.boot" I noticed "pci5: <network> at device 0.0 (no driver attached)":
Code: [Select]
pci3: <ACPI PCI bus> on pcib3
vmx0: <VMware VMXNET3 Ethernet Adapter> port 0x3000-0x300f mem 0xfe503000-0xfe503fff,0xfe502000-0xfe502fff,0xfe500000-0xfe501fff at device 0.0 on pci3
vmx0: Ethernet address: 00:0c:29:7b:6d:03
pcib4: <ACPI PCI-PCI bridge> at device 21.1 on pci0
pcib4: [GIANT-LOCKED]
pcib5: <ACPI PCI-PCI bridge> at device 21.2 on pci0
pcib5: [GIANT-LOCKED]
pcib6: <ACPI PCI-PCI bridge> at device 21.3 on pci0
pcib6: [GIANT-LOCKED]
pcib7: <ACPI PCI-PCI bridge> at device 21.4 on pci0
pcib7: [GIANT-LOCKED]
pcib8: <ACPI PCI-PCI bridge> at device 21.5 on pci0
pcib8: [GIANT-LOCKED]
pcib9: <ACPI PCI-PCI bridge> at device 21.6 on pci0
pcib9: [GIANT-LOCKED]
pcib10: <ACPI PCI-PCI bridge> at device 21.7 on pci0
pcib10: [GIANT-LOCKED]
pcib11: <ACPI PCI-PCI bridge> at device 22.0 on pci0
pcib11: [GIANT-LOCKED]
pci4: <ACPI PCI bus> on pcib11
vmx1: <VMware VMXNET3 Ethernet Adapter> port 0x2000-0x200f mem 0xfdd03000-0xfdd03fff,0xfdd02000-0xfdd02fff,0xfdd00000-0xfdd01fff at device 0.0 on pci4
vmx1: Ethernet address: 00:0c:29:7b:6d:0d
pcib12: <ACPI PCI-PCI bridge> at device 22.1 on pci0
pcib12: [GIANT-LOCKED]
pcib13: <ACPI PCI-PCI bridge> at device 22.2 on pci0
pcib13: [GIANT-LOCKED]
pcib14: <ACPI PCI-PCI bridge> at device 22.3 on pci0
pcib14: [GIANT-LOCKED]
pcib15: <ACPI PCI-PCI bridge> at device 22.4 on pci0
pcib15: [GIANT-LOCKED]
pcib16: <ACPI PCI-PCI bridge> at device 22.5 on pci0
pcib16: [GIANT-LOCKED]
pcib17: <ACPI PCI-PCI bridge> at device 22.6 on pci0
pcib17: [GIANT-LOCKED]
pcib18: <ACPI PCI-PCI bridge> at device 22.7 on pci0
pcib18: [GIANT-LOCKED]
pcib19: <ACPI PCI-PCI bridge> at device 23.0 on pci0
pcib19: [GIANT-LOCKED]
pci5: <ACPI PCI bus> on pcib19
pci5: <network> at device 0.0 (no driver attached)
pcib20: <ACPI PCI-PCI bridge> at device 23.1 on pci0
pcib20: [GIANT-LOCKED]
pcib21: <ACPI PCI-PCI bridge> at device 23.2 on pci0
pcib21: [GIANT-LOCKED]
pcib22: <ACPI PCI-PCI bridge> at device 23.3 on pci0
pcib22: [GIANT-LOCKED]
pcib23: <ACPI PCI-PCI bridge> at device 23.4 on pci0
pcib23: [GIANT-LOCKED]
pcib24: <ACPI PCI-PCI bridge> at device 23.5 on pci0
pcib24: [GIANT-LOCKED]
pcib25: <ACPI PCI-PCI bridge> at device 23.6 on pci0
pcib25: [GIANT-LOCKED]
pcib26: <ACPI PCI-PCI bridge> at device 23.7 on pci0
pcib26: [GIANT-LOCKED]
pcib27: <ACPI PCI-PCI bridge> at device 24.0 on pci0
pcib27: [GIANT-LOCKED]
pcib28: <ACPI PCI-PCI bridge> at device 24.1 on pci0
pcib28: [GIANT-LOCKED]
pcib29: <ACPI PCI-PCI bridge> at device 24.2 on pci0
pcib29: [GIANT-LOCKED]
pcib30: <ACPI PCI-PCI bridge> at device 24.3 on pci0
pcib30: [GIANT-LOCKED]

I also tryed to set if_oce_load="YES" to "/boot/loader.conf.local" and rebooted but still nothing shows up also when trying to load bwi driver(https://www.freebsd.org/cgi/man.cgi?query=bwi&sektion=4&manpath=freebsd-release-ports) still dmesg.boot shows same(no driver attached).

Is there something other I can try do get this card to work? Or should I return this card and order something else altru I really wold like to get this to work to avoid time delays whit new shipping ...

I hope some one can help me to figure this out.


--UPDATE--

In version 15.1.11 Opensense removed bwi-firmware-kmod. If I underestand correct the bwi driver needs it to work correctly (https://www.freebsd.org/cgi/man.cgi?query=bwi&apropos=0&sektion=0&manpath=FreeBSD+11.1-RELEASE+and+Ports&arch=default&format=html)

I cloned opensense ports (https://github.com/opnsense/ports) repo to firewall and also Freebsd kernel sources
Code: [Select]
fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
tar -C / -xvf /tmp/src.txz

and tryed to compile it but got error
Code: [Select]
root@OPNsense:/usr/ports/net/bwn-firmware-kmod # make install clean
===> Building/installing dialog4ports as it is required for the config dialog
===>  Cleaning for dialog4ports-0.1.6
===> Skipping 'config' as NO_DIALOG is defined
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ports-mgmt/dialog4ports
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports
===> Options unchanged
/!\ ERROR: /!\

Ports Collection support for your FreeBSD version has ended, and no ports are
guaranteed to build on this system. Please upgrade to a supported release.

No support will be provided if you silence this message by defining
ALLOW_UNSUPPORTED_SYSTEM.

*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/bwn-firmware-kmod
*** Error code 1

Stop.
make: stopped in /usr/ports/net/bwn-firmware-kmod
root@OPNsense:/usr/ports/net/bwn-firmware-kmod #