gadget related dwc3 oops (was DP Adapter froze screen)
What problem did you encounter
Testing adapters, got a screen freeze, (ssh still was active)
How to reproduce
Not sure yet, may be the adapter or the process of plugging in an adapter.
purism-librem-5-pureos-dp-adapter-froze-screen-2020-11-28
Which version did you encounter the bug in?
From dmesg:
[100019.085336] r8152 4-1.1:1.0 eth0: v1.11.11
[100026.509674] xhci-hcd xhci-hcd.5.auto: WARN: HC couldn't access mem fast enough for slot 3 ep 6
[100026.509718] r8152 4-1.1:1.0 eth0: intr status -63
[100026.534584] usb 4-1.1: USB disconnect, device number 3
[100026.535110] r8152 4-1.1:1.0 eth0: Stop submitting intr, status -108
[100026.814390] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[100027.426280] usb 4-1.1: new SuperSpeed Gen 1 USB device number 4 using xhci-hcd
[100027.447466] usb 4-1.1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[100027.447477] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[100027.447482] usb 4-1.1: Product: USB 10/100/1000 LAN
[100027.447487] usb 4-1.1: Manufacturer: Realtek
[100027.447493] usb 4-1.1: SerialNumber: 000000000000
[100027.614587] usb 4-1.1: reset SuperSpeed Gen 1 USB device number 4 using xhci-hcd
[100027.654427] r8152 4-1.1:1.0: Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2
[100027.654444] r8152 4-1.1:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw (-2)
[100027.654592] r8152 4-1.1:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[100027.664053] r8152 4-1.1:1.0 (unnamed net_device) (uninitialized): Random ether addr 12:c9:70:26:9d:80
[100027.705936] r8152 4-1.1:1.0 eth0: v1.11.11
[100027.981661] xhci-hcd xhci-hcd.5.auto: WARN: HC couldn't access mem fast enough for slot 3 ep 6
[100027.981694] r8152 4-1.1:1.0 eth0: intr status -63
[100027.982489] usb 3-1: USB disconnect, device number 2
[100027.982495] usb 3-1.4: USB disconnect, device number 3
[100028.007876] usb 4-1: USB disconnect, device number 2
[100028.007888] usb 4-1.1: USB disconnect, device number 4
[100028.008175] r8152 4-1.1:1.0 eth0: Stop submitting intr, status -108
[100028.023165] xhci-hcd xhci-hcd.5.auto: remove, state 1
[100028.023191] usb usb4: USB disconnect, device number 1
[100028.023225] bq25890-charger 3-006a: Upstream supply changed: 0.
[100028.023229] bq25890-charger 3-006a: enabling OTG_EN pin
[100028.030625] bq25890-charger 3-006a: Upstream supply changed: 0.
[100028.030634] bq25890-charger 3-006a: enabling OTG_EN pin
[100028.095629] xhci-hcd xhci-hcd.5.auto: USB bus 4 deregistered
[100028.095655] xhci-hcd xhci-hcd.5.auto: remove, state 1
[100028.095668] usb usb3: USB disconnect, device number 1
[100028.131716] xhci-hcd xhci-hcd.5.auto: USB bus 3 deregistered
[100028.132159] using random self ethernet address
[100028.132163] using random host ethernet address
[100028.132201] g_multi 38100000.usb: failed to start g_multi: -16
[100028.140838] dwc3 38100000.usb: failed to register udc
[100028.150570] dwc3 38100000.usb: failed to initialize peripheral
[100060.158445] Unable to handle kernel paging request at virtual address dead000000000108
[100060.166522] Mem abort info:
[100060.169457] ESR = 0x96000044
[100060.172785] EC = 0x25: DABT (current EL), IL = 32 bits
[100060.178220] SET = 0, FnV = 0
[100060.181393] EA = 0, S1PTW = 0
[100060.184629] Data abort info:
[100060.187629] ISV = 0, ISS = 0x00000044
[100060.191590] CM = 0, WnR = 1
[100060.194673] [dead000000000108] address between user and kernel address ranges
[100060.201944] Internal error: Oops: 96000044 [#1] PREEMPT SMP
[100060.207609] Modules linked in: fuse usbhid cdc_ether r8152 aes_ce_ccm rfcomm bnep mousedev caam_jr caamhash_desc caamalg_desc crypto_engine redpine_sdio redpine_91x bluetooth qmi_wwan option mac80211 aes_ce_blk usb_wwan crypto_simd usbserial cdc_wdm usbnet mii crct10dif_ce ghash_ce sha2_ce sha1_ce cfg80211 snd_soc_simple_card snd_soc_gtm601 snd_soc_simple_card_utils rfkill pwm_vibra st_lsm6dsx_spi s5k3l6xx bq25890_charger mx6s_capture videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common mxc_mipi_csi2_yav hi846 v4l2_fwnode edt_ft5x06 videodev st_lsm6dsx_i2c st_lsm6dsx vcnl4000 snd_soc_wm8962 mc industrialio_triggered_buffer kfifo_buf leds_lm3560 tps6598x ofpart typec spi_nor gnss_mtk gnss_serial gnss mtd snd_soc_fsl_sai imx_pcm_dma snd_soc_core snd_pcm_dmaengine snd_pcm snvs_pwrkey imx2_wdt imx_sdma snd_timer watchdog virt_dma snd caam soundcore error ledtrig_timer usb_f_acm u_serial usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite ledtrig_pattern ip_tables
[100060.207756] x_tables ipv6 uas usb_storage xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi udc_core cdns_mhdp_imx roles cdns_mhdp_drmcore imx_dcss usb_common phy_fsl_imx8mq_usb clk_bd718x7
[100060.311212] CPU: 1 PID: 21294 Comm: kworker/1:1 Tainted: G W 5.9.0-1-librem5 #1
[100060.319909] Hardware name: Purism Librem 5r4 (DT)
[100060.324727] Workqueue: events_freezable __dwc3_set_mode [dwc3]
[100060.330652] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[100060.336330] pc : usb_del_gadget_udc+0x48/0xe0 [udc_core]
[100060.341740] lr : usb_del_gadget_udc+0x38/0xe0 [udc_core]
[100060.347136] sp : ffff80001582bd40
[100060.350536] x29: ffff80001582bd40 x28: 0000000000000000
[100060.355935] x27: ffff000026a07fc8 x26: ffff80001151f078
[100060.361342] x25: 0000000000000000 x24: ffff0000a6d07088
[100060.366753] x23: 0000000000000000 x22: ffff0000bf974300
[100060.372158] x21: ffff0000a6d07358 x20: ffff800008b79000
[100060.377559] x19: ffff00009342e000 x18: 0000000000000000
[100060.382958] x17: 0000000000000000 x16: 0000000000000000
[100060.388358] x15: ffffffffffffffff x14: 0000000000000040
[100060.393759] x13: 0000000000000228 x12: 0000000000000000
[100060.399159] x11: 0000000000000000 x10: 0000000000000990
[100060.404575] x9 : ffff800008b73b98 x8 : fefefefefefefeff
[100060.409980] x7 : 0000000000000018 x6 : 0000000000000018
[100060.415380] x5 : 0000000000000000 x4 : 0000000000000100
[100060.420783] x3 : 0000000000000122 x2 : dead000000000100
[100060.426183] x1 : 0000000000000000 x0 : dead000000000122
[100060.431589] Call trace:
[100060.434148] usb_del_gadget_udc+0x48/0xe0 [udc_core]
[100060.439220] dwc3_gadget_exit+0x24/0x78 [dwc3]
[100060.443772] __dwc3_set_mode+0x258/0x3e0 [dwc3]
[100060.448398] process_one_work+0x1f4/0x4b8
[100060.452497] worker_thread+0x50/0x480
[100060.456247] kthread+0x160/0x168
[100060.459564] ret_from_fork+0x10/0x34
[100060.463237] Code: f9418662 d2802004 f9418a60 d2802443 (f9000440)
[100060.469424] ---[ end trace 09bea62a824c30b4 ]---
purism@pureos:~$
purism@pureos:~$ dpkg -s phoc | grep Version
Version: 0.5.1
purism@pureos:~$ dpkg -s phosh | grep Version
Version: 0.6.0
purism@pureos:~$ uname -a
Linux pureos 5.9.0-1-librem5 #1 SMP PREEMPT Fri Nov 27 19:15:53 UTC 2020 aarch64 GNU/Linux
What hardware are you running phosh on?
- Librem 5 Evergreen
Relevant logfiles
Please provide relevant logs. You can e.g. the logs since last boot read
with journalctl -b 0
.