Jump to content

[77666.669616] rockchip-i2s ff890000.i2s: Fail to set mclk -22


Recommended Posts

Posted

Hi,

Do you know what may cause dmesg showing full wall of this error:

.
.
.
[77666.669616] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[77666.669642] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[77666.671123] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[77666.671149] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
.
.
.

 

This error occurs every time I run java, but also in some other programs.

 

board: pine64 rockpro64

os: armbian ubuntu focal based image, but i deleted graphical environement and some other programs like libreoffice

Posted (edited)

It also looks like I'm getting SIGSEGV during apt update now:

 

Spoiler

[  108.611835] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[  108.611854] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[  108.613119] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[  108.613137] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[  464.315202] Unable to handle kernel paging request at virtual address ffff0001a81323d5
[  464.315968] Mem abort info:
[  464.316216]   ESR = 0x96000005
[  464.316486]   EC = 0x25: DABT (current EL), IL = 32 bits
[  464.316951]   SET = 0, FnV = 0
[  464.317220]   EA = 0, S1PTW = 0
[  464.317497] Data abort info:
[  464.317750]   ISV = 0, ISS = 0x00000005
[  464.318087]   CM = 0, WnR = 0
[  464.318348] swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000000341e000
[  464.318933] [ffff0001a81323d5] pgd=00000000f7ff9003, p4d=00000000f7ff9003, pud=0000000000000000
[  464.319722] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[  464.320212] Modules linked in: governor_performance bnep zstd zram snd_soc_hdmi_codec panfrost fusb302 pwm_fan tcpm gpu_sched snd_soc_audio_graph_card typec snd_soc_simple_card snd_soc_simple_card_utils rc_cec dw_hdmi_cec dw_hdmi_i2s_audio hantro_vpu(C) snd_soc_es8316 snd_soc_rockchip_i2s rockchip_vdec(C) hci_uart videobuf2_vmalloc v4l2_h264 btqca videobuf2_dma_contig btrtl btbcm snd_soc_core btintel snd_pcm_dmaengine snd_pcm rockchip_rga bluetooth snd_timer v4l2_mem2mem videobuf2_dma_sg videobuf2_memops snd videobuf2_v4l2 soundcore videobuf2_common videodev mc rfkill cpufreq_dt sch_fq_codel ip_tables x_tables autofs4 rockchipdrm analogix_dp dw_hdmi dw_mipi_dsi drm_kms_helper realtek cec rc_core drm drm_panel_orientation_quirks dwmac_rk stmmac_platform stmmac mdio_xpcs
[  464.326170] CPU: 4 PID: 4657 Comm: dpkg Tainted: G         C        5.9.10-rockchip64 #20.11
[  464.326906] Hardware name: Pine64 RockPro64 v2.1 (DT)
[  464.327349] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[  464.327842] pc : kmem_cache_alloc+0x148/0x410
[  464.328225] lr : kmem_cache_alloc+0x6c/0x410
[  464.328598] sp : ffff800016453910
[  464.328889] x29: ffff800016453910 x28: 0000000000000000 
[  464.329354] x27: 000000000038a604 x26: ffff0000cdb68e80 
[  464.329820] x25: 0080000000000000 x24: ffff800011a4b000 
[  464.330284] x23: ffff0000cdb68e80 x22: ffff8000103c79e8 
[  464.330749] x21: 0000000000000a20 x20: ffff8000103c79e8 
[  464.331214] x19: ffff0000e5a5d000 x18: 0000000000000000 
[  464.331678] x17: 0000000000000000 x16: 0000000000000000 
[  464.332143] x15: 0000000000000000 x14: 0000000000000000 
[  464.332607] x13: 0000000000000000 x12: 0000000000004000 
[  464.333072] x11: ffff0000e464f800 x10: ffff0000a805b240 
[  464.333536] x9 : 0000000000000000 x8 : ffff0000e6208c00 
[  464.334001] x7 : 0000000000000001 x6 : ffff0000cdb68e80 
[  464.334465] x5 : ffff0000cdb68e80 x4 : ffff0000cdb68e80 
[  464.334930] x3 : 000000000038a604 x2 : 0000000000000018 
[  464.335394] x1 : 0000000000000002 x0 : ffff0001a81323bd 
[  464.335859] Call trace:
[  464.336077]  kmem_cache_alloc+0x148/0x410
[  464.336431]  __es_insert_extent+0xb8/0x320
[  464.336791]  ext4_es_insert_extent+0xe0/0x380
[  464.337173]  ext4_ext_map_blocks+0x6c4/0x1018
[  464.337557]  ext4_map_blocks+0x33c/0x580
[  464.337902]  ext4_getblk+0x58/0x1c8
[  464.338208]  ext4_bread+0x24/0x138
[  464.338508]  ext4_append+0x50/0x100
[  464.338815]  ext4_mkdir+0x190/0x488
[  464.339124]  vfs_mkdir+0xf0/0x1c0
[  464.339416]  do_mkdirat+0x10c/0x130
[  464.339724]  __arm64_sys_mkdirat+0x20/0x30
[  464.340086]  el0_svc_common.constprop.0+0x70/0x188
[  464.340507]  do_el0_svc+0x24/0x90
[  464.340799]  el0_sync_handler+0x90/0x198
[  464.341144]  el0_sync+0x158/0x180
[  464.341438] Code: 54001480 b9402a62 b94010c1 11000421 (f8626802) 
[  464.341972] ---[ end trace 3209faca21a29d67 ]---
[  464.342401] note: dpkg[4657] exited with preempt_count 1

 

 

 

Nice...

Edited by TRS-80
put moderate length output inside spoiler
Posted

So I just found out that my NanoPI M4V2 is doing this too ...

 

Armbian monitor debug for the interested: http://ix.io/2P0s

 

[   21.144068] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   21.144731] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_s

 

Maybe something up with the RK3399 device tree?

Posted

So, until I get more information on what's going on, I disabled both I2S devices on my M4V2 to shut them up.

 

There are some DTB differences between rockpi64 and M4V2, but they're pretty close. Perhaps this will work for you too, to at least stop the log spam. Save the below as "rk3399-disable-i2s.dts".

 

/dts-v1/;
/plugin/;

/ {
	compatible = "rk3399";

	fragment@0 {
		target = <&i2s1>;
		__overlay__ {
			status = "disabled";
		};
	};

	fragment@1 {
		target = <&i2s2>;
		__overlay__ {
			status = "disabled";
		};
	};
};

 

Then add as a user overlay on your system ...

 

tparys@m4v2:~$ sudo armbian-add-overlay rk3399-disable-i2s.dts 
Compiling the overlay
Copying the compiled overlay file to /boot/overlay-user/
Reboot is required to apply the changes

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines