Search Linux Wireless

RE: Firmware Crashed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >>> No, it will be very difficult for us to upgrade the kernel.
> >>> This module(QCA9986 PCIe) is from the a third party company. They
> >>> are using the QCA driver and it works well. We are trying to
> >>> integrate this module to our own device(PPC-64 + Kernel 4.14.83). We
> >>> don't want to upgrade the kernel, since it will be a huge challenge work for
> us.
> >>>
> >>>
> >>> Thanks
> >>> Ming Chen
> >>>
> >>>> -----Original Message-----
> >>>> From: Tom Psyborg <pozega.tomislav@xxxxxxxxx>
> >>>> Sent: Saturday, March 21, 2020 11:16 PM
> >>>> To: Ming Chen <Ming.Chen@xxxxxxxxxxxxxx>
> >>>> Cc: linux-wireless <linux-wireless@xxxxxxxxxxxxxxx>
> >>>> Subject: Re: Firmware Crashed
> >>>>
> >>>> can you try to boot it in another device and using some distro that
> >>>> has 4.19 or later kernel without backports?
> >>>
> >>
> >> My suggestion is to try it in x86_64 PC. Then you can just use live
> >> linux distro with different kernel versions. If it does not work with
> >> any of these you may have ran into a hw bug sample. If it does work
> >> then you don't need to update your PPC64 kernel but find an
> >> architecture/device speific bug that prevents it from loading.
> >
> > [Ming Chen]
> > Thanks for the suggestion. I don't have a PC with PCIe socket on my hand, but
> it's indeed worth to have a try. I will try to find a one.
> 
> In case you want to try the ath10k-ct firmware for your chip, you can send me
> the firmware crash output and maybe I can understand why it is crashing.
> 
> http://www.candelatech.com/ath10k.php
> 
> Thanks,
> Ben
> 
> --
> Ben Greear <greearb@xxxxxxxxxxxxxxx>
> Candela Technologies Inc  http://www.candelatech.com
[Ming Chen] 
Thanks for reminding. I just realized that the functionality of board-2.bin in ath10k driver was commented out by someone of my company, and now I restored this functionality in ath10k driver. But, firmware is still crashed, and it seems like it is caused by failing to fetch board data. That is said, the driver failed to find a matched (bus=pci,bmi-chip-id=0,bmi-board-id=11) board data from board-2.bin. 

Does that mean the vendor of this wireless module has not committed their board data to upstream and build to board-2.bin file?

The below is the piece of BMI log, 
[ 9217.343233] ath10k_pci 0000:01:00.0: boot upload otp to 0x1234 len 8999 for board id
[ 9217.343239] ath10k_pci 0000:01:00.0: bmi fast download address 0x1234 buffer 0x800000000018a084 length 8999
[ 9217.343242] ath10k_pci 0000:01:00.0: bmi lz stream start address 0x1234
[ 9217.343828] ath10k_pci 0000:01:00.0: bmi lz data buffer 0x800000000018a084 length 8996
[ 9217.372561] ath10k_pci 0000:01:00.0: bmi lz data buffer 0xc00000007584fa50 length 4
[ 9217.372782] ath10k_pci 0000:01:00.0: bmi lz stream start address 0x0
[ 9217.372831] ath10k_pci 0000:01:00.0: bmi execute address 0x1234 param 0x10
[ 9218.783383] ath10k_pci 0000:01:00.0: bmi cmd took 353 jiffies hz 250 ret 0
[ 9218.783396] ath10k_pci 0000:01:00.0: bmi execute result 0x2c00
[ 9218.783401] ath10k_pci 0000:01:00.0: boot get otp board id result 0x00002c00 board_id 11 chip_id 0 ext_bid_support 0
[ 9218.783405] ath10k_pci 0000:01:00.0: SMBIOS bdf variant name not set.
[ 9218.783409] ath10k_pci 0000:01:00.0: DT bdf variant name not set.
[ 9218.783415] ath10k_pci 0000:01:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=11'
[ 9218.783420] ath10k_pci 0000:01:00.0: boot using board name 'bus=pci,bmi-chip-id=0,bmi-board-id=11'
[ 9218.783916] ath10k_pci 0000:01:00.0: boot fw request 'ath10k/QCA9984/hw1.0/board-2.bin': 0
[ 9218.783925] ath10k_pci 0000:01:00.0: board name
[ 9218.783932] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.783936] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.783940] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31                                      id=1
[ 9218.783944] ath10k_pci 0000:01:00.0: board name
[ 9218.783948] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.783953] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.783957] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 32                                      id=2
[ 9218.783960] ath10k_pci 0000:01:00.0: board name
[ 9218.783965] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.783969] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.783973] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33                                      id=3
[ 9218.783977] ath10k_pci 0000:01:00.0: board name
[ 9218.783981] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.783985] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.783989] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 34                                      id=4
[ 9218.783993] ath10k_pci 0000:01:00.0: board name
[ 9218.783997] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784002] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784006] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 35                                      id=5
[ 9218.784009] ath10k_pci 0000:01:00.0: board name
[ 9218.784013] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784018] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784022] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 36                                      id=6
[ 9218.784026] ath10k_pci 0000:01:00.0: board name
[ 9218.784030] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784034] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784039] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 37                                      id=7
[ 9218.784042] ath10k_pci 0000:01:00.0: board name
[ 9218.784046] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784051] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784055] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 38                                      id=8
[ 9218.784058] ath10k_pci 0000:01:00.0: board name
[ 9218.784062] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784067] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784071] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 39                                      id=9
[ 9218.784074] ath10k_pci 0000:01:00.0: board name
[ 9218.784079] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784083] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784087] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31 30                                   id=10
[ 9218.784091] ath10k_pci 0000:01:00.0: board name
[ 9218.784096] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784100] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784104] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33 30                                   id=30
[ 9218.784108] ath10k_pci 0000:01:00.0: board name
[ 9218.784113] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784117] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784121] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33 31                                   id=31
[ 9218.784125] ath10k_pci 0000:01:00.0: board name
[ 9218.784129] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784134] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784138] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31 37                                   id=17
[ 9218.784142] ath10k_pci 0000:01:00.0: board name
[ 9218.784146] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784151] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 65 62 6f 61 72 64  -id=0,bmi-eboard
[ 9218.784155] ath10k_pci 0000:01:00.0: 00000020: 2d 69 64 3d 31                                   -id=1
[ 9218.784159] ath10k_pci 0000:01:00.0: board name
[ 9218.784163] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784168] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784172] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 36 2c 76 61 72 69 61 6e 74 3d 4e 65 74  id=6,variant=Net
[ 9218.784176] ath10k_pci 0000:01:00.0: 00000030: 67 65 61 72 2d 4f 72 62 69 2d 50 72 6f 2d 53 52  gear-Orbi-Pro-SR
[ 9218.784181] ath10k_pci 0000:01:00.0: 00000040: 4b 36 30                                         K60
[ 9218.784184] ath10k_pci 0000:01:00.0: board name
[ 9218.784189] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784194] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784198] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31                                      id=1
[ 9218.784201] ath10k_pci 0000:01:00.0: board name
[ 9218.784206] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784210] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784215] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 32                                      id=2
[ 9218.784218] ath10k_pci 0000:01:00.0: board name
[ 9218.784222] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784227] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784231] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33                                      id=3
[ 9218.784235] ath10k_pci 0000:01:00.0: board name
[ 9218.784239] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784244] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784248] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 34                                      id=4
[ 9218.784252] ath10k_pci 0000:01:00.0: board name
[ 9218.784256] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784260] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784265] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 35                                      id=5
[ 9218.784268] ath10k_pci 0000:01:00.0: board name
[ 9218.784272] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784277] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784281] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 36                                      id=6
[ 9218.784284] ath10k_pci 0000:01:00.0: board name
[ 9218.784289] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784293] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784297] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 37                                      id=7
[ 9218.784301] ath10k_pci 0000:01:00.0: board name
[ 9218.784305] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784310] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784314] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 38                                      id=8
[ 9218.784317] ath10k_pci 0000:01:00.0: board name
[ 9218.784322] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784326] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784331] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 39                                      id=9
[ 9218.784334] ath10k_pci 0000:01:00.0: board name
[ 9218.784339] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784343] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784347] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31 30                                   id=10
[ 9218.784351] ath10k_pci 0000:01:00.0: board name
[ 9218.784355] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784360] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784364] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33 30                                   id=30
[ 9218.784367] ath10k_pci 0000:01:00.0: board name
[ 9218.784372] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784376] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784380] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 33 31                                   id=31
[ 9218.784384] ath10k_pci 0000:01:00.0: board name
[ 9218.784389] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784393] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784397] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 31 37                                   id=17
[ 9218.784401] ath10k_pci 0000:01:00.0: board name
[ 9218.784406] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784410] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 65 62 6f 61 72 64  -id=0,bmi-eboard
[ 9218.784414] ath10k_pci 0000:01:00.0: 00000020: 2d 69 64 3d 31                                   -id=1
[ 9218.784418] ath10k_pci 0000:01:00.0: board name
[ 9218.784422] ath10k_pci 0000:01:00.0: 00000000: 62 75 73 3d 70 63 69 2c 62 6d 69 2d 63 68 69 70  bus=pci,bmi-chip
[ 9218.784426] ath10k_pci 0000:01:00.0: 00000010: 2d 69 64 3d 30 2c 62 6d 69 2d 62 6f 61 72 64 2d  -id=0,bmi-board-
[ 9218.784431] ath10k_pci 0000:01:00.0: 00000020: 69 64 3d 36 2c 76 61 72 69 61 6e 74 3d 4e 65 74  id=6,variant=Net
[ 9218.784435] ath10k_pci 0000:01:00.0: 00000030: 67 65 61 72 2d 4f 72 62 69 2d 50 72 6f 2d 53 52  gear-Orbi-Pro-SR
[ 9218.784440] ath10k_pci 0000:01:00.0: 00000040: 4b 36 30                                         K60
[ 9218.784445] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=11 from ath10k/QCA9984/hw1.0/board-2.bin




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux