Jetson nano freeze when I plug in 256g external drive

While I plug 256g usb external drive in jetson nano, the system is freeze and keyboard and mouse cannot work.

However, when unplug it, the system become normal. I need to use external usb drive to access files while using jetson nano. How to fix it, thank you so much.

Huh :/

Make and model of flash device?
Format and partition table of external device (eg. lsblk -f /dev/sdb on the host PC where /dev/sdb is the flash device?

Any one of these methods should do if the above fails:

Thanks for your response. But the problem is still not solved. When I connect an external hard disk in USB slot after operating system runs, the mouse cursor cannot move. it is freeze.

When I remove the external hard disk, mouse works well again. is it conflict?

Sorry. I wasn’t clear. Lsblk lists block devices. Please run that command on a Ubuntu host PC with the second parameter (/dev/sda) being replaced with your SD card.

If that isn’t possible. Please tell me: is the disk formatted? How? What does the partition table look like. What manufacturer is the drive itself? Enclosure? How is your nabo plugged in (microusb or barrel jack)? Without this your problem cannot be replicated. Without replication, your problem is much more difficult to solve.

Thanks a lot for your suggestion.

I use rufus-3.1 software to format the SanDisk as Large FAT32 format. Besides, I remove L-shaped usb adapter (flash drive plug in it) and adjust position between Unifying receiver of Wireless Keyboard and Mouse Combo and flash driver. It works well.

Flash drive: SanDisk ULTRA USB TYPE-C 256GB

Logitech MK545 Advanced Wireless Keyboard and Mouse Combo

I have some of those things and will see if I can replicate. What brand is the USB c to a adapter you are using for your SanDisk USB type C drive?

  1. Can you please post the output of dmesg | tail -n 100 immediately after your nano freezes?

  2. how is your nano powered?

I am curious why it be freezed before though now it work normally.

some info as below for reference.

L-shaped usb adapter: BENEVO USB3.0
Power: 5.5mm/2.1mm DC 5V 4A
Jumper: 2.54mm

alung@alung-desktop:~$ dmesg | tail -n 100
[ 9.241158] hub 1-0:1.0: 5 ports detected
[ 9.241718] tegra-xusb 70090000.xusb: xHCI Host Controller
[ 9.241729] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[ 9.241802] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 9.241878] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 9.241882] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.241885] usb usb2: Product: xHCI Host Controller
[ 9.241888] usb usb2: Manufacturer: Linux 4.9.140-tegra xhci-hcd
[ 9.241891] usb usb2: SerialNumber: 70090000.xusb
[ 9.242610] hub 2-0:1.0: USB hub found
[ 9.242643] hub 2-0:1.0: 4 ports detected
[ 9.342289] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[ 9.346614] usb usb2: usb_suspend_both: status 0
[ 9.570240] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[ 9.606874] usb 1-2: New USB device found, idVendor=0bda, idProduct=5411
[ 9.606879] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9.606882] usb 1-2: Product: 4-Port USB 2.1 Hub
[ 9.606885] usb 1-2: Manufacturer: Generic
[ 9.608779] hub 1-2:1.0: USB hub found
[ 9.609931] hub 1-2:1.0: 4 ports detected
[ 9.719499] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[ 9.755373] usb 2-1: New USB device found, idVendor=0bda, idProduct=0411
[ 9.755392] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9.755407] usb 2-1: Product: 4-Port USB 3.1 Hub
[ 9.755420] usb 2-1: Manufacturer: Generic
[ 9.762570] hub 2-1:1.0: USB hub found
[ 9.764053] hub 2-1:1.0: 4 ports detected
[ 9.898348] usb 1-2.3: new full-speed USB device number 3 using tegra-xusb
[ 9.924752] usb 1-2.3: New USB device found, idVendor=046d, idProduct=c52b
[ 9.924775] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9.924790] usb 1-2.3: Product: USB Receiver
[ 9.924804] usb 1-2.3: Manufacturer: Logitech
[ 9.926419] usb 2-1: usb_suspend_both: status 0
[ 9.927367] usb usb2: usb_suspend_both: status 0
[ 10.014351] usb 1-2.4: new high-speed USB device number 4 using tegra-xusb
[ 10.039709] usb 1-2.4: New USB device found, idVendor=046d, idProduct=085c
[ 10.039737] usb 1-2.4: New USB device strings: Mfr=0, Product=2, SerialNumber=1
[ 10.039758] usb 1-2.4: Product: C922 Pro Stream Webcam
[ 10.039777] usb 1-2.4: SerialNumber: 8DA7903F
[ 12.601843] logitech-djreceiver 0003:046D:C52B.0003: hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-70090000.xusb-2.3/input2
[ 12.609303] uvcvideo: Found UVC 1.00 device C922 Pro Stream Webcam (046d:085c)
[ 12.613626] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.614889] eth0: 0xffffff800a2fe000, 00:e0:4c:68:03:77, IRQ 404
[ 12.620712] uvcvideo 1-2.4:1.0: Entity type for entity Processing 3 was not initialized!
[ 12.630613] uvcvideo 1-2.4:1.0: Entity type for entity Extension 6 was not initialized!
[ 12.655810] uvcvideo 1-2.4:1.0: Entity type for entity Extension 12 was not initialized!
[ 12.665928] uvcvideo 1-2.4:1.0: Entity type for entity Camera 1 was not initialized!
[ 12.668227] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.679840] uvcvideo 1-2.4:1.0: Entity type for entity Extension 8 was not initialized!
[ 12.691309] uvcvideo 1-2.4:1.0: Entity type for entity Extension 9 was not initialized!
[ 12.691314] uvcvideo 1-2.4:1.0: Entity type for entity Extension 10 was not initialized!
[ 12.691317] uvcvideo 1-2.4:1.0: Entity type for entity Extension 11 was not initialized!
[ 12.695377] input: C922 Pro Stream Webcam as /devices/70090000.xusb/usb1/1-2/1-2.4/1-2.4:1.0/input/input2
[ 12.710457] usbcore: registered new interface driver uvcvideo
[ 12.710458] USB Video Class driver (1.1.1)
[ 12.880365] input: Logitech M510 as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3:1.2/0003:046D:C52B.0003/0003:046D:4051.0004/input/input3
[ 12.882736] logitech-hidpp-device 0003:046D:4051.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M510] on usb-70090000.xusb-2.3:1
[ 12.889380] input: Logitech K540/K545 as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3:1.2/0003:046D:C52B.0003/0003:046D:4076.0005/input/input4
[ 12.891182] logitech-hidpp-device 0003:046D:4076.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech K540/K545] on usb-70090000.xusb-2.3:2
[ 14.309973] tegradc tegradc.0: blank - powerdown
[ 14.363192] extcon-disp-state extcon:disp-state: cable 47 state 0
[ 14.363195] Extcon AUX1(HDMI) disable
[ 14.381721] tegradc tegradc.0: unblank
[ 14.393386] tegradc tegradc.0: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
[ 14.393495] tegradc tegradc.0: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_75m_150m
[ 14.394594] tegradc tegradc.0: hdmi: get RGB quant from EDID.
[ 14.394601] tegradc tegradc.0: hdmi: get YCC quant from EDID.
[ 14.397872] extcon-disp-state extcon:disp-state: cable 47 state 1
[ 14.397875] Extcon AUX1(HDMI) enable
[ 14.404205] tegradc tegradc.0: unblank
[ 14.404214] tegradc tegradc.1: blank - powerdown
[ 14.721743] r8168: eth0: link up
[ 14.721881] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.238239] usb 1-2.4: usb_suspend_both: status 0
[ 17.043204] usb 1-2.4: reset high-speed USB device number 4 using tegra-xusb
[ 27.014511] usb 1-2.4: usb_suspend_both: status 0
[ 33.356686] tegradc tegradc.0: blank - powerdown
[ 33.411579] extcon-disp-state extcon:disp-state: cable 47 state 0
[ 33.411581] Extcon AUX1(HDMI) disable
[ 33.432329] tegradc tegradc.1: blank - powerdown
[ 33.567440] tegradc tegradc.0: blank - powerdown
[ 33.567460] tegradc tegradc.0: unblank
[ 33.573665] tegradc tegradc.0: nominal-pclk:148500000 parent:148500000 div:1.0 pclk:148500000 147015000~161865000
[ 33.573758] tegradc tegradc.0: hdmi: tmds rate:148500K prod-setting:prod_c_hdmi_75m_150m
[ 33.574783] tegradc tegradc.0: hdmi: get RGB quant from EDID.
[ 33.574790] tegradc tegradc.0: hdmi: get YCC quant from EDID.
[ 33.578086] extcon-disp-state extcon:disp-state: cable 47 state 1
[ 33.578088] Extcon AUX1(HDMI) enable
[ 33.584097] tegradc tegradc.0: unblank
[ 33.584106] tegradc tegradc.1: blank - powerdown
[ 36.595216] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 36.595228] Bluetooth: BNEP socket layer initialized
[ 36.817814] fuse init (API version 7.26)
[ 37.009365] tegradc tegradc.0: unblank
[ 37.009376] tegradc tegradc.1: blank - powerdown
[ 46.214276] usb 1-2.4: usb_suspend_both: status 0
[ 87.173330] usb 1-2.4: usb_suspend_both: status 0
[ 94.149165] usb 1-2.4: usb_suspend_both: status 0
[ 101.185060] usb 1-2.4: usb_suspend_both: status 0
[ 109.192994] usb 1-2.4: usb_suspend_both: status 0

The kernel source says

usb_suspend_both - suspend a USB device and its interfaces
 * @udev: the usb_device to suspend
 * @msg: Power Management message describing this state transition

So something is making your USB devices suspend. You might try unplugging other USB devices and/ or powering from barrel jack. I wasn’t personally able to get the nano to run stably using micro-usb. I really wish Nvidia would remove that as a powering option from the documentation. It’s leading to a ton of problems with people thinking micro-usb will work with no issues. Please post if it ended up being a power issue.