Skip to content

Can't get working with Broadcom BCM43602 (Macbook Pro 2015) #65

@suchipi

Description

@suchipi

Description

I can't get wifibox to work with the Broadcom BCM43602 found in my Macbook Pro 2015.

The guest doesn't seem to recognize the device.

I'm testing via ping google.com outside the guest, which times out.

Host operating system

FreeBSD Rei 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64

Wireless NIC

ppt0@pci0:3:0:0:        class=0x028000 rev=0x01 hdr=0x00 vendor=0x14e4 device=0x43ba subvendor=0x106b subdevice=0x0152
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'BCM43602 802.11ac Wireless LAN SoC'
    class      = network

Wifibox version

wifibox version 0.11.0
Disk image checksum: ddd16597adc3dc12846bf7f9b00798f3d728107db52b819b51e78eb6019f34ac

(installed via pkg)

Disk image type and version

wifibox-alpine-20230326

(installed via pkg)

Changes to the default configuration files

bhyve.conf:

console=yes
passthru=3/0/0

core.conf

loglevel=debug

wpa_supplicant.conf

network={
  ssid="redacted"
  psk="redacted"
}

relevant additions to /etc/rc.conf

wifibox_enable="YES"
ifconfig_wifibox="SYNCDHCP"
background_dhclient_wifibox0="YES"

Logs

/var/log/wifibox.log

2023-09-16T22:53:38-0600 INFO  Begin: wifibox start
2023-09-16T22:53:38-0600 DEBUG start=GN
2023-09-16T22:53:38-0600 INFO  Creating bridge interface: wifibox0
2023-09-16T22:53:38-0600 DEBUG [ifconfig] wifibox0
2023-09-16T22:53:38-0600 INFO  Linking tap interface to wifibox0: tap0
2023-09-16T22:53:38-0600 INFO  vmm.ko is expected at path: /boot/kernel/vmm.ko
2023-09-16T22:53:38-0600 INFO  vmm.ko is found at path: /boot/kernel/vmm.ko
2023-09-16T22:53:38-0600 DEBUG assert loaded: kmod=vmm, kmod_file=/boot/kernel/vmm.ko
2023-09-16T22:53:38-0600 DEBUG assert hardware support present: iommu=1, amdvi=0
2023-09-16T22:53:38-0600 DEBUG Backends reported by bhyve:
2023-09-16T22:53:38-0600 DEBUG [bhyve] ahci
2023-09-16T22:53:38-0600 DEBUG [bhyve] ahci-hd
2023-09-16T22:53:38-0600 DEBUG [bhyve] ahci-cd
2023-09-16T22:53:38-0600 DEBUG [bhyve] e1000
2023-09-16T22:53:38-0600 DEBUG [bhyve] dummy
2023-09-16T22:53:38-0600 DEBUG [bhyve] hda
2023-09-16T22:53:38-0600 DEBUG [bhyve] fbuf
2023-09-16T22:53:38-0600 DEBUG [bhyve] amd_hostbridge
2023-09-16T22:53:38-0600 DEBUG [bhyve] hostbridge
2023-09-16T22:53:38-0600 DEBUG [bhyve] lpc
2023-09-16T22:53:38-0600 DEBUG [bhyve] nvme
2023-09-16T22:53:38-0600 DEBUG [bhyve] passthru
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-9p
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-blk
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-console
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-input
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-net
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-rnd
2023-09-16T22:53:38-0600 DEBUG [bhyve] virtio-scsi
2023-09-16T22:53:38-0600 DEBUG [bhyve] uart
2023-09-16T22:53:38-0600 DEBUG [bhyve] xhci
2023-09-16T22:53:38-0600 INFO  Bringing up null-modem devices for console connection
2023-09-16T22:53:38-0600 DEBUG assert loaded: kmod=nmdm, kmod_file=nmdm
2023-09-16T22:53:38-0600 INFO  Null-modem devices are available
2023-09-16T22:53:38-0600 INFO  Waiting for bhyve to start up
2023-09-16T22:53:38-0600 DEBUG Program started as /usr/local/sbin/wifibox, with arguments: _manage_vm
2023-09-16T22:53:38-0600 DEBUG assert daemonized: parent=daemon
2023-09-16T22:53:38-0600 INFO  VM manager launched
2023-09-16T22:53:38-0600 INFO  Gathering necessary configuration files for launching the guest
2023-09-16T22:53:38-0600 INFO  Pulling bhyve options from configuration file
2023-09-16T22:53:38-0600 DEBUG cpus=1, memory=128M, passthru=3/0/0, console=yes
2023-09-16T22:53:38-0600 INFO  Guest console is configured to use
2023-09-16T22:53:38-0600 INFO  Passthru device is configured: 3/0/0
2023-09-16T22:53:38-0600 INFO  PPT driver is configured for pci3:0:0 device
2023-09-16T22:53:38-0600 INFO  tap interface is configured: tap0
2023-09-16T22:53:38-0600 INFO  Launching guest wifibox from /usr/local/share/wifibox with grub-bhyve
2023-09-16T22:53:38-0600 INFO  Application config is found at /usr/local/etc/wifibox/wpa_supplicant
2023-09-16T22:53:38-0600 INFO  Application config will be mounted writeable
2023-09-16T22:53:38-0600 DEBUG Devices: virtio-blk,/usr/local/share/wifibox/disk.img virtio-9p,config=/usr/local/etc/wifibox/appliance,ro virtio-9p,var=/var/run/wifibox/appliance virtio-9p,app_config=/usr/local/etc/wifibox/wpa_supplicant
2023-09-16T22:53:38-0600 DEBUG Arguments:  -S -M 128M -r host -c /dev/nmdm-wifibox.1A -d /usr/local/share/wifibox wifibox
2023-09-16T22:53:38-0600 INFO  Launching guest wifibox from /usr/local/share/wifibox with bhyve
2023-09-16T22:53:38-0600 DEBUG Arguments:  -c 1 -m 128M -AHP -u -S -l com1,/dev/nmdm-wifibox.1A -s 0,hostbridge -s 31,lpc -s 4:0,virtio-blk,/usr/local/share/wifibox/disk.img -s 4:1,virtio-9p,config=/usr/local/etc/wifibox/appliance,ro -s 4:2,virtio-9p,var=/var/run/wifibox/appliance -s 4:3,virtio-9p,app_config=/usr/local/etc/wifibox/wpa_supplicant -s 5:0,e1000,tap0 -s 6:0,passthru,3/0/0 wifibox
2023-09-16T22:53:38-0600 DEBUG [bhyve] wrmsr to register 0x140(0) on vcpu 0
2023-09-16T22:53:39-0600 DEBUG [bhyve] rdmsr to register 0x34 on vcpu 0
2023-09-16T22:53:39-0600 INFO  Guest wifibox has started up
2023-09-16T22:53:39-0600 INFO  Guest is managed by PID 5514
2023-09-16T22:53:39-0600 INFO  Bringing up Unix Domain Socket pass-through
2023-09-16T22:53:39-0600 INFO  Found guest IP address: 10.0.0.1
2023-09-16T22:53:39-0600 INFO  Configured sockets: [path=/var/run/wpa_supplicant/wlan0,user=root,group=0,mode=770,port=1200
path=/var/run/wpa_supplicant/p2p-dev-wlan0,user=root,group=0,mode=770,port=1201]
2023-09-16T22:53:39-0600 INFO  Hooking up 10.0.0.1:1200 as /var/run/wpa_supplicant/wlan0 (root:0@770)
2023-09-16T22:53:39-0600 INFO  Hooking up 10.0.0.1:1201 as /var/run/wpa_supplicant/p2p-dev-wlan0 (root:0@770)
2023-09-16T22:53:39-0600 INFO  End: wifibox start

/var/run/wifibox/appliance/log/dmesg

[    0.000000] Linux version 5.15.104-0-lts (pgj@wifibox-dev) (gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, GNU ld (GNU Binutils) 2.39) #1-Alpine Sun, 26 Mar 2023 00:13:40 +0000
[    0.000000] Command line: console=ttyS0 BOOT_IMAGE=(host)/usr/local/share/wifibox/vmlinuz modules=squashfs root=/dev/vda rootfstype=squashfs clocksource=hpet tsc=unstable
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] signal: max sigframe size: 1360
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000007ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: FreeBSD BHYVE/BHYVE, BIOS 13.0 11/10/2020
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] last_pfn = 0x8000 max_arch_pfn = 0x400000000
[    0.000000] Disabled
[    0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000000] CPU MTRRs all blank - virtualized system.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] Using GB pages for direct mapping
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F2400 000024 (v02 BHYVE )
[    0.000000] ACPI: XSDT 0x00000000000F2470 00004C (v01 BHYVE  BVXSDT   00000001 BASL 20220504)
[    0.000000] ACPI: FACP 0x00000000000F24C0 000114 (v05 BHYVE  BVFACP   00000001 BASL 20220504)
[    0.000000] ACPI: DSDT 0x00000000000F2750 000A5C (v02 BHYVE  BVDSDT   00000001 INTL 20201113)
[    0.000000] ACPI: FACS 0x00000000000F26C0 000040
[    0.000000] ACPI: FACS 0x00000000000F26C0 000040
[    0.000000] ACPI: APIC 0x00000000000F25E0 00005A (v01 BHYVE  BVAPIC   00000001 BASL 20220504)
[    0.000000] ACPI: HPET 0x00000000000F2640 000038 (v01 BHYVE  BVHPET   00000001 BASL 20220504)
[    0.000000] ACPI: MCFG 0x00000000000F2680 00003C (v01 BHYVE  BVMCFG   00000001 BASL 20220504)
[    0.000000] ACPI: SPCR 0x00000000000F2700 000050 (v01 BHYVE  BVSPCR   00000001 BASL 20220504)
[    0.000000] ACPI: Reserving FACP table memory at [mem 0xf24c0-0xf25d3]
[    0.000000] ACPI: Reserving DSDT table memory at [mem 0xf2750-0xf31ab]
[    0.000000] ACPI: Reserving FACS table memory at [mem 0xf26c0-0xf26ff]
[    0.000000] ACPI: Reserving FACS table memory at [mem 0xf26c0-0xf26ff]
[    0.000000] ACPI: Reserving APIC table memory at [mem 0xf25e0-0xf2639]
[    0.000000] ACPI: Reserving HPET table memory at [mem 0xf2640-0xf2677]
[    0.000000] ACPI: Reserving MCFG table memory at [mem 0xf2680-0xf26bb]
[    0.000000] ACPI: Reserving SPCR table memory at [mem 0xf2700-0xf274f]
[    0.000000] system APIC only can use physical flat
[    0.000000] Setting APIC routing to physical flat.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x0000000007ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000007ffffff]
[    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 96 pages in unavailable ranges
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] system APIC only can use physical flat
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-31
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x80860701 base: 0xfed00000
[    0.000000] ACPI: SPCR: SPCR table version 1
[    0.000000] ACPI: SPCR: console: uart,io,0x3f8,115200
[    0.000000] [mem 0x08000000-0xffffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32000
[    0.000000] Kernel command line: console=ttyS0 BOOT_IMAGE=(host)/usr/local/share/wifibox/vmlinuz modules=squashfs root=/dev/vda rootfstype=squashfs clocksource=hpet tsc=unstable
[    0.000000] tsc: Marking TSC unstable due to boot parameter
[    0.000000] Unknown kernel command line parameters "BOOT_IMAGE=(host)/usr/local/share/wifibox/vmlinuz modules=squashfs", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 108968K/130684K available (8193K kernel code, 1465K rwdata, 1572K rodata, 724K init, 1768K bss, 21456K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[    0.000000] Console: colour EGA 80x25
[    0.000000] printk: console [ttyS0] enabled
[    0.000000] ACPI: Core revision 20210730
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 113919999973 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.000000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.006000] tsc: PIT calibration matches PMTIMER. 1 loops
[    0.006000] tsc: Detected 2193.205 MHz processor
[    0.000004] Calibrating delay loop (skipped), value calculated using timer frequency.. 4386.41 BogoMIPS (lpj=2193205)
[    0.001003] pid_max: default: 32768 minimum: 301
[    0.001721] LSM: Security Framework initializing
[    0.002021] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.003004] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.005180] unchecked MSR access error: WRMSR to 0x140 (tried to write 0x0000000000000000) at rIP: 0xffffffffa78298f1 (init_intel+0x191/0x390)
[    0.006004] Call Trace:
[    0.006427]  <TASK>
[    0.007004]  ? get_cpu_cap+0xfa/0x1e0
[    0.007569]  identify_cpu+0x254/0x5a0
[    0.008004]  identify_boot_cpu+0xc/0x93
[    0.008596]  check_bugs+0x1d/0xbe8
[    0.009004]  start_kernel+0x4b0/0x4e4
[    0.009568]  secondary_startup_64_no_verify+0xc2/0xcb
[    0.010004]  </TASK>
[    0.011014] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[    0.011940] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[    0.012006] CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (family: 0x6, model: 0x46, stepping: 0x1)
[    0.013003] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.014004] Spectre V2 : Kernel not compiled with retpoline; no mitigation available!
[    0.014004] Spectre V2 : Vulnerable
[    0.016003] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.017003] Speculative Store Bypass: Vulnerable
[    0.018005] MDS: Mitigation: Clear CPU buffers
[    0.018689] MMIO Stale Data: Unknown: No mitigations
[    0.019003] SRBDS: Unknown: Dependent on hypervisor status
[    0.020336] Performance Events: unsupported p6 CPU model 70 no PMU driver, software events only.
[    0.123207] devtmpfs: initialized
[    0.123851] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.124013] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[    0.125117] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.126071] thermal_sys: Registered thermal governor 'step_wise'
[    0.126072] thermal_sys: Registered thermal governor 'user_space'
[    0.127008] cpuidle: using governor menu
[    0.128617] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.129004] ACPI: bus type PCI registered
[    0.130004] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.131056] PCI: Using configuration type 1 for base access
[    0.132370] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.133202] ACPI: Added _OSI(Module Device)
[    0.134004] ACPI: Added _OSI(Processor Device)
[    0.135004] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.135725] ACPI: Added _OSI(Processor Aggregator Device)
[    0.136004] ACPI: Added _OSI(Linux-Dell-Video)
[    0.137005] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.138004] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.139192] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.140316] ACPI: Interpreter enabled
[    0.141007] ACPI: PM: (supports S0 S5)
[    0.141605] ACPI: Using IOAPIC for interrupt routing
[    0.142020] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.143047] ACPI: Enabled 1 GPEs in block 00 to 07
[    0.145571] ACPI: PCI Root Bridge [PC00] (domain 0000 [bus 00])
[    0.146006] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    0.147043] PCI host bridge to bus 0000:00
[    0.148004] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.149003] pci_bus 0000:00: root bus resource [io  0x0d00-0x1fff window]
[    0.150003] pci_bus 0000:00: root bus resource [io  0x2000-0x26bf window]
[    0.151004] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xc05fffff window]
[    0.152003] pci_bus 0000:00: root bus resource [mem 0x800000000-0x81fffffff window]
[    0.153003] pci_bus 0000:00: root bus resource [bus 00]
[    0.154106] pci 0000:00:00.0: [1275:1275] type 00 class 0x060000
[    0.156405] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000
[    0.157166] pci 0000:00:04.0: reg 0x10: [io  0x2600-0x267f]
[    0.158086] pci 0000:00:04.0: reg 0x14: [mem 0xc0438000-0xc0439fff]
[    0.160341] pci 0000:00:04.1: [1af4:1009] type 00 class 0x010000
[    0.161159] pci 0000:00:04.1: reg 0x10: [io  0x2000-0x21ff]
[    0.162087] pci 0000:00:04.1: reg 0x14: [mem 0xc043a000-0xc043bfff]
[    0.164292] pci 0000:00:04.2: [1af4:1009] type 00 class 0x010000
[    0.165160] pci 0000:00:04.2: reg 0x10: [io  0x2200-0x23ff]
[    0.166088] pci 0000:00:04.2: reg 0x14: [mem 0xc043c000-0xc043dfff]
[    0.168255] pci 0000:00:04.3: [1af4:1009] type 00 class 0x010000
[    0.169159] pci 0000:00:04.3: reg 0x10: [io  0x2400-0x25ff]
[    0.170088] pci 0000:00:04.3: reg 0x14: [mem 0xc043e000-0xc043ffff]
[    0.172184] pci 0000:00:05.0: [8086:100f] type 00 class 0x020000
[    0.173161] pci 0000:00:05.0: reg 0x10: [mem 0xc0400000-0xc041ffff]
[    0.174085] pci 0000:00:05.0: reg 0x14: [mem 0xc0420000-0xc042ffff]
[    0.175085] pci 0000:00:05.0: reg 0x18: [io  0x2680-0x2687]
[    0.177042] pci 0000:00:06.0: [14e4:43ba] type 00 class 0x028000
[    0.178314] pci 0000:00:06.0: reg 0x10: [mem 0xc0430000-0xc0437fff 64bit]
[    0.179184] pci 0000:00:06.0: reg 0x18: [mem 0xc0000000-0xc03fffff 64bit]
[    0.182272] pci 0000:00:06.0: supports D1 D2
[    0.182932] pci 0000:00:06.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.185004] pci 0000:00:1f.0: [8086:7000] type 00 class 0x060100
[    0.186526] pci_bus 0000:00: on NUMA node 0
[    0.186598] ACPI: PCI: Interrupt link LNKA configured for IRQ 5
[    0.187069] ACPI: PCI: Interrupt link LNKB configured for IRQ 6
[    0.188067] ACPI: PCI: Interrupt link LNKC configured for IRQ 7
[    0.189066] ACPI: PCI: Interrupt link LNKD configured for IRQ 10
[    0.190065] ACPI: PCI: Interrupt link LNKE configured for IRQ 11
[    0.191059] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.192003] ACPI: PCI: Interrupt link LNKF disabled
[    0.193058] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.194003] ACPI: PCI: Interrupt link LNKG disabled
[    0.194804] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.195003] ACPI: PCI: Interrupt link LNKH disabled
[    0.196110] vgaarb: loaded
[    0.197018] pps_core: LinuxPPS API ver. 1 registered
[    0.197778] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.198005] PTP clock support registered
[    0.198697] NetLabel: Initializing
[    0.199003] NetLabel:  domain hash size = 128
[    0.200003] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.200880] NetLabel:  unlabeled traffic allowed by default
[    0.201021] PCI: Using ACPI for IRQ routing
[    0.202004] PCI: pci_cache_line_size set to 64 bytes
[    0.202213] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.203003] hpet0: 8 comparators, 32-bit 16.777216 MHz counter
[    0.207018] clocksource: Switched to clocksource hpet
[    0.207881] pnp: PnP ACPI init
[    0.208600] system 00:02: [io  0x04d0-0x04d1] has been reserved
[    0.209528] system 00:02: [io  0x0400-0x0407] has been reserved
[    0.210451] system 00:02: [mem 0xe0000000-0xefffffff] has been reserved
[    0.211524] pnp: PnP ACPI: found 8 devices
[    0.217234] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.218619] NET: Registered PF_INET protocol family
[    0.219426] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.220611] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.221888] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.223063] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.224255] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.225359] TCP: Hash tables configured (established 1024 bind 1024)
[    0.226368] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.227397] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.228498] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.229534] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.230508] pci_bus 0000:00: resource 5 [io  0x0d00-0x1fff window]
[    0.231470] pci_bus 0000:00: resource 6 [io  0x2000-0x26bf window]
[    0.232438] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xc05fffff window]
[    0.233506] pci_bus 0000:00: resource 8 [mem 0x800000000-0x81fffffff window]
[    0.234737] pci 0000:00:1f.0: Activating ISA DMA hang workarounds
[    0.235705] PCI: CLS 256 bytes, default 64
[    0.236417] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 163840 ms ovfl timer
[    0.237770] Initialise system trusted keyrings
[    0.238718] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[    0.240328] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.241403] 9p: Installing v9fs 9p2000 file system support
[    0.251566] Key type asymmetric registered
[    0.252237] Asymmetric key parser 'x509' registered
[    0.253193] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.254363] ACPI: button: Power Button [PWRF]
[    0.255516] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
[    0.256913] virtio-pci 0000:00:04.1: virtio_pci: leaving for legacy driver
[    0.258217] virtio-pci 0000:00:04.2: virtio_pci: leaving for legacy driver
[    0.259544] virtio-pci 0000:00:04.3: virtio_pci: leaving for legacy driver
[    0.260789] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.261939] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.263249] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    0.264540] 00:05: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A
[    0.265849] 00:06: ttyS3 at I/O 0x2e8 (irq = 3, base_baud = 115200) is a 16550A
[    0.267303] Non-volatile memory driver v1.3
[    0.268677] loop: module loaded
[    0.269737] virtio_blk virtio0: [vda] 196624 512-byte logical blocks (101 MB/96.0 MiB)
[    0.271523] e1000: Intel(R) PRO/1000 Network Driver
[    0.272304] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.643357] e1000 0000:00:05.0 eth0: (PCI:33MHz:32-bit) 00:a0:98:8a:05:71
[    0.644530] e1000 0000:00:05.0 eth0: Intel(R) PRO/1000 Network Connection
[    0.645795] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.647467] i8042: Warning: Keylock active
[    0.648928] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.649800] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.651469] rtc_cmos 00:07: registered as rtc0
[    0.652304] rtc_cmos 00:07: alarms up to one day, y3k, 114 bytes nvram
[    0.653752] Initializing XFRM netlink socket
[    0.654542] NET: Registered PF_INET6 protocol family
[    0.655600] Segment Routing with IPv6
[    0.656224] In-situ OAM (IOAM) with IPv6
[    0.656866] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.657928] NET: Registered PF_PACKET protocol family
[    0.658726] 9pnet: Installing 9P2000 support
[    0.661013] registered taskstats version 1
[    0.661655] Loading compiled-in X.509 certificates
[    0.662514] printk: console [netcon0] enabled
[    0.663206] netconsole: network logging started
[    0.663900] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.665322] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.666376] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.668068] cfg80211: failed to load regulatory.db
[    0.669375] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    0.670887] devtmpfs: mounted
[    0.671580] Freeing unused kernel image (initmem) memory: 724K
[    0.672530] Write protecting the kernel read-only data: 12288k
[    0.674299] Freeing unused kernel image (text/rodata gap) memory: 2044K
[    0.675397] Freeing unused kernel image (rodata/data gap) memory: 476K
[    0.676415] Run /sbin/init as init process
[    0.677034]   with arguments:
[    0.677034]     /sbin/init
[    0.677035]   with environment:
[    0.677035]     HOME=/
[    0.677035]     TERM=linux
[    0.677036]     BOOT_IMAGE=(host)/usr/local/share/wifibox/vmlinuz
[    0.677037]     modules=squashfs

/var/run/wifibox/appliance/log/messages

Sep 17 04:53:39 wifibox syslog.info syslogd started: BusyBox v1.35.0
Sep 17 04:53:39 wifibox daemon.err /etc/init.d/wpa_supplicant[769]: Could not find a wireless interface
Sep 17 04:53:39 wifibox daemon.info supervise-daemon[772]: Supervisor command line: supervise-daemon wpa_supplicant --start --respawn-delay 2 --respawn-max 5 --respawn-period 1800 /sbin/wpa_supplicant -- -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:39 wifibox daemon.info supervise-daemon[776]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:39 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 776, exited with return code 255
Sep 17 04:53:39 wifibox daemon.info supervise-daemon[927]: Supervisor command line: supervise-daemon uds_passthru --start --respawn-delay 2 --respawn-max 5 --respawn-period 1800 /sbin/uds_passthru -- 
Sep 17 04:53:39 wifibox daemon.info supervise-daemon[931]: Child command line: /sbin/uds_passthru 
Sep 17 04:53:39 wifibox daemon.info : starting pid 934, tty '': '/sbin/openrc default'
Sep 17 04:53:39 wifibox daemon.debug uds_passthru[931]: Configuration: network=10.0.0.1:255.255.255.0, sockets=[path=/var/run/wpa_supplicant/wlan0,user=root,group=0,mode=770,port=1200 path=/var/run/wpa_supplicant/p2p-dev-wlan0,user=root,group=0,mode=770,port=1201]
Sep 17 04:53:39 wifibox daemon.warn uds_passthru[931]: /var/run/wpa_supplicant/wlan0 is not available, skipping.
Sep 17 04:53:39 wifibox daemon.warn uds_passthru[931]: /var/run/wpa_supplicant/p2p-dev-wlan0 is not available, skipping.
Sep 17 04:53:39 wifibox daemon.info uds_passthru[931]: Waiting for PID 941 to stop.
Sep 17 04:53:39 wifibox cron.info crond[988]: crond (busybox 1.35.0) started, log level 8
Sep 17 04:53:39 wifibox daemon.info udhcpd[1041]: started, v1.35.0
Sep 17 04:53:39 wifibox daemon.err udhcpd[1041]: can't open '/var/lib/misc/udhcpd.leases': No such file or directory
Sep 17 04:53:39 wifibox daemon.info : starting pid 1048, tty '/dev/ttyS0': '/sbin/getty -L ttyS0 115200 vt100'
Sep 17 04:53:41 wifibox daemon.info supervise-daemon[1049]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:41 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 1049, exited with return code 255
Sep 17 04:53:43 wifibox daemon.info supervise-daemon[1051]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:43 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 1051, exited with return code 255
Sep 17 04:53:45 wifibox daemon.info supervise-daemon[1053]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:45 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 1053, exited with return code 255
Sep 17 04:53:47 wifibox daemon.info supervise-daemon[1054]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:47 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 1054, exited with return code 255
Sep 17 04:53:49 wifibox daemon.info supervise-daemon[1056]: Child command line: /sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf 
Sep 17 04:53:49 wifibox daemon.warn supervise-daemon[773]: /sbin/wpa_supplicant, pid 1056, exited with return code 255
Sep 17 04:53:49 wifibox daemon.warn supervise-daemon[773]: respawned "/sbin/wpa_supplicant" too many times, exiting
Sep 17 05:00:00 wifibox cron.info crond[988]: USER root pid 1064 cmd run-parts /etc/periodic/15min
Sep 17 05:00:00 wifibox cron.info crond[988]: USER root pid 1065 cmd run-parts /etc/periodic/hourly

Additional context

wifibox, wifibox-core, and wifibox-alpine were all installed via pkg. I also tried versions compiled from ports, and tried configuring the port to include all the firmware files, but continued to run into the same issues.

Have you tried to turn it on and off?

  • Yes, I have read all the manual pages first!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwifibox-alpineIssue related to the Alpine Linux-based VM image

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions