Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 128
    • Issues 128
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Issues
  • #50

Closed
Open
Created Jun 13, 2019 by Angus Ainslie@angus.ainslieOwner

Redpine module does not unload cleanly

Feature: https://source.puri.sm/Librem5/use-cases/issues/109

During system shutdown the redpine driver does not unload cleanly

[71220.768155] rsi_91x: SDIO Bus shutdown =====>                                                               [35/1915]
[71220.772603] WARNING: CPU: 3 PID: 1 at drivers/net/wireless/rsi/rsi_91x_mac80211.c:2650 rsi_config_wowlan+0x150/0x178
[rsi_91x]                        
[71220.783991] Modules linked in: rsi_sdio rsi_91x aes_ce_ccm bnep bluetooth mac80211 cfg80211 option qmi_wwan usb_wwan
cdc_wdm usbnet usbserial mii mousedev xhci_plat_hcd xhci_hcd usbcore aes_ce_blk crypto_simd st_magn_spi st_sensors_spi t
cpci tcpm roles typec bq25890_charger crct10dif_ce st_magn_i2c st_magn st_sensors_i2c st_sensors industrialio_triggered_
buffer kfifo_buf goodix ghash_ce sha2_ce snd_soc_sgtl5000 sha1_ce snd_soc_simple_card snd_soc_fsl_sai snd_soc_simple_car
d_utils imx_pcm_dma_v2 snd_soc_gtm601 imx2_wdt watchdog gpio_vibra snd_soc_core snvs_pwrkey snd_pcm_dmaengine usb_f_acm
u_serial snd_pcm snd_timer usb_f_rndis snd qoriq_thermal imx_sdma soundcore virt_dma dwc3 ulpi phy_fsl_imx8mq_usb g_mult
i usb_f_mass_storage u_ether libcomposite udc_core usb_common ip_tables x_tables ipv6 nf_defrag_ipv6 [last unloaded: rsi
_91x]                 
[71220.857626] CPU: 3 PID: 1 Comm: systemd-shutdow Tainted: G        W         5.2.0-rc3-next-20190607-gaecb15545 #1
[71220.867883] Hardware name: Purism Librem 5 devkit (DT)
[71220.873019] pstate: 40000005 (nZcv daif -PAN -UAO)
[71220.877816] pc : rsi_config_wowlan+0x150/0x178 [rsi_91x]
[71220.883133] lr : rsi_config_wowlan+0x30/0x178 [rsi_91x]
[71220.888354] sp : ffff8000a7c93c40
[71220.891665] x29: ffff8000a7c93c40 x28: ffff8000a7c88000
[71220.896975] x27: 0000000000000000 x26: 0000000000000000
[71220.902285] x25: ffff0000109eac38 x24: ffff000010bba040
[71220.907594] x23: ffff8000a733c088 x22: ffff80008345d0b8
[71220.912904] x21: ffff800080898000 x20: 0000000000000000
[71220.918214] x19: ffff8000771c7000 x18: ffffffffffffffff
[71220.923524] x17: 0000000000000000 x16: 0000000000000000
[71220.928834] x15: ffff000010b385c8 x14: ffff800127c93937
[71220.934144] x13: ffff8000a7c93945 x12: ffff000010bee0a2
[71220.939453] x11: 0000000000000000 x10: 0000000005f5e0ff
[71220.944762] x9 : 0000000000000000 x8 : 0000000000000001
[71220.950072] x7 : ffff0000104d57d8 x6 : ffff000010bcbc78
[71220.955382] x5 : 0000000000000000 x4 : 0000000000000000
[71220.960691] x3 : ffff8000a7c93c40 x2 : ffff8000a7c93c10
[71220.966001] x1 : ac514d4daaa86300 x0 : 0000000000000000
[71220.971311] Call trace:
[71220.973763]  rsi_config_wowlan+0x150/0x178 [rsi_91x]
[71220.978730]  rsi_shutdown+0x4c/0xd8 [rsi_sdio]
[71220.983177]  device_shutdown+0x104/0x1e0
[71220.987100]  kernel_restart_prepare+0x34/0x40                                                                       
[71220.991454]  kernel_restart+0x14/0x78
[71220.995114]  __se_sys_reboot+0x108/0x218
[71220.999035]  __arm64_sys_reboot+0x18/0x20
[71221.003045]  el0_svc_common.constprop.0+0xb0/0x168
[71221.007834]  el0_svc_handler+0x18/0x20
[71221.011581]  el0_svc+0x8/0xc
[71221.014459] ---[ end trace 786c11767fdff785 ]---
[71221.019092] rsi_91x: WoW triggers not enabled
[71221.023480] rsi_91x: Failed to configure WoWLAN
[71221.028386] rsi_91x: Waiting for interrupts to be cleared..
[71221.028408] rsi_91x: .
[71221.033996] rsi_91x:
[71221.033996] Interrupts cleared
Edited Jun 13, 2019 by Angus Ainslie
Assignee
Assign to
Time tracking