Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 17, 2017 8:27 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 43 posts ]  Go to page Previous 1 2 3 Next
Author Message
PostPosted: Wed Mar 23, 2011 4:59 pm 
Offline
Newbie

Joined: Mon Nov 08, 2010 6:49 am
Posts: 20
Actually I installed debian squeeze on my LS-XHL and few days later I wrote that "tutorial" to help people who want to do the same. Maybe I did something more but I can't remember !

According to what I saw on the internet, there's no need to do MAKEDEV with debian squeeze, udev creates what's needed dynamically. But if you really want to use makedev just move .udev, install makedev, makedev generic and then move again .udev.

I think the hddrootfs.buffalo.updated file is wrong. When you open hddrootfs.buffalo.updated with Winrar you should see only one file called: hddrootfs.buffalo. When you "view" that file (using winrar button) you should see the root fs with folder such as: bin, boot, dev, .... Check that!


Top
   
PostPosted: Fri Mar 25, 2011 7:10 pm 
Offline
Newbie

Joined: Fri Nov 20, 2009 9:12 am
Posts: 54
Location: Europe, Lower Austria
Yes, I can see this folders....
Now?

_________________
LS-XHL @ 1.54FW with SSH
Linux Nas 2.6.31.8 #1 Mon Jul 25 18:06:49 JST 2011 armv5tel unknown


Top
   
PostPosted: Sat Mar 26, 2011 5:53 am 
Offline
Newbie

Joined: Mon Nov 08, 2010 6:49 am
Posts: 20
So it means that the rootfs image is good and it must be lsupdater that bugs. Did you try the 1.37 modified update ?


Top
   
PostPosted: Sat Mar 26, 2011 6:58 am 
Offline
Newbie

Joined: Fri Nov 20, 2009 9:12 am
Posts: 54
Location: Europe, Lower Austria
I tried 1.37 and 1.40 always the same result. Do you realy know what you are doing?

_________________
LS-XHL @ 1.54FW with SSH
Linux Nas 2.6.31.8 #1 Mon Jul 25 18:06:49 JST 2011 armv5tel unknown


Top
   
PostPosted: Sat Mar 26, 2011 6:22 pm 
Offline
Newbie

Joined: Mon Nov 08, 2010 6:49 am
Posts: 20
On the debug menu did you checked: update rootfs, do not check version and force update ?


Top
   
PostPosted: Sat Mar 26, 2011 6:28 pm 
Offline
Newbie

Joined: Fri Nov 20, 2009 9:12 am
Posts: 54
Location: Europe, Lower Austria
Yeah ;)

_________________
LS-XHL @ 1.54FW with SSH
Linux Nas 2.6.31.8 #1 Mon Jul 25 18:06:49 JST 2011 armv5tel unknown


Top
   
PostPosted: Sun Mar 27, 2011 7:01 pm 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
Hello!

I tried to install debian squeeze on LS-VL (already on 1.37 mod1) I followed the instructions and I was able to build up an hddrootfs.buffalo.updated.

After that, I checked the file with Winrar, that I got hddrootfs.buffalo inside and I was able to view the different folders inside.

I used lsupdater from 1.37 mod1 - changed initrd.buffalo (empty file). Updateting seemed to work just fine, but system didn't change. It did not write anything from inside hddrootfs.buffalo.update to / .

Folder /boot looks like this:
Code:
rroot@Nas:/boot# ls
conf_save.tgz                   u-boot_lsvl.bin
hddrootfs.buffalo.updated       u-boot_lswvl.bin
hddrootfs.buffalo.updated.done  u-boot_lswxl.bin
initrd.buffalo                  u-boot_lsxh.bin
u-boot.map                      u-boot_lsxl.bin
u-boot_lssl.bin                 uImage.buffalo


root@Nas:/boot# /bin/bash --version
GNU bash, version 3.2.0(2)-release (arm-none-linux-gnueabi)
Copyright (C) 2005 Free Software Foundation, Inc.
root@Nas:/boot# cat /etc/issue
BUFFALO INC. LinkStation series



Can someone help? I don't know what went wrong!

Greez,

John


Top
   
PostPosted: Mon Mar 28, 2011 6:25 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Did everyone of you used the same password to zip
the files, one used to unzip them before?
I think I can remember that unencrypted files will not work
with the Buffalo updater.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Mon Mar 28, 2011 10:48 am 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
That's a good point. I will try to encrypt the files with one of these passwords:

Code:
1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l
aAhvlM1Yp7_2VSm6BhgkmTOrCN1JyE0C5Q6cB3oBB
YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4
IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty


Probably I will try the one which works on the LS-VL original firmware file. I'll let you know the result.

Thx!


Top
   
PostPosted: Tue Mar 29, 2011 8:19 am 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
Hey there!

I checked encryption, but it didn't make a difference - looks like 1.37 mod1 hddrootfs.buffalo(.updated) isn't encryped also.

So I tried some other things - I deleted /boot and / manually, used TFTP Bootrecovery to start and then LSupdater with Debian hddrootfs.buffalo.updated. This resulted in constant rebooting (acompanied with blue flashing light).

I cheked the data on / (sdx2) and only half of the hddrootfs.buffalo.updated was extracted.

After that I tried:
http://tyche.pu-toyama.ac.jp/~a-urasim/lsvl/

Even I did the praying - it didn't work properly. I made it to a constant blue light (I was really excited) but I was not able to find it on network (even DHCP is working). So I changed /etc/network/interfaces to static IP. Didn't make a difference.

So even I tried a lot of different things by now I wasn't able to install running and accessible Debian.

Do you guys have any idea? Did anyone install Debian (either Squeeze or Lenny) on LS-VL until now?

Greetz,

John


Top
   
PostPosted: Wed Mar 30, 2011 7:37 am 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
Hello again!

I'm back at the point where my LS-VL is stuck in boot process with blue flashing led. I'm imaging, that there must be some kind of boot log file which by any chance logs the point the NAS is stuck. Can you guys tell me if there is such a file?

Thx,

John


Top
   
PostPosted: Wed Mar 30, 2011 9:18 pm 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
/var/log/boot
Quote:
Mon Mar 29 05:46:52 2004: Activating swap...done.
Mon Mar 29 05:46:52 2004: mount: you must specify the filesystem type
Mon Mar 29 05:46:52 2004: Cannot check root file system because it is not mounted read-only. ... ^[[31mfailed!^[[39;49m
Mon Mar 29 05:46:52 2004: Cleaning up ifupdown....
Mon Mar 29 05:46:52 2004: Setting up networking....
Mon Mar 29 05:46:52 2004: Loading kernel modules...done.
Mon Mar 29 05:46:52 2004: Activating lvm and md swap...done.
Mon Mar 29 05:46:52 2004: Checking file systems...fsck from util-linux-ng 2.17.2
Mon Mar 29 05:46:52 2004: fsck: cannot check /dev/sda2: fsck.xfs not found
Mon Mar 29 05:46:52 2004: /dev/sda1: clean, 22/62720 files, 7639/250112 blocks
Mon Mar 29 05:46:52 2004: done.
Mon Mar 29 05:46:52 2004: Mounting local filesystems...done.
Mon Mar 29 05:46:53 2004: Activating swapfile swap...done.
Mon Mar 29 05:46:53 2004: Cleaning up temporary files....
Mon Mar 29 05:46:53 2004: Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Mon Mar 29 05:46:53 2004: Copyright 2004-2010 Internet Systems Consortium.
Mon Mar 29 05:46:53 2004: All rights reserved.
Mon Mar 29 05:46:53 2004: For info, please visit https://www.isc.org/software/dhcp/
Mon Mar 29 05:46:53 2004:
Mon Mar 29 05:46:53 2004: SIOCSIFADDR: No such device
Mon Mar 29 05:46:53 2004: eth1: ERROR while getting interface flags: No such device
Mon Mar 29 05:46:53 2004: eth1: ERROR while getting interface flags: No such device
Mon Mar 29 05:46:53 2004: Bind socket to interface: No such device
Mon Mar 29 05:46:53 2004: Failed to bring up eth1.
Mon Mar 29 05:46:53 2004: done.
Mon Mar 29 05:46:53 2004: Cleaning up temporary files....
Mon Mar 29 05:46:53 2004: Setting kernel variables ...done.
Mon Mar 29 05:46:53 2004: INIT: Entering runlevel: 2
Mon Mar 29 05:46:53 2004: Using makefile-style concurrent boot in runlevel 2.
Mon Mar 29 05:46:53 2004: Starting enhanced syslogd: rsyslogd.
Mon Mar 29 05:46:54 2004: Starting periodic command scheduler: cron.
Mon Mar 29 05:46:54 2004: Starting OpenBSD Secure Shell server: sshd.


/var/log/dmesg
Code:
Linux version 2.6.31.8-svn22059 (root@build2.dd-hot24.nas.buffalo.local) (gcc version 4.2.0 20070413 (prerelease)) #67 Mon Sep 13 09:42:55 JST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c052fee8, node_mem_map c0801000
  Normal zone: 512 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 65024 pages, LIFO batch:15
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5 BOOTVER=0.22
PID hash table entries: 1024 (order: 10, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 248064KB available (4964K code, 269K data, 152K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:128
Console: colour dummy device 80x30
Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
xor: measuring software checksum speed
   arm4regs  :  1454.000 MB/sec
   8regs     :  1102.000 MB/sec
   32regs    :  1236.800 MB/sec
xor: using function: arm4regs (1454.000 MB/sec)
NET: Registered protocol family 16
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 256MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PEX1_MEM ....base e8000000, size 128MB
PEX1_IO ....base f2100000, size   1MB
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)-- MVLSV  Soc: 88F6282 A0 LE

 Detected Tclk 200000000 and SysClk 533333333
MV Buttons Device Load
Marvell USB EHCI Host controller #0: c8040800
PEX0 interface detected no Link.
PEX1 interface detected no Link.
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
raid6: int32x1    149 MB/s
raid6: int32x2    175 MB/s
raid6: int32x4    171 MB/s
raid6: int32x8    156 MB/s
raid6: using algorithm int32x2 (175 MB/s)
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
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 = 0x00030000
initial_polarity_val_high = 0x0001f100
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/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
msgmni has been set to 485
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)
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] **
scsi 0:0:0:0: Direct-Access     Seagate  ST31000528AS     CC44 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 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
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
     o eth0, ifindex = 2, GbE port = 0

Warning: Giga 1 is Powered Off

Warning: Giga 1 is Powered Off

mvFpRuleDb (c82c0000): 2048 entries, 8192 bytes
SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
NAND init: NAND device not found on board
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
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.
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2004-03-29 05:46:50 UTC (1080539210)
 sda: sda1 sda2 sda3 sda4 sda5 sda6
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 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.
XFS mounting filesystem sda2
Ending clean XFS mount for filesystem: sda2
VFS: Mounted root (xfs filesystem) on device 8:2.
Freeing init memory: 152K
Warning: unable to open an initial console.
Adding 1000440k swap on /dev/sda5.  Priority:-1 extents:1 across:1000440k
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with writeback data mode.
XFS mounting filesystem sda6
Ending clean XFS mount for filesystem: sda6


These are some Info's I got to get closer to the problem. Do you guys have some ideas?


Top
   
PostPosted: Thu Mar 31, 2011 7:14 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
/var/log/boot says this:
Quote:
fsck: cannot check /dev/sda2: fsck.xfs not found

This could be caused by a missing XFS tools installation during the
debootstrap of Debian (only a guess).

A bit further it says this:
Quote:
eth1: ERROR while getting interface flags: No such device

Someone is trying to bring up eth1 instead of eth0.
Maybe one should configure both interfaces during debootstrap of
Debian?

A small question: How could you have run dmesg if you can't access
the box after booting Debian?

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Thu Mar 31, 2011 4:38 pm 
Offline
Newbie

Joined: Wed Mar 16, 2011 1:53 pm
Posts: 13
Thx for the reply.

dmesg is stored within /var/log so I just had to mount the drive on pc.

Isn't that right?

I try to configure eth1 also.

Also I check debootstrap config perhaps it will help. Any other hints?


Top
   
PostPosted: Sun Apr 10, 2011 12:29 am 
Offline
Total Newbie

Joined: Sun Apr 10, 2011 12:26 am
Posts: 4
So has anyone figure out how to get past this? I'm at the same point - a good looking rootfs image and I get stuck with the flashing blue light on reboot. I'd love to get this running, but if I can't I guess this is going back to the store.. :(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 43 posts ]  Go to page Previous 1 2 3 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited