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

8devices RED bean does not work #15

Open
astrand opened this issue Sep 25, 2020 · 1 comment
Open

8devices RED bean does not work #15

astrand opened this issue Sep 25, 2020 · 1 comment

Comments

@astrand
Copy link

astrand commented Sep 25, 2020

We are trying to make https://www.8devices.com/products/red-bean work with ath10k. This device is based on QCA9733. The PCIe "BLACK bean" works OK, but we need SDIO. Firmware is available here:

https://github.com/8devices/qcacld-2.0/tree/CNSS.LEA.NRT_3.0/firmware_bin/sdio
and
https://github.com/8devices/qcacld-2.0/tree/caf-wlan/LNX.LEH.4.2.2.2/firmware/sdio

Details will follow.

@astrand
Copy link
Author

astrand commented Sep 25, 2020

With the latest code on the v5.4-ath10k-sdio branch, the kernel crashes when card is inserted:

[   99.741596] mmc0: cannot verify signal voltage switch
[   99.855667] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[   99.871504] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[   99.878666] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[   99.880082] mmc0: queuing unknown CIS tuple 0x14 (0 bytes)
[   99.887757] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[   99.887821] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[   99.887885] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[   99.887908] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[   99.958992] ath10k_sdio mmc0:0001:1: WARNING: ath10k SDIO support is work-in-progress, problems may arise!
[  100.000502] ath10k_sdio mmc0:0001:1: qca9377 hw1.1 sdio target 0x05020001 chip_id 0x00000000 sub 0000:0000
[  100.000504] ath10k_sdio mmc0:0001:1: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[  100.000822] ath10k_sdio mmc0:0001:1: firmware ver WLAN.TF.1.1.1-00061-QCATFSWPZ-1 api 5 features ignore-otp crc32 7746e551
[  100.152134] ath10k_sdio mmc0:0001:1: board_file api 2 bmi_id N/A crc32 0708e68d
[  101.289053] ath10k_sdio mmc0:0001:1: htt-ver 3.32 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[  101.289349] BUG: unable to handle page fault for address: fffff632300094c8
[  101.289351] #PF: supervisor read access in kernel mode
[  101.289352] #PF: error_code(0x0000) - not-present page
[  101.289352] PGD 0 P4D 0
[  101.289354] Oops: 0000 [#1] SMP PTI
[  101.289356] CPU: 1 PID: 147 Comm: kworker/1:2 Not tainted 5.4.0+ #1
[  101.289357] Hardware name: Dell Inc. Latitude 7480/00F6D3, BIOS 1.6.4 08/29/2017
[  101.289361] Workqueue: events sd_request [rtsx_pci_sdmmc]
[  101.289364] RIP: 0010:sg_miter_stop+0x5a/0x80
[  101.289366] Code: a8 a0 12 00 00 01 48 c7 07 00 00 00 00 48 c7 47 08 00 00 00 00 48 c7 47 10 00 00 00 00 48 c7 47 18 00 00 00 00 5d c3 48 8b 17 <48> 8b 4a 08 48 8d 71 ff 8                                                               3 e1 01 48 0f 45 d6 a8 01 48 8b 12 74 c6
[  101.289367] RSP: 0018:ffffb2f7c03b7d60 EFLAGS: 00010202
[  101.289368] RAX: 0000000000000003 RBX: 0000000000000004 RCX: 0000000000000000
[  101.289368] RDX: fffff632300094c0 RSI: ffff88fe329d8284 RDI: ffffb2f7c03b7d78
[  101.289369] RBP: ffffb2f7c03b7d60 R08: ffffb2f7c03b7d78 R09: 0000000000000dec
[  101.289370] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
[  101.289370] R13: 0000000000000004 R14: 0000000000000004 R15: 0000000000000000
[  101.289371] FS:  0000000000000000(0000) GS:ffff88fe36280000(0000) knlGS:0000000000000000
[  101.289372] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  101.289373] CR2: fffff632300094c8 CR3: 0000000026e0a003 CR4: 00000000003606e0
[  101.289374] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  101.289374] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  101.289375] Call Trace:
[  101.289377]  sg_copy_buffer+0xc9/0xf0
[  101.289379]  sg_copy_from_buffer+0xf/0x20
[  101.289380]  sd_request+0x568/0xa7a [rtsx_pci_sdmmc]
[  101.289383]  ? __switch_to_asm+0x40/0x70
[  101.289384]  ? __switch_to_asm+0x34/0x70
[  101.289386]  process_one_work+0x20f/0x400
[  101.289388]  worker_thread+0x34/0x410
[  101.289389]  kthread+0x121/0x140
[  101.289390]  ? process_one_work+0x400/0x400
[  101.289392]  ? kthread_park+0x90/0x90
[  101.289393]  ret_from_fork+0x35/0x40
[  101.289394] Modules linked in: ath10k_sdio ath10k_core ath mac80211 libarc4 mmc_block bnep x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi kvm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common crct10dif_pclmul videodev crc32_pclmul ghash_clmulni_intel snd_hda_codec_realtek dell_rbtn mc snd_hda_codec_generic aesni_intel hid_multitouch dell_laptop snd_hda_intel btusb ledtrig_audio snd_intel_nhlt crypto_simd snd_hda_codec btrtl iwlwifi cryptd dell_smm_hwmon btbcm mei_hdcp snd_hda_core btintel snd_hwdep bluetooth glue_helper cfg80211 mei_wdt intel_rapl_msr intel_cstate rtsx_pci_ms snd_pcm ecdh_generic memstick ecc intel_rapl_perf mei_me processor_thermal_device intel_xhci_usb_role_switch iTCO_wdt mei snd_timer iTCO_vendor_support snd roles soundcore int3403_thermal intel_rapl_common input_leds int3400_thermal intel_soc_dts_iosf acpi_thermal_rel dell_wmi joydev serio_raw intel_hid evbug int340x_thermal_zone intel_pch_thermal dell_smbios
[  101.289413]  dcdbas mac_hid intel_wmi_thunderbolt wmi_bmof acpi_pad sparse_keymap dell_wmi_descriptor pcspkr parport_pc ppdev lp parport ip_tables x_tables autofs4 usbhid uas usb_storage hid_alps hid_generic i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops rtsx_pci_sdmmc e1000e i2c_i801 drm ahci rtsx_pci libahci intel_lpss_pci i2c_hid wmi hid intel_lpss_acpi intel_lpss idma64 video virt_dma
[  101.289425] CR2: fffff632300094c8
[  101.289426] ---[ end trace d824e962b6c35938 ]---
[  101.289428] RIP: 0010:sg_miter_stop+0x5a/0x80
[  101.289429] Code: a8 a0 12 00 00 01 48 c7 07 00 00 00 00 48 c7 47 08 00 00 00 00 48 c7 47 10 00 00 00 00 48 c7 47 18 00 00 00 00 5d c3 48 8b 17 <48> 8b 4a 08 48 8d 71 ff 83 e1 01 48 0f 45 d6 a8 01 48 8b 12 74 c6
[  101.289430] RSP: 0018:ffffb2f7c03b7d60 EFLAGS: 00010202
[  101.289431] RAX: 0000000000000003 RBX: 0000000000000004 RCX: 0000000000000000
[  101.289431] RDX: fffff632300094c0 RSI: ffff88fe329d8284 RDI: ffffb2f7c03b7d78
[  101.289432] RBP: ffffb2f7c03b7d60 R08: ffffb2f7c03b7d78 R09: 0000000000000dec
[  101.289432] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
[  101.289433] R13: 0000000000000004 R14: 0000000000000004 R15: 0000000000000000
[  101.289434] FS:  0000000000000000(0000) GS:ffff88fe36280000(0000) knlGS:0000000000000000
[  101.289435] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  101.289435] CR2: fffff632300094c8 CR3: 0000000026e0a003 CR4: 00000000003606e0
[  101.289436] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  101.289437] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

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

1 participant