Lacie Cloudbox

Re: Lacie Cloudbox

Postby rimoth » Wed Jul 31, 2013 11:59 pm

Here you are...

Code: Select all
root@fvdwsl-base:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.9.5 (root@fvdwsl-nwsp2.local) (gcc version 4.5.4 (GCC) ) #161 PREEMPT Mon Jul 29 23:25:25 GMT+1 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: familybox
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c070798c, node_mem_map c0741000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 reset=0 root=/dev/sda7 cap=gpt,lba64
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 252428k/252428k available, 9716k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06a5260   (6773 kB)
[    0.000000]       .init : 0xc06a6000 - 0xc06d3b6c   ( 183 kB)
[    0.000000]       .data : 0xc06d4000 - 0xc07080e0   ( 209 kB)
[    0.000000]        .bss : 0xc07080e0 - 0xc0740a44   ( 227 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
[   14.983105] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[   15.073060] pid_max: default: 32768 minimum: 301
[   15.073181] Mount-cache hash table entries: 512
[   15.073722] CPU: Testing write buffer coherency: ok
[   15.074051] Setting up static identity map for 0xc0509f50 - 0xc0509f8c
[   15.076560] xor: measuring software checksum speed
[   15.173057]    arm4regs  :   909.200 MB/sec
[   15.273033]    8regs     :   545.600 MB/sec
[   15.373034]    32regs    :   755.600 MB/sec
[   15.373050] xor: using function: arm4regs (909.200 MB/sec)
[   15.373066] pinctrl core: initialized pinctrl subsystem
[   15.373253] NET: Registered protocol family 16
[   15.374308] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[   15.376788] Register Driver 'dummy'
[   15.377162] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   15.377184] Feroceon L2: Enabling L2
[   15.377220] Feroceon L2: Cache support initialised.
[   15.378209] familybox, skipping usb init
[   15.378220] initial MPP regs: 01002222 00003311 00000000 00000000 00000000 00000000 00000000
[   15.378254]   final MPP regs: 01002222 00003311 00000000 00000000 00000000 00000000 00000000
[   15.399699] bio: create slab <bio-0> at 0
[   15.563675] raid6: int32x1     89 MB/s
[   15.733151] raid6: int32x2    121 MB/s
[   15.903490] raid6: int32x4    110 MB/s
[   16.073336] raid6: int32x8    128 MB/s
[   16.073347] raid6: using algorithm int32x8 (128 MB/s)
[   16.073355] raid6: using intx1 recovery algorithm
[   16.074212] SCSI subsystem initialized
[   16.074663] libata version 3.00 loaded.
[   16.074931] Register Driver 'Generic PHY'
[   16.075214] Register Driver 'usbfs'
[   16.075385] usbcore: registered new interface driver usbfs
[   16.075402] Register Driver 'hub'
[   16.075558] usbcore: registered new interface driver hub
[   16.075632] Register Driver 'usb'
[   16.075758] usbcore: registered new device driver usb
[   16.076024] Register Driver 'i2c-gpio'
[   16.077725] Switching to clocksource orion_clocksource
[   16.079758] NET: Registered protocol family 2
[   16.080245] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[   16.080303] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   16.080337] TCP: Hash tables configured (established 2048 bind 2048)
[   16.080392] TCP: reno registered
[   16.080411] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   16.080434] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   16.080604] NET: Registered protocol family 1
[   16.080923] RPC: Registered named UNIX socket transport module.
[   16.080935] RPC: Registered udp transport module.
[   16.080943] RPC: Registered tcp transport module.
[   16.080951] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   16.080964] PCI: CLS 0 bytes, default 32
[   16.081122] NetWinder Floating Point Emulator V0.97 (double precision)
[   16.081136] Register Driver 'gpio-usb'
[   16.081696] Register Driver 'alarmtimer'
[   16.168215] VFS: Disk quotas dquot_6.5.2
[   16.168267] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   16.168636] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   16.168910] NTFS driver 2.1.30 [Flags: R/W].
[   16.168955] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   16.169119] fuse init (API version 7.21)
[   16.169695] JFS: nTxBlock = 1972, nTxLock = 15776
[   16.170486] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[   16.170839] msgmni has been set to 493
[   16.171908] async_tx: api initialized (async)
[   16.172112] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   16.172125] io scheduler noop registered
[   16.172135] io scheduler deadline registered
[   16.172159] io scheduler cfq registered (default)
[   16.172178] Register Driver 'kirkwood-pinctrl'
[   16.172362] Register Driver 'mv_xor'
[   16.172413] mv_xor mv_xor.0: Marvell shared XOR driver
[   16.207810] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   16.247806] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
[   16.248045] mv_xor mv_xor.1: Marvell shared XOR driver
[   16.287805] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   16.327805] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   16.333136] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   16.333785] Register Driver 'serial8250'
[   16.354073] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   16.885893] console [ttyS0] enabled
[   16.897518] brd: module loaded
[   16.904702] loop: module loaded
[   16.907906] Register Driver 'at24'
[   16.911505] Register Driver 'eeprom'
[   16.915872] Register Driver 'sd'
[   16.919640] Register Driver 'ahci'
[   16.923283] Register Driver 'sata_mv'
[   16.927201] Register Driver 'sata_mv'
[   16.931069] sata_mv sata_mv.0: version 1.28
[   16.931119] sata_mv sata_mv.0: cannot get optional clkdev
[   16.936550] sata_mv sata_mv.0: slots 32 ports 1
[   16.942667] scsi0 : sata_mv
[   16.945845] ata1: SATA max UDMA/133 irq 21
[   16.950966] Register Driver 'physmap-flash'
[   16.955355] Generic platform RAM MTD, (c) 2004 Simtec Electronics
[   16.961485] Register Driver 'mtd-ram'
[   16.965350] Register Driver 'm25p80'
[   16.969259] Register Driver 'gen_nand'
[   16.973251] Register Driver 'orion_nand'
[   16.977474] platform_driver_probe 5 retval= -19 code= 0
[   16.982825] Register Driver 'orion_spi'
[   16.987188] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   16.992181] Creating 2 MTD partitions on "spi_flash":
[   16.997212] 0x000000000000-0x00000007d000 : "u-boot"
[   17.003212] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   17.009669] tun: Universal TUN/TAP device driver, 1.6
[   17.014702] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   17.021071] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   17.029460] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   17.038278] Register Driver 'mv643xx_eth'
[   17.042402] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   17.049343] libphy: mv643xx_eth smi: probed
[   17.053687] Register Driver 'mv643xx_eth_port'
[   17.060295] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:94:be:05
[   17.069176] PPP generic driver version 2.4.2
[   17.073729] PPP Deflate Compression module registered
[   17.078868] PPP MPPE Compression module registered
[   17.083641] NET: Registered protocol family 24
[   17.088154] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[   17.095599] Register Driver 'pegasus'
[   17.099518] usbcore: registered new interface driver pegasus
[   17.105155] Register Driver 'ipheth'
[   17.108999] usbcore: registered new interface driver ipheth
[   17.115599] aoe: AoE v81 initialised.
[   17.119340] Register Driver 'rtc-ds1307'
[   17.123460] Register Driver 'rtc-mv'
[   17.127437] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   17.133416] platform_driver_probe 5 retval= 0 code= 0
[   17.138652] i2c /dev entries driver
[   17.142251] Register Driver 'mv64xxx_i2c'
[   17.146496] Register Driver 'gpio-fan'
[   17.150477] Register Driver 'lm75'
[   17.154090] Register Driver 'lm77'
[   17.157718] md: linear personality registered for level -1
[   17.163216] md: raid0 personality registered for level 0
[   17.168581] md: raid1 personality registered for level 1
[   17.173870] md: raid10 personality registered for level 10
[   17.179369] md: raid6 personality registered for level 6
[   17.184659] md: raid5 personality registered for level 5
[   17.189976] md: raid4 personality registered for level 4
[   17.195447] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[   17.204028] device-mapper: multipath: version 1.5.1 loaded
[   17.209533] device-mapper: multipath round-robin: version 1.0.0 loaded
[   17.216033] device-mapper: multipath queue-length: version 0.1.0 loaded
[   17.222653] device-mapper: multipath service-time: version 0.2.0 loaded
[   17.229318] device-mapper: dm-log-userspace: version 1.1.0 loaded
[   17.235386] device-mapper: raid: Loading target version 1.4.2
[   17.241146] Register Driver 'mmcblk'
[   17.244919] Register Driver 'leds-gpio'
[   17.248930] leds-gpio leds-gpio: pins are not configured from the driver
[   17.255897] Register Driver 'leds-ns2'
[   17.259906] Register Driver 'leds-ns2l'
[   17.264167] Register Driver 'leds-netxbig'
[   17.268658] Register Driver 'mv_crypto'
[   17.273345] Register Driver 'hid-generic'
[   17.277629] Netfilter messages via NETLINK v0.30.
[   17.282482] nf_conntrack version 0.5.0 (3944 buckets, 15776 max)
[   17.288921] IPv4 over IPv4 tunneling driver
[   17.293947] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.299459] TCP: cubic registered
[   17.302797] NET: Registered protocol family 10
[   17.308063] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.313521] sit: IPv6 over IPv4 tunneling driver
[   17.318916] NET: Registered protocol family 17
[   17.323359] NET: Registered protocol family 5
[   17.327880] NET: Registered protocol family 37
[   17.332400] VFP support v0.3: not present
[   17.337384] console [netcon0] enabled
[   17.341091] netconsole: network logging started
[   17.345597] Register Driver 'gpio-keys'
[   17.349951] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   17.356993] rtc-mv rtc-mv: setting system clock to 2000-04-18 03:01:55 UTC (956026915)
[   17.457786] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   17.497814] ata1.00: ATA-8: ST3000DM001-1CH166, CC44, max UDMA/133
[   17.503972] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   17.567816] ata1.00: configured for UDMA/133
[   17.588045] scsi 0:0:0:0: Direct-Access     ATA      ST3000DM001-1CH1 CC44 PQ: 0 ANSI: 5
[   17.596973] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[   17.605091] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   17.610569] sd 0:0:0:0: [sda] Write Protect is off
[   17.615345] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   17.615450] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   17.670589]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[   17.678513] sd 0:0:0:0: [sda] Attached SCSI disk
[   17.683163] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[   17.736339] kjournald starting.  Commit interval 5 seconds
[   17.741863] EXT3-fs (sda7): using internal journal
[   17.746635] EXT3-fs (sda7): mounted filesystem with ordered data mode
[   17.753112] VFS: Mounted root (ext3 filesystem) on device 8:7.
[   17.759465] Freeing init memory: 180K
[   19.247941] EXT3-fs (sda5): warning: checktime reached, running e2fsck is recommended
[   19.255808] kjournald starting.  Commit interval 5 seconds
[   19.261348] EXT3-fs (sda5): using internal journal
[   19.317832] EXT3-fs (sda5): recovery complete
[   19.322172] EXT3-fs (sda5): mounted filesystem with ordered data mode
[   19.421880] Adding 524284k swap on /dev/sda3.  Priority:-1 extents:1 across:524284k
[   31.344172] EXT3-fs (sda8): warning: checktime reached, running e2fsck is recommended
[   31.352015] kjournald starting.  Commit interval 5 seconds
[   31.362109] EXT3-fs (sda8): using internal journal
[   31.397843] EXT3-fs (sda8): recovery complete
[   31.402188] EXT3-fs (sda8): mounted filesystem with ordered data mode
[   31.452907] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.606262] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   34.616091] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   39.084871] udevd (684): /proc/684/oom_adj is deprecated, please use /proc/684/oom_score_adj instead.
root@fvdwsl-base:/ #


I am going to call it a day now. Thanks for all the help. I will post back how I get on.

I did just try installing logitech media server but it failed due to addons folder not found.
rimoth
Donator VIP
Donator VIP
 
Posts: 61
Joined: Mon Jul 08, 2013 9:33 am

Re: Lacie Cloudbox

Postby fvdw » Thu Aug 01, 2013 12:01 am

yes its bedtime, output of dmesg looks ok

for addons read the instruction on the forum how to prepare the addon folder

sy tomorrow

good night ;)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie Cloudbox

Postby rimoth » Thu Aug 01, 2013 12:03 am

Excellent. thanks again for all your assistance! :applause
rimoth
Donator VIP
Donator VIP
 
Posts: 61
Joined: Mon Jul 08, 2013 9:33 am

Re: Lacie Cloudbox

Postby fvdw » Thu Aug 01, 2013 9:19 am

(1) buttons daemon
attached a trial version of buttons daemon for the cloudbox

unpack the zip file and put the file the shared folder "public"
Connect via ssh and copy it to /usr/sbin and make it executable

Code: Select all
cp /share/1000/public/buttons-cloudbox /usr/sbin/buttons-cloudbox
chmod 755 /usr/sbin/buttons-cloudbox


now start it up by using on the command line
Code: Select all
buttons-cloudbox

It should mentions that it started and now it will wait for the back side button to be pressed
if pressed and hold for more then 1 second but less then 5 it should initiate a reboot
If pressed and hold for more then 5 seconds it should initiate a power off
It will display a message if it detects the action
If it works let me know then I can adapt the rcS file again to load it at boot


(2) buttons web interface for shutdown and reset
the following attached zip archive you contains patched files for the shutdown and restart buttons in the web interface
You must unpack the archive and copy the two files to /sbin and replace the ones that are present
They must be executable
I assume that by now you now the commands to use
The reset and shutdown buttons in the web interface should work ok after replacing these files
This is temporary fix in the next release I want to get rid of the different files for each platform, otherwise maintaining the firmware release becomes more difficult.
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie Cloudbox

Postby rimoth » Thu Aug 01, 2013 6:05 pm

Brilliant!

The button daemon worked as expected as did the buttons in the web interface.

I am going to start loading some files onto it now.

Let me know when you would like me to run further tests.
rimoth
Donator VIP
Donator VIP
 
Posts: 61
Joined: Mon Jul 08, 2013 9:33 am

Re: Lacie Cloudbox

Postby fvdw » Thu Aug 01, 2013 8:24 pm

ok thats good news, I will sent you an updated boot script that will load the buttons daemon at boot
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie Cloudbox

Postby rimoth » Thu Aug 01, 2013 9:17 pm

I put the updated boot script rcS into /etc/init.d and it appears to work as expected.

I only tried the shutdown option, held the button for >5 seconds and it shutdown.

I've managed to copy 40GB of photos onto the cloudbox without any issue. So all looking promising.
rimoth
Donator VIP
Donator VIP
 
Posts: 61
Joined: Mon Jul 08, 2013 9:33 am

Re: Lacie Cloudbox

Postby fvdw » Thu Aug 01, 2013 9:21 pm

that looks good indeed

what about the behaviour of the led ?
What does it do, steady on, blinking with fixed interval or blinking with sata activity
Can you also switch it off (in the web interface there is an option to switch the led on or off
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie Cloudbox

Postby rimoth » Fri Aug 02, 2013 6:36 pm

The led is blinking at a fixed interval and doesn't respond to SATA activity.

I also tried turning it off using the web interface, but as you probably can already guess this didn't work either.

Definitely need to do some of your magic before the led plays nicely!
rimoth
Donator VIP
Donator VIP
 
Posts: 61
Joined: Mon Jul 08, 2013 9:33 am

Re: Lacie Cloudbox

Postby fvdw » Sun Aug 04, 2013 4:16 pm

ok I will look at during second half of next week, currently I am busy with other activities, sorry to keep you waiting

you could have a look to folder /sys/class/leds

If you find a sym link something like this
"familybox:blue:sata"

follow it now you will see a directory listing several files like sata and trigger
giving on command line when being in this folder
so connect with putty and do cd to this folder
Code: Select all
cat trigger

this will show which trigger is used (the one bbetween [..], to change it use
Code: Select all
echo "trigger-action" > trigger

replace trigger action by one of the actions listed by the cat command

Same for the "sata" file
see what happens if if you write for instance 1 to it
Code: Select all
echo 1 > sata
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 16 guests