Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page fault on branch NEW_ATHP_ARVIF_LOCK #18

Open
leobalbi opened this issue Jul 20, 2019 · 4 comments
Open

Page fault on branch NEW_ATHP_ARVIF_LOCK #18

leobalbi opened this issue Jul 20, 2019 · 4 comments

Comments

@leobalbi
Copy link

Hello folks,

As requested by Geramy I'm opening a new issue.

I'm with a dell xps 9380 with the some problem here (under FreeBSD 12.0 release):

uname -a:
FreeBSD Radagast 12.0-RELEASE FreeBSD 12.0-RELEASE GENERIC amd64

pciconf -lv:
none10@pci0:2:0:0: class=0x028000 card=0x143a1a56 chip=0x003e168c rev=0x32 hdr=0x00
vendor = 'Qualcomm Atheros'
device = 'QCA6174 802.11ac Wireless Network Adapter'
class = network

athp0: mem 0xdc000000-0xdc1fffff at device 0.0 on pci2
athp_pci_attach: msicount=8, msixcount=0
athp0: athp_pci_attach: 8 MSI interrupts
athp0: ath10k_pci_alloc_pipes: WARNING: configuring 4k dmamap size for pipe 5; figure out what to do instead
athp0: ath10k_pci_alloc_pipes: WARNING: configuring 4k dmamap size for pipe 6; figure out what to do instead
athp0: athp_pci_attach: chipid: 0x00340aff
athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin
athp_cal-pci-athp0.bin: could not load firmware image, error 2
athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_board.bin
athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-5.bin
athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, error 2
athp0: could not fetch firmware file 'athp_QCA6174_hw3.0/firmware-5.bin': -1
athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-4.bin
athp0: ath10k_core_init_firmware_features: hardware crypto
athp0: ath10k_download_cal_dt: TODO: device tree check
athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: 0x0000006c

Fatal trap 12: page fault while in kernel mode
cpuid = 7; apic id = 07
fault virtual address = 0x0
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff84f9d189
stack pointer = 0x28:0xfffffe00995695c0
frame pointer = 0x28:0xfffffe0099569620
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (athp0 ath10k_at_wq)
trap number = 12

I'm using the ARVIF_LOCK brach;

root@Radagast:/home/lbalbi/Src/athp/athp # git branch

NEW_ATHP_ARVIF_LOCK

And tried all firmwares from : https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0

Do I'm making something wrong, or missing something?

I can test any code you wish, if this help.

I've put the core.txt at https://drive.google.com/drive/folders/12m3JDlMCeK-YYgNQeaJTK6dp2D_ytMgQ?usp=sharing.

Thank's in advanced

Best's
Balbi

@k0pernicus
Copy link

Hi!

I have the same issue as yours.
Did you successfully solved this issue @leobalbi? Thanks a lot!

@Geramy
Copy link
Contributor

Geramy commented Aug 3, 2019

Hey guys have you tried my firmware file I gave to the other guy on the other thread? This was not provided by this repository it was a google share link, @leobalbi

@Geramy
Copy link
Contributor

Geramy commented Aug 3, 2019

So the problem is that it cannot load that firmware file, you must have the wrong firmware in there. Everything has to be the right version otherwise it wont attach the correct methods to the correct firmware file methods and it will crash like it did, Please try my firmware file for QCA6174 0x32, its in Bug number #20

@k0pernicus
Copy link

k0pernicus commented Aug 3, 2019

@Geramy We appreciate a lot the time you are taking to respond to us - thank you a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants