LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
 
Search this Thread
Old 11-21-2013, 09:03 PM   #1
des_a
Member
 
Registered: Sep 2006
Posts: 368

Rep: Reputation: 18
Can ping Buffalo Linkstation Live, but nothing else works


I was having a computer delete files on my NAS. While that was going on, the drive did it's overheating thing that it does sometimes, and shut itself off. I turned it back on, and it appeared normal. However,I cannot access the web interface or the samba server or any of the services it runs now. I can ping it okay, but that's all. Can someone help me get it back up and running again, prefferebly without losing any of the data on the drive?
 
Old 11-22-2013, 10:18 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,600

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Is the LED flashing? If so how many?

According to the online manual:
3 flashes - Partition problem with hard drive. Reformat the hard drive.
4 flashes - Fan problem.
5 flashes - ROM problem.
6 flashes - Hard Drive can not be recognized.
7 flashes - Problem with motherboard (RAM, LAN, or Hard Drive controller).

According to the manual the internal drive is formatted with XFS If the device does indeed have a hardware problem assuming it isn't the drive itself you could remove it and connect it via USB-SATA adapter or install internally to attempt data recovery.
 
Old 11-22-2013, 10:28 AM   #3
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
It was flashing when I noticed it. But I don't know how many times. It was also beeping. However, when I turned it off and back on, it ceased to flash and beep. That is why I thought it was back to normal, but it is not.
 
Old 11-22-2013, 04:03 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,611

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Loosing data and the ability to access the software/web interface may be two different things. As noted above the data may still be there.

Not sure what you mean by as it usually does. Indicates you had some issue that should have been fixed long ago? Wrong drives in it maybe.

First try this. Shut it down if you can properly. Remove ac power, disconnect the drive(s) and then press the power button a few times. Then try to power it back up and see if you can access the gui or remote access.

Ping may be fooling us here.
 
Old 11-22-2013, 05:33 PM   #5
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
I powered it off, unplugged it and pressed the power button a few times. Then I plugged it back in and it still is having the same trouble. I suspect it to be a firmware problem, therefore I was trying to reinstall the firmware with lsupdater. It says that it can't find a linkstation that needs updating. Here is my LSUpdater.ini:

Code:
[Application]
Title = BUFFALO LinkStation Series Updater Ver.1.68
WaitReboot = 1200
WaitFormat = 600
WaitFileSend = 600
WaitDiscover = 120

[Target]
ProductID = 0x00000011
ProductID2 = 0x00000012
ProductID3 = 0x00000013
ProductID4 = 0x00000014
ProductID5 = 0x00003006
ProductID6 = 0x00003007
ProductID7 = 0x00000015
ProductID8 = 0x00000016
ProductID9 = 0x00003008
ProductID10 = 0x00004001
ProductID11 = 0x00000017
ProductID12 = 0x00000019
ProductID13 = 0x00000020
ProductID14 = 0x00003010
Name = Linkstation

[Flags]
VersionCheck = 0
NoFormatting = 1

[SpecialFlags]
Debug = 1
I had both, "Do Not Check Version", and "Force Update" checked.
 
Old 11-23-2013, 08:24 PM   #7
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
I managed to boot into emergency mode by holding down the reset button and turning on the power.
 
Old 11-23-2013, 08:26 PM   #8
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
My LSUpdater.ini now looks like this:

Code:
[Application]
Title = BUFFALO LinkStation Series Updater Ver.1.68
WaitReboot = 1200
WaitFormat = 600
WaitFileSend = 600
WaitDiscover = 120

[Target]
ProductID = 0x00000011
ProductID2 = 0x00000012
ProductID3 = 0x00000013
ProductID4 = 0x00000014
ProductID5 = 0x00003006
ProductID6 = 0x00003007
ProductID7 = 0x00000015
ProductID8 = 0x00000016
ProductID9 = 0x00003008
ProductID10 = 0x00004001
ProductID11 = 0x00000017
ProductID12 = 0x00000019
ProductID13 = 0x00000020
ProductID14 = 0x00003010
Name = Linkstation

[Flags]
VersionCheck = 0
ForceUpdate = 1
NoFormatting = 0

[SpecialFlags]
Debug = 1
acp_commander now finds the device, but LSUpdater still says it can't find the linkstation.
 
Old 11-23-2013, 09:18 PM   #9
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
My linkstation_version.ini looks like this now:

Code:
[COMMON]
VERSION=1.68-3.57
BOOT=
KERNEL=
INITRD=2013/11/14 21:25:38
ROOTFS=2013/11/14 21:25:12
FILE_BOOT = u-boot.img
FILE_KERNEL = uImage.img
FILE_INITRD = initrd.img
FILE_ROOTFS = hddrootfs.img


[TARGET_INFO]
PID=0x00010
KERNEL=2013/07/09 14:39:57
FILE_BOOT_APPLY=u-boot.img
BOOT=0.21
And my LSUPdater.ini:
Code:
[Application]
Title = BUFFALO LinkStation Series Updater Ver.1.68
WaitReboot = 1200
WaitFormat = 600
WaitFileSend = 600
WaitDiscover = 120

[Target]
ProductID = 0x00010
Name = HS-DHGL-EMB5C

[Flags]
VersionCheck = 0
ForceUpdate = 1
NoFormatting = 0

[SpecialFlags]
Debug = 1
I found it by using java -jar acp_commander.jar -f 192.168.11.150, and this was it's output:
Code:
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.

WARNING: This is experimental software that might brick your linkstation!


Using random connID value = 5FE7C1196A4F
Using target:   255.255.255.255/255.255.255.255
Sending ACP-Disover packet...
Found:  HS-DHGL-EMB5C (/192.168.11.150)         HS-DHGL(JINMU) (ID=00010)
mac: 00:16:01:C5:4B:5C  Firmware=  10.00        Key=47B464F8
Found 1 linkstation(s).


---------- Post added 11-23-13 at 07:19 PM ----------

Still the same problem with lsupdater.
 
Old 11-23-2013, 09:32 PM   #10
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
I enabled telnet on the NAS in emergency mode and we'll see what I can do with that...
 
Old 11-23-2013, 10:12 PM   #11
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
What device corresponds to the firmware? The data in the drive appears to be intact, so I could just find the firmware image from the /boot partition (/dev/sda1), and then reflash it with dd. But I don't know which device corresponds to the firmware. Also, is the file to reflash called u-boot.buffalo?
 
Old 11-24-2013, 02:53 PM   #12
des_a
Member
 
Registered: Sep 2006
Posts: 368

Original Poster
Rep: Reputation: 18
Well so much for the data. /dev/sda isn't the device for the firmware to go. Accroding to: http://www.yamasita.jp/linkstation.en/flashmemory.html, it's /dev/fl2. I created it with the instructions, as it wasn't there. But with dd trying to use it, I get an error message, "No such device or address". What does that mean? Does that mean it's not working, or that I still have the wrong place, or something else or what?

What I thought I'd been actually told, was that the firmware goes on the hard drive, but where, I'm not sure if so... I'm assuming that the special devices /dev/fl2 and such map to this point, or are supposed to. Either that or I'd still be open to trying LSUpdater, if anyone knows why it's having the error that it can't find the linkstation. The Error light is now flashing red, indicating that regardless of the firmware situation before, there is definately no firmware in it now.

What I'd done, is dd if=u-boot.buffalo.updated of=/dev/sda, thinking that maybe it's like a PC. I guess not exactly, because it wiped out the partition table, and wherever the firmware was, it's definately gone for sure now. I think it was there but corrupted before.
 
Old 03-10-2014, 11:15 AM   #13
say170
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
This is what I suggest you do....

First... tell us which LS live you have.. eg, mine is a HS-DHxxxGL (the xxx isn't important).

Next... boot from an ubuntu live CD (or machine) with gparted and xfsprogs installed.

with xfsprogs, you can access your xfs partition and use gparted to do stuff...

back up /dev/sdx6 (where x might be a b c or whatever). This is your data ie /mnt/disk1 on the LS.

back up /dev/sdx2 - this contains your config, share definitions, user defs and other stuff - ie /etc/melco and other stuff

You can backup using tar:

tar pcvf /home/media/backupsdx6.tar . (when you are in /media/xxx/long number of mounted xfs partition)

the p ensures permissions are taken. Do not use * instead of . As I found out they are not the same.

Next.. go and get the right firmware. I use "Stevie Wonder", which is much better than the stock one. Google that and linkstation firmware and you'll find a hit that says something like "the moth goes to the flame again". Go to the bottom of that post and you'll find a link.

If you are sure you have a good backup, then flash that FW, and repartition your drives. Click the rings on the top left of the program to set advanced options.. there is a readme too iirc.

If you use a new drive, you must copy the first partition from the old to new drive - gparted will let you copy the /boot partition.

Of course, most of this is valid for my LS and not the LS-CHL (black) one.

Last edited by say170; 03-10-2014 at 11:18 AM.
 
Old 03-11-2014, 11:21 AM   #14
say170
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
looks like there is a bug in xfstools and the restore was totally screwed up. I would do it the old fashioned way and use cp with the p switch (iirc)
 
Old 03-13-2014, 06:36 AM   #15
say170
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
further to the last post, it is writing that doesn't work, so even cp doesn't work. I would buy a cheap external USB drive, format it ext3, then cp or tar c to that, when attach it to the back of the LS and cp/tar x back again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffalo Linkstation Live 500GB - Shared FTP Drive Won't Show Up des_a Linux - Software 2 08-04-2012 11:32 PM
Buffalo Linkstation Live Default Firmware, No Hacks - Only Allows One Subnet? des_a Linux - Networking 12 06-03-2008 09:08 PM
OpenSuse 10.3 and Buffalo Linkstation, How Now? Morbid Linux - Hardware 1 11-17-2007 07:57 PM
Buffalo Linkstation - Printing lovelyguinness Linux - Networking 1 10-20-2006 03:35 PM
LXer: Device Profile: Buffalo LinkStation LXer Syndicated Linux News 0 01-13-2006 09:31 PM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration