Turris Mox USB (from module A) not working any more (for mass storage) after TOS 6.0 upgrade

After upgrading Turris OS to 6.0, the hard drive plugged on the USB port of my Turris Mox is not detected any more.

lsusb does not see it at all: ZeroBin

Here is a dmesg (with the USB hard drive plugged on the Mox): ZeroBin. If I unplug/replug my USB device, there are no new lines in dmesg, even if the USB device is powered (its led is on)

This hard drive was working fine on the MOX right before the upgrade (and it works fine when I plug it on a PC, of course)
It seems to fail on all USB mass storage devices (I tested USB sticks, and another USB hard drive), while other USB devices are detected (at least in dmesg).

I have one of the first Turris Mox (from the indiegogo crowd funding).

3 Likes

The USB port on my MOX A also stopped working with TOS 6. I have the MOX Classic and removed pre-installed the SDIO wifi-card. Because of the known SDIO bug, Turris kept the people with MOX with SDIO wifi-card with HBS on TOS 5.4.5. This probably means most people with MOX Classic didnā€™t get the big upgrade yet. Did you remove your SDIO wifi-card too, or did you buy a MOX without it (e.g. MOX Shield)?

The USB port on the MOX A module does not work. I was using the MOX as a NAS too. The drive I use has external power source. I tried installing kmod-usb3, but didnā€™t help.

Logs from 5.4.5: ZeroBin

root@moxclassic:~# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Logs from 6.0.0: ZeroBin

root@moxclassic:~# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M
2 Likes

Thanks for your reply @Hai . I feel less alone.
I did not remove anything in my MOX. Both WiFi cards worked well before the upgrade (one had the soldering issues of the first models, that was fixed by sending it back to Turris), and they still seem to work well after (one provides 2.4Ghz, the second one provides 5GHz, and both networks seem available).
I suppose the WiFi bug has been fixed, so all MOX devices got the upgrade?
In any case, I did not do anything to force the upgrade.

NB: on a different topic, my MOX seems to restart fine now. Thatā€™s good news because I always needed to manually unplug/replug the power to restart it, before this upgrade

@Hai I just created a new thread for our USB issue on Mox: Turris Mox USB (from module A) not working any more (for mass storage) after TOS 6.0 upgrade

Just one more question (sounds silly I know, but after the ntfs-3g momentā€¦)
Can you do a sudo opkg list-installed | grep kmod-usb-storage? and if you donā€™t get 3 entries, follow up with sudo opkg update; sudo opkg install kmod-usb-storage kmod-usb-storage-extras kmod-usb-storage-uas?

root@turris:~# opkg list-installed | grep kmod-usb-storage
kmod-usb-storage - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24
kmod-usb-storage-extras - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24
kmod-usb-storage-uas - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24

(but it was not a silly question)

Same here. After TOS6 upgrade turris does not detect USD drive. ReForis Storage shows:

Current State

Your setup is currently broken and you are probably loosing data, set a new storage device as soon as you can!
No drives connected. Please connect a drive and refresh the page.

Did you have TOS 5.4.4 before the upgrade to 6? Thereā€™s another bug MOX - HBS@5.4.4 s SDIO se chce updatovat na TOS 6.0 i když by neměl, where they say that the MOX with 5.4.4 by mistake upgraded to 6. Ideally the MOX should have first upgraded to 5.4.5, which is supposed to block the upgrade to 6.

Based on the history of my snapshots, the pre-update snapshot yesterday has been done on version 5.4.4. I have no snapshot on 5.4.5.
So I suppose I never got the 5.4.5.

Is there a manual way to switch to 5.4.5?
I probably can restore my 5.4.4 snapshot, but thereā€™s a risk it will upgrade again to 6.0, I suppose?

switch-branch --version 5.4.4 (its not a mistake, though. I will need to check, why 5.4.5 is not in archiveā€¦ ):frowning: Use this, only if you want to have working SDIO Wi-Fi card.

I have the same issue - USB on A module not working afer upgrade to 6.0.
Should we expect a fix to 6 that will remedy the issue, is it such that that cannot happen?

Not keen to revert to 5.4.4 with switch-branch (mostly because the docs say ā€œunsupportedā€ to switch ā€˜downā€™ a release).
What would you recommend?
Thanks

Thanks.
My WiFi seems OK.

But it would be welcome to have an official advice about this issue and Mox reboots randomly after TOS 6.0 upgrade - SW bugs discussion - Turris forum.
These regressions are real blockers for a daily use, at least for me.

Should we keep TOS 6.0, because fixes will come very quickly? Are there workarounds we could apply to wait a bit more? Or should we ā€œofficiallyā€ switch back to 5.4.x?

1 Like

You have already 3 threads created and many posts are cross referenced to each other, please stick to one thread otherwise it will be a lot of confusing to me or to someone else.

Same problem, USB on A module is not working. I have MOX start with E module, no wifi. The difference is, that I did not upgrade at all, I re-flashed MOX to TOS 6.0 with the USB drive. At first the USB seemed to work, but after some update and restart USB was gone.

1 Like

Having restored 5.4.4 and got everything working again I though to have another go at the update - I now have 6.0.1.
USB on moudle A still not working - so I removed the WiFi module from module A. I also removed Module B which has an LTE modem in the mPCIe slot. This made no difference, the USB port still does not work.
Reverting again to 5.4.4 because I cannot tolerate the lack of secondary storage .
I do have this error message in reForis Notofication:

ā€œYour MOX HW configuration changed! You added moxtet-peridot.0 module(s). You removed moxtet-pci-bridge.0 moxtet-peridot.1 module(s). Make sure that your setup is correct or try factory reset for new setup.ā€

I saw no related messages in dmesg.

Again any suggestions gratefully received.

The same problem here as well.
After upgrade to 6.0.1 is USB port on module A not working.
My HW: Turris MOX: Wired Set (included modules: A+C) 512 MB RAM
Upgraded from 5.4.4 to 6.0.1
314 | pre | 104.20MiB | 2022-10-24 20:58:45 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.4)
315 | pre | 11.44MiB | 2022-10-28 01:31:35 +0200 | Automatic pre-update snapshot (TurrisOS 6.0.1)
316 | post | 10.92MiB | 2022-10-28 01:31:42 +0200 | Automatic post-update snapshot (TurrisOS 6.0.1)

lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Please advise on further troubleshooting. Iā€™ll be happy to provide whatever logs/traces needed to investigate this issue.
I need my NAS/Backup drive working again.

I donā€™t have a MOX, so I can only guess here. You could check whether you have the relevant kernel modules installed LuCI ā†’ System ā†’ Software. A package like kmod-usb-storage-extras should pull in all the relevant packages as dependencies.

Thanks for the idea.
However, I have already listed the packages I had with v6.0.0 in a previous comment: Turris Mox USB (from module A) not working any more (for mass storage) after TOS 6.0 upgrade - #6 by Mossroy and kmod-usb-storage-extras is in the list

The same here, all relevant packages are installed:
opkg list-installed | grep kmod-usb-storage
kmod-usb-storage - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24
kmod-usb-storage-extras - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24
kmod-usb-storage-uas - 5.15.74-1-68d5cb97f389f2b1d7c118599a176f24

Iā€™ve reverted to 5.4.4 and USB3 HDD works fine again. I didnā€™t even touched physically anything, just 'schnapps rollback ā€™ to pre-upgrade snapshot and then ā€˜rebootā€™

On 5.4.4:
lsusb -vt
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Logs from 5.4.4 - ZeroBin

Logs from 6.0.1 - ZeroBin