>> On Friday 19 August 2016 05:11 PM, Peter Robinson wrote: >>> On Fri, Aug 19, 2016 at 4:54 AM, Lokesh Vutla <lokeshvutla@xxxxxx> wrote: >>>> +Dave, >>>> >>>> On Thursday 18 August 2016 09:38 PM, Peter Robinson wrote: >>>>> Hi All, >>>>> >>>>> I'm seeing the following kernel crash on boot on the BBone Black with >>>>> the 4.8 kernel for at least rc1/rc2/latest head. >>>>> >>>>> Couldn't see any recent change to the RTC driver, is anyone else >>>>> seeing this? Any ideas on the issue? OS is Fedora 25. >>>> >>>> Can you the following series from Dave? >>>> http://www.spinics.net/lists/linux-omap/msg130698.html >>> >>> it gets me past that problem, so looks good until I then get to a >>> crash in the mmc stack/omap_hsmmc driver: >>> >>> [ 37.688714] ------------[ cut here ]------------ >>> [ 37.765528] WARNING: CPU: 0 PID: 299 at drivers/mmc/core/core.c:264 >>> mmc_start_request+0x80/0x260 [mmc_core] >>> [ 37.776273] Modules linked in: smsc davinci_mdio mmc_block ti_cpsw >>> cpsw_common ptp pps_core cpsw_ale davinci_cpdma tda998x tilcdc >>> drm_kms_helper syscopyarea sysfillrect omap_hsmmc sysimgblt >>> fb_sys_fops mmc_core drm >>> [ 37.796851] CPU: 0 PID: 299 Comm: mmcqd/0 Not tainted >>> 4.8.0-0.rc2.git2.1.bone1.fc25.armv7hl #1 >>> [ 37.805864] Hardware name: Generic AM33XX (Flattened Device Tree) >>> [ 37.812278] [<c021a2dc>] (unwind_backtrace) from [<c0214c34>] >>> (show_stack+0x18/0x1c) >>> [ 37.820391] [<c0214c34>] (show_stack) from [<c05913e0>] >>> (dump_stack+0x9c/0xd0) >>> [ 37.827960] [<c05913e0>] (dump_stack) from [<c0253840>] (__warn+0xe4/0x104) >>> [ 37.835251] [<c0253840>] (__warn) from [<c025391c>] >>> (warn_slowpath_null+0x24/0x2c) >>> [ 37.843317] [<c025391c>] (warn_slowpath_null) from [<bf069918>] >>> (mmc_start_request+0x80/0x260 [mmc_core]) >>> [ 37.853501] [<bf069918>] (mmc_start_request [mmc_core]) from >>> [<bf06b35c>] (mmc_start_req+0x2bc/0x33c [mmc_core]) >>> [ 37.864261] [<bf06b35c>] (mmc_start_req [mmc_core]) from >>> [<bf19d49c>] (mmc_blk_issue_rw_rq+0x320/0x98c [mmc_block]) >>> [ 37.875214] [<bf19d49c>] (mmc_blk_issue_rw_rq [mmc_block]) from >>> [<bf19dc88>] (mmc_blk_issue_rq+0x180/0x48c [mmc_block]) >>> [ 37.886524] [<bf19dc88>] (mmc_blk_issue_rq [mmc_block]) from >>> [<bf19e994>] (mmc_queue_thread+0xd4/0x1d8 [mmc_block]) >>> [ 37.897463] [<bf19e994>] (mmc_queue_thread [mmc_block]) from >>> [<c0279060>] (kthread+0xf0/0x104) >>> [ 37.906489] [<c0279060>] (kthread) from [<c020fe90>] >>> (ret_from_fork+0x14/0x24) >>> [ 37.914202] ---[ end trace 83bc572efeef4795 ]--- >>> [ 37.919412] Unhandled fault: external abort on non-linefetch >>> (0x1028) at 0xfa06022c >>> [ 37.927430] pgd = c0204000 >>> [ 37.930260] [fa06022c] *pgd=48011452(bad) >>> [ 37.934480] Internal error: : 1028 [#1] SMP ARM >>> [ 37.939223] Modules linked in: smsc davinci_mdio mmc_block ti_cpsw >>> cpsw_common ptp pps_core cpsw_ale davinci_cpdma tda998x tilcdc >>> drm_kms_helper syscopyarea sysfillrect omap_hsmmc sysimgblt >>> fb_sys_fops mmc_core drm >>> [ 37.959282] CPU: 0 PID: 299 Comm: mmcqd/0 Tainted: G W >>> 4.8.0-0.rc2.git2.1.bone1.fc25.armv7hl #1 >>> [ 37.969562] Hardware name: Generic AM33XX (Flattened Device Tree) >>> [ 37.975936] task: cff64080 task.stack: cffd6000 >>> [ 37.980699] PC is at set_data_timeout+0x18/0xa4 [omap_hsmmc] >>> [ 37.986629] LR is at omap_hsmmc_start_dma_transfer+0x3c/0x64 [omap_hsmmc] >>> [ 37.993732] pc : [<bf0d22dc>] lr : [<bf0d3aa8>] psr: a00e0013 >>> [ 37.993732] sp : cffd7d88 ip : f317e341 fp : 00000000 >>> [ 38.005739] r10: c064a18c r9 : cfdc1d00 r8 : de279c9c >>> [ 38.011204] r7 : 05f5e100 r6 : fa060100 r5 : cff10870 r4 : 00000000 >>> [ 38.018032] r3 : cff10950 r2 : 00000000 r1 : 05f5e100 r0 : cfdc1d00 >>> [ 38.024861] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none >>> [ 38.032326] Control: 10c5387d Table: 9d46c019 DAC: 00000051 >>> [ 38.038335] Process mmcqd/0 (pid: 299, stack limit = 0xcffd6220) >>> [ 38.044618] Stack: (0xcffd7d88 to 0xcffd8000) >>> [ 38.049180] 7d80: cfdc1d00 cff10870 cff10950 >>> 00000000 de279c9c bf0d3aa8 >>> [ 38.057739] 7da0: cfdc1800 cff10870 cff10950 bf0d3d40 00000003 >>> 00000000 600e0013 c0e7df04 >>> [ 38.066298] 7dc0: 48060220 48060220 00000004 00000004 00000080 >>> 00000080 cfdc1800 bf06970c >>> [ 38.074857] 7de0: cff10870 cfdc1800 00000000 00000001 cffd7e9c >>> 00000000 cff10870 bf0699dc >>> [ 38.083416] 7e00: 00000000 cff10800 00000000 bf0d40a0 cfdc1800 >>> cfdc1800 cff10998 bf06b35c >>> [ 38.091976] 7e20: dc1f11e0 cff10800 cff10950 cff10828 cff10870 >>> bf19be2c cff1086c 00000000 >>> [ 38.100535] 7e40: 00000000 cff10828 cff10828 cfdc2000 dc1f11e0 >>> dc1f11e0 cff1086c cff10800 >>> [ 38.109093] 7e60: 00000000 bf19d49c 00000000 00000000 00000000 >>> cff64080 cff10800 00000000 >>> [ 38.117652] 7e80: 00000000 00000000 00000000 00000000 60000093 >>> c0e7d5dc cff64650 00000000 >>> [ 38.126212] 7ea0: cff10810 cff10828 dc1f11e0 cfdc2000 cff10828 >>> cff10800 cfdc1800 cff10800 >>> [ 38.134771] 7ec0: 00000000 bf19dc88 cff64650 cff64650 cff64080 >>> 00000001 c09b815c cff10828 >>> [ 38.143331] 7ee0: ffffe000 dc1f11e0 cff10830 cff30000 cffd7f00 >>> cffd6000 00000000 bf19e994 >>> [ 38.151889] 7f00: 00000001 00000000 cff65080 cfea5240 00000000 >>> cff10828 bf19e8c0 00000000 >>> [ 38.160447] 7f20: 00000000 00000000 00000000 c0279060 cff64650 >>> 00000000 cff64080 cff10828 >>> [ 38.169005] 7f40: 00000000 00000000 dead4ead ffffffff ffffffff >>> c0f9c7fc 00000000 00000000 >>> [ 38.177564] 7f60: c0bf42f2 cffd7f64 cffd7f64 00000000 00000000 >>> dead4ead ffffffff ffffffff >>> [ 38.186123] 7f80: c0f9c7fc 00000000 00000000 c0bf42f2 cffd7f90 >>> cffd7f90 cfea5240 cfea5240 >>> [ 38.194680] 7fa0: c0278f70 00000000 00000000 c020fe90 00000000 >>> 00000000 00000000 00000000 >>> [ 38.203238] 7fc0: 00000000 00000000 00000000 00000000 00000000 >>> 00000000 00000000 00000000 >>> [ 38.211796] 7fe0: 00000000 00000000 00000000 00000000 00000013 >>> 00000000 00000000 00000000 >>> [ 38.220379] [<bf0d22dc>] (set_data_timeout [omap_hsmmc]) from >>> [<bf0d3aa8>] (omap_hsmmc_start_dma_transfer+0x3c/0x64 [omap_hsmmc]) >>> [ 38.232591] [<bf0d3aa8>] (omap_hsmmc_start_dma_transfer >>> [omap_hsmmc]) from [<bf0d3d40>] (omap_hsmmc_request+0x270/0x460 >>> [omap_hsmmc]) >>> [ 38.245272] [<bf0d3d40>] (omap_hsmmc_request [omap_hsmmc]) from >>> [<bf0699dc>] (mmc_start_request+0x144/0x260 [mmc_core]) >>> [ 38.256708] [<bf0699dc>] (mmc_start_request [mmc_core]) from >>> [<bf06b35c>] (mmc_start_req+0x2bc/0x33c [mmc_core]) >>> [ 38.267452] [<bf06b35c>] (mmc_start_req [mmc_core]) from >>> [<bf19d49c>] (mmc_blk_issue_rw_rq+0x320/0x98c [mmc_block]) >>> [ 38.278397] [<bf19d49c>] (mmc_blk_issue_rw_rq [mmc_block]) from >>> [<bf19dc88>] (mmc_blk_issue_rq+0x180/0x48c [mmc_block]) >>> [ 38.289706] [<bf19dc88>] (mmc_blk_issue_rq [mmc_block]) from >>> [<bf19e994>] (mmc_queue_thread+0xd4/0x1d8 [mmc_block]) >>> [ 38.300644] [<bf19e994>] (mmc_queue_thread [mmc_block]) from >>> [<c0279060>] (kthread+0xf0/0x104) >>> [ 38.309662] [<c0279060>] (kthread) from [<c020fe90>] >>> (ret_from_fork+0x14/0x24) >>> [ 38.317225] Code: e8bd4000 e1a07001 e1a04002 e5906024 (e596512c) >>> [ 38.323608] ---[ end trace 83bc572efeef4796 ]--- >>> [ 38.328447] BUG: sleeping function called from invalid context at >>> ./include/linux/sched.h:3049 >>> [ 38.337457] in_atomic(): 0, irqs_disabled(): 128, pid: 299, name: mmcqd/0 >>> [ 38.344556] INFO: lockdep is turned off. >>> [ 38.348656] irq event stamp: 236098 >>> [ 38.352302] hardirqs last enabled at (236097): [<c09b8128>] >>> _raw_spin_unlock_irqrestore+0x5c/0x64 >>> [ 38.361698] hardirqs last disabled at (236098): [<c09b89b4>] >>> __dabt_svc+0x54/0xa0 >>> [ 38.369532] softirqs last enabled at (236084): [<c025af1c>] >>> __do_softirq+0x174/0x62c >>> [ 38.377741] softirqs last disabled at (236071): [<c025b734>] >>> irq_exit+0xa0/0x128 >>> [ 38.385492] CPU: 0 PID: 299 Comm: mmcqd/0 Tainted: G D W >>> 4.8.0-0.rc2.git2.1.bone1.fc25.armv7hl #1 >>> [ 38.395770] Hardware name: Generic AM33XX (Flattened Device Tree) >>> [ 38.402157] [<c021a2dc>] (unwind_backtrace) from [<c0214c34>] >>> (show_stack+0x18/0x1c) >>> [ 38.410265] [<c0214c34>] (show_stack) from [<c05913e0>] >>> (dump_stack+0x9c/0xd0) >>> [ 38.417834] [<c05913e0>] (dump_stack) from [<c0267018>] >>> (exit_signals+0x20/0x144) >>> [ 38.425670] [<c0267018>] (exit_signals) from [<c0259474>] >>> (do_exit+0x124/0xcec) >>> [ 38.433322] [<c0259474>] (do_exit) from [<c0214f74>] (die+0x33c/0x450) >>> [ 38.440155] [<c0214f74>] (die) from [<c0209384>] (do_DataAbort+0xac/0xc0) >>> [ 38.447261] [<c0209384>] (do_DataAbort) from [<c09b89bc>] >>> (__dabt_svc+0x5c/0xa0) >>> [ 38.454997] Exception stack(0xcffd7d38 to 0xcffd7d80) >>> [ 38.460280] 7d20: >>> cfdc1d00 05f5e100 >>> [ 38.468839] 7d40: 00000000 cff10950 00000000 cff10870 fa060100 >>> 05f5e100 de279c9c cfdc1d00 >>> [ 38.477398] 7d60: c064a18c 00000000 f317e341 cffd7d88 bf0d3aa8 >>> bf0d22dc a00e0013 ffffffff >>> [ 38.485974] [<c09b89bc>] (__dabt_svc) from [<bf0d22dc>] >>> (set_data_timeout+0x18/0xa4 [omap_hsmmc]) >>> [ 38.495280] [<bf0d22dc>] (set_data_timeout [omap_hsmmc]) from >>> [<bf0d3aa8>] (omap_hsmmc_start_dma_transfer+0x3c/0x64 [omap_hsmmc]) >>> [ 38.507492] [<bf0d3aa8>] (omap_hsmmc_start_dma_transfer >>> [omap_hsmmc]) from [<bf0d3d40>] (omap_hsmmc_request+0x270/0x460 >>> [omap_hsmmc]) >>> [ 38.520150] [<bf0d3d40>] (omap_hsmmc_request [omap_hsmmc]) from >>> [<bf0699dc>] (mmc_start_request+0x144/0x260 [mmc_core]) >>> [ 38.531583] [<bf0699dc>] (mmc_start_request [mmc_core]) from >>> [<bf06b35c>] (mmc_start_req+0x2bc/0x33c [mmc_core]) >>> [ 38.542320] [<bf06b35c>] (mmc_start_req [mmc_core]) from >>> [<bf19d49c>] (mmc_blk_issue_rw_rq+0x320/0x98c [mmc_block]) >>> [ 38.553264] [<bf19d49c>] (mmc_blk_issue_rw_rq [mmc_block]) from >>> [<bf19dc88>] (mmc_blk_issue_rq+0x180/0x48c [mmc_block]) >>> [ 38.564572] [<bf19dc88>] (mmc_blk_issue_rq [mmc_block]) from >>> [<bf19e994>] (mmc_queue_thread+0xd4/0x1d8 [mmc_block]) >>> [ 38.575508] [<bf19e994>] (mmc_queue_thread [mmc_block]) from >>> [<c0279060>] (kthread+0xf0/0x104) >>> [ 38.584522] [<c0279060>] (kthread) from [<c020fe90>] >>> (ret_from_fork+0x14/0x24) > > I gave a quick try with my Beaglebone black and it boots fine > http://pastebin.ubuntu.com/23070182/. Hmm, the mmc is modular, u-boot 2016.09rc1 if either of those might make any difference, seems to happen when just after switchroot systemd writes out the journal. Peter > Actually I don't even observe the RTC abort. Not sure why :-( > > Thanks > Kishon >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >>> the body of a message to majordomo@xxxxxxxxxxxxxxx >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html