sorki / nixos-omnia

NixOS for Turris Omnia router
12 stars 0 forks source link

No wireless #1

Closed sorki closed 3 years ago

sorki commented 3 years ago

dmesg snippet, firmware issues?

[   15.876386] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   15.888537] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   15.901702] cfg80211: failed to load regulatory.db
[   16.273968] ath10k_pci 0000:02:00.0: of_irq_parse_pci: failed with rc=134
[   16.292885] ath10k_pci 0000:02:00.0: can't change power state from D3hot to D0 (config space inaccessible)
[   16.334758] ath10k_pci 0000:02:00.0: failed to wake up device : -110
[   16.346581] ath10k_pci: probe of 0000:02:00.0 failed with error -110
[   16.388723] libphy: mv88e6xxx SMI: probed
[   16.574335] ath9k 0000:01:00.0: enabling device (0000 -> 0002)
[   16.612024] ath: phy1: Mac Chip Rev 0xfffc0.f is not supported by this driver
[   16.619202] ath: phy1: Unable to initialize hardware; initialization status: -95 
[   16.626643] ath9k 0000:01:00.0: Failed to initialize device
[   16.749982] ath9k: probe of 0000:01:00.0 failed with error -95 
sorki commented 3 years ago

ath9k issue seems to be caused by CONFIG_PCIEASPM=y

Recompiling kernel with CONFIG_PCIEASPM=n or boot.kernelParams = [ "pcie_aspm=off" ]; should fix it.