Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Nov 21, 2017 4:22 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 23 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Fri Jul 25, 2008 6:37 am 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
rkboni mail:
rkboni wrote:
Could I ask a favor? Could you build a p7r3 version of your kernel that reports the following in /proc/buffalo/firmware:

PRODUCTID=0x00003004 (vs. 0x00003001)
PRODUCTNAME=LS-WTGL/R1-V3(SEIMU)

The web interface relies on (at least) the PRODUCTID and loads a machine description from that, which includes things like paths to the real disk devices, what features are supported, etc. I'm guessing this is the reason for my web interface acting funny is that it's using / querying the wrong md devices for status (and probably similarly for USB).

I'll post some of this on the forum when I get a little bit more clue as well, but thought I'd toss the build-me-a-kernel request out there.

I think, it doesn't make sense, because there are different versions of the linkstation. So if I change this entry, there are problems with other linkstations. My duo for example has this entrys:
Code:
PRODUCTNAME=LS-WTGL/R1(KOGEN)
PRODUCTID=0x00003001
You can try to manipulate this with an filesystem which overlay the current one. I know unionfs (http://www.fsl.cs.sunysb.edu/project-unionfs.html) - maybe it can help here.

_________________
LS2 (U-Boot + Freelink) | Kurobox (U-Boot + Deboostraped) | LS Pro Duo (Freelink)


Top
   
PostPosted: Thu Sep 18, 2008 3:20 pm 
Offline
Total Newbie

Joined: Mon Jun 09, 2008 9:06 am
Posts: 4
Hi people,

there is (was) this issue about non working web-interface when patching the ls-pro duo with prodigy7s custom, nfs-enabled kernel.

Sorry for not reading the other posts, I dont know if it is fixed already. Anyways I fixed it now on my box.

What I found in the code is the following:
The interface is parsing exactly /etc/linkstation_release to obtain the PRODUCTID. This PRODUCTID is then used to read an associated file in /www/cgi-bin/dat. As we translated the productid to 0x00003001, the wrong dat-file is read and the documented
Code:
Warning
Error has occurred in RAID Array1

appears.

I went along and renamed the original file "0x00003001.dat" to "0x00003001.dat.original". Then I set a symblic link from "0x00003004.dat" to "0x00003001.dat", and there you go! no error, and web-interface active!
Code:
cd /www/cgi-bin/dat;
mv 0x00003001.dat 0x00003001.dat.original;
ln -s 0x00003004.dat 0x00003001.dat


appreciate helping,
herrBlaschke

_________________
ls pro duo rev3


Top
   
PostPosted: Tue Jan 06, 2009 6:54 am 
Offline
Newbie

Joined: Tue Jan 06, 2009 6:39 am
Posts: 5
Sadly, it looks like this rev1 compilation may no longer work with the LS Pro Duo rev3 with updated stock firmware (3.08).

I tried updating my /etc/linkstation_release file with the correct productid and builddate, but it still won't mount the raid volumes.

Looking at the initrd script, it looks like there's an additional file compare:
Code:
                /usr/local/bin/vercomp /proc/buffalo/firmware /mnt/etc/linkstation_release
                DATE_KERN=$?
                /usr/local/bin/vercomp /etc/linkstation_emergence /mnt/etc/linkstation_release
                DATE_INITRD=$?
                if [ $DATE_KERN -ne 0 ] || [ $DATE_INITRD -ne 0 ]; then
                        echo "*** hddSys is old. use initrd mode. ***"
                        umount /mnt
                        return 1
                fi

So, linkstation_release is being compared to both /proc/buffalo/firmware and the boot image's /etc/linkstation_emergence.

Here's what's in my files:

Code:
# cat /proc/buffalo/firmware
SERIES=LinkStation
PRODUCTNAME=LS-WTGL/R1(KOGEN)
VERSION=0.16
SUBVERSION=FLASH 0.00
PRODUCTID=0x00003001
BUILDDATE=2008/05/29 15:32:08
BOOTVER=1.13
#

# cat /etc/linkstation_emergence
VERSION=0.01
SUBVERSION=RAM 0.00
PRODUCTID=0x00003004
BUILDDATE=2008/11/18 17:05:11
#

# cat /mnt/array1/etc/linkstation_release
VERSION=3.08
SUBVERSION=HDD 0.01
PRODUCTID=0x00003001
BUILDDATE=2008/05/29 15:32:08
#

Obviously my linkstation_emergence doesn't match, but it's in the boot image and I haven't found an easy way to change it.

Any suggestions on the best way to approach this? I've used linux a little, but I don't have any experience compiling kernels and modules. All I really wanted right now was iso9660 and udf support so I can use a usb dvd drive and load my archived media files.


Top
   
PostPosted: Fri Apr 09, 2010 1:03 am 
Offline
Total Newbie

Joined: Sat Sep 22, 2007 5:16 am
Posts: 1
So, is there any way to have an NFS-enabled kernel with this in /etc/linkstation_emergence?:

VERSION=0.01
SUBVERSION=RAM 0.00
PRODUCTID=0x00003004
BUILDDATE=2009/01/21 10:24:40

Where are the values in /proc/buffalo/firmware coming from?
Is there any way to downgrade the firmware to the version that Prodigy7's kernel will support?
Does anybody have this firmware available?

I really need the NFS-enabled kernel, since unfsd doesn't fully support all the functions required for "rsnapshot".

LinkStation PRO/DUO LS-WTGL/R1-V3 F/W 3.09

Thanks.


Top
   
PostPosted: Sun Apr 25, 2010 1:51 am 
Offline
Newbie

Joined: Sun Apr 25, 2010 12:49 am
Posts: 7
Hi Prodigy,

I installed your kernel by doing ...

* Backup the original kernel - e.g: rename to uImage.buffalo.orig
* Copy the archive to your ls pro duo
* extract the tar.gz directly in /
* Execute the command
depmod -ae 2.6.16.16-arm1-wtgl-p7r1
* Reboot

now every port is closed ... there's no ssh or telnet possible.

Did I make a mistake?

Regards,

Kangaroo


Top
   
PostPosted: Mon Jul 18, 2011 8:42 pm 
Offline
Regular Member
User avatar

Joined: Sun Nov 16, 2008 2:45 am
Posts: 105
Location: eu/fr/35/rennes
let me bump this thread, can you suggest a solution to get nfs kernel module on lsproduo ?
maybe flashing debian ?


Top
   
PostPosted: Mon Jul 18, 2011 8:46 pm 
Offline
Newbie

Joined: Sun Apr 25, 2010 12:49 am
Posts: 7
Thanks for answering, but I've given up this hardware ;-)

*** Thread closed ***

Cheers,

Kangaroo


Top
   
PostPosted: Wed Nov 25, 2015 9:53 pm 
Offline
Regular Member
User avatar

Joined: Sun Nov 16, 2008 2:45 am
Posts: 105
Location: eu/fr/35/rennes
I have patched mainline kernel 's master branch for using debian jessie ...

Looking for testers and reviewers

_________________
URL: http://rzr.online.fr/q/lsproduo

Hardware: lsproduo2 aka LS-WTGL/R1 (3) | LS-W1.0TGL/R1-EU | MainBoard: MVYAKE4-BA
|
OS: Debian/GNU/Linux jessie armel | Linux: 4.3.0-orion5x-lsproduo2+

Firmware-Orig: LS-WTGL-V3_FwUp_309

PM me to test : debian-8-armel-lsproduo2-20151104rzr.qcow2 ( http://db.tt/gn5Qffd6# )


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 10 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