Lacie 5bign_v2 support

Re: Lacie 5bign_v2 support

Postby fvdw » Sat May 11, 2013 9:26 pm

its done :mrgreen: I adapted the kernel code, it won't use the renumbering when no lacie disk map is defined.
I included the disk maps for 5big2 and 2big2
Kernel runs fine on the nwsp2
in dmesg you get this output on a nwsp2
Code: Select all
<snip>
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EZRX-00D 80.0 PQ: 0 ANSI: 5
No LaCie disk map available
sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
<snip>

We will need to wait on Draftmancorp. to test it on the 5big2 :tapfoot

thanks Mijzelf for the very useful hints
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby fvdw » Sun May 12, 2013 9:18 am

pm send with kernel :tapfoot

this kernel should be able to follow the numbering from lacie in 5big2.
Unpack the zip file and put the kernel in the tftp directory
To test put the fvdw-sl disk in slot 1 and the lacie disk in slot 2
Boot the nas using fvw-sl console using u-boot command window and the following commands (to see net console output in case it doesn't work as expected).
Code: Select all
setenv ipaddr ${ipaddr}
setenv serverip ${serverip}
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sda7
ide reset
disk 0x800000 3:6
bootm

If this works we can keep always the disk with firmware in slot 1

To get the kernel on the test disk itself so it will be used at normal boot we will need to write it to sda6
To do this put the kernel file in the share public after the nas has succesfully boot
Connect with putty and give command
Code: Select all
dd if=/share/1000/public/UIMAGE-26394-NWSP2CL-106 of=/dev/sda6

Now it should also boot normal without using fvdw-sl console
we are working to update the firmware to be able to use multiple disk, Jocko did already a lot of work. It will be in 14-1
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby wd9895 » Sun May 12, 2013 8:44 pm

How to differentiate V1 and V2 ?
wd9895
Donator Supporter
Donator Supporter
 
Posts: 255
Joined: Fri Jun 10, 2011 1:49 pm
Location: Hamburg, Germany

Re: Lacie 5bign_v2 support

Postby fvdw » Sun May 12, 2013 9:23 pm

To be honest I don't really know but form the discussion we had on nas -central it seems that when it is a V2 it is mentioned on the back side of the nas. Furthermore the v1 will have orion based motherboard, the v2 has a kirkwood based board like nwsp2 but thats impossible to see from outside. I "believe" that v2 has 2 gigabit connections and the older one not, but I am not sure
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby Mijzelf » Mon May 13, 2013 7:22 am

Both the V1 and V2 have gigabit network. You can see the difference by:
The 2Big has a switch on the back to choose between 'safe' and 'big' (raid1 or raid0), the 2Big2 hasn't.
The 5Big has a single networkport, the 5Big2 has two of them.

/Edit: At least for the 2Big, there is now a new device, the 2Big NAS. The 2Big2 is no longer being sold. As far as I could find the only difference is the SoC, a 2GHz Kirkwood, versus the 1.2GHz Kirkwood on the 2Big2. I'd expect it to have more memory too, but have no evidence so far.
It is to be expected a 5Big NAS will be available soon.
Last edited by Mijzelf on Mon May 13, 2013 8:49 am, edited 1 time in total.
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Mon May 13, 2013 7:41 am

:shocked wow.......i just understand a few little....ok ok ok, 3 ours left, and launch pause arrive :) i'll go at home to bring the Lacie. then here i try!....mmm...i need to start from here right??

pm send with kernel

this kernel should be able to follow the numbering from lacie in 5big2.
Unpack the zip file and put the kernel in the tftp directory
To test put the fvdw-sl disk in slot 1 and the lacie disk in slot 2
Boot the nas using fvw-sl console using u-boot command window and the following commands (to see net console output in case it doesn't work as expected).
Code:
Code: Select all
setenv ipaddr ${ipaddr}
setenv serverip ${serverip}
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sda7
ide reset
disk 0x800000 3:6
bootm


If this works we can keep always the disk with firmware in slot 1

To get the kernel on the test disk itself so it will be used at normal boot we will need to write it to sda6
To do this put the kernel file in the share public after the nas has succesfully boot
Connect with putty and give command
Code:
Code: Select all
dd if=/share/1000/public/UIMAGE-26394-NWSP2CL-106 of=/dev/sda6


Now it should also boot normal without using fvdw-sl console
we are working to update the firmware to be able to use multiple disk, Jocko did already a lot of work. It will be in 14-1
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby fvdw » Mon May 13, 2013 8:48 am

yes :tapfoot
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Mon May 13, 2013 10:59 am

i'll be back with the NAS :) see you in a minutes!
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Mon May 13, 2013 11:30 am

i'm here, now i try :)
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: Lacie 5bign_v2 support

Postby Draftmancorp » Mon May 13, 2013 11:41 am

OK, this it the output of the first code sequence:
(i put the uimage 106 in the tftp folder....but i don't load anywhere :scratch ?)

Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter


Marvell>> setenv ipaddr ${ipaddr}
setenv ipaddr ${ipaddr}
Marvell>> setenv serverip ${serverip}
setenv serverip ${serverip}
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/ root=/dev/sda7
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/ root=/dev/sda7
Marvell>> ide reset
ide reset

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Port Multiplier found @ 0 0. Vendor: 11ab ports: 4
[0 0 2]: Enable DMA mode
  Device 2 @ 0 0 2:
Model: WDC WD5000AAKX-08ERMA0                   Firm: 19.01H19 Ser#:      WD-WCC
2EL371239
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (0 x 0)
[0 0 3]: Enable DMA mode
  Device 3 @ 0 0 3:
Model: WDC WD5000AAKX-08ERMA0                   Firm: 19.01H19 Ser#:      WD-WCC
2EL223213
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (0 x 0)
Port Multiplier found @ 0 1. Vendor: 11ab ports: 4

Marvell>> disk 0x800000 3:6
disk 0x800000 3:6
## Valid DOS partition found ##

Loading from IDE device 3, partition 6: Name: hdd6
  Type: U-Boot
   Image Name:   Linux-2.6.39.4
   Created:      2013-05-09  21:04:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3225532 Bytes =  3.1 MB
   Load Address: 00008000
   Entry Point:  00008000
Marvell>> bootm
bootm
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.39.4
   Created:      2013-05-09  21:04:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3225532 Bytes =  3.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
bootargs from environment variables : console=ttyS0,115200 netconsole=6666@192.1
68.1.252/,6666@192.168.1.2/ root=/dev/sda7 cap=gpt,lba64

Starting kernel ...

Linux version 2.6.39.4 (root@fvdwsl-nwsp2.local) (gcc version 4.5.4 (GCC) ) #102
 PREEMPT Thu May 9 22:03:32 GMT+1 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: LaCie 5Big Network v2
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 netconsole=6666@192.168.1.252/,6666@19
2.168.1.2/ root=/dev/sda7 cap=gpt,lba64
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 513012k/513012k available, 11276k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0031000   ( 164 kB)
      .text : 0xc0031000 - 0xc064c000   (6252 kB)
      .data : 0xc064c000 - 0xc0678f00   ( 180 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:114
sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=166666667.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
 orion-ehci registered
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
Switched to NOHz mode on CPU #0
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Registering unionfs 2.5.11 (for 2.6.39.4)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.30 [Flags: R/W].
fuse init (API version 7.16)
JFS: nTxBlock = 4007, nTxLock = 32063
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no
debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 1001
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
m25p80 spi0.0: mx25l4005a (512 Kbytes)
Creating 2 MTD partitions on "spi_flash":
0x000000000000-0x00000007d000 : "u-boot"
0x00000007e000-0x00000007f000 : "u-boot-env"
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:d0:4b:91:8
c:3d
mv643xx_eth_port mv643xx_eth_port.1: eth1: port 0 with MAC address 00:d0:4b:91:8
c:3e
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.
edu>
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver ipheth
netconsole: local port 6666
netconsole: local IP 192.168.1.252
netconsole: interface 'eth0'
netconsole: remote port 6666
netconsole: remote IP 192.168.1.2
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
netconsole: device eth0 not up yet, forcing it
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
ata1.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
ata1.00: hard resetting link
ata1.01: hard resetting link
ata1.02: hard resetting link
ata1.03: hard resetting link
mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow
control disabled
console [netcon0] enabled
netconsole: network logging started
aoe: AoE v47 initialised.
input: gpio-keys as /devices/platform/gpio-keys/input/input0
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (8015 buckets, 32060 max)
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 5
NET: Registered protocol family 37
VFP support v0.3: not present
rtc-mv rtc-mv: setting system clock to 2012-07-18 23:46:41 UTC (1342655201)
ata1.02: ATA-8: WDC WD5000AAKX-08ERMA0, 19.01H19, max UDMA/100
ata1.02: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.02: configured for UDMA/100
ata1.03: ATA-8: WDC WD5000AAKX-08ERMA0, 19.01H19, max UDMA/100
ata1.03: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.03: configured for UDMA/100
ata1: EH complete
scsi 0:2:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 19.0 PQ: 0 ANSI: 5
sd 0:2:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
scsi 0:3:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 19.0 PQ: 0 ANSI: 5
sd 0:2:0:0: [sda] Write Protect is off
sd 0:2:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
 or FUA
sd 0:3:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
sd 0:3:0:0: [sdb] Write Protect is off
sd 0:3:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO
 or FUA
 sda: sda2 sda5 sda6 sda7 sda8 sda9 sda10
sd 0:2:0:0: [sda] Attached SCSI disk
 sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 sdb7 sdb8 >
sd 0:3:0:0: [sdb] Attached SCSI disk
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
ata2.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
ata2.00: hard resetting link
ata2.01: hard resetting link
ata2.02: hard resetting link
ata2.03: hard resetting link
ata2: EH complete
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: invalid raid superblock magic on sda2
md: sda2 does not have a valid v0.90 superblock, not importing!
md: invalid raid superblock magic on sda7
md: sda7 does not have a valid v0.90 superblock, not importing!
md: invalid raid superblock magic on sda8
md: sda8 does not have a valid v0.90 superblock, not importing!
md: invalid raid superblock magic on sda9
md: sda9 does not have a valid v0.90 superblock, not importing!
md: Scanned 4 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda7): using internal journal
EXT3-fs (sda7): recovery complete
EXT3-fs (sda7): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 8:7.
Freeing init memory: 164K
REISERFS warning (device sda8): sh-2021 reiserfs_fill_super: can not find reiser
fs on sda8
EXT3-fs: barriers not enabled
EXT3-fs (sda8): mounted filesystem with ordered data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda9): using internal journal
EXT3-fs (sda9): mounted filesystem with ordered data mode
unionfs: unionfs: new generation number 2
unionfs: unionfs: new generation number 3

Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests