Orico HDD Box 3.5" USB 3.0 with support 18Tb disk.
https://aliexpress.ru/item/1005003621202839.html

Download video showing bug Orico HDD Box 3.5" USB 3.0 with support 18Tb disk. (Video codec for play video).


EN
NEW 2022-08-16: It turns out that the Orico 3.5" external box Ver. 3139U3 Rev. 1.0 hangs on Linux reboot when the "USB Attached SCSI" protocol is enabled. The protocol is used for multithreaded asynchronous operation with the hard drive, which increases data transfer speed.

USB Attached SCSI Protocol
https://en.wikipedia.org/wiki/USB_Attached_SCSI

If you disable the "USB Attached SCSI" protocol, the Orico 3.5" Ver. 3139U3 Rev. 1.0 does not hang when restarting Linux. The developers of the Orico 3.5" Ver. 3139U3 Rev. 1.0 have made mistakes in the "USB Attached SCSI" protocol commands or have deviated from the standard.

On Raspbian OS you can disable the UAS protocol by adding the

/boot/cmdline.txt

text "usb-storage.quirks=0080:0578:u" with a space at the end and no line break at the end. In my case "0080:0578" - is the id of the Orico 3.5" external box Ver. 3139U3 Rev. 1.0. To see the id of connected USB devices in Linux, you can run the command lsusb.

A source of clarification of the problem: https://github.com/raspberrypi/linux/issues/5123

2022-08-02: It turned out that the Orico 3.5" Box Ver. 3139U3 Rev. 1.0 hangs when rebooting Linux, when connected to USB 3. If you connect it to USB 2, it does not hang. The error can be either in the Orico Box firmware or in the USB 3 drivers of the Linux operating system.

2022-07-30: Description:

When I initially turned on the Orico box Ver. 3139U3 Rev. 1.0 with the Seagate Exos 18Tb drive in USB 3, it runs fine on the Raspbian (aka Debian 11) operating system for the Raspberry Pi. On the video Rapberry Pi 4b RAM 8Gb. But when restarting the Raspbian operating system, the Orico box is highly likely to hang up permanently. The video shows how the box hangs after the second Raspbian reboot. Often Orico box hangs after the first reboot. If you don't power off the hung Orico box and then unplug the USB cable from Raspberry Pi and connect it to a Windows 10 PC, the box is not detected in the system. The video shows how AOMEI Partition Assistant doesn't detect the connected Orico hang box. If you reconnect the hung Orico box to Raspbian, the box is also not detected. But if you press the power button, switching Orico box off and then press again, switching Orico box on, it is again available in Raspbian operating system.

In the video OS Raspbian is installed on a 64Gb flash drive. Tried to install Ubuntu for Raspberry Pi, Orico box, also hangs. Tried to use a Samsung 512Gb bootable SSD connected through the Orico 2.5" NGFF/NVME box instead of the 64Gb stick. The Orico 2.5" box does not hang, but the Orico 3.5" box with the 18Tb drive does. The Seagate Exos 18Tb drive is empty and unformatted. If I format the Seagate Exos 18Tb drive to Ext4 the Orico box hangs too. The drive is definitely serviceable, new, no bad sectors. I have 2 identical Seagate Exos 18Tb drives. Tried putting them both in turn, same result. I also have 2 identical Orico 3.5" boxes. I have tried both in turn, they have the same hang ups with different USB cables, power supplies and 18Tb drives. Raspberry Pi also serviceable, tried another Raspberry Pi, also 4b RAM 8Gb, Orico box, also hangs.

https://www.raspberrypi.com/software/

How to fix Orico 3.5" box hangs connected to USB 3 when Raspbian OS reboots please email me 02@0202.ru.

Thanks!



RU
NEW 2022-08-16: Оказалось, что внешний бокс Orico 3.5" Ver. 3139U3 Rev. 1.0 зависает при перезагрузке Linux, когда включен протокол "USB Attached SCSI". Протокол используется для многопоточной асинхронной работы с жёстким диском, что увеличивает скорость передачи данных.

Протокол USB Attached SCSI
https://ru.wikipedia.org/wiki/USB_Attached_SCSI

Если отключить протокол "USB Attached SCSI", то внешний бокс Orico 3.5" Ver. 3139U3 Rev. 1.0 не зависает при перезагрузке Linux. Разработчики Orico 3.5" Ver. 3139U3 Rev. 1.0 допустили ошибки в командах протокола "USB Attached SCSI", либо допустили отклонения от стандарта.

В Raspbian OS отключить протокол UAS можно, добавив в начало файл

/boot/cmdline.txt

текст "usb-storage.quirks=0080:0578:u" с пробелом в конце, без переноса на новую строку в конце. В моём случае "0080:0578" - это id внешнего бокса Orico 3.5" Ver. 3139U3 Rev. 1.0. Чтобы посмотреть id подключенных USB устройств в Linux, можно выполнить команду lsusb.

Источник разъяснения проблемы: https://github.com/raspberrypi/linux/issues/5123

2022-08-02: Выяснилось, что Box Orico 3.5" Ver. 3139U3 Rev. 1.0 зависает при перезагрузке Linux, когда подключен к порту USB 3. Если подключить к USB 2, то не зависает. Ошибка может быть, как в микропрограмме бокса Orico, так и в драйверах USB 3 операционной системы Linux.

2022-07-30: Описание:

При первоначальном включении бокса Orico 3.5" Ver. 3139U3 Rev. 1.0 с диском Seagate Exos 18Tb в USB 3 он отлично работает в операционной системе Raspbian (aka Debian 11) для Raspberry Pi. На видео Rapberry Pi 4b RAM 8Gb. Но при перезагрузке операционной системы Raspbian бокс Orico с высокой вероятностью зависает намертво. На видео показано, как бокс завис после второй перезагрузки Raspbian. Часто, бокс Orico зависает и после первой перезагрузки. Если не выключать питание зависшего бокса Orico и выткнуть USB кабель из Raspberry Pi и подключить к компьютеру с операционной системой Windows 10, то бокс не обнаруживается в системе. В видео показано, как программа AOMEI Partition Assistant не обнаруживает подключённый зависший бокс Orico. Если назад подключить зависший бокс Orico к Raspbian, то бокс также не обнаруживается. Но если нажать кнопку питания, выключив бокс Orico и снова нажать, включив бокс Orico, то он снова доступен в операционной системе Raspbian.

На видео OS Raspbian установлена на флешку 64Gb. Пробовал устанавливать Ubuntu для Raspberry Pi, бокс Orico, также, зависает. Пробовал вместо флешки 64Gb использовать загрузочный SSD Samsung 512Gb подключенный через бокс Orico для 2.5" NGFF/NVME. Бокс Orico 2.5" не зависает, а бокс Orico 3.5" с диском 18Tb зависает. Диск Seagate Exos 18Tb пустой неотформатированный. Если диск Seagate Exos 18Tb отформатировать в Ext4, то такое же зависание бокса Orico. Диск точно исправный, новый, отсутствуют плохие секторы. У меня 2 одинаковых диска Seagate Exos 18Tb. Пробовал ставить по очереди оба, одинаковый результат. Боксов Orico 3.5" у меня тоже 2 одинаковых. Пробовал ставить оба по очереди, зависают одинаково с разными USB кабелями, блоками питания и дисками 18Tb. Raspberry Pi тоже исправный, пробовал использовать другой Raspberry Pi, тоже 4b RAM 8Gb, бокс Orico, также, зависает.

https://www.raspberrypi.com/software/

Как исправить зависание бокса Orico 3.5" подключенного к USB 3 при перезагрузке Raspbian OS напишите мне, пожалуйста, на почтовый ящик 02@0202.ru.

Спасибо!