How to install Pogoplug software on V2 Plug

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: How to install Pogoplug software on V2 Plug

Postby WarheadsSE » Sun Jul 01, 2012 5:16 pm

Loading xce.ko: Error: could not insert module /usr/local/cloudengines/bin/xce.ko: Invalid module format

That's your problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to install Pogoplug software on V2 Plug

Postby rty » Mon Jul 02, 2012 3:04 pm

Yes, I know that. That's the xce.ko provided by Moonman.
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: How to install Pogoplug software on V2 Plug

Postby WarheadsSE » Mon Jul 02, 2012 4:20 pm

I will upload mine, I know it works on GFN & V4
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to install Pogoplug software on V2 Plug

Postby moonman » Tue Jul 03, 2012 2:38 am

My xce.ko was compiled for kernel 3.1.10.11 and you tried it with 3.1.10.9 that's why it won't load. Try it again with the new kernel. If you want to compile it - appy the patch with
$this->bbcode_second_pass_code('', 'patch -p1 < patchfile') and put symlink or copy to /usr/src/linux-3.1.10-11-ARCH/include/mtd, and NOT /usr/src/linux-3.1.10-11-ARCH/include/linux/mtd. Actually this path difference is the reason why mtd folder is not included in the kernel headers.
So far mine has been up for 4 days

EDIT: Also do a modinfo xce.ko, it should look like this:
$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install bin]# modinfo xce.ko
filename: /usr/local/cloudengines/bin/xce.ko
license: GPL
version: 2.1.0
description: Cloud Engines Acceleration
author: Brad Dietrich <brad@cloudengines.com>
alias: char-major-10-241
srcversion: 7432E6CD07379F36F5AE573
depends:
vermagic: 3.1.10-11-ARCH preempt mod_unload modversions ARMv5
')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How to install Pogoplug software on V2 Plug

Postby rty » Tue Jul 03, 2012 8:58 am

Good to see you back early, Moonman.

$this->bbcode_second_pass_quote('moonman', 'M')y xce.ko was compiled for kernel 3.1.10.11 and you tried it with 3.1.10.9 that's why it won't load. Try it again with the new kernel.


In one of my subsequent posts, I mentioned that I upgraded to 3.1.10-11-ARCH (#1 PREEMPT Mon May 21 05:59:32 UTC 2012 armv5tel GNU/Linux). After the upgrade, with your compiled version of xce.ko still in place, I continue to get the xce.ko load error message and my V2 still reboots randomnly. I guess in my case, there are some unknown steps I have to do in order to get the newly upgraded Kernel to load your compiled xce.ko.

$this->bbcode_second_pass_quote('moonman', '
') and put symlink or copy to /usr/src/linux-3.1.10-11-ARCH/include/mtd,


I'll try to compile xce.ko. Please excuse my being a noob, but just to be absolutely sure, what do I have to copy to /usr/src/linux-3.1.10-11-ARCH/include/mtd ? The patch file? or the file mtd-abi.h?

Thanks again Moonman. I really appreciate your help.
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: How to install Pogoplug software on V2 Plug

Postby rty » Tue Jul 03, 2012 2:44 pm

Greetings Moonman,

As suggested I did a "modinfo xce.ko" and it showed version 2.0.5. I then downloaded your xce.ko one more time. The modinfo on it shows version 2.1.0, so I must have downloaded the 2.0.5 version from your older post. Now the 2.1.0 xce.ko seems to work fine.

Dmesg shows these:

$this->bbcode_second_pass_code('', '
[ 51.602219] Cloud Engines XCE Init [Version: 2.1.0]
[ 51.602233] XCE: CPU MEMORY MAP:
[ 51.602243] XCE: -- 0x00001000 - 0xbeffffff (3055 MB) User Space Mappings
[ 51.602255] XCE: -- 0xbf000000 - 0xbfffffff ( 16 MB) Kernel module space
[ 51.602266] XCE: -- 0xc0000000 - 0xcfffffff ( 256 MB) Kernel direct-mapped ram
[ 51.602278] XCE: -- 0xd0800000 - 0xfe7fffff ( 736 MB) Kernel vmalloc space
[ 51.602289] XCE: -- 0xfe800000 - 0xfeffffff ( 7 MB) Kernel platform space
[ 51.602298] XCE: CPU FEATURES:
[ 51.602304] XCE: -- I Cache: enabled
[ 51.602312] XCE: -- D Cache: enabled
[ 51.602320] XCE: -- Branch Predict: disabled
[ 51.602328] XCE: -- MMU: enabled
[ 51.602335] XCE: -- Alignment Abort: enabled
[ 51.602343] XCE: -- ICache Prefetch: disabled
[ 51.602351] XCE: -- DCache Prefetch: disabled
[ 51.602359] XCE: -- L2 Cache: enabled
[ 51.602366] XCE: -- L2 Prefetch: disabled
[ 51.602374] XCE: -- L2 Writethrough: disabled
[ 51.602382] XCE: -- Write Allocate: disabled
[ 51.602390] XCE: -- Streaming: disabled
[ 51.603890] XCE: BLPARAMS: reading 2048 bytes @ a0000
[ 51.605083] XCE: Loaded Property Size: 2048
[ 51.605101] XCE: - 'cesvcid' -> '*************'
[ 51.605110] XCE: - 'ceboardver' -> 'PPV2'
[ 51.605121] XCE: Current GPIO State:
[ 51.605129] XCE: GPIO L OUT: 0x20000000
[ 51.605137] XCE: GPIO L OE: 0xdfffffff
[ 51.605144] XCE: GPIO L BLINK: 0x00000000
[ 51.605152] XCE: GPIO L POL: 0x00000000
[ 51.605159] XCE: GPIO L IN: 0x20000080
[ 51.605166] XCE: GPIO H OUT: 0x00034000
[ 51.605174] XCE: GPIO H OE: 0xfffcbfff
[ 51.605181] XCE: GPIO H BLINK: 0x00000000
[ 51.605189] XCE: GPIO H POL: 0x00000000
[ 51.605196] XCE: GPIO H IN: 0x00034000
[ 51.624633] XCE: Kernel thread starting PID: 301
[ 51.680440] hbwd (304): /proc/304/oom_adj is deprecated, please use /proc/304/oo m_score_adj instead.
[ 51.883584] XCE: BLPARAMS: reading 2048 bytes @ a0000
[ 51.884763] XCE: BLPARAMS: reading 2048 bytes @ a0800
[ 51.885495] XCE: BLPARAMS: reading 2048 bytes @ a1000
[ 51.886239] XCE: BLPARAMS: reading 2048 bytes @ a1800
[ 52.083654] tun: Universal TUN/TAP device driver, 1.6
[ 52.083669] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 53.620523] eth0: no IPv6 routers present
[ 57.200635] XCE: XCE: LED -> CONNECTED
[ 66.582626] XCE: BLPARAMS: reading 2048 bytes @ a0000
[ 66.583789] XCE: BLPARAMS: reading 2048 bytes @ a0800
[ 66.584539] XCE: BLPARAMS: reading 2048 bytes @ a1000
[ 66.585270] XCE: BLPARAMS: reading 2048 bytes @ a1800
[ 66.633453] XCE: BLPARAMS: reading 2048 bytes @ a0000
[ 66.634636] XCE: BLPARAMS: reading 2048 bytes @ a0800
[ 66.635369] XCE: BLPARAMS: reading 2048 bytes @ a1000
[ 66.636111] XCE: BLPARAMS: reading 2048 bytes @ a1800
[ 71.759302] XCE: XCE: LED -> CONNECTED
')

I had to go to pogoplug.com to activate the V2 again though and ended up seeing two Pogoplugs on the panel: one online and one offline. I unregistered the offline one. Problem solved. :) Thank you very much.
Last edited by rty on Wed Jul 04, 2012 5:17 am, edited 1 time in total.
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: How to install Pogoplug software on V2 Plug

Postby moonman » Tue Jul 03, 2012 7:07 pm

I am glad it finally worked for you :-)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How to install Pogoplug software on V2 Plug

Postby moonman » Tue Jul 03, 2012 8:35 pm

Just compiled xce.ko for Pogoplug Series 4, Pogoplug Mobile, again this is for testing. If You have PogoPlug V2, the module is attached on the previous page of this thread.

Before using it, make sure the kernel is at version 3.1.10-11.
$this->bbcode_second_pass_code('', '
license: GPL
version: 2.4.9
description: Cloud Engines Acceleration
author: Brad Dietrich <brad@cloudengines.com>
alias: char-major-10-241
srcversion: 367E414FF98561F9CA14F2D
depends:
vermagic: 3.1.10-11-ARCH preempt mod_unload modversions ARMv5 ')
Attachments
xce.mobile.v4.tar.gz
(11.02 KiB) Downloaded 1041 times
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How to install Pogoplug software on V2 Plug

Postby rty » Wed Jul 04, 2012 5:26 am

$this->bbcode_second_pass_quote('moonman', 'I') am glad it finally worked for you :-)


I am happy to confirm that my V2 has been up and running for more than 16 hours now without the random reboot. :D

Any chance of you experimenting the same on your SGH? ;) I'll be getting one after I collect my pay check next month and I'll be willing to do the experiment on it if you clarify the steps on compiling xce.ko.
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore
Top

Re: How to install Pogoplug software on V2 Plug

Postby moonman » Wed Jul 04, 2012 5:37 am

My GFH is dead for now as the 1TB Drive died in it. Until I replace it, there won't be any experiments I guess. On top of that I the code is a little different for every device. You would have to modify it or wait until WarheadsSE releases his "neutered" xce version without the device-specific stuff in it.

And to compile it you just need to have that mtd folder, run the patch -p1 < {patch} and run make. All the modifications I made are in that patch file, take a look through it. If you are good at coding you can go further and remove the device specific code.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 313 guests