Reinstalling firmware, timing out?

Re: Reinstalling firmware, timing out?

Postby Cubytus » Sun Jul 24, 2016 6:34 pm

fvdw wrote:I think it is obvious when te console ask to select a standalone kernel that shoud you should select a standalone kernel, read more carefully the dialog windows that pops up.
It is, yes and no. The console says the UIMAGE-named file should be selected, and a user might well believe the firmware would be in the "firmware" subfolder, and that all items below /tftp would be folders themselves. As you see in the screen captures, they don't have a regular icon, and there's a "+" on their left, meaning they would be subfolders.

The other instructions are not so clear: it says to wait for the command window to display "waiting for u-Boot" before turning the NAS on, but this message is relayed in the main console window, so the manual could point there instead.

The files in the firmware subfolder are used by the firmware installer program which can be started using the install firmware action and reading the instructions
This is especially confusing: the console expects the user to point it to the correct UIMAGE file in the /tftp subfolder, no point it to the "firmwarere" subfolder. There's no explicit instruction NOT to use what's in /tftp/firmware subfolder. Add this to my point above (UIMAGE appearing first as a subfolder of /tftp), and you should understand why it may not be easy for a first-time user to follow what's going on.

Maybe it would be easier if the assistant included in the archive clearly stated it detected a "kirkwood" NAS?
q1.png

If you assume the user as having only a Windows PC and be helpless in imaging the hard drive, maybe you shouldn't bet on him reading a dense text in the dialog? When doing computer support, I saw most Windows users tend on clicking "OK" without reading what's shown to them.

Is the assistant able to detect a NAS without a properly formatted HDD?

And what's the technical difference between the UIMAGE present in /tftp/firmware/kirkwood and the one in /tftp?

There is no need to set the ip address manual, both ways, using the defaults or setting it as you like will work if your setup is correct.
The instructions don't give any clue on what to do when the NAS has been previously assigned an IP in static DHCP.

Should the user manually correct the NAS IP to the static-DHCP-assigned IP, or is the uboot made available on .252 and .251 simultaneously no matter what? The console says to check no other device is using those addresses, but stays mute about what should be done if those addresses aren't available.

Why we develop the console ? This is because most users don't have experience or knowledge to use linux or don't even have an usb->sata interface and don't feel comfortable to take out the harddisk and give all kind of linux commands.
Imaging a .img file isn't exacty "complex". The Raspberry Pi Foundation recommends it for newbies, and provides instructions for all three platforms.

And removing the HDD in the CloudBox isn't hard. One clip keeps the white cover in place, and four regular screws keep the drive in place. In fact, I had to remove the cover because of the overheating issue with the stock Seagate HDD, and I am pretty sure not to be the only one with a overheat issue.

You can think about it another way: if a user is bold enough to willingly void his warranty by installing a non-original firmware with no chance (AFAIK) to put back the LaCie firmware, do you think he would be completely helpless, hardware-wise?

Even as I don't consider myself a newbie, the manual wasn't clear enough and I experienced problems. Overall the manual could explain better what option is used in which scenario. Most users would only need "install fvdw firmware", assuming a hard drive upgrade.
q2.png


Also most users have a windows pc, then it is not so likely to use linux. Of course persons with linux machines might prefer manual install. Maybe one day we will make a fvdw-sl console for linux users. But as the number of potential user will be low it is not high on the priority list. Believe me using the manual setup via linux and taking out the disk is far more complicated and troublesome for most users. And then there are the MAC users. Agree for those the console is not ideal. But I don't have MAC it is difficult to develop a similar tool for it for me, sorry
That may come as strange, but while it's true that the majority of computers are Windows PCs, LaCie hard disks are mostly sold where Macs are sold. I don't know why exactly (perhaps the price premium often carried by LaCie compared to other brands), but places that sell PCs more often sell other brands. Hence I thought one user who owns a LaCie is more likely to be a Mac user.

While it's true that Linux users are few and far between, Macs make it for a far more interesting target for the fvdw console. I am no programmer alas, but depending on how platform-specific the fvdw-console code is, it may be possible to write it in a way it would compile on all three platforms.

Is the source available? I guess interested developers would be ready to modify it to suit their needs.

And have you found the old guide for imaging?
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Reinstalling firmware, timing out?

Postby fvdw » Sun Jul 24, 2016 7:26 pm

Thx for your comments, I will come back to it later as improving the guide and help files is always welcome. But remember there are only two of us doing all the work and it is a hobby ;)
One remark making a disk image as for raspberry is a no go, the image will dependent on disk size be several TB. In the firmware installation program/script we already use partition images.

Here the link to manual install guide for a nwsp2 viewtopic.php?f=7&t=336#p2043
Be aware fvdw-sl 11.0 has no support for the; cloudbox. So you cant use the packages in that thread for install on a cloudbox. The kernel must be exchanged in that package to a more recent one as well as kernel modules in the firmware image
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Reinstalling firmware, timing out?

Postby Benaslan » Mon Jul 25, 2016 5:57 pm

fvdw wrote:And then there are the MAC users. Agree for those the console is not ideal. But I don't have MAC it is difficult to develop a similar tool for it for me, sorry


I do have a MAC and some knowledge/experience. I offer you my help in testing/bugfixing. If you decide to do a Mac Version.
Benaslan
 
Posts: 35
Joined: Sun Mar 06, 2016 6:49 pm

Re: Reinstalling firmware, timing out?

Postby fvdw » Mon Jul 25, 2016 7:47 pm

Thanks for the offer, when we decide to do it the first step will be alinux version based on code in C. As MAC are based on unix then the step might be easier

Did someone try to run the console under WineHD on a MAC?
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Reinstalling firmware, timing out?

Postby Cubytus » Tue Jul 26, 2016 1:23 pm

WineDB? Never heard of that one :)

However in Wine / El Capitan, I couldn't start the console application. Wine installed from MacPorts.
Fails in Linux with a fresh install, most probably requires additional tweaking before it works.

Code: Select all
wine: created the configuration directory '/home/usuario/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:seh:RtlAddFunctionTable 0x61e45620 1 61e40000: stub
fixme:seh:RtlAddFunctionTable 0x61776ba0 1 61700000: stub
fixme:seh:RtlAddFunctionTable 0x64f69540 1 64f40000: stub
fixme:seh:RtlAddFunctionTable 0x622c6620 1 622c0000: stub
fixme:seh:RtlAddFunctionTable 0x6ce47620 1 6ce40000: stub
fixme:seh:RtlAddFunctionTable 0x682d4b20 1 682c0000: stub
fixme:seh:RtlAddFunctionTable 0x638d1dc0 1 63800000: stub
fixme:seh:RtlAddFunctionTable 0x3b6ea0 1 390000: stub
fixme:seh:RtlAddFunctionTable 0x68f5b6a0 1 68f40000: stub
fixme:seh:RtlAddFunctionTable 0x6b431bc0 1 69c40000: stub
fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe2f8, overlapped 0xdbe2c0): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0xe9e8cc, overlapped 0xe9e8b0): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
wine: configuration in '/home/usuario/.wine' has been updated.
fixme:ntdll:NtSetInformationToken unimplemented class 4
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessSessionInformation
     55 [main] fvdw-sl-console (8) Z:\media\sf_Downloads\fvdw-sl-console-6-16-1-9feb2016-32bits\fvdw-sl-console.exe: *** fatal error - CreateFileMapping cygpid.8, Win32 error 5.  Terminating.
err:seh:setup_exception_record stack overflow 1224 bytes in thread 0009 eip 7bc3e41f esp 00430e68 stack 0x430000-0x431000-0x630000


After installing p11-kit in Linux, I got:
Code: Select all
fixme:ntdll:NtSetInformationToken unimplemented class 4
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessSessionInformation
     73 [main] fvdw-sl-console (8) Z:\media\sf_Downloads\fvdw-sl-console-6-16-1-9feb2016-32bits\fvdw-sl-console.exe: *** fatal error - CreateFileMapping cygpid.8, Win32 error 5.  Terminating.
err:seh:setup_exception_record stack overflow 1224 bytes in thread 0009 eip 7bc3e41f esp 00430e68 stack 0x430000-0x431000-0x630000


Even CodeWeaver's version doesn't work.

As for the images, the Raspberry Pi official installation method uses one .img, 1.3GB that can be expanded to any size SD card and produces at least two partitions. I believe this procedure could be extended for any number of partitions with fvdw. It is true the old guide is long, but most of it is dedicated to manual partitioning.

Besides, it doesn't explain how the kernel and scripts are combined to form a single .img
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Reinstalling firmware, timing out?

Postby fvdw » Tue Jul 26, 2016 4:28 pm

Beside, it doesn't explain how the kernel and scripts are combined to form a single .img

If you read it well you should be able to figure out how a disk image should look like an what it must contain. But again it will be huge image. Very unpractical. Better use our installer. Easy simple (to my opinion) ;)
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Reinstalling firmware, timing out?

Postby Cubytus » Wed Jul 27, 2016 12:00 am

fvdw wrote:But again it will be huge image. Very unpractical. Better use our installer. Easy simple (to my opinion) ;)
Your installer unfortunately requires (for non-Windows users) to basically pirate a Windows copy if starting from an unformatted hard drive :(

How can Raspbian fit on 1.3GB yet be usable on 32GB SD cards? ;)
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: Reinstalling firmware, timing out?

Postby Jocko » Wed Jul 27, 2016 8:05 am

Hi Cubytus,

Please to read our forum rules http://plugout.net/viewtopic.php?f=3&t=2

Anyhow if you are a linux or a MAC user you can install directly the firmware. For these users, use shell commands is not an issue.

But you are right an updated how-to would be better.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 7 guests