Hello,
I would like to boot the TX2 from the image flashed into the internal eMMC, while there is an empty SDCard attached. I would like to use the SDCard for logging only.
However, the TX2 seems to panic and get stuck in a boot loop if I have an empty SDCard inserted. It works just fine if I do not have the SDCard inserted. I’m using L4T 28.2.1 that comes with Jetpack 3.3. I am seeing this issue with TX2 on a Jetson board.
Also, I have tested with both ext4 and FAT formatted SDCards. Same behavior.
Here is the console log of what happens just before it panics.
[ 4.928874] compress asoc: ADSP-FE3 <-> ADSP COMPR1 mapping ok
[ 4.935430] compress asoc: ADSP-FE4 <-> ADSP COMPR2 mapping ok
[ 4.981723] input: tegra-snd-t186ref-mobile-rt565x Headphone Jack as /devices/sound/sound/card1/input2
[ 4.993167] tegra-snd-t186ref-mobile-rt565x sound: codec-dai "dit-hifi" registered
[ 5.002018] tegra-snd-t186ref-mobile-rt565x sound: This is a dummy codec
[ 5.010210] GACT probability NOT on
[ 5.014345] Mirror/redirect action on
[ 5.018660] u32 classifier
[ 5.021951] Actions configured
[ 5.025975] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[ 5.033415] IPVS: Registered protocols ()
[ 5.038066] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 5.046594] IPVS: Creating netns size=1424 id=0
[ 5.051741] IPVS: ipvs loaded.
[ 5.055333] IPVS: [rr] scheduler registered.
[ 5.060231] ipip: IPv4 over IPv4 tunneling driver
[ 5.065833] Initializing XFRM netlink socket
[ 5.070933] NET: Registered protocol family 10
[ 5.076601] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 5.082586] NET: Registered protocol family 17
[ 5.087521] NET: Registered protocol family 15
[ 5.092456] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 5.105995] 8021q: 802.1Q VLAN Support v1.8
[ 5.110934] Registered cp15_barrier emulation handler
[ 5.116460] Registered setend emulation handler
[ 5.123413] registered taskstats version 1
[ 5.132583] isp 15600000.isp: initialized
[ 5.141418] nvcsi 150c0000.nvcsi: initialized
[ 5.150587] Wake76 for irq=199
[ 5.154359] Wake77 for irq=199
[ 5.158079] Wake78 for irq=199
[ 5.161772] Wake79 for irq=199
[ 5.165435] Wake80 for irq=199
[ 5.169068] Wake81 for irq=199
[ 5.172669] Wake82 for irq=199
[ 5.176826] xhci-tegra 3530000.xhci: can't get usb3-0 phy (-517)
[ 5.183853] Wake76 for irq=199
[ 5.187429] Wake77 for irq=199
[ 5.190965] Wake78 for irq=199
[ 5.194480] Wake79 for irq=199
[ 5.197978] Wake80 for irq=199
[ 5.201459] Wake81 for irq=199
[ 5.204918] Wake82 for irq=199
[ 5.208459] tegra-xotg xotg: usb2 phy is not available yet
[ 5.214578] tegra-usb-cd usb_cd: otg phy is not available yet
[ 5.221139] tegra-xudc-new 3550000.xudc: usb2 phy is not available yet
[ 5.228320] [OV5693]: probing v4l2 sensor.
[ 5.233002] ov5693 2-0036: camera_common_regulator_get vana ERR: fffffffffffffdfb
[ 5.241096] ov5693 2-0036: camera_common_regulator_get vif ERR: fffffffffffffdfb
[ 5.249636] tegra186-padctl 3520000.pinctrl: padctl mmio start 0x0000000003520000 end 0x0000000003520fff
[ 5.259847] tegra186-padctl 3520000.pinctrl: ao mmio start 0x0000000003540000 end 0x0000000003540fff
[ 5.269791] tegra186-padctl 3520000.pinctrl: FUSE_SKU_USB_CALIB_0 0x32c098
[ 5.277099] tegra186-padctl 3520000.pinctrl: FUSE_USB_CALIB_EXT_0 0xa
[ 5.285003] tegra186-padctl 3520000.pinctrl: using UTMI port 0 for otg
[ 5.293994] input: gpio-keys as /devices/gpio-keys/input/input3
[ 5.304814] Wake76 for irq=199
[ 5.308328] Wake77 for irq=199
[ 5.311790] Wake78 for irq=199
[ 5.315891] Wake79 for irq=199
[ 5.320519] Wake80 for irq=199
[ 5.323982] Wake81 for irq=199
[ 5.327442] Wake82 for irq=199
[ 5.331378] xhci-tegra 3530000.xhci: can't get usb3-0 phy (-517)
[ 5.337836] tegra_rtc c2a0000.rtc: setting system clock to 2018-12-19 10:05:37 UTC (1545213937)
[ 5.347985] Wake76 for irq=199
[ 5.351474] Wake77 for irq=199
[ 5.354942] Wake78 for irq=199
[ 5.358386] Wake79 for irq=199
[ 5.361809] Wake80 for irq=199
[ 5.365205] Wake81 for irq=199
[ 5.368579] Wake82 for irq=199
[ 5.372040] tegra-xotg xotg: usb2 phy is not available yet
[ 5.372229] bpmp: mounted debugfs mirror
[ 5.372724] [dram-timers] DRAM derating cdev registered.
[ 5.377413] spmic-ldo0: disabling
[ 5.377596] spmic-ldo1: disabling
[ 5.377749] vdd-usb0-5v: disabling
[ 5.377750] vdd-usb1-5v: disabling
[ 5.377752] vdd-3v3: disabling
[ 5.377754] en-vdd-vcm-2v8: disabling
[ 5.377755] vdd-sys-bl: disabling
[ 5.384197] ALSA device list:
[ 5.384200] #0: tegra-hda at 0x3518000 irq 151
[ 5.384201] #1: tegra-snd-t186ref-mobile-rt565x
[ 5.385392] tegra-vi4 15700000.vi: initialized
[ 5.386815] tegra-vi4 15700000.vi: subdev 150c0000.nvcsi-2 bound
[ 5.386818] tegra-vi4 15700000.vi: all channel register failed
[ 5.443456] tegra-usb-cd usb_cd: otg phy is not available yet
[ 5.445772] List of all partitions:
[ 5.445778] 0100 8192 ram0 (driver?)
[ 5.445782] 0101 8192 ram1 (driver?)
[ 5.445787] 0102 8192 ram2 (driver?)
[ 5.445791] 0103 8192 ram3 (driver?)
[ 5.445795] 0104 8192 ram4 (driver?)
[ 5.445797] 0105 8192 ram5 (driver?)
[ 5.445801] 0106 8192 ram6 (driver?)
[ 5.445804] 0107 8192 ram7 (driver?)
[ 5.445807] 0108 8192 ram8 (driver?)
[ 5.445811] 0109 8192 ram9 (driver?)
[ 5.445815] 010a 8192 ram10 (driver?)
[ 5.445818] 010b 8192 ram11 (driver?)
[ 5.445822] 010c 8192 ram12 (driver?)
[ 5.445825] 010d 8192 ram13 (driver?)
[ 5.445829] 010e 8192 ram14 (driver?)
[ 5.445832] 010f 8192 ram15 (driver?)
[ 5.445839] b300 31166976 mmcblk0 driver: mmcblk
[ 5.445844] b301 31162368 mmcblk0p1 00000000-01
[ 5.445849] b308 30535680 mmcblk1 driver: mmcblk
[ 5.445852] b309 29360128 mmcblk1p1 00000000-0000-0000-0000-000000000000
[ 5.445856] b30a 4096 mmcblk1p2 00000000-0000-0000-0000-000000000000
[ 5.445859] b30b 4096 mmcblk1p3 00000000-0000-0000-0000-000000000000
[ 5.445862] b30c 512 mmcblk1p4 00000000-0000-0000-0000-000000000000
[ 5.445864] b30d 512 mmcblk1p5 00000000-0000-0000-0000-000000000000
[ 5.445868] b30e 512 mmcblk1p6 00000000-0000-0000-0000-000000000000
[ 5.445871] b30f 512 mmcblk1p7 00000000-0000-0000-0000-000000000000
[ 5.445875] 103:00000 3072 mmcblk1p8 00000000-0000-0000-0000-000000000000
[ 5.445878] 103:00001 3072 mmcblk1p9 00000000-0000-0000-0000-000000000000
[ 5.445881] 103:00002 2048 mmcblk1p10 00000000-0000-0000-0000-000000000000
[ 5.445885] 103:00003 604 mmcblk1p11 00000000-0000-0000-0000-000000000000
[ 5.445888] 103:00004 604 mmcblk1p12 00000000-0000-0000-0000-000000000000
[ 5.445890] 103:00005 500 mmcblk1p13 00000000-0000-0000-0000-000000000000
[ 5.445894] 103:00006 500 mmcblk1p14 00000000-0000-0000-0000-000000000000
[ 5.445897] 103:00007 2048 mmcblk1p15 00000000-0000-0000-0000-000000000000
[ 5.445900] 103:00008 2048 mmcblk1p16 00000000-0000-0000-0000-000000000000
[ 5.445902] 103:00009 6144 mmcblk1p17 00000000-0000-0000-0000-000000000000
[ 5.445904] 103:0000a 6144 mmcblk1p18 00000000-0000-0000-0000-000000000000
[ 5.445906] 103:0000b 2048 mmcblk1p19 00000000-0000-0000-0000-000000000000
[ 5.445910] 103:0000c 131072 mmcblk1p20 00000000-0000-0000-0000-000000000000
[ 5.445913] 103:0000d 131072 mmcblk1p21 00000000-0000-0000-0000-000000000000
[ 5.445916] 103:0000e 32768 mmcblk1p22 00000000-0000-0000-0000-000000000000
[ 5.445918] 103:0000f 32768 mmcblk1p23 00000000-0000-0000-0000-000000000000
[ 5.445921] 103:00010 65536 mmcblk1p24 00000000-0000-0000-0000-000000000000
[ 5.445924] 103:00011 65536 mmcblk1p25 00000000-0000-0000-0000-000000000000
[ 5.445927] 103:00012 512 mmcblk1p26 00000000-0000-0000-0000-000000000000
[ 5.445929] 103:00013 512 mmcblk1p27 00000000-0000-0000-0000-000000000000
[ 5.445932] 103:00014 262144 mmcblk1p28 00000000-0000-0000-0000-000000000000
[ 5.445934] 103:00015 412495 mmcblk1p29 00000000-0000-0000-0000-000000000000
[ 5.445942] b320 4096 mmcblk1rpmb (driver?)
[ 5.445946] b318 4096 mmcblk1boot1 (driver?)
[ 5.445950] b310 4096 mmcblk1boot0 (driver?)
[ 5.445953] No filesystem could mount root, tried: ext4
[ 5.445956] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
[ 5.445959] CPU0: stopping
[ 5.445962] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.38-tegra #1
[ 5.445963] Hardware name: quill (DT)
[ 5.445965] Call trace:
[ 5.445973] [<ffffffc000089860>] dump_backtrace+0x0/0x100
[ 5.445977] [<ffffffc000089a28>] show_stack+0x14/0x1c
[ 5.445982] [<ffffffc00033cdf8>] dump_stack+0x98/0xc0
[ 5.445985] [<ffffffc00008f468>] handle_IPI+0x300/0x30c
[ 5.445987] [<ffffffc0000817b4>] gic_handle_irq+0x9c/0xb4
[ 5.445990] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.445994] [<ffffffc000820d20>] cpuidle_enter+0x18/0x20
[ 5.445997] [<ffffffc0000e8354>] call_cpuidle+0x28/0x50
[ 5.445999] [<ffffffc0000e84f8>] cpu_startup_entry+0x17c/0x340
[ 5.446006] [<ffffffc000b7786c>] rest_init+0x84/0x8c
[ 5.446010] [<ffffffc001132980>] start_kernel+0x3a0/0x3b4
[ 5.446012] [<0000000080b7e000>] 0x80b7e000
[ 5.446014] CPU3: stopping
[ 5.446016] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.4.38-tegra #1
[ 5.446017] Hardware name: quill (DT)
[ 5.446018] Call trace:
[ 5.446022] [<ffffffc000089860>] dump_backtrace+0x0/0x100
[ 5.446025] [<ffffffc000089a28>] show_stack+0x14/0x1c
[ 5.446027] [<ffffffc00033cdf8>] dump_stack+0x98/0xc0
[ 5.446030] [<ffffffc00008f468>] handle_IPI+0x300/0x30c
[ 5.446032] [<ffffffc0000817b4>] gic_handle_irq+0x9c/0xb4
[ 5.446033] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.446036] [<ffffffc000820d20>] cpuidle_enter+0x18/0x20
[ 5.446038] [<ffffffc0000e8354>] call_cpuidle+0x28/0x50
[ 5.446039] [<ffffffc0000e84f8>] cpu_startup_entry+0x17c/0x340
[ 5.446043] [<ffffffc00008ee44>] secondary_start_kernel+0x12c/0x164
[ 5.446045] [<0000000080081acc>] 0x80081acc
[ 5.446046] CPU5: stopping
[ 5.446048] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.4.38-tegra #1
[ 5.446049] Hardware name: quill (DT)
[ 5.446050] Call trace:
[ 5.446054] [<ffffffc000089860>] dump_backtrace+0x0/0x100
[ 5.446056] [<ffffffc000089a28>] show_stack+0x14/0x1c
[ 5.446059] [<ffffffc00033cdf8>] dump_stack+0x98/0xc0
[ 5.446061] [<ffffffc00008f468>] handle_IPI+0x300/0x30c
[ 5.446063] [<ffffffc0000817b4>] gic_handle_irq+0x9c/0xb4
[ 5.446064] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.446066] [<ffffffc000820d20>] cpuidle_enter+0x18/0x20
[ 5.446068] [<ffffffc0000e8354>] call_cpuidle+0x28/0x50
[ 5.446069] [<ffffffc0000e84f8>] cpu_startup_entry+0x17c/0x340
[ 5.446071] [<ffffffc00008ee44>] secondary_start_kernel+0x12c/0x164
[ 5.446073] [<0000000080081acc>] 0x80081acc
[ 5.446077] CPU1: stopping
[ 5.446085] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.38-tegra #1
[ 5.446087] Hardware name: quill (DT)
[ 5.446088] Call trace:
[ 5.446099] [<ffffffc000089860>] dump_backtrace+0x0/0x100
[ 5.446123] [<ffffffc000089a28>] show_stack+0x14/0x1c
[ 5.446129] [<ffffffc00033cdf8>] dump_stack+0x98/0xc0
[ 5.446132] [<ffffffc00008f468>] handle_IPI+0x300/0x30c
[ 5.446135] [<ffffffc0000817b4>] gic_handle_irq+0x9c/0xb4
[ 5.446138] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.446143] [<ffffffc000820d20>] cpuidle_enter+0x18/0x20
[ 5.446147] [<ffffffc0000e8354>] call_cpuidle+0x28/0x50
[ 5.446149] [<ffffffc0000e84f8>] cpu_startup_entry+0x17c/0x340
[ 5.446152] [<ffffffc00008ee44>] secondary_start_kernel+0x12c/0x164
[ 5.446155] [<0000000080081acc>] 0x80081acc
[ 5.449472] CPU2: stopping
[ 5.449477] CPU: 2 PID: 117 Comm: kworker/u12:2 Not tainted 4.4.38-tegra #1
[ 5.449478] Hardware name: quill (DT)
[ 5.449488] Workqueue: deferwq deferred_probe_work_func
[ 5.449489] Call trace:
[ 5.449494] [<ffffffc000089860>] dump_backtrace+0x0/0x100
[ 5.449514] [<ffffffc000089a28>] show_stack+0x14/0x1c
[ 5.449517] [<ffffffc00033cdf8>] dump_stack+0x98/0xc0
[ 5.449520] [<ffffffc00008f468>] handle_IPI+0x300/0x30c
[ 5.449523] [<ffffffc0000817b4>] gic_handle_irq+0x9c/0xb4
[ 5.449525] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.449533] [<ffffffc0000a91b0>] irq_exit+0x84/0xdc
[ 5.449538] [<ffffffc0000f4f84>] __handle_domain_irq+0x6c/0xb4
[ 5.449540] [<ffffffc000081774>] gic_handle_irq+0x5c/0xb4
[ 5.449542] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ 5.449548] [<ffffffc0000f3e50>] vprintk_emit+0x31c/0x544
[ 5.449569] [<ffffffc0005910ac>] dev_vprintk_emit+0xe0/0x1dc
[ 5.449572] [<ffffffc0005911fc>] dev_printk_emit+0x54/0x5c
[ 5.449575] [<ffffffc000591248>] __dev_printk+0x44/0x8c
[ 5.449579] [<ffffffc000591638>] _dev_info+0x64/0x6c
[ 5.449586] [<ffffffc000750218>] tegra_usb_cd_probe+0x29c/0x2a4
[ 5.449590] [<ffffffc000597780>] platform_drv_probe+0x50/0xbc
[ 5.449592] [<ffffffc000595210>] driver_probe_device+0xc8/0x408
[ 5.449595] [<ffffffc0005956a8>] __device_attach_driver+0x8c/0xb0
[ 5.449599] [<ffffffc000593324>] bus_for_each_drv+0x54/0x94
[ 5.449601] [<ffffffc000595038>] __device_attach+0xc0/0x150
[ 5.449604] [<ffffffc0005957e8>] device_initial_probe+0x10/0x18
[ 5.449607] [<ffffffc0005944c0>] bus_probe_device+0x90/0x98
[ 5.449609] [<ffffffc000594a18>] deferred_probe_work_func+0x90/0xdc
[ 5.449615] [<ffffffc0000bc2d0>] process_one_work+0x154/0x434
[ 5.449617] [<ffffffc0000bc6e4>] worker_thread+0x134/0x40c
[ 5.449622] [<ffffffc0000c1f30>] kthread+0xe0/0xf4
[ 5.449625] [<ffffffc000084f90>] ret_from_fork+0x10/0x40
[ 6.376790] Rebooting in 5 seconds..
It seems that it couldn’t find a file system somewhere and was unable to mount rootfs
[ 5.445953] No filesystem could mount root, tried: ext4
[ 5.445956] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
That makes me wonder if it’s trying to run the rootfs from the SDCard and failing because it can’t find it. Is there any way (maybe uboot setup) to disable that? I would like it to boot from the kernel and rootfs on the internal eMMC.
P.S. I had seen a similar issue with TX1 as well.