XU4 cloudshell reboot problem

Having issues with your DietPi installation, or, found a bug? Post it here.
rncwnd
Posts: 14
Joined: Thu Jun 01, 2017 3:06 pm
Location: Germany

XU4 cloudshell reboot problem

Post by rncwnd »

Hi,

when I do a warm reboot ("reboot" or "shutdown -r now", eg. after updating kernel), the internal HDD (attached to SATA) in the cloudshell goes away. Only the external USB-connected HDD stays:

Code: Select all

root@odroid:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M        <-- external USB 3.0 HDD
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
At Bus 4 should exist two Mass Storage Devices (one uas, the internal usb-storage). Like here:

Code: Select all

root@odroid:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M     <-- internal SATA HDD
        |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=uas, 5000M             <-- external USB 3.0 HDD
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
Is there a workaround to get the USB refresh the already connected devices?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: XU4 cloudshell reboot problem

Post by Fourdee »

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rncwnd
Posts: 14
Joined: Thu Jun 01, 2017 3:06 pm
Location: Germany

Re: XU4 cloudshell reboot problem

Post by rncwnd »

Hi,

It's the cloudshell 1.

Recent kernel:

Code: Select all

root@odroid:~# uname -a
Linux odroid 4.9.44+ #1 SMP PREEMPT Thu Aug 24 12:55:45 UTC 2017 armv7l GNU/Linux
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: XU4 cloudshell reboot problem

Post by Fourdee »

the internal HDD (attached to SATA) in the cloudshell goes away. Only the external USB-connected HDD stays
2 USB drives?

Which power supply? You'll probably need 5V/6A at the least, 5V/8A possible.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rncwnd
Posts: 14
Joined: Thu Jun 01, 2017 3:06 pm
Location: Germany

Re: XU4 cloudshell reboot problem

Post by rncwnd »

Fourdee wrote:
the internal HDD (attached to SATA) in the cloudshell goes away. Only the external USB-connected HDD stays
2 USB drives?

Which power supply? You'll probably need 5V/6A at the least, 5V/8A possible.
It's the power supply that came with the CloudShell 1.
The 2nd HDD is powered separately (externally).

Why has that something to do with power?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: XU4 cloudshell reboot problem

Post by Fourdee »

rncwnd wrote:It's the power supply that came with the CloudShell 1.
The 2nd HDD is powered separately (externally).

Why has that something to do with power?
Some users (including me) report similar issues with insufficient power on the 5V/4A PSU, especially on 500mA+ HDD's. Odroid offer a 5V/6A PSU which is recommended for cloudshell usage.
I assume you have 5V/4A?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
rncwnd
Posts: 14
Joined: Thu Jun 01, 2017 3:06 pm
Location: Germany

Re: XU4 cloudshell reboot problem

Post by rncwnd »

Fourdee wrote:
rncwnd wrote:It's the power supply that came with the CloudShell 1.
The 2nd HDD is powered separately (externally).

Why has that something to do with power?
Some users (including me) report similar issues with insufficient power on the 5V/4A PSU, especially on 500mA+ HDD's. Odroid offer a 5V/6A PSU which is recommended for cloudshell usage.
I assume you have 5V/4A?
Well, I thought power shouldn't be a problem anymore when I powered the second HDD externally...
I think I have the 4A power supply, but don't wanna check because of the uboot bug might lead to some extra work (reimage sd and restore backup) I don't want to invest my precious time into now.

Unfortunately finding a 5V/6A power supply here in germany is not easy. The ones I found cost 20-30 €. If I order the one from Hardkernel I might end up paying the same (Shipping, Taxes)...
Maybe one has a good idea where to buy a decent power supply in Europe which doesn't cost that much.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: XU4 cloudshell reboot problem

Post by johnvick »

I use this -

http://www.ebay.com/itm/AC-100V-240V-Co ... 51ad00aa90

One year always on works well.
rncwnd
Posts: 14
Joined: Thu Jun 01, 2017 3:06 pm
Location: Germany

Re: XU4 cloudshell reboot problem

Post by rncwnd »

Interesting. It seems not every problem is caused by underpowering...

https://forum.odroid.com/viewtopic.php?f=146&t=29188
schnitzelbrain
Posts: 13
Joined: Sun Nov 05, 2017 4:23 pm

Re: XU4 cloudshell reboot problem

Post by schnitzelbrain »

rncwnd wrote:
Fourdee wrote:
rncwnd wrote:It's the power supply that came with the CloudShell 1.
The 2nd HDD is powered separately (externally).

Why has that something to do with power?
Some users (including me) report similar issues with insufficient power on the 5V/4A PSU, especially on 500mA+ HDD's. Odroid offer a 5V/6A PSU which is recommended for cloudshell usage.
I assume you have 5V/4A?
Well, I thought power shouldn't be a problem anymore when I powered the second HDD externally...
I think I have the 4A power supply, but don't wanna check because of the uboot bug might lead to some extra work (reimage sd and restore backup) I don't want to invest my precious time into now.

Unfortunately finding a 5V/6A power supply here in germany is not easy. The ones I found cost 20-30 €. If I order the one from Hardkernel I might end up paying the same (Shipping, Taxes)...
Maybe one has a good idea where to buy a decent power supply in Europe which doesn't cost that much.
I can suggest you this one if you are willing to tinker the hardware a bit:
https://www.pollin.de/p/schaltnetzteil- ... 6-a-351646

Its regulated on the 3V lane so to keep it stable on 5V you have to do this:
https://www.mikrocontroller.net/topic/406654

But then you get 5V up to 8A for almost nothing.

Greetz
Schnitzelbrain

P:S: Noch ein Fan von T. Pratchett wenn den Nick richtig lese :lol:
Post Reply