FVDW-SL on a Seagate Personal Cloud - additional steps

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby fvdw » Thu Jan 31, 2019 10:35 pm

To enable white sata led a kernel adaptation is required. There is no support in the standard linux kernel for the white sata led.
But I found some info which is worth a try and I think I can add the code to the kernel, but no guarantee given. Would you be willing to test a new kernel? (There is no risk)
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby m1m1sm1t1c0 » Fri Feb 01, 2019 7:12 pm

fvdw wrote:To enable white sata led a kernel adaptation is required. There is no support in the standard linux kernel for the white sata led.
But I found some info which is worth a try and I think I can add the code to the kernel, but no guarantee given. Would you be willing to test a new kernel? (There is no risk)
Of course, come on...
m1m1sm1t1c0
 
Posts: 42
Joined: Tue Jun 28, 2016 12:50 pm

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby fvdw » Fri Feb 01, 2019 9:02 pm

oke, attached an adapted kernel, in dmesg output you can recognize it as #5 with todays date
The change is that now code is added that might activate the white sata led
You can load it in two ways.

1. Using fvdw-sl console and use the load external kernel feature
To be able to do that unpack the kernel and put it in the tftp folder of the fvdw-sl console and read the related help page of the console. Its pretty straight forward and similar like loading the standalone kernel.
Advantage of this option is that you can test if the kernel loads and run and give the desired improvement. If not just reboot and you are back on old kernel.
If the kernel runs fine and you are happy with the improvement use option 2 to install the kernel permanent so it is automatically loaded at every boot.

2. Write it to sda6 and reboot.
This can be done by copying the new kernel to the root of the system partition and using dd command
Code: Select all
dd if=UIMAGE-466-SGARMADA370-5 of=/dev/sda6

Be 100% sure to use sda6 otherwise you will overwrite your data or other partitions and nas may not longer boot and you will need to restore everything.
The disadvantage of this option is that in case the kernel doesn't run you will need to install the previous kernel in sda6 using fvdw-sl console to get the nas working again.

Please post the output of dmesg when you succeed to boot this kernel, this to see if the driver for white led is loaded
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby m1m1sm1t1c0 » Sat Feb 02, 2019 4:00 pm

fvdw wrote:1. Using fvdw-sl console and use the load external kernel feature
UIMAGE-466-SGARMADA370-5

Ups... 3 tries and NAS does not start, the light is flashing...
m1m1sm1t1c0
 
Posts: 42
Joined: Tue Jun 28, 2016 12:50 pm

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby fvdw » Sat Feb 02, 2019 5:00 pm

Oke, back to the drawing board..

Which light is flashing and what is the frequency?
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby fvdw » Sat Feb 02, 2019 9:52 pm

two new trial kernels.

One remark, you must use the action "load and start external kernel" in the fvdw-sl console an not load standalone kernel.
I hope you did select load and start external kernel.
Of course the zip archives must be extracted and file inside must be used

Did you saw that the kernel was uploaded, in the command window that opens it should be visible
You should see something like this, especially the loading should be succesfull
Code: Select all
example names will be different in your case
..
Marvell>> tftpboot 0x800000 UIMAGE-26394-NWSP2CL-59
tftpboot 0x800000 UIMAGE-26394-NWSP2CL-59
Using egiga0 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.197
Filename 'UIMAGE-26394-NWSP2CL-59'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 3123520 (2fa940 hex)

Marvell>> bootm 0x800000
bootm 0x800000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.39.4
   Created:      2012-12-23  21:59:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3123456 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...


If you don't see this before the cmd window closes the kernel is not uploaded and of coarse the nas won't start

About the two kernels

kernel #6 has the device tree file added that was also used for kernel #3.
If this one runs than it tells us that the modified dts file to enbale white led is causing the problem

Kernel 7 has the same main kernel images as kernel #3 but the modified device tree file of kernel #5 added.
If this one runs than it tells us that the adapted main kernel image were the a new led driver is added is causing the problem and taht modified dtb file oke.

I expect that white sata led will not work on both kernels
For kernel 7 it would be interesting to see if in directory /sys/devices/platform a folder is present with name "leds-ns2l" and if it is present what is inside
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby m1m1sm1t1c0 » Mon Feb 04, 2019 3:34 pm

fvdw wrote:Which light is flashing and what is the frequency?

This on
https://imgur.com/a/2rFr2Hc
and off
https://imgur.com/a/ZbHdKcT

One second ON, one second (maybe two) OFF.

fvdw wrote:One remark, you must use the action "load and start external kernel" in the fvdw-sl console an not load standalone kernel.
I hope you did select load and start external kernel.

This
https://imgur.com/a/MsmsxO5

fvdw wrote:Did you saw that the kernel was uploaded, in the command window that opens it should be visible

UIMAGE-466-SGARMADA370-5:
https://imgur.com/a/FEugnbI
https://imgur.com/a/kT2S4zq

With UIMAGE-466-SGARMADA370-6 and UIMAGE-466-SGARMADA370-7 neither. NAS does not start. But in this case light is always On.

UIMAGE-466-SGARMADA370-6:
https://imgur.com/a/QZQw93n
https://imgur.com/a/K0B4Thb

UIMAGE-466-SGARMADA370-7:
https://imgur.com/a/kUstGp9
https://imgur.com/a/B1yBYBp

Light On
https://imgur.com/a/lF1wLHu

Excuse me, but at home I do not have internet. Weekend and it's hard for me to connect. Sorry...
m1m1sm1t1c0
 
Posts: 42
Joined: Tue Jun 28, 2016 12:50 pm

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby m1m1sm1t1c0 » Mon Feb 04, 2019 3:48 pm

Something is spinning around my mind.

fvdw wrote:To enable white sata led a kernel adaptation is required.

Why do you say that white light does not work with disk activity?
m1m1sm1t1c0
 
Posts: 42
Joined: Tue Jun 28, 2016 12:50 pm

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby fvdw » Mon Feb 04, 2019 4:23 pm

m1m1sm1t1c0 wrote:Something is spinning around my mind.

fvdw wrote:To enable white sata led a kernel adaptation is required.

Why do you say that white light does not work with disk activity?


Because of this post https://plugout.net/viewtopic.php?f=38&t=2990#p28878 mentioning this by Jocko
Hi

It seems the kernel does not yet support the white LED which is a bi-color LED (white and red). On your current kernel version, there is no available patch to do it, fvdw will check this point on the newest version if a patch exists.

But at least, you can check if with led settings available in sys, we can do something (I expect no).
So pos


But is the white led working then with sata activity ?
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: FVDW-SL on a Seagate Personal Cloud - additional steps

Postby m1m1sm1t1c0 » Mon Feb 04, 2019 4:46 pm

fvdw wrote:But is the white led working then with sata activity ?

Yes, only color white. It never changes to red. But it flashes.
m1m1sm1t1c0
 
Posts: 42
Joined: Tue Jun 28, 2016 12:50 pm

PreviousNext

Return to Seagate personal cloud

Who is online

Users browsing this forum: No registered users and 2 guests