Difference between revisions of "Category:LS-WXL"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Removed advertisement)
(TeraStation "Conversion")
(29 intermediate revisions by 9 users not shown)
Line 20: Line 20:
 
== Gain SSH Access  ==
 
== Gain SSH Access  ==
 
Source / Credit : [http://forum.buffalo.nas-central.org/viewtopic.php?f=37&t=21497]
 
Source / Credit : [http://forum.buffalo.nas-central.org/viewtopic.php?f=37&t=21497]
 
=== Firmware 1.52 ===
 
  
 
See notes below for Firmware 1.41.
 
See notes below for Firmware 1.41.
 +
 +
The following passwords are for extracting the firmware, '''not''' accessing the live box!
 +
 +
=== Firmware 1.64 ===
 +
 +
Use the following password:
 +
 +
  YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4
 +
 +
=== Firmware 1.63 ===
 +
 +
Use the following password:
 +
 +
  YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4
 +
 +
=== Firmware 1.62 ===
 +
 +
Use the following password:
 +
 +
  1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l
 +
 +
=== Firmware 1.60 ===
 +
 +
Use the following password:
 +
 +
  YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4
 +
 +
=== Firmware 1.58 ===
  
 
Use the following password:
 
Use the following password:
  
 
   IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
 
   IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
--[[User:Ejsolutions]] 17:06, 1 August 2011 (UTC)
 
  
=== Firmware 1.42 ===
+
=== Firmware 1.57 ===
  
See notes below for Firmware 1.41.
+
Use the following password:
  
This time the fourth in the list of zip passwords from [[Create a custom firmware image]] proved to be the one that worked.
+
  1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l
 +
 
 +
=== Firmware 1.56 ===
 +
 
 +
Use the following password:
 +
 
 +
  aAhvlM1Yp7_2VSm6BhgkmTOrCN1JyE0C5Q6cB3oBB
 +
 
 +
=== Firmware 1.54 ===
 +
 
 +
Use the following password:
 +
 
 +
  1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l
 +
 
 +
=== Firmware 1.52 ===
 +
 
 +
Use the following password:
 +
 
 +
  IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
 +
 
 +
=== Firmware 1.42 ===
 +
 
 +
Use the following password:
  
 
   IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
 
   IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
  
=== Firmware 1.41 ===
+
=== Firmware 1.41 and later ===
  
 
In this version, it appears that ''acp_commander'' no longer provides the capability to execute commands, which prevents most earlier strategies from working. However, it is quite straightforward to solve this problem by using a custom firmware image.  The basic principle is described in [[Create a custom firmware image]].
 
In this version, it appears that ''acp_commander'' no longer provides the capability to execute commands, which prevents most earlier strategies from working. However, it is quite straightforward to solve this problem by using a custom firmware image.  The basic principle is described in [[Create a custom firmware image]].
Line 69: Line 116:
 
   cd ../root
 
   cd ../root
 
   mkdir .ssh
 
   mkdir .ssh
 +
  chmod 700 .ssh
 
   cp $HOME/.ssh/authorized_keys .ssh/authorized_keys
 
   cp $HOME/.ssh/authorized_keys .ssh/authorized_keys
 +
  chmod 600 .ssh/authorized_keys
  
 
'''4) create the hddrootfs.buffalo.updated again'''
 
'''4) create the hddrootfs.buffalo.updated again'''
Line 84: Line 133:
  
 
   zip -e hddrootfs.img hddrootfs.buffalo.updated
 
   zip -e hddrootfs.img hddrootfs.buffalo.updated
 +
 
 +
'''6) Perform the update using the normal Buffalo updater (probably after [http://www.youtube.com/watch?v=Pu4HI6XoSB8 enabling the debug option] to reload the image)'''
  
'''6) Perform the update using the normal Buffalo updater (probably after enabling the debug option to reload the image)'''
+
'''7) See the notes about editing the /etc/nas_feature file below and elsewhere on this WIKI.'''  
  
'''7) Use ssh to root@ip_address'''
+
'''   This is a file that is generated during boot time. ''' The entry SUPPORT_SFTP=0 needs to be changed to SUPPORT_SFTP=1 in order for sshd to start via /etc/init.d/sshd.sh. The following acp_commander command may work post reboot:
  
 +
  java -jar acp_commander.jar -t <your_NAS_IP> -ip <your_NAS_IP> -pw <your_NAS_admin_password> -c "sed -i 's/SUPPORT_SFTP=0/SUPPORT_SFTP=1/' /etc/nas_feature
 +
 +
'''8) Use ssh to root@ip_address'''
  
 
=== Firmware 1.40 ===
 
=== Firmware 1.40 ===
Line 184: Line 238:
 
== NFS ==
 
== NFS ==
 
To enable NFS on these boxes (specifically firmware versions 1.41 and 1.42), follow the above instructions to
 
To enable NFS on these boxes (specifically firmware versions 1.41 and 1.42), follow the above instructions to
install IPKG.
+
install IPKG.  See also the section on '''TeraStation "Conversion"'''.
  
 
Then run:
 
Then run:
Line 205: Line 259:
  
 
You're done.
 
You're done.
 +
 +
== TeraStation "Conversion" ==
 +
 +
'''[Moderator]<br>
 +
According to our board rules, any kind of description, which violates copyrights or licenses, is not allowed.<br>
 +
The "conversion" to a TeraStation would potentially violate licensing agreements Buffalo made with third party companies. Therefore this content was removed.<br>
 +
'''[/Moderator]
  
 
== Firmware Information ==
 
== Firmware Information ==
 
Firmware v1.37 is available at [http://www.buffalotech.com/support/downloads/linkstation-duo-ls-wxlr1/] or direct link [http://www.buffalotech.com/support/getfile/ls_series-137.zip]
 
Firmware v1.37 is available at [http://www.buffalotech.com/support/downloads/linkstation-duo-ls-wxlr1/] or direct link [http://www.buffalotech.com/support/getfile/ls_series-137.zip]
  
Generated with v1.24 of 5th February 2010 from 2TB LS-WX2.0TL/R1
+
Generated with v1.58 of 17th April 2012 from 4TB LS-WX4.0TL/R1
  
 
=== uname -a ===
 
=== uname -a ===
  Linux LS-WXLE0F 2.6.22.18-88f6281 #50 Tue Dec 22 18:06:23 JST 2009 armv5tejl unknown
+
  Linux LS-WXLE0F 2.6.31.8 #1 Fri Apr 6 14:14:26 JST 2012 armv5tel unknown
  
 
=== cpuinfo ===
 
=== cpuinfo ===
  Processor : ARM926EJ-S rev 1 (v5l)
+
  Processor     : Feroceon 88FR131 rev 1 (v5l)
  BogoMIPS : 599.65
+
  BogoMIPS       : 598.01
  Features : swp half thumb fastmult edsp  
+
  Features       : swp half thumb fastmult edsp
  CPU implementer : 0x56
+
  CPU implementer       : 0x56
 
  CPU architecture: 5TE
 
  CPU architecture: 5TE
  CPU variant : 0x2
+
  CPU variant   : 0x2
  CPU part : 0x131
+
  CPU part       : 0x131
  CPU revision : 1
+
  CPU revision   : 1
Cache type : write-back
+
Cache clean : cp15 c7 ops
+
Cache lockdown : format C
+
Cache format : Harvard
+
I size : 16384
+
I assoc : 4
+
I line length : 32
+
I sets : 128
+
D size : 16384
+
D assoc : 4
+
D line length : 32
+
D sets : 128
+
 
   
 
   
  Hardware : Feroceon-KW
+
  Hardware       : Feroceon-KW
  Revision : 0000
+
  Revision       : 0000
  Serial : 0000000000000000
+
  Serial         : 0000000000000000
  
 
=== meminfo ===
 
=== meminfo ===
  MemTotal:       125832 kB
+
  MemTotal:         117496 kB
  MemFree:         13080 kB
+
  MemFree:           2728 kB
  Buffers:          136 kB
+
  Buffers:          27336 kB
  Cached:         57636 kB
+
  Cached:           63340 kB
  SwapCached:          0 kB
+
  SwapCached:          272 kB
  Active:          46468 kB
+
  Active:            19448 kB
  Inactive:       39416 kB
+
Inactive:          83304 kB
  SwapTotal:      999864 kB
+
Active(anon):      4832 kB
  SwapFree:       999864 kB
+
  Inactive(anon):     7516 kB
  Dirty:               4 kB
+
  Active(file):      14616 kB
  Writeback:           0 kB
+
Inactive(file):    75788 kB
  AnonPages:       27544 kB
+
Unevictable:          0 kB
  Mapped:         13328 kB
+
Mlocked:              0 kB
  Slab:           20536 kB
+
SwapTotal:        999864 kB
  SReclaimable:     3100 kB
+
  SwapFree:         999592 kB
  SUnreclaim:     17436 kB
+
  Dirty:               56 kB
  PageTables:       1060 kB
+
  Writeback:             0 kB
  NFS_Unstable:       0 kB
+
  AnonPages:         11816 kB
  Bounce:             0 kB
+
  Mapped:             7996 kB
  CommitLimit:   1062780 kB
+
  Slab:               8440 kB
  Committed_AS:   313276 kB
+
  SReclaimable:       2284 kB
  VmallocTotal:   516096 kB
+
  SUnreclaim:         6156 kB
  VmallocUsed:     17476 kB
+
  PageTables:         560 kB
  VmallocChunk:   491516 kB
+
  NFS_Unstable:         0 kB
 +
  Bounce:               0 kB
 +
WritebackTmp:          0 kB
 +
  CommitLimit:     1058612 kB
 +
  Committed_AS:     81660 kB
 +
  VmallocTotal:     516096 kB
 +
  VmallocUsed:       17832 kB
 +
  VmallocChunk:     491516 kB
 +
 
  
 
=== dmesg ===
 
=== dmesg ===
Linux version 2.6.22.18-88f6281 (root@build2.dd-hot24.nas.buffalo.local) (gcc version 4.2.0 20070413 (prerelease)) #50 Tue Dec 22 18:06:23 JST 2009
+
  Normal zone: 32512 pages, LIFO batch:7
CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
+
  Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Machine: Feroceon-KW
+
  Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.21 mtdparts=nand_mtd:0x1000000(boot),0xfe800000(rootfs),0x800000(reserve)
Using UBoot passing parameters structure
+
Memory policy: ECC disabled, Data cache writeback
+
On node 0 totalpages: 32768
+
  DMA zone: 256 pages used for memmap
+
  DMA zone: 0 pages reserved
+
  DMA zone: 32512 pages, LIFO batch:7
+
  Normal zone: 0 pages used for memmap
+
CPU0: D VIVT write-back cache
+
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
+
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
+
  Built 1 zonelists.  Total pages: 32512
+
  Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.15 mtdparts=nand_mtd:0x1000000(boot),0xe800000(rootfs),0x800000(reserve)
+
 
  PID hash table entries: 512 (order: 9, 2048 bytes)
 
  PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
 
 
  Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 
  Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
 
  Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
 
  Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  Memory: 64MB 64MB 0MB 0MB = 128MB total
+
  Memory: 64MB 64MB = 128MB total
  Memory: 113280KB available (3772K code, 301K data, 124K init)
+
  Memory: 104916KB available (4972K code, 271K data, 152K init, 0K highmem)
  Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
+
Hierarchical RCU implementation.
 +
NR_IRQS:128
 +
Console: colour dummy device 80x30
 +
  Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
 
  Mount-cache hash table entries: 512
 
  Mount-cache hash table entries: 512
 
  CPU: Testing write buffer coherency: ok
 
  CPU: Testing write buffer coherency: ok
  NET: Registered protocol family 16  
+
xor: measuring software checksum speed
   
+
    arm4regs  :  544.400 MB/sec
 +
    8regs    :  413.200 MB/sec
 +
    32regs    :  462.400 MB/sec
 +
xor: using function: arm4regs (544.400 MB/sec)
 +
  NET: Registered protocol family 16
 +
  Feroceon L2: Enabling L2
 +
Feroceon L2: Cache support initialised.
 +
 
 
  CPU Interface
 
  CPU Interface
 
  -------------
 
  -------------
Line 299: Line 353:
 
  SDRAM_CS2 ....disable
 
  SDRAM_CS2 ....disable
 
  SDRAM_CS3 ....disable
 
  SDRAM_CS3 ....disable
  PEX0_MEM ....base e8000000, size 128MB  
+
  PEX0_MEM ....base e0000000, size 128MB  
 
  PEX0_IO ....base f2000000, size  1MB  
 
  PEX0_IO ....base f2000000, size  1MB  
 +
PEX1_MEM ....no such
 +
PEX1_IO ....no such
 
  INTER_REGS ....base f1000000, size  1MB  
 
  INTER_REGS ....base f1000000, size  1MB  
 
  NFLASH_CS ....base fa000000, size  2MB  
 
  NFLASH_CS ....base fa000000, size  2MB  
Line 307: Line 363:
 
  DEV_BOOTCS ....no such
 
  DEV_BOOTCS ....no such
 
  CRYPT_ENG ....base f0000000, size  2MB  
 
  CRYPT_ENG ....base f0000000, size  2MB  
+
 
   Marvell Development Board (LSP Version KW_LSP_4.2.6)-- MVWXL  Soc: 88F6281 A0 LE
+
   Marvell Development Board (LSP Version KW_LSP_5.1.3_patch13)-- MVWXL  Soc: 88F6281 A1 LE
+
 
 
   Detected Tclk 166666667 and SysClk 300000000  
 
   Detected Tclk 166666667 and SysClk 300000000  
 
  MV Buttons Device Load
 
  MV Buttons Device Load
  Marvell USB EHCI Host controller #0: c1432600
+
  Marvell USB EHCI Host controller #0: c403e800
 
  PEX0 interface detected no Link.
 
  PEX0 interface detected no Link.
 
  PCI: bus0: Fast back to back transfers enabled
 
  PCI: bus0: Fast back to back transfers enabled
 +
mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
 +
bio: create slab <bio-0> at 0
 
  SCSI subsystem initialized
 
  SCSI subsystem initialized
 +
raid6: int32x1    61 MB/s
 +
raid6: int32x2    70 MB/s
 +
raid6: int32x4    67 MB/s
 +
raid6: int32x8    59 MB/s
 +
raid6: using algorithm int32x2 (70 MB/s)
 
  NET: Registered protocol family 2
 
  NET: Registered protocol family 2
Time: kw_clocksource clocksource has been installed.
 
 
  IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 
  IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 
  TCP established hash table entries: 4096 (order: 3, 32768 bytes)
 
  TCP established hash table entries: 4096 (order: 3, 32768 bytes)
Line 323: Line 385:
 
  TCP: Hash tables configured (established 4096 bind 4096)
 
  TCP: Hash tables configured (established 4096 bind 4096)
 
  TCP reno registered
 
  TCP reno registered
  checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
+
  NET: Registered protocol family 1
 +
Trying to unpack rootfs image as initramfs...
 +
rootfs image is not initramfs (no cpio magic); looks like an initrd
 
  Freeing initrd memory: 12288K
 
  Freeing initrd memory: 12288K
 +
RTC has been updated!!!
 +
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
 
  RTC registered
 
  RTC registered
 
  MICON ctrl (C) BUFFALO INC. V.1.00 installed.
 
  MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Line 330: Line 396:
 
  Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
 
  Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
 
  Kernel event proc (C) BUFFALO INC. V.1.00 installed.
 
  Kernel event proc (C) BUFFALO INC. V.1.00 installed.
  Use the XOR engines (acceleration) for enhancing the following functions:
+
  initial_polarity_val = 0x00000000
  o RAID 5 Xor calculation
+
initial_polarity_val_high = 0x00038e50
  o kernel memcpy
+
Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
  o kenrel memzero
+
  XOR registered 4 channels 
  Number of XOR engines to use: 4
+
XOR 2nd invalidate WA enabled
  cesadev_init(c0011e38)
+
  cesadev_init(c000fd64)    
  MV Buttons Driver Load
+
  MV Buttons Driver Load    
  VFS: Disk quotas dquot_6.5.1
+
  VFS: Disk quotas dquot_6.5.2
 
  Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 
  Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
+
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
  SGI XFS with ACLs, large block numbers, no debug enabled
+
  JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
 +
fuse init (API version 7.12)
 +
  SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
 
  SGI XFS Quota Management subsystem
 
  SGI XFS Quota Management subsystem
 +
msgmni has been set to 229 
 +
alg: No test for cipher_null (cipher_null-generic)
 +
alg: No test for ecb(cipher_null) (ecb-cipher_null)
 +
alg: No test for digest_null (digest_null-generic)
 +
alg: No test for compress_null (compress_null-generic)
 +
alg: No test for stdrng (krng)
 +
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
 +
async_tx: api initialized (sync-only)
 +
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
 
  io scheduler noop registered
 
  io scheduler noop registered
 
  io scheduler anticipatory registered (default)
 
  io scheduler anticipatory registered (default)
  RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize
+
  Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  loop: module loaded
+
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
 +
console [ttyS0] enabled   
 +
serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
 +
brd: module loaded         
 +
  loop: module loaded        
 +
Integrated Sata device found
 +
mvSataInitAdapter : regVal changed(0x00000010)
 +
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
 +
scsi0 : Marvell SCSI to SATA adapter
 +
scsi1 : Marvell SCSI to SATA adapter
 +
** BUFFALO Disable Command Queuing Function [0 0] **
 +
** BUFFALO Disable Command Queuing Function [0 1] **
 +
scsi 0:0:0:0: Direct-Access    Seagate  ST2000DL003-9VT1 CC32 PQ: 0 ANSI: 5
 +
scsi 1:0:0:0: Direct-Access    Seagate  ST2000DL003-9VT1 CC32 PQ: 0 ANSI: 5
 +
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
 +
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
 +
sd 0:0:0:0: [sda] 0-byte physical blocks
 +
sd 0:0:0:0: [sda] Write Protect is off
 +
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
 +
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
 +
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
 +
sd 1:0:0:0: [sdb] 0-byte physical blocks
 +
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 +
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
 +
sd 0:0:0:0: Attached scsi generic sg0 type 0
 +
sd 1:0:0:0: Attached scsi generic sg1 type 0
 
  Loading Marvell Ethernet Driver:
 
  Loading Marvell Ethernet Driver:
 
   o Cached descriptors in DRAM
 
   o Cached descriptors in DRAM
   o DRAM SW cache-coherency
+
   o DRAM SW cache-coherency  
 +
  o 2 Giga ports supported 
 
   o Single RX Queue support - ETH_DEF_RXQ=0
 
   o Single RX Queue support - ETH_DEF_RXQ=0
 
   o Single TX Queue support - ETH_DEF_TXQ=0
 
   o Single TX Queue support - ETH_DEF_TXQ=0
   o Receive checksum offload enabled
+
   o Receive checksum offload supported
   o Transmit checksum offload enabled
+
   o Transmit checksum offload supported
   o Network Fast Processing (Routing) supported
+
   o Network Fast Processing (Routing) supported - (Disabled)
 
   o Driver ERROR statistics enabled
 
   o Driver ERROR statistics enabled
 
   o Driver INFO statistics enabled
 
   o Driver INFO statistics enabled
   o Proc tool API enabled
+
   o Proc tool API enabled  
 +
  o SKB Reuse supported - (Disabled)
 +
  o SKB Recycle supported - (Disabled)
 +
  o Gateway support enabled
 +
      o Using Marvell Header Mode
 +
      o L2 IGMP support
 
   o Rx descripors: q0=128
 
   o Rx descripors: q0=128
 
   o Tx descripors: q0=532
 
   o Tx descripors: q0=532
 
   o Loading network interface(s):
 
   o Loading network interface(s):
    o eth0, ifindex = 1, GbE port = 0
+
      o register under mv88fx_eth platform
    o eth1, ifindex = 2, GbE port = 1
+
  sda:    o eth0, ifindex = 2, GbE port = 0
+
mvFpRuleDb (c10ac000): 1024 entries, 4096 bytes
+
Integrated Sata device found
+
scsi0 : Marvell SCSI to SATA adapter
+
scsi1 : Marvell SCSI to SATA adapter
+
scsi 0:0:0:0: Direct-Access    WDC      WD10EADS-00M2B0  01.0 PQ: 0 ANSI: 5
+
scsi 1:0:0:0: Direct-Access    WDC      WD10EADS-00M2B0  01.0 PQ: 0 ANSI: 5
+
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
+
sd 0:0:0:0: [sda] Write Protect is off
+
sd 0:0:0:0: [sda] Mode Sense: 23 00 10 00
+
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
+
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
+
sd 0:0:0:0: [sda] Write Protect is off
+
sd 0:0:0:0: [sda] Mode Sense: 23 00 10 00
+
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
+
  sda: sda1 sda2 sda3 sda4 sda5 sda6
+
sd 0:0:0:0: [sda] Attached SCSI disk
+
sd 1:0:0:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB)
+
 
  sd 1:0:0:0: [sdb] Write Protect is off
 
  sd 1:0:0:0: [sdb] Write Protect is off
  sd 1:0:0:0: [sdb] Mode Sense: 23 00 10 00
+
  sd 1:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
+
      o eth1, ifindex = 3, GbE port = 1
  sd 1:0:0:0: [sdb] 1953525168 512-byte hardware sectors (1000205 MB)
+
                           
sd 1:0:0:0: [sdb] Write Protect is off
+
  mvFpRuleDb (c4d6f000): 1024 entries, 4096 bytes
sd 1:0:0:0: [sdb] Mode Sense: 23 00 10 00
+
  sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
+
  sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
  sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
+
  sd 1:0:0:0: [sdb] Attached SCSI disk
+
sd 0:0:0:0: Attached scsi generic sg0 type 0
+
sd 1:0:0:0: Attached scsi generic sg1 type 0
+
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
+
 
  SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
 
  SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
  NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)
+
  sdb:                     
  Scanning device for bad blocks
+
  NAND device: Manufacturer ID: 0xc1, Chip ID: 0xc1 (Unknown NAND 128MiB 3,3V 16-bit)
  3 cmdlinepart partitions found on MTD device nand_mtd
+
  NAND bus width 8 instead 16 bit
Using command line partition definition
+
  No NAND device found!!!   
Creating 3 MTD partitions on "nand_mtd":
+
0x00000000-0x01000000 : "boot"
+
0x01000000-0x0f800000 : "rootfs"
+
0x0f800000-0x10000000 : "reserve"
+
 
  mice: PS/2 mouse device common for all mice
 
  mice: PS/2 mouse device common for all mice
 
  Linux telephony interface: v1.00
 
  Linux telephony interface: v1.00
Line 406: Line 487:
 
  md: raid0 personality registered for level 0
 
  md: raid0 personality registered for level 0
 
  md: raid1 personality registered for level 1
 
  md: raid1 personality registered for level 1
raid6: int32x1    55 MB/s
 
raid6: int32x2    65 MB/s
 
raid6: int32x4    65 MB/s
 
raid6: int32x8    57 MB/s
 
raid6: using algorithm int32x2 (65 MB/s)
 
 
  md: raid6 personality registered for level 6
 
  md: raid6 personality registered for level 6
 
  md: raid5 personality registered for level 5
 
  md: raid5 personality registered for level 5
 
  md: raid4 personality registered for level 4
 
  md: raid4 personality registered for level 4
raid5: measuring checksumming speed
+
  device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
    arm4regs  :  545.200 MB/sec
+
  sda1 sda2 sda3 sda4 sda5 sda6
    8regs    :  379.200 MB/sec
+
  sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    32regs    :  452.400 MB/sec
+
  TCP cubic registered      
raid5: using function: arm4regs (545.200 MB/sec)
+
  device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
+
  dm_crypt using the OCF package.
+
  TCP cubic registered
+
NET: Registered protocol family 1
+
 
  NET: Registered protocol family 17
 
  NET: Registered protocol family 17
 +
NET: Registered protocol family 15
 +
RPC: Registered udp transport module.
 +
RPC: Registered tcp transport module.
 +
sd 0:0:0:0: [sda] Attached SCSI disk
 +
rtc mv_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
 +
  sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
 +
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
 +
sd 1:0:0:0: [sdb] Attached SCSI disk
 +
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: Autodetecting RAID arrays.
  md: autorun ...
+
md: Scanned 0 and added 0 devices.
  md: ... autorun DONE.
+
  md: autorun ...            
  RAMDISK: Compressed image found at block 0
+
  md: ... autorun DONE.      
  VFS: Mounted root (ext2 filesystem).
+
  RAMDISK: gzip image found at block 0
md: md10 stopped.
+
  VFS: Mounted root (ext2 filesystem) on device 1:0.
md: md1 stopped.
+
  md: md0 stopped.          
  md: md0 stopped.
+
  md: bind<sdb1>            
  md: bind<sdb1>
+
  md: bind<sda1>            
  md: bind<sda1>
+
 
  raid1: raid set md0 active with 2 out of 2 mirrors
 
  raid1: raid set md0 active with 2 out of 2 mirrors
 +
md0: detected capacity change from 0 to 1023868928
 +
  md0: unknown partition table
 
  kjournald starting.  Commit interval 5 seconds
 
  kjournald starting.  Commit interval 5 seconds
 
  EXT3 FS on md0, internal journal
 
  EXT3 FS on md0, internal journal
  EXT3-fs: mounted filesystem with ordered data mode.
+
  EXT3-fs: mounted filesystem with writeback data mode.
  md: md10 stopped.
+
  md: md10 stopped.          
  md: bind<sdb5>
+
  md: bind<sdb5>            
  md: bind<sda5>
+
  md: bind<sda5>            
 
  raid1: raid set md10 active with 2 out of 2 mirrors
 
  raid1: raid set md10 active with 2 out of 2 mirrors
  md: md1 stopped.
+
md10: detected capacity change from 0 to 1023868928
  md: bind<sdb2>
+
  md: md1 stopped.          
  md: bind<sda2>
+
  md: bind<sdb2>            
md: md1: raid array is not clean -- starting background reconstruction
+
  md: bind<sda2>            
 
  raid1: raid set md1 active with 2 out of 2 mirrors
 
  raid1: raid set md1 active with 2 out of 2 mirrors
  md: resync of RAID array md1
+
  md1: detected capacity change from 0 to 5119934464
  md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
+
  md1: unknown partition table
  md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for resync.
+
  kjournald starting. Commit interval 5 seconds
  md: using 128k window, over a total of 4999936 blocks.
+
  EXT3 FS on md1, internal journal
  Filesystem "md1": Disabling barriers, not supported by the underlying device
+
  EXT3-fs: recovery complete.  
XFS mounting filesystem md1
+
  EXT3-fs: mounted filesystem with writeback data mode.
  Starting XFS recovery on filesystem: md1 (logdev: internal)
+
  kjournald starting.  Commit interval 5 seconds
  Ending XFS recovery on filesystem: md1 (logdev: internal)
+
  EXT3 FS on md1, internal journal
  Filesystem "md1": Disabling barriers, not supported by the underlying device
+
  EXT3-fs: mounted filesystem with writeback data mode.
XFS mounting filesystem md1
+
  VFS: Mounted root (ext3 filesystem) on device 9:1.
Ending clean XFS mount for filesystem: md1
+
  VFS: Mounted root (xfs filesystem).
+
 
  Trying to move old root to /initrd ... okay
 
  Trying to move old root to /initrd ... okay
  Freeing init memory: 124K
+
  Freeing init memory: 152K 
  Warning: unable to open an initial console.
+
  EXT3-fs: Unrecognized mount option "relatime" or missing value
Filesystem "md1": Disabling barriers, not supported by the underlying device
+
  md10: unknown partition table
  Adding 999864k swap on /dev/md10.  Priority:-1 extents:1 across:999864k
+
  Adding 999864k swap on /dev/md10.  Priority:-1 extents:1 across:999864k  
 
  kjournald starting.  Commit interval 5 seconds
 
  kjournald starting.  Commit interval 5 seconds
 
  EXT3 FS on md0, internal journal
 
  EXT3 FS on md0, internal journal
  EXT3-fs: mounted filesystem with ordered data mode.
+
  EXT3-fs: mounted filesystem with writeback data mode.
 
  usbcore: registered new interface driver usbfs
 
  usbcore: registered new interface driver usbfs
 
  usbcore: registered new interface driver hub
 
  usbcore: registered new interface driver hub
 
  usbcore: registered new device driver usb
 
  usbcore: registered new device driver usb
 +
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 
  ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
 
  ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
 
  ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
 
  ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
 
  ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
 
  ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
  ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
+
  ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
 
  usb usb1: configuration #1 chosen from 1 choice
 
  usb usb1: configuration #1 chosen from 1 choice
  hub 1-0:1.0: USB hub found
+
  hub 1-0:1.0: USB hub found
 
  hub 1-0:1.0: 1 port detected
 
  hub 1-0:1.0: 1 port detected
  ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
+
  ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  USB Universal Host Controller Interface driver v3.0
+
  uhci_hcd: USB Universal Host Controller Interface driver
 
  Initializing USB Mass Storage driver...
 
  Initializing USB Mass Storage driver...
 
  usbcore: registered new interface driver usb-storage
 
  usbcore: registered new interface driver usb-storage
 
  USB Mass Storage support registered.
 
  USB Mass Storage support registered.
 
  usbcore: registered new interface driver usblp
 
  usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
+
  eth1: link down            
eth1: change mtu 1500 (buffer-size 1536) to 9676 (buffer-size 9728)
+
  eth1: started              
  eth1: link down
+
  eth1: started
+
 
  eth1: link up, full duplex, speed 1 Gbps
 
  eth1: link up, full duplex, speed 1 Gbps
  md: md2 stopped.
+
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
  md: bind<sdb6>
+
  md: md2 stopped.          
  md: bind<sda6>
+
  md: bind<sdb6>            
md: md2: raid array is not clean -- starting background reconstruction
+
  md: bind<sda6>            
 
  raid1: raid set md2 active with 2 out of 2 mirrors
 
  raid1: raid set md2 active with 2 out of 2 mirrors
  md: delaying resync of md2 until md1 has finished (they share one or more physical units)
+
  md2: detected capacity change from 0 to 1984830812160
Filesystem "md2": Disabling barriers, not supported by the underlying device
+
  md2: unknown partition table
  XFS mounting filesystem md2
+
  XFS mounting filesystem md2  
Starting XFS recovery on filesystem: md2 (logdev: internal)
+
  Ending clean XFS mount for filesystem: md2
  Ending XFS recovery on filesystem: md2 (logdev: internal)
+
 
  bfSetMagicKey > Changed to 0x71 from 0x5c
 
  bfSetMagicKey > Changed to 0x71 from 0x5c
  md: md1: resync done.
+
  program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
md: resync of RAID array md2
+
md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
+
md: using maximum available idle IO bandwidth (but not more than 50000 KB/sec) for resync.
+
md: using 128k window, over a total of 961749888 blocks.
+
RAID1 conf printout:
+
  --- wd:2 rd:2
+
  disk 0, wo:0, o:1, dev:sda2
+
  disk 1, wo:0, o:1, dev:sdb2
+
  
 
== References ==
 
== References ==

Revision as of 14:18, 13 March 2013

LinkStation™ Duo LS-WXL

Contents

LinkStation Duo (LS-WXL)

Variants

  • 1.0TB LS-WX1.0TL/R1
  • 2.0TB LS-WX2.0TL/R1
  • 4.0TB LS-WX4.0TL/R1

Commercial description

LS-WXL : LinkStation™ Duo @ BUFFALO

The LinkStation™ Duo is a high performance, multimedia, shared RAID network storage solution for the home and small office that requires a central location to share data files, photos, video and music.


The unit is a two drive NAS solution that can be configured in RAID 0 for performance or RAID 1 for redundant storage. In addition to the storage capabilities, stream multimedia to a PC, a Mac, a Buffalo™ LinkTheater™ and other DLNA CERTIFIED™ or UPNP media player, as well as sharing movies, photos and documents in a home or small business network via the Internet with the WebAccess feature. The LinkStation™ Duo seamlessly integrates with iTunes® and allows access to music files from your iTunes® software.


With features such as enhanced performance of up to 40MB/s, quick swap via the front panel with two removable drives and easy set-up via a simple web interface, the LinkStation™ Duo is the perfect solution to store, save & share your digital life from one central place.

Gain SSH Access

Source / Credit : [1]

See notes below for Firmware 1.41.

The following passwords are for extracting the firmware, not accessing the live box!

Firmware 1.64

Use the following password:

 YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4

Firmware 1.63

Use the following password:

 YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4

Firmware 1.62

Use the following password:

 1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l

Firmware 1.60

Use the following password:

 YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4

Firmware 1.58

Use the following password:

 IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty

Firmware 1.57

Use the following password:

 1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l

Firmware 1.56

Use the following password:

 aAhvlM1Yp7_2VSm6BhgkmTOrCN1JyE0C5Q6cB3oBB

Firmware 1.54

Use the following password:

 1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l

Firmware 1.52

Use the following password:

 IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty

Firmware 1.42

Use the following password:

 IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty

Firmware 1.41 and later

In this version, it appears that acp_commander no longer provides the capability to execute commands, which prevents most earlier strategies from working. However, it is quite straightforward to solve this problem by using a custom firmware image. The basic principle is described in Create a custom firmware image.


Start with the files downloaded from Buffalo's website. Then, ideally on a Linux platform of some sort...


1) unzip the hddrootfs.img

 unzip hddrootfs.img

provide the right password for the firmware.

For version 1.41, the third zip password listed in the above mentioned reference proved successful:

 YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4

The result of this is a hddrootfs.buffalo.updated...this is the tared root-filesystem of the firmware image.

2) create a folder where you want to untar the rootfs and untar it

 mkdir <foldername>
 cd <foldername>
 tar -vxz --numeric-owner -p -f ../hddrootfs.buffalo.updated

3) modify the image to enable sshd logins. This copies an authorized_keys file from your home directory on the Linux box, but any mechanism to make an authorized_keys file will work

 cd etc
 sed -i 's/PermitRootLogin/# PermitRootLogin/' sshd_config
 cd ../root
 mkdir .ssh
 chmod 700 .ssh
 cp $HOME/.ssh/authorized_keys .ssh/authorized_keys
 chmod 600 .ssh/authorized_keys

4) create the hddrootfs.buffalo.updated again (you should be in the folder where you extracted the image)

 tar -vczf ../hddrootfs.buffalo.updated-new *
 cd ..
 mv hddrootfs.buffalo.updated hddrootfs.buffalo.updated-old
 mv hddrootfs.buffalo.updated-new hddrootfs.buffalo.updated

5) create the hddrootfs.img again

CAUTION: if you use the wrong password, the firmware updater / the linkstation will fail to unzip the hddrootfs.img

 zip -e hddrootfs.img hddrootfs.buffalo.updated
 

6) Perform the update using the normal Buffalo updater (probably after enabling the debug option to reload the image)

7) See the notes about editing the /etc/nas_feature file below and elsewhere on this WIKI.

This is a file that is generated during boot time. The entry SUPPORT_SFTP=0 needs to be changed to SUPPORT_SFTP=1 in order for sshd to start via /etc/init.d/sshd.sh. The following acp_commander command may work post reboot:

 java -jar acp_commander.jar -t <your_NAS_IP> -ip <your_NAS_IP> -pw <your_NAS_admin_password> -c "sed -i 's/SUPPORT_SFTP=0/SUPPORT_SFTP=1/' /etc/nas_feature

8) Use ssh to root@ip_address

Firmware 1.40

Method 1

Follow the instructions in Open Stock Firmware LS-VL, which works for all devices sharing that firmware.

Method 2

Firmware 1.40 has a different sshd_config with 'PermitRootLogin' set to 'no'. The permissions on this file are not open like the pam sshd file, so it is necessary to add a back door prior to upgrading to 1.40. One technique would be to perform the following

echo '* * * * * /bin/bash /tmp/cron.root.sh' >> /etc/cron/crontabs/root

After the firmware upgrade is complete, you can add commands to /tmp/cron.root.sh and they will be executed once a minute with root privileges. You can use this to replace the sshd_config. You may also wish to keep the cron job enabled in case of future issues, though it does pose a security risk.


Firmware prior to 1.40

Tested with firmware v1.33 and v1.34, but does not work with v1.40. It is possible to gain root access via the web server.

1. Create a shared folder name 'www'

2. Enable the web server in Network -> Web Server

3. Set the Port No. 81

4. Set the target folder to www

5. The default index.php is showing phpinfo();

6. Now with PHP enabled, you can edit /etc/pam.d/sshd via a simple script

7. comment out all lines that begin with 'auth'

8. add the line: auth required pam_permit.so

a simple PHP script like :

<?php
$file = '../../../../etc/pam.d/sshd';
$fh=fopen($file, 'w') or die("can't open file");
$stringData = "account  required   pam_unix.so\n";
fwrite($fh, $stringData);
$stringData = "session  required   pam_unix.so\n";
fwrite($fh, $stringData);
$stringData = "auth required pam_permit.so\n";
fwrite($fh, $stringData);
fclose($fh);
?>

9. Now, you should be able to SSH to LinkStation Duo without any password.

Note: the file /etc/pam.d/sshd gets re-created each time the system starts up

Best way to get permanent root access is to install your SSH public key in the 'authorized_keys' file.

  1. mkdir /root/.ssh
  2. chmod 700 /root/.ssh

... install your SSH public key in /root/.ssh/authorized_keys

  1. chmod 600 /root/.ssh/authorized_keys

N.B. The ssh-copy-id program, which is distributed with OpenSSH, can also be used to easily copy across your SSH public key onto the LinkStation.

Second method to gain root access

Download acp_commander (See http://buffalo.nas-central.org/index.php/Open_Stock_Firmware)

1. Use acp_commander and the sed command (built-in) to edit the /etc/pam.d/sshd file:

 java -jar acp_commander.jar -t <IP_OF_WXL> -ip <IP_OF_WXL> -pw password -c "sed 's/auth/#auth/' </etc/pam.d/sshd >/etc/pam.d/sshd.new"

2. Now add the required auth parameters:

 java -jar acp_commander.jar -t <IP_OF_WXL> -ip <IP_OF_WXL> -pw password -c "echo 'auth required pam_permit.so' >>/etc/pam.d/sshd.new"

3. Finally, replace the edited version to the right place:

 java -jar acp_commander.jar -t <IP_OF_WXL> -ip <IP_OF_WXL> -pw password -c "cp /etc/pam.d/sshd.new /etc/pam.d/sshd"

NOTE: acp_commander may complain about the password being incorrect but this should not affect the outcome. This second method was tested with firmware v1.34. You could potentially use interactive mode in acp_commander (the -s option) to save keystrokes, but the basic approach is the same.

At this point you should be able to get root access without the need of the password. To maintain root access, the public key recommendation remains as noted above. However, every time the box restarts and /etc/pam.d/sshd is replaced, you could rerun the third command above to regain root access without the password.

IPKG

Once you have root access, you can start to install packages from IPKG. To do so, first run the following

cd /tmp
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/teraprov2-bootstrap_1.2-7_arm.xsh
sh ./teraprov2-bootstrap_1.2-7_arm.xsh

Once that's done, edit /opt/etc/ipkg.conf and add

src cs08q1 http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/
# src cs08q1-unstable http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/

(If you wish to use the unstable branch you can uncomment it.)

After that just run `ipkg update` and you can then install packages with `ipkg install package`

NFS

To enable NFS on these boxes (specifically firmware versions 1.41 and 1.42), follow the above instructions to install IPKG. See also the section on TeraStation "Conversion".

Then run:

ipkg install e2fslibs
ipkg install portmap

Next, obtain the estimable Kenatonline's NFS Tools:

cd /mnt/array1
wget http://downloads.buffalo.nas-central.org/Users/kenatonline/NFSKernel/nfstools.tar.gz
cd /
tar xvzf /mnt/array1/nfstools.tar.gz

Finally, create an /etc/exports file according to taste, and start everything:

cd /opt/etc/init.d
S55portmap start
S99nfs start

You're done.

TeraStation "Conversion"

[Moderator]
According to our board rules, any kind of description, which violates copyrights or licenses, is not allowed.
The "conversion" to a TeraStation would potentially violate licensing agreements Buffalo made with third party companies. Therefore this content was removed.
[/Moderator]

Firmware Information

Firmware v1.37 is available at [2] or direct link [3]

Generated with v1.58 of 17th April 2012 from 4TB LS-WX4.0TL/R1

uname -a

Linux LS-WXLE0F 2.6.31.8 #1 Fri Apr 6 14:14:26 JST 2012 armv5tel unknown

cpuinfo

Processor      : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS       : 598.01
Features       : swp half thumb fastmult edsp
CPU implementer        : 0x56
CPU architecture: 5TE
CPU variant    : 0x2
CPU part       : 0x131
CPU revision   : 1

Hardware       : Feroceon-KW
Revision       : 0000
Serial         : 0000000000000000

meminfo

MemTotal:         117496 kB
MemFree:            2728 kB
Buffers:           27336 kB
Cached:            63340 kB
SwapCached:          272 kB
Active:            19448 kB
Inactive:          83304 kB
Active(anon):       4832 kB
Inactive(anon):     7516 kB
Active(file):      14616 kB
Inactive(file):    75788 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        999864 kB
SwapFree:         999592 kB
Dirty:                56 kB
Writeback:             0 kB
AnonPages:         11816 kB
Mapped:             7996 kB
Slab:               8440 kB
SReclaimable:       2284 kB
SUnreclaim:         6156 kB
PageTables:          560 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1058612 kB
Committed_AS:      81660 kB
VmallocTotal:     516096 kB
VmallocUsed:       17832 kB
VmallocChunk:     491516 kB


dmesg

 Normal zone: 32512 pages, LIFO batch:7
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.21 mtdparts=nand_mtd:0x1000000(boot),0xfe800000(rootfs),0x800000(reserve)
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB 64MB = 128MB total
Memory: 104916KB available (4972K code, 271K data, 152K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :   544.400 MB/sec
   8regs     :   413.200 MB/sec
   32regs    :   462.400 MB/sec
xor: using function: arm4regs (544.400 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size  64MB 
SDRAM_CS1 ....base 04000000, size  64MB 
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PEX1_MEM ....no such
PEX1_IO ....no such
INTER_REGS ....base f1000000, size   1MB 
NFLASH_CS ....base fa000000, size   2MB 
SPI_CS ....base f4000000, size  16MB 
BOOT_ROM_CS ....no such
DEV_BOOTCS ....no such
CRYPT_ENG ....base f0000000, size   2MB 
  Marvell Development Board (LSP Version KW_LSP_5.1.3_patch13)-- MVWXL  Soc: 88F6281 A1 LE
 Detected Tclk 166666667 and SysClk 300000000 
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c403e800
PEX0 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
bio: create slab <bio-0> at 0
SCSI subsystem initialized
raid6: int32x1     61 MB/s
raid6: int32x2     70 MB/s
raid6: int32x4     67 MB/s
raid6: int32x8     59 MB/s
raid6: using algorithm int32x2 (70 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 12288K
RTC has been updated!!!
rtc mv_rtc: rtc core: registered kw-rtc as rtc0
RTC registered
MICON ctrl (C) BUFFALO INC. V.1.00 installed.
Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
Kernel event proc (C) BUFFALO INC. V.1.00 installed.
initial_polarity_val = 0x00000000
initial_polarity_val_high = 0x00038e50
Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.
XOR registered 4 channels   
XOR 2nd invalidate WA enabled
cesadev_init(c000fd64)      
MV Buttons Driver Load      
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.12)
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 229  
alg: No test for cipher_null (cipher_null-generic)
alg: No test for ecb(cipher_null) (ecb-cipher_null)
alg: No test for digest_null (digest_null-generic)
alg: No test for compress_null (compress_null-generic)
alg: No test for stdrng (krng)
alg: No test for hmac(digest_null) (hmac(digest_null-generic))
async_tx: api initialized (sync-only)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled     
serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
brd: module loaded          
loop: module loaded         
Integrated Sata device found
mvSataInitAdapter : regVal changed(0x00000010)
IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
** BUFFALO Disable Command Queuing Function [0 0] **
** BUFFALO Disable Command Queuing Function [0 1] **
scsi 0:0:0:0: Direct-Access     Seagate  ST2000DL003-9VT1 CC32 PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access     Seagate  ST2000DL003-9VT1 CC32 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: [sdb] 0-byte physical blocks
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency 
  o 2 Giga ports supported  
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Network Fast Processing (Routing) supported - (Disabled)
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Proc tool API enabled   
  o SKB Reuse supported - (Disabled)
  o SKB Recycle supported - (Disabled)
  o Gateway support enabled 
     o Using Marvell Header Mode
     o L2 IGMP support
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):
     o register under mv88fx_eth platform
 sda:     o eth0, ifindex = 2, GbE port = 0
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 23 00 00 00
     o eth1, ifindex = 3, GbE port = 1
                            
mvFpRuleDb (c4d6f000): 1024 entries, 4096 bytes
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
 sdb:                       
NAND device: Manufacturer ID: 0xc1, Chip ID: 0xc1 (Unknown NAND 128MiB 3,3V 16-bit)
NAND bus width 8 instead 16 bit
No NAND device found!!!     
mice: PS/2 mouse device common for all mice
Linux telephony interface: v1.00
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
 sda1 sda2 sda3 sda4 sda5 sda6
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
TCP cubic registered        
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
sd 0:0:0:0: [sda] Attached SCSI disk
rtc mv_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
 sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
sd 1:0:0:0: [sdb] Sector size 0 reported, assuming 512.
sd 1:0:0:0: [sdb] Attached SCSI disk
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: Scanned 0 and added 0 devices.
md: autorun ...             
md: ... autorun DONE.       
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
md: md0 stopped.            
md: bind<sdb1>              
md: bind<sda1>              
raid1: raid set md0 active with 2 out of 2 mirrors
md0: detected capacity change from 0 to 1023868928
 md0: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
md: md10 stopped.           
md: bind<sdb5>              
md: bind<sda5>              
raid1: raid set md10 active with 2 out of 2 mirrors
md10: detected capacity change from 0 to 1023868928
md: md1 stopped.            
md: bind<sdb2>              
md: bind<sda2>              
raid1: raid set md1 active with 2 out of 2 mirrors
md1: detected capacity change from 0 to 5119934464
 md1: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md1, internal journal
EXT3-fs: recovery complete. 
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) on device 9:1.
Trying to move old root to /initrd ... okay
Freeing init memory: 152K   
EXT3-fs: Unrecognized mount option "relatime" or missing value
 md10: unknown partition table
Adding 999864k swap on /dev/md10.  Priority:-1 extents:1 across:999864k 
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md0, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found  
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usblp
eth1: link down             
eth1: started               
eth1: link up, full duplex, speed 1 Gbps
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO
md: md2 stopped.            
md: bind<sdb6>              
md: bind<sda6>              
raid1: raid set md2 active with 2 out of 2 mirrors
md2: detected capacity change from 0 to 1984830812160
 md2: unknown partition table
XFS mounting filesystem md2 
Ending clean XFS mount for filesystem: md2
bfSetMagicKey > Changed to 0x71 from 0x5c
program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO

References

Link.png This article is currently a stub. You can help this Wiki by expanding it

. This template will categorize articles that include it into Category:Stubs.