Linkstation LS-LGL

'''This page is incomplete and is being actively edited. Information here may not be completely accurate'''

Stock Firmware Installation
If no firmware is present on the installed drives, the device has no immediate way to enter EM mode and will either need to be booted via TFTP or manually without TFTP (loading boot files to disk using a PC). Once the device is in EM mode the firmware can be installed using tsupdater in debug mode, see Enable Debug mode for LSUpdater/TSUpdater.

DMESG output
Bootstrap 02.09 **Small NAS Series** ** LOADER ** ** Buffalo BOARD: MVISAH -xx Hassi Board LE ** U-boot Version 1.02L-1.00 ** Build Date Jun 11 2007-11:39:48

U-Boot 1.1.4 (Jun 11 2007 - 11:39:53) Marvell version: 2.2.4-TINY-NQ

U-Boot code: 00200000 -> 0023EE00 BSS: -> 0024A420

Soc: 88F6082 A1 (DDR1) CPU running @ 333Mhz SysClock = 166Mhz, TClock = 133Mhz

DRAM CS[0] base 0x00000000  size   8MB DRAM CS[1] base 0x01000000  size   8MB DRAM Total size 16MB [256kB@f8100000] Flash: 256 kB Addresses 4M - 0M are saved for the U-Boot usage. Mem malloc Initialization (4M - 3M): Done

CPU : ARM926 (Rev 0) misc_init_r_env u-boot stop condition :MagicKey =(67, 24, 58, 2, 92, 113, 0) misc_init_r_env > fHddBootWaitEnabled

Please Press HDD power button to continue ...

USB 0: device mode DDR SDRAM Pads Driving Nch (Manu) = c DDR SDRAM Pads Driving Pch (Manu) = c DDR SDRAM Drive Strength   0-3   = 3 DDR SDRAM Pads Driving Nch (Auto) = c DDR SDRAM Pads Driving Pch (Auto) = c Using 88E1112 phy

Marvell Serial ATA Adapter Integrated Sata device found Device 0: OK Model: WDC WD5000AAKS-22A7B0                   Firm: 01.03B01 Ser#:      WD-WCASY2287593 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Net:  egiga0 [PRIME], egiga1 hit any key to switch tftp boot. Hit any key to stop autoboot: 0 Hit any key to stop autoboot: 0

1284160 bytes read

1490384 bytes read Image Name:  Linux-2.6.12.6-arm1 Created:     2008-09-09   5:52:00 UTC Image Type:  ARM Linux Kernel Image (uncompressed) Data Size:   1284096 Bytes =  1.2 MB   Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK  Image Name:   initrd Created:     2008-09-09   5:52:14 UTC Image Type:  ARM Linux RAMDisk Image (gzip compressed) Data Size:   1490320 Bytes =  1.4 MB   Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK
 * 1) Booting image at 01200000 ...
 * 1) Loading Ramdisk Image at 013fffc0 ...

Starting kernel ...

CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSLGL --- Uncompressing Linux.................................................................................... decompress done, booting the kernel. Linux version 2.6.12.6-arm1 (root@build.dd-hot24.nas.buffalo.local) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #26 Tue Sep 9 14:51:53 JST 2008 CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 1, 32 byte lines, 512 sets CPU0: D cache: 16384 bytes, associativity 1, 32 byte lines, 512 sets Machine: Feroceon Using UBoot passing parameters structure Sys Clk = 166666667, Tclk = 133333333 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x01400000,4M panic=5 BOOTVER=1.02L PID hash table entries: 128 (order: 7, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 8MB 8MB 0MB 0MB = 16MB total Memory: 9416KB available (2186K code, 361K data, 96K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 4096K NET: Registered protocol family 16

CPU Interface - SDRAM_CS0 ....base 00000000, size 16MB SDRAM_CS1 ....base 01000000, size 16MB PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size  1MB INTER_REGS ....base f1000000, size  1MB NFLASH_CS ....base f9000000, size  2MB MFLASH_CS ....base f8100000, size 256KB SPI_CS ....base fa000000, size  8MB BOOT_ROM_CS ....base fc000000, size  1MB DEV_BOOTCS ....base fc000000, size  1MB CRYPT_ENG ....base f0000000, size 64KB mv_mtd_initialize Error : Unknown board

Marvell Development Board (LSP Version 2.1.10_TG)-- RD-88F6082-DAS-PLUS Soc: MV88F6082 Rev 1

Detected Tclk 133333333 and SysClk 166666667 Marvell USB EHCI Gadget controller #0: c02efb00 mvPexBarSet: ERR. Target 2 window invalid mvPexInit: ERR. mvPexBarSet 2 failed pci_init:Error calling mvPciIfInit for pciIf 0 IO Request resource failed - Pci If 0 PCI: bus0: Fast back to back transfers enabled SCSI subsystem initialized Fast Floating Point Emulator V0.9 (c) Peter Teichmann. inotify device minor=63 SGI XFS with no debug enabled Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled ttyS0 at MMIO 0x0 (irq = 3) is a 16550A io scheduler noop registered RAMDISK driver initialized: 3 RAM disks of 5120K size 1024 blocksize loop: loaded (max 8 devices) Marvell Gigabit Ethernet Driver 'egiga': o Ethernet descriptors in DRAM o DRAM SW cache-coherency o Checksum offload enabled o Marvell ethtool proc enabled o Rx desc: 64 o Tx desc: 128 o Loading network interface 'eth0' 'eth1' Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter Vendor: WDC      Model: WD5000AAKS-22A7B  Rev: 01.0 Type:  Direct-Access                      ANSI SCSI revision: 03 SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sda: drive cache: write back SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda4 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0 physmap flash device: 40000 at f8100000 Marvell Flash Detected @ 0xf8100000, 256KB Main region (64sec x 4KB), 2KB Information region mice: PS/2 mouse device common for all mice mvGppValueSet: Err. An attempt to set output value to GPP 3 in input mode. Buffalo Platform Linux Driver(Light) (C) BUFFALO INC. Ver.0.01 installed. Kernel message queue controll (C) BUFFALO INC. Ver.1.00 installed. Kernel event for procfs (C) BUFFALO INC. Ver.1.00 installed. Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) NET: Registered protocol family 1 NET: Registered protocol family 17 RAMDISK: Compressed image found at block 0 EXT2-fs warning: checktime reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). in linuxrc ---

=
Checking RTC...[Success] [Finished]

linuxrc:choose operation (timeout 4[s]) 1:RamRoot other:HddRoot ? -HddRoot- kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. PRODUCTID=0x0000000B PRODUCTID=0x0000000B chars=     2 KERNEL:2008/9/9 14:51:51 HDD:2008/9/9 14:52:29 KERNEL:2008/9/9 14:52:11 HDD:2008/9/9 14:52:29 -- CopyFromInitrdToHdd -- ........Finish
 * not found /mnt/etc/rootfs_ok file in rootfs. ***

checking local disk.... fsck 1.38 (30-Jun-2005) /dev/disk1_1: clean, 16/49152 files, 8647/98296 blocks fsck 1.38 (30-Jun-2005) /dev/disk1_2: clean, 10202/122400 files, 169062/489472 blocks done -- linuxrc finished. --

kjournald starting. Commit interval 5 seconds EXT3 FS on sda2, internal journal EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 96K init started: BusyBox v1.1.1 (2008.09.05-00:59+0000) multi-call binary Starting pid 349, console /dev/ttyS0: '/etc/init.d/rcS' --- rcStart (hddroot) ---

Starting MountSystemFolders
[Success]

=
Before : 2120 KB Free

=
After : 6092 KB Free

=
Result : 3972 KB Freed [Success]

Starting update_file.sh
[Success]

Starting checkroot.sh
mount: /dev/pts already mounted or /dev/pts busy mount: according to mtab, devpts is already mounted on /dev/pts ln: /var/spool/cron/cron: File exists rm: /var/lock/perfmon: is a directory rm: /var/lock/printing: is a directory rm: /var/lock/subsys: is a directory Adding 125928k swap on /dev/disk1_5. Priority:-1 extents:1 [Success]

Starting create_devlink.sh
[Success]

Starting sethostname.sh
configure files from Buffalo parameters. [Success]

Starting syslog.sh
$Starting system logger: $Starting kernel logger: [Success]

Starting kernelmon.sh
[Success]

Starting FanCheckd.sh
[Success]

Starting EnablingAutoip.sh
[Success]

Starting restore_config.sh
Update configuration files Restore previous configuration files tar: Short header unzip /boot/conf_save.tgz fail. [Success]

Starting mount_share.sh
10+0 records in 10+0 records out XFS mounting filesystem sda6 share [Failed ]

Starting networking.sh
create network files.. IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[] killall: dhcpcd: no process killed route: SIOC[ADD|DEL]RT: No such process Configuration network interface: lo eth0 requesting DHCP tout=30[s] networking.sh: dhcp requesting... DontDownIface alwaysFork sendto: count 6   sync 1 sendto: count 5   sync 1 sendto: count 4   sync 1 sendto: count 3   sync 1 sendto: count 2   sync 1 sendto: count 1   sync 1 sendto: count 0   sync 1 sendto: count 6   sync 1 sendto: count 5   sync 1 sendto: count 4   sync 1 sendto: count 3   sync 1 sendto: count 2   sync 1 sendto: count 1   sync 1 sendto: count 0   sync 1 dhcpInit call AutoipBound setAutoIP eth0 called MAC address = 00:16:01:d7:6a:2a file name /etc/dhcpc/autoip-eth0.info /sbin/ifconfig eth0 169.254.243.120 netmask 255.255.0.0 up broadcasting ARPOP_REQUEST for 169.254.243.120 Arp result 0 add default if configure files from Buffalo parameters. [Success]
 * networking.sh dhcp fin.

Starting setup_time.sh
Error : Temporary failure in name resolution System Clock setted [Fri Jan 10 20:10:30 JST 2031] [Success]
 * Going to ntp server *****
 * failed to connect to ntp server *****
 * system clock restore from rtc. *****

Starting smb.sh
configure samba optarg:samba Can't Open : /etc/melco/usbshareinfo load_info ItemValue = off LoadConfFileString:key=[ad_dns] not found in /etc/melco/info. LoadConfFileOnOff:key=[info_visible] not found in /etc/melco/info. LoadConfFileString:key=[msdfs_function] not found in /etc/melco/msdfs. LoadConfFileString:key=[msdfs_root_as_link] not found in /etc/melco/msdfs. LoadConfFileString:key=[msdfs_root_name] not found in /etc/melco/msdfs. LoadConfFileString:key=[msdfs_root_path] not found in /etc/melco/msdfs. LoadConfFileString:key=[msdfs_link1_name] not found in /etc/melco/msdfs. Can't Open : /etc/melco/offlinefile Can't Open : /etc/melco/shareinfo.hidden Can't Open : /etc/melco/shareinfo.vfs file:/etc/samba/smb.conf >IconvCodeCharset CodePage=0,charset=CP932 file:/etc/pam_smb.conf $Starting SMB services: $Starting NMB services:

[Success]

Starting httpd.sh
start $Starting HTTPD services: /usr/local/apache/bin/apachectl start: httpd started

[Success]

Starting clientUtil_servd.sh
Starting clientUtil_server:starting on eth0 [Success]

Starting modules.sh
Starting module subsystem ... Starting module webaxs ... [Success.] [Success]

Starting logchkd.sh
Starting logchkd:logchkd ver.1.12(Sep 5 2008) started [Success]

Starting daemonwatch.sh
Starting daemonwatch:daemonwatch Ver.1.01 watch list file : /etc/daemonwatch.list [Success]

Starting cron.sh
Start services: crond[Success]

Starting bootcomplete.sh
[Success]

Starting pid 1144, console /dev/ttyS0: '/sbin/getty'

BUFFALO INC. LinkStation series LS-LGL(SUIZEI) LS-LGLA2A login: