beagleboard / linux

The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
http://beagleboard.org/source
Other
715 stars 566 forks source link

Boot Failed WARNING at kernel/sched/core.c:3443 migrate_enable #221

Closed devinor closed 4 years ago

devinor commented 4 years ago

kernel version: 4.9.45-ti-rt-r57 Frequency of occurrence: few times platform: AM3354 phenomenon: when input sudo reboot, the following may appear, and can't start normally

dmesg log:

[ 3.578437] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 [ 3.587562] ------------[ cut here ]------------ [ 3.587592] ------------[ cut here ]------------ [ 3.587626] WARNING: CPU: 0 PID: 89 at kernel/sched/core.c:3443 migrate_enable+0x2c4/0x384 [ 3.587638] Modules linked in: [ 3.587652] CPU: 0 PID: 89 Comm: mmcqd/1 Not tainted 4.9.45-ti-rt-r57 #1 [ 3.587655] Hardware name: Generic AM33XX (Flattened Device Tree) [ 3.587706] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 3.587723] [] (show_stack) from [] (dump_stack+0x90/0xa4) [ 3.587739] [] (dump_stack) from [] (warn+0xf8/0x110) [ 3.587750] [] (warn) from [] (warn_slowpath_null+0x30/0x38) [ 3.587759] [] (warn_slowpath_null) from [ 3.587780] [] (migrate_enable) from [] (rt_spin_unlock+0x68/0x78) [ 3.587799] [] (rt_spin_unlock) from [] (pm_runtime_resume+0x64/0x6c) [ 3.587826] [] (pm_runtime_resume) from } [ 3.587842] [] (serial8250_rpm_get.part.2) from [] (serial8250_console_write+0x270/0x278) [ 3.587853] [] (serial8250_console_write) from [] (univ8250_console_write+0x30/0x34) [ 3.587879] [] (univ8250_console_write) from [] (call_console_drivers.constprop.12+0xf0/0x1ec) [ 3.587893] [] (call_console_drivers.constprop.12) from [ 3.587902] [] (console_unlock) from [] (vprintk_emit+0x480/0x634) [ 3.587910] [] (vprintk_emit) from [] (vprintk_default+0x48/0x64) [ 3.587933] [] (vprintk_default) from [] (printk+0xa8/0xc4) [ 3.587945] [] (printk) from [] (warn+0x40/0x110) [ 3.587953] [] (warn) from [] (warn_slowpath_null+0x30/0x38) [ 3.587961] [] (warn_slowpath_null) from [ 3.587971] [] (migrate_disable) from [ 3.587981] [] (rt_spin_lock_slowlock) from [] (rt_spin_lock+0x64/0x68) [ 3.588000] [] (rt_spin_lock) from [] (get_page_from_freelist+0x1f8/0xc30) [ 3.588012] [] (get_page_from_freelist) from [ 3.588024] [] (alloc_pages_nodemask) from [] (new_slab+0xdc/0x5e0) [ 3.588036] [] (new_slab) from [ 3.588045] [] (___slab_alloc.constprop.6) from [] (slab_alloc.constprop.5+0x74/0xa4) [ 3.588054] [] (slab_alloc.constprop.5) from [] (kmalloc+0x2ec/0x32c) [ 3.588075] [] (kmalloc) from [] (edma_prep_slave_sg+0xa8/0x32c) [ 3.588098] [] (edma_prep_slave_sg) from [ 3.588126] [] (omap_hsmmc_request) from [ 3.588140] [] (__mmc_start_request) from [ 3.588150] [] (mmc_start_request) from [] (mmc_start_req+0x300/0x45c) [ 3.588159] [] (mmc_start_req) from [] (mmc_blk_issue_rw_rq+0xd4/0xa80) [ 3.588169] [] (mmc_blk_issue_rw_rq) from [ 3.588179] [] (mmc_blk_issue_rq) from [ 3.588200] [] (mmc_queue_thread) from [] (kthread+0x11c/0x134) [ 3.588221] [] (kthread) from [] (ret_from_fork+0x14/0x34) [ 3.588228] ---[ end trace 0000000000000002 ]--- [ 3.591494] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 3.643365] usb 2-1: new high-speed USB device number 2 using musb-hdrc [ 3.943942] WARNING: CPU: 0 PID: 89 at kernel/sched/core.c:3412 migrate_disable+0x104/0x108 [ 3.952337] Modules linked in: [ 3.955434] CPU: 0 PID: 89 Comm: mmcqd/1 Tainted: G W 4.9.45-ti-rt-r57 #1 [ 3.955437] Hardware name: Generic AM33XX (Flattened Device Tree) [ 3.955473] [] (unwind_backtrace) from [] (show_stack+0x20/0x24) [ 3.955489] [] (show_stack) from [] (dump_stack+0x90/0xa4) [ 3.955501] [] (dump_stack) from [] (warn+0xf8/0x110) [ 3.955511] [] (warn) from [] (warn_slowpath_null+0x30/0x38) [ 3.955521] [] (warn_slowpath_null) from [ 3.955535] [] (migrate_disable) from [] (rt_spin_lock_slowlock+0x1f4/0x35c) [ 3.955551] [] (rt_spin_lock_slowlock) from [] (rt_spin_lock+0x64/0x68) [ 3.955570] [] (rt_spin_lock) from [] (get_page_from_freelist+0x1f8/0xc30) [ 3.955583] [] (get_page_from_freelist) from [](alloc_pages_nodemask+0x110/0xe80) [ 3.955593] [] (alloc_pages_nodemask) from [] (new_slab+0xdc/0x5e0) [ 3.955604] [] (new_slab) from [ 3.955614] [] (___slab_alloc.constprop.6) from [](slab_alloc.constprop.5+0x74/0xa4) [ 3.955622] [] (__slab_alloc.constprop.5) from [] (kmalloc+0x2ec/0x32c) [ 3.955641] [] (kmalloc) from [] (edma_prep_slave_sg+0xa8/0x32c) [ 3.955661] [] (edma_prep_slave_sg) from [ 3.955686] [] (omap_hsmmc_request) from [ 3.955699] [] (__mmc_start_request) from [ 3.955709] [] (mmc_start_request) from [] (mmc_start_req+0x300/0x45c) [ 3.955719] [] (mmc_start_req) from [] (mmc_blk_issue_rw_rq+0xd4/0xa80) [ 3.955729] [] (mmc_blk_issue_rw_rq) from [ 3.955739] [] (mmc_blk_issue_rq) from [ 3.955754] [] (mmc_queue_thread) from [] (kthread+0x11c/0x134) [ 3.955771] [] (kthread) from [] (ret_from_fork+0x14/0x34) [ 3.955777] ---[ end trace 0000000000000003 ]--- [ 4.167032] usb 1-1: New USB device found, idVendor=0424, idProduct=2514 [ 4.167223] usb 2-1: New USB device found, idVendor=0424, idProduct=2514 [ 4.167231] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.172469] hub 2-1:1.0: USB hub found [ 4.172613] hub 2-1:1.0: 4 ports detected [ 4.172959] random: fast init done

devinor commented 4 years ago

In 4.9.45-ti-rt-r57, this problem never appears when insert sd card.(uboot and linux in emmc) I use the 4.9.147-ti-rt-r121. even if do not insert sd card. This problem no longer appears.

pdp7 commented 4 years ago

Please let us no if you encounter this issue again