Hi ,
We are running Tx2 with pcie transfer overnight . And after 10 hours we are seeing a kernel crash as pasted below. We would like to know if this a known issue if MMC is enabled and not in use.
2) Do we need to disable it
3) what happens if we keep it enabled ?
[ 306.146722] EXT4-fs (mmcblk0p1): error count since last fsck: 2
[ 306.152718] EXT4-fs (mmcblk0p1): initial error at time 1557581302: ext4_journal_check_start:56
[ 306.161383] EXT4-fs (mmcblk0p1): last error at time 1557581302: ext4_journal_check_start:56
[31585.232190] ------------[ cut here ]------------
[31585.236810] Kernel BUG at ffffffc00032ce70 [verbose debug info unavailable]
[31585.243761] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[31585.249238] Modules linked in: shikra_ntb_client(O) shikra_ntb(O) fuse ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack nf_nat br_netfilter overlay pci_tegra bluedroid_pm
[31585.270074] CPU: 3 PID: 235 Comm: mmcqd/2 Tainted: G O 4.4.38-shikra-3.00-00 #1
[31585.278497] Hardware name: quill (DT)
[31585.282152] task: ffffffc1ea00f080 ti: ffffffc1ea1f4000 task.ti: ffffffc1ea1f4000
[31585.289627] PC is at blk_rq_map_sg+0x2b8/0x3f8
[31585.294062] LR is at blk_rq_map_sg+0x1bc/0x3f8
[31585.298497] pc : [] lr : [] pstate: 00000045
[31585.305879] sp : ffffffc1ea1f7b90
[31585.309199] x29: ffffffc1ea1f7b90 x28: ffffffc1b03b6d00
[31585.314535] x27: 00000000000000f3 x26: 0000000000001000
[31585.319854] x25: ffffffc1eb62ce60 x24: 0000000000000073
[31585.325176] x23: ffffffc1ea1f0a10 x22: ffffffc1ea1e8000
[31585.330496] x21: 00000000000000f3 x20: 0000000000000000
[31585.335818] x19: 000000000000d000 x18: 000000000eb4616b
[31585.341140] x17: 000000000003e9b0 x16: 0000000000000000
[31585.346463] x15: 000000000034b336 x14: 0000000000000400
[31585.351791] x13: 00000000002f0236 x12: 0000000000000000
[31585.357119] x11: 00000001736c2000 x10: ffffffbdc57809c1
[31585.362442] x9 : 0000000000000000 x8 : ffffffc070242cf8
[31585.367761] x7 : 0000000000000000 x6 : 0000000000000000
[31585.373086] x5 : 00000001736c1000 x4 : 00000000001736c1
[31585.378428] x3 : 0000000000000000 x2 : ffffffc1eb62c000
[31585.383748] x1 : ffffffbdc5f03cc0 x0 : 0000000000000000
[31585.390557] Process mmcqd/2 (pid: 235, stack limit = 0xffffffc1ea1f4020)
[31585.397243] Call trace:
[31585.399687] [] blk_rq_map_sg+0x2b8/0x3f8
[31585.405168] [] mmc_queue_map_sg+0xdc/0xe8
[31585.410742] [] mmc_blk_rw_rq_prep+0x208/0x3b8
[31585.416660] [] mmc_blk_issue_rw_rq+0x320/0x968
[31585.422661] [] mmc_blk_issue_rq+0x1d8/0x508
[31585.428402] [] mmc_queue_thread+0xcc/0x1a0
[31585.434056] [] kthread+0xdc/0xf0
[31585.438840] [] ret_from_fork+0x10/0x40
[31585.444535] —[ end trace d45b6c39b7171353 ]—
[31585.450679] ------------[ cut here ]------------
[31585.455292] WARNING: at ffffffc0000a86b0 [verbose debug info unavailable]
[31585.462069] Modules linked in: shikra_ntb_client(O) shikra_ntb(O) fuse ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack nf_nat br_netfilter overlay pci_tegra bluedroid_pm
[31585.484451] CPU: 3 PID: 235 Comm: mmcqd/2 Tainted: G D O 4.4.38-shikra-3.00-00 #1
[31585.492875] Hardware name: quill (DT)
[31585.496535] task: ffffffc1ea00f080 ti: ffffffc1ea1f4000 task.ti: ffffffc1ea1f4000
[31585.504015] PC is at __local_bh_enable_ip+0x68/0xc0
[31585.508892] LR is at _raw_spin_unlock_bh+0x20/0x28
[31585.513677] pc : [] lr : [] pstate: 400003c5
[31585.521061] sp : ffffffc1ea1f7840
[31585.524369] x29: ffffffc1ea1f7840 x28: ffffffc1ea1f4000
[31585.529703] x27: 00000000000000f3 x26: 0000000000001000
[31585.535034] x25: ffffffc1ea00f080 x24: 00000000000003c0
[31585.540364] x23: 0000000000000000 x22: ffffffc001286000
[31585.545696] x21: ffffffc1ea00f080 x20: ffffffc0012a53c0
[31585.551027] x19: ffffffc00148d760 x18: 0000000000000000
[31585.556357] x17: 000000000003e9b0 x16: 0000000000000000
[31585.561689] x15: 0000000000000000 x14: ffffffc079ccde99
[31585.567018] x13: ffffffc079ccde95 x12: 0000000000000000
[31585.572347] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[31585.577676] x9 : fefefefefefefeff x8 : 7f7f7f7f7f7f7f7f
[31585.583007] x7 : 09432c3838303634 x6 : ffffffc1ea00f8a0
[31585.588339] x5 : 000000000000003c x4 : 0000000000000000
[31585.593666] x3 : 0000000000000000 x2 : 0000000000000000
[31585.598996] x1 : 0000000000000201 x0 : ffffffc001409a6e
[31585.606246] —[ end trace d45b6c39b7171354 ]—
[31585.610856] Call trace:
[31585.613303] [] __local_bh_enable_ip+0x68/0xc0
[31585.619215] [] _raw_spin_unlock_bh+0x20/0x28
[31585.625040] [] cgroup_exit+0x54/0xe0
[31585.630170] [] do_exit+0x2c4/0x9e0
[31585.635131] [] bug_handler.part.1+0x0/0x80
[31585.640783] [] bug_handler.part.1+0x40/0x80
[31585.646523] [] bug_handler+0x24/0x30
[31585.651654] [] brk_handler+0x88/0xd0
[31585.656784] [] do_debug_exception+0x3c/0xa0
[31585.662522] [] el1_dbg+0x18/0x74
[31585.667309] [] mmc_queue_map_sg+0xdc/0xe8
[31585.672873] [] mmc_blk_rw_rq_prep+0x208/0x3b8
[31585.678783] [] mmc_blk_issue_rw_rq+0x320/0x968
[31585.684779] [] mmc_blk_issue_rq+0x1d8/0x508
[31585.690518] [] mmc_queue_thread+0xcc/0x1a0
[31585.696171] [] kthread+0xdc/0xf0
[31585.700957] [] ret_from_fork+0x10/0x40
pointr@tegra-ubuntu:~/SG/PCIeTesting/Sparcle/tools$