imx8qxp device-mapper hang

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qxp device-mapper hang

1,308 Views
jiujinhong
Contributor IV

Hi,

Sometime the system block in below step, can you give some advice?

[    4.002577] ashmem: initialized
[    4.015539] ***** imx8qm_acm_init *****
[    4.032848] imx6638Play: imx_tef6638_probe enter.
[    4.038006] imx-tef6638-audio sound_tef6638: tef6638 <-> 59050000.sai mapping ok
[    4.045436] imx-tef6638-audio sound_tef6638: ASoC: no DMI vendor name!
[    4.054009] imx-tef6638-mic sound_tef6638_mic: tef6638-mic <-> 59010000.esai mapping ok
[    4.062050] imx-tef6638-mic sound_tef6638_mic: ASoC: no DMI vendor name!
[    4.070460] imx_bt_probe, probe
[    4.073958] imx_bt_dai_init, reset both codec and btcodec modules
[    4.080203] imx-bt sound_bt_voice: bt-codec-pcm <-> 59040000.sai mapping ok
[    4.087186] imx-bt sound_bt_voice: ASoC: no DMI vendor name!
[    4.094163] NET: Registered protocol family 26
[    4.098631] u32 classifier
[    4.101335]     Actions configured
[    4.104755] Netfilter messages via NETLINK v0.30.
[    4.109796] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    4.116169] ctnetlink v0.93: registering with nfnetlink.
[    4.122008] xt_time: kernel timezone is -0000
[    4.126568] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.132370] arp_tables: arp_tables: (C) 2002 David S. Miller
[    4.138157] Initializing XFRM netlink socket
[    4.142472] NET: Registered protocol family 17
[    4.146942] NET: Registered protocol family 15
[    4.153310] registered taskstats version 1
[    4.176836] imx8_cpufreq_init: cluster 0 running at freq 1200 MHz, suspend freq 1200 MHz
[    4.192682] imx_sc_rtc rtc: setting system clock to 1970-01-01 00:00:09 UTC (9)
[    4.202818] can-stby: disabling
[    4.205992] fec2_nvcc: disabling
[    4.209218] epdev_on: disabling
[    4.212403] usb_otg1_vbus: disabling
[    4.215989] ALSA device list:
[    4.218967]   #0: tef6638-audio
[    4.222116]   #1: tef6638-mic
[    4.225080]   #2: bt-codec
[    4.230141] device-mapper: init: attempting early device configuration.

0 Kudos
3 Replies

995 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jiu

one can try latest L4.14.98 nxp linux

linux-imx - i.MX Linux kernel 

Linux L4.14.98_2.0.0 Documentation

and test ddr memory if this is custom board.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

995 Views
jiujinhong
Contributor IV

Hi Igor,

after add more kernel config, the issue is fixed by workaround. I think it should be bsp issue due to someother driver lockdep

+CONFIG_SOFTLOCKUP_DETECTOR=y
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
+CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y
+CONFIG_WQ_WATCHDOG=y
 CONFIG_PANIC_TIMEOUT=5
 CONFIG_SCHEDSTATS=y
 # CONFIG_DEBUG_PREEMPT is not set
+CONFIG_PROVE_LOCKING=y
+CONFIG_LOCK_STAT=y
+CONFIG_DEBUG_LOCKDEP=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y

0 Kudos

995 Views
jiujinhong
Contributor IV

the issue hange on alloc_dax's spinlock,soft lockup 22s

0 Kudos