VIM1 slow to boot with sd card in

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Ubuntu 20.04 compiled with fenix

Please describe your issue below:

VIM1 is slow to boot when sd card is inserted (but not used as boot medium) and logs shows mmc errors. After boot the sd card works as expected.

Post a console log of your issue below:

[    7.254606@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[    7.255410@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[    7.261652@2] meson-mmc: meson_mmc_irq_thread() 2786: set 1st retry!         
[    7.267934@2] meson-mmc: retry cmd 18 the 10-th time(s)                      
[    7.273096@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[    7.277944@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   11.378605@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   11.379401@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   11.385641@2] meson-mmc: retry cmd 18 the 9-th time(s)                       
[   11.390718@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   11.395554@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   15.496607@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   15.497408@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   15.503645@2] meson-mmc: retry cmd 18 the 8-th time(s)                       
[   15.508720@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   15.513560@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   19.614607@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   19.615406@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   19.621647@2] meson-mmc: retry cmd 18 the 7-th time(s)                       
[   19.626722@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   19.631556@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   23.732618@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   23.733421@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   23.739661@2] meson-mmc: retry cmd 18 the 6-th time(s)                       
[   23.744736@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   23.749571@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   27.850608@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   27.851409@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   27.857649@2] meson-mmc: retry cmd 18 the 5-th time(s)                       
[   27.862732@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   27.867562@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   31.968606@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   31.969407@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   31.975647@2] meson-mmc: retry cmd 18 the 4-th time(s)                       
[   31.980724@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   31.985558@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   36.086608@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   36.087405@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   36.093643@2] meson-mmc: retry cmd 18 the 3-th time(s)                       
[   36.098728@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   36.103556@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   40.204606@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   40.205402@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   40.211634@2] meson-mmc: retry cmd 18 the 2-th time(s)                       
[   40.216716@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   40.221555@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   44.322606@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   44.323408@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   44.329642@2] meson-mmc: retry cmd 18 the 1-th time(s)                       
[   44.334721@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   44.339562@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.440607@0] meson-mmc: sd: resp_timeout,vstat:0xe1ff1800,virqc:3fff        
[   48.441406@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.447642@2] meson-mmc: Command retried failed line:2890, cmd:18            
[   48.453686@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.460102@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.466414@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.472639@2] meson-mmc: meson_mmc_irq_thread() 2786: set 1st retry!         
[   48.478941@2] meson-mmc: retry cmd 13 the 10-th time(s)                      
[   48.484105@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   48.488966@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.495308@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.501535@2] meson-mmc: retry cmd 13 the 9-th time(s)                       
[   48.506625@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   48.511481@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.517819@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.524045@2] meson-mmc: retry cmd 13 the 8-th time(s)                       
[   48.529131@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   48.533984@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.540330@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.546558@2] meson-mmc: retry cmd 13 the 7-th time(s)                       
[   48.551642@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   48.556496@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.562842@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.569067@2] meson-mmc: retry cmd 13 the 6-th time(s)                       
[   48.574153@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   48.579011@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.585352@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.591579@2] meson-mmc: retry cmd 13 the 5-th time(s)                       
[   48.596665@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   48.601523@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.607864@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.614088@2] meson-mmc: retry cmd 13 the 4-th time(s)                       
[   48.619175@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   48.624032@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.630375@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.636602@2] meson-mmc: retry cmd 13 the 3-th time(s)                       
[   48.641688@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   48.646540@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.652887@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.659113@2] meson-mmc: retry cmd 13 the 2-th time(s)                       
[   48.664198@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   48.669051@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.675398@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.681624@2] meson-mmc: retry cmd 13 the 1-th time(s)                       
[   48.686710@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   48.691561@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.697909@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.704135@2] meson-mmc: Command retried failed line:2890, cmd:13            
[   48.710185@0] mmcblk1: error -110 sending status command, retrying           
[   48.716316@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.722663@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.728891@2] meson-mmc: meson_mmc_irq_thread() 2786: set 1st retry!         
[   48.735184@2] meson-mmc: retry cmd 13 the 10-th time(s)                      
[   48.740355@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   48.745216@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.751556@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.757784@2] meson-mmc: retry cmd 13 the 9-th time(s)                       
[   48.762873@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   48.767721@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.774067@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.780295@2] meson-mmc: retry cmd 13 the 8-th time(s)                       
[   48.785381@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   48.790248@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.796579@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.802805@2] meson-mmc: retry cmd 13 the 7-th time(s)                       
[   48.807892@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   48.812746@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.819090@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.825317@2] meson-mmc: retry cmd 13 the 6-th time(s)                       
[   48.830403@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   48.835256@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.841601@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.847828@2] meson-mmc: retry cmd 13 the 5-th time(s)                       
[   48.852913@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   48.857769@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.864113@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.870338@2] meson-mmc: retry cmd 13 the 4-th time(s)                       
[   48.875423@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   48.880282@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.886624@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.892850@2] meson-mmc: retry cmd 13 the 3-th time(s)                       
[   48.897938@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   48.902791@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.909135@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.915362@2] meson-mmc: retry cmd 13 the 2-th time(s)                       
[   48.920451@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   48.925301@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.931646@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.937873@2] meson-mmc: retry cmd 13 the 1-th time(s)                       
[   48.942958@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   48.947811@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.954157@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.960385@2] meson-mmc: Command retried failed line:2890, cmd:13            
[   48.966433@0] mmcblk1: error -110 sending status command, retrying           
[   48.972567@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   48.978911@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   48.985137@2] meson-mmc: meson_mmc_irq_thread() 2786: set 1st retry!         
[   48.991431@2] meson-mmc: retry cmd 13 the 10-th time(s)                      
[   48.996603@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   49.001462@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.007805@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.014207@2] meson-mmc: retry cmd 13 the 9-th time(s)                       
[   49.019117@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   49.023975@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.030316@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.036543@2] meson-mmc: retry cmd 13 the 8-th time(s)                       
[   49.041629@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   49.046482@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.052828@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.059055@2] meson-mmc: retry cmd 13 the 7-th time(s)                       
[   49.064139@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   49.068995@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.075339@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.081564@2] meson-mmc: retry cmd 13 the 6-th time(s)                       
[   49.086651@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   49.091505@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.097850@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.104075@2] meson-mmc: retry cmd 13 the 5-th time(s)                       
[   49.109161@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   49.114014@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.120361@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.126587@2] meson-mmc: retry cmd 13 the 4-th time(s)                       
[   49.131672@2] meson-mmc: sd, retry, rx_phase 0 -> 1                          
[   49.136528@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.142873@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.149099@2] meson-mmc: retry cmd 13 the 3-th time(s)                       
[   49.154185@2] meson-mmc: sd, retry, rx_phase 1 -> 2                          
[   49.159037@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.165384@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.171611@2] meson-mmc: retry cmd 13 the 2-th time(s)                       
[   49.176700@2] meson-mmc: sd, retry, rx_phase 2 -> 3                          
[   49.181552@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.187895@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.194121@2] meson-mmc: retry cmd 13 the 1-th time(s)                       
[   49.199207@2] meson-mmc: sd, retry, rx_phase 3 -> 0                          
[   49.204058@0] meson-mmc: sd: resp_timeout,vstat:0xa1ff2800,virqc:3fff        
[   49.210406@0] meson-mmc: sd: err: wait for irq service, bus_fsm:0x8          
[   49.216634@2] meson-mmc: Command retried failed line:2890, cmd:13            
[   49.222680@0] mmcblk1: error -110 sending status command, aborting           
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.32:y
[   58.727292@2] cgroup: cgroup2: unknown option "nsdelegate"                   
[   59.392669@1] thermal thermal_zone0: binding zone soc_thermal with cdev ther2
[   60.227682@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff      
[   60.228666@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8        
[   60.236240@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff      
[   60.241603@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8        
[   60.254842@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff      
[   60.255815@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8