Crash observed with reboot force-recovery command with rel 28.2

Hi,

I am observing crash when executing following command with Tx1 with rel 28.2
sudo reboot --force forced-recovery
Though after crash is seen board is put into recovery mode and able to flash it.
Following is the crash log.

nvidia@tegra-ubuntu:~$ 
nvidia@tegra-ubuntu:~$ 
nvidia@tegra-ubuntu:~$ sudo reboot --force forced-recovery
[sudo] password for nvidia: 
Rebooting with argument 'forced-recovery'.
[ 4560.324192] gk20a 57000000.gpu: shutting down
[ 4560.332584] gk20a 57000000.gpu: shut down complete
[ 4560.344887] therm-fan-est: shutting down
[ 4560.350167] ------------[ cut here ]------------
[ 4560.354798] WARNING: at /home/user/tx1_28.2_dev/Linux_for_Tegra/sources/kernel/kernel-4.4/drivers/video/tegra/../../../../display/drivers/video/tegra/dc/dc.c:6574
[ 4560.369288] Modules linked in: bcmdhd bluedroid_pm
[ 4560.374104] 
[ 4560.375597] CPU: 2 PID: 2881 Comm: reboot Not tainted 4.4.38+ #1
[ 4560.381590] Hardware name: jetson_tx1 (DT)
[ 4560.385679] task: ffffffc0ea51a580 ti: ffffffc0d81bc000 task.ti: ffffffc0d81bc000
[ 4560.393161] PC is at tegra_dc_shutdown+0x6c/0x88
[ 4560.397775] LR is at platform_drv_shutdown+0x1c/0x24
[ 4560.402728] pc : [<ffffffc00045cbfc>] lr : [<ffffffc0005eaa68>] pstate: 60000145
[ 4560.410106] sp : ffffffc0d81bfcc0
[ 4560.413411] x29: ffffffc0d81bfcc0 x28: ffffffc0d81bc000 
[ 4560.418729] x27: ffffffc001034440 x26: ffffffc0014ce040 
[ 4560.424046] x25: ffffffc0013ba3d8 x24: ffffffc0fa2c4070 
[ 4560.429362] x23: ffffffc0013ba000 x22: ffffffc00153b000 
[ 4560.434678] x21: ffffffc0fa286c10 x20: ffffffc0fa2c4010 
[ 4560.439994] x19: 0000000000000000 x18: 0000000000008090 
[ 4560.445309] x17: 0000000000000000 x16: 0000000000000000 
[ 4560.450626] x15: ffffffffffffffff x14: ffffffff00000000 
[ 4560.455941] x13: ffffffffffffffff x12: 0000000000000020 
[ 4560.461257] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f 
[ 4560.466573] x9 : ffff7f7f7f7f7f7f x8 : ddabff36646d6e79 
[ 4560.471889] x7 : ffffffc0fac01488 x6 : ffffffc0fa2c41a0 
[ 4560.477203] x5 : 0000000000000001 x4 : 0000000000000002 
[ 4560.482519] x3 : 0000000000000002 x2 : 0000000000000002 
[ 4560.487835] x1 : ffffffc00045cb90 x0 : ffffffc0fa2c4000 
[ 4560.493150] 
[ 4560.495534] ---[ end trace 706b9e27a6c9dd72 ]---
[ 4560.500144] Call trace:
[ 4560.502588] [<ffffffc00045cbfc>] tegra_dc_shutdown+0x6c/0x88
[ 4560.508238] [<ffffffc0005eaa68>] platform_drv_shutdown+0x1c/0x24
[ 4560.514238] [<ffffffc0005e6a24>] device_shutdown+0x174/0x334
[ 4560.519894] [<ffffffc0000c29d8>] kernel_restart_prepare+0x34/0x3c
[ 4560.525975] [<ffffffc0000c2ab8>] kernel_restart+0x14/0x5c
[ 4560.531361] [<ffffffc0000c2e10>] SyS_reboot+0x1a8/0x218
[ 4560.536579] [<ffffffc0000847f0>] el0_svc_naked+0x24/0x28
[ 4560.543159] late_shutdown started
[ 4560.547130] tegra-vii2c 546c0000.i2c: Bus is shutdown down..
[ 4560.552843] tegra-i2c 7000d100.i2c: Bus is shutdown down..
[ 4560.558351] tegra-i2c 7000d000.i2c: Bus is shutdown down..
[ 4560.563863] tegra-i2c 7000c700.i2c: Bus is shutdown down..
[ 4560.569358] tegra-i2c 7000c500.i2c: Bus is shutdown down..
[ 4560.574849] tegra-i2c 7000c400.i2c: Bus is shutdown down..
[ 4560.580338] tegra-i2c 7000c000.i2c: Bus is shutdown down..
[ 4560.585907] reboot: Restarting system with command 'forced-recovery'

May be someone can fix it in later release.

Thanks,
Prathamesh

patyarahate,

Thanks for reporting this. The error log seems from display controller. I would check.

patyarahate,

I just checked but couldn’t reproduce this issue on my device.

May I ask

  1. Can this issue be reproduced when no display is connected?
  2. If not, what display interfaces are you using? HDMI?

Hi,

I am disabling HDMI from device tree in file tegra210-ers-hdmi-e2190-1100-a00.dtsi by changing
status = “okay”
to
status = “disabled”

Thanks,
Prathamesh

patyarahate,

So there is no display on your tegra, is that correct?

Could you see any tegradc node under below path

sudo -s
cd /sys/kernel/debug/
find -name "tegradc*"

I wonder why do you need to disable HDMI in device tree. Why not just leave it? Any purpose?

patyarahate,

Could you share some info with us?

Hi,

Sorry for the late reply.
Yes, no display. I am working from serial console.
Following is the output of

root@tegra-ubuntu:/sys/kernel/debug# 
root@tegra-ubuntu:/sys/kernel/debug# find -name "tegradc*"
./70019000.iommu/as005/tegradc.1
./70019000.iommu/masters/tegradc.1
root@tegra-ubuntu:/sys/kernel/debug#

Thanks,
Prathamesh

patyarahate,

This looks not like a critical issue. Moreover, it should not happen if you don’t disable HDMI in device tree.