Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Dec 15, 2017 11:05 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 168 posts ]  Go to page Previous 1 2 3 4 5 612 Next
Author Message
PostPosted: Thu Oct 25, 2012 3:50 pm 
Offline
Newbie

Joined: Tue May 15, 2012 4:50 pm
Posts: 33
Help needed to get Linux working on LS-XHL.

----->> would not load>>>>>>

Utilising Fjen's supplied files

1. Format HDD clean

2. Created partitions as follows:
- 128MB EXT3 MBR Bootable label, "boot"
- 300GB EXT4 MBR label "root"

3. Copied root archive to root partition

4. Copies boot archive to boot partition

5. deleted from root /etc/udev/rules.d/70-persistent-net.rules

Do I have to go into EM and put the empty initrid file onto the HDD first!

Am I missing some steps?????

Then I will attempt to move to Fjen's 3.6.3 Kernel would be awesome..(any instructions??)


Top
   
PostPosted: Thu Oct 25, 2012 6:59 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
your steps are basically right.
format your hdd with a gpt not mbr layout. use the new 3.6.3 kernel package which has a ls-xhl one. take care that you don't have an extra boot folder on your first(boot) partition.

your boot partition should look like this:
Code:
initrd.buffalo -> initrd.buffalo.empty
initrd.buffalo.empty
uImage.buffalo -> uImage.buffalo.3.6.3-fjen-1
uImage.buffalo.3.6.3-fjen-1

i prepared a wheezy rootfs which i will test when i have some spare time.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Fri Oct 26, 2012 2:42 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Testing done :D
New Debian wheezy rootfs for LS-CHLv2 and LS-XHL here.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Thu Nov 01, 2012 12:41 am 
Offline
Newbie

Joined: Sat Oct 20, 2012 8:04 pm
Posts: 12
Location: Brazil
@fjen,

I think there is a bug in zram and this bug can corrupted our system. Yesterday, the log of ls-xhl have more than 2000+ entries of this error:

Oct 30 11:54:53 debian-ls kernel: [ 7958.938191] Write-error on swap-device (254:0:260504)
Oct 30 11:54:53 debian-ls kernel: [ 7958.941101] zram: Error allocating memory for compressed page: 32565, size=4116
Oct 30 11:54:53 debian-ls kernel: [ 7958.941115] Write-error on swap-device (254:0:260520)
Oct 30 11:54:53 debian-ls kernel: [ 7958.941415] zram: Error allocating memory for compressed page .....................

And after a while, the nas freeze. Fully freeze. After a reboot, the nas is not pingable. I checked and the logs are flooded with that error. I have to erase everything and reinstall, without enable zram.

I found something, maybe it can help you to fix the problem, when you have time.

http://code.google.com/p/compcache/issues/detail?id=102

Thanks.


Top
   
PostPosted: Thu Nov 01, 2012 1:55 am 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Thank you for reporting this! I noticed it got fixed in the 3.6.5 kernel which was released some hours ago.
You can find a freshly compiled one on the usual place. Have fun!

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Sun Nov 11, 2012 9:44 am 
Offline
Newbie

Joined: Fri Jan 06, 2012 10:37 pm
Posts: 9
Hi fjen,
Congrats to your work on linux 3.6 and debian wheezy :up:

Two small issues ...

As far as I understood it should be possible to generate a combined kernel uImage
Code:
cat arch/arm/boot/zImage arch/arm/boot/kirkwood-lschlv2.dtb arch/arm/boot/kirkwood-lsxhl.dtb > arch/arm/boot/zImage_w_dtb


And the kernel 3.6.5 does not initialize the gpio_keys properly :down: ... thats why the power/func keys do not work.


Top
   
PostPosted: Mon Nov 12, 2012 6:57 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
mg21 wrote:
As far as I understood it should be possible to generate a combined kernel uImage
Code:
cat arch/arm/boot/zImage arch/arm/boot/kirkwood-lschlv2.dtb arch/arm/boot/kirkwood-lsxhl.dtb > arch/arm/boot/zImage_w_dtb

haven't tried it yet. maybe when i have some spare time to experiment. did you test that?

mg21 wrote:
And the kernel 3.6.5 does not initialize the gpio_keys properly :down: ... thats why the power/func keys do not work.

the keys are not registered as gpios anymore, but input devices. check out /dev/input/event0. shyd has experimented with it http://dev.shyd.de/linkstation/devel/ls ... 3.6.6-shyd but we have no script for polling events.

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Mon Nov 12, 2012 7:44 pm 
Offline
Newbie
User avatar

Joined: Fri Aug 03, 2012 4:40 pm
Posts: 14
fjen wrote:
the keys are not registered as gpios anymore, but input devices. check out /dev/input/event0. shyd has experimented with it http://dev.shyd.de/linkstation/devel/ls ... 3.6.6-shyd but we have no script for polling events.


The only thing we have to do is to evaluate the last 64 bits and trigger an event or fill corresponding files. Then we are able to monitor the states in lsmonitor!

_________________
LS-CHLv2, Dockstar, Goflex Net, Raspberry Pi - all running Debian Squeeze


Top
   
PostPosted: Tue Nov 13, 2012 11:48 pm 
Offline
Newbie

Joined: Tue May 15, 2012 4:50 pm
Posts: 33
fjen....

You are awesome!!! :up: :up: :up: :up: :up: :biglol:

Finally with all your help and instructions my LS-XHL is now running kernel 3.6.5 and Wheezy.

Installed webmin and all is good.

Thank you for your patience and help


Top
   
PostPosted: Tue Nov 27, 2012 6:31 pm 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
3.6.8 is available now!

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Wed Nov 28, 2012 12:01 am 
Offline
Newbie

Joined: Tue May 15, 2012 4:50 pm
Posts: 33
Is there an easy way to upgrade the kernel an boot.

or do I have to:

pull the unit apart again and update it externally and then put it together?


Top
   
PostPosted: Wed Nov 28, 2012 12:15 am 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
updating the kernel on the linkstation:
Code:
# user: root
wget <archive-link>
tar xf 3.6.8-fjen-1.tar.bz
cd 3.6.8-fjen-1
cp -r lib /
[mount /boot]
cp uImage.[device] /boot/uImage.3.6.8-fjen-1
cd /boot
ln -fs uImage.3.6.8-fjen-1 uImage.buffalo
reboot

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Last edited by fjen on Wed Dec 05, 2012 12:07 pm, edited 1 time in total.

Top
   
PostPosted: Fri Nov 30, 2012 6:08 am 
Offline
Total Newbie

Joined: Thu Oct 18, 2012 1:51 pm
Posts: 4
This works also with ls-vl,despite the orange light. It's probably because of the different hardware. Can the author,please, give me a short instruction how to compile my own kernel,having in mind that I have a patch which is also taken from here.
http://www.yamasita.jp/cgi-bin/BBS/eztr ... w_num=5992


Top
   
PostPosted: Fri Nov 30, 2012 11:47 am 
Offline
Regular Member
User avatar

Joined: Mon Jun 18, 2012 2:12 pm
Posts: 116
Compile instructions are in the first post.

You only need the part after
Quote:
----------
ls-vl
----------

from your linked patch. An other device musst be selected when creating the config (CONFIG_MACH_LSVL).

_________________
## Linkstation LS-CHLv2 and LS-XHL stuff:
Debian 7 Wheezy - Rootfs
Kernel 3.13


Top
   
PostPosted: Fri Nov 30, 2012 11:48 pm 
Offline
Newbie

Joined: Fri Nov 30, 2012 11:44 pm
Posts: 27
fjen wrote:
updating the kernel on the linkstation:
Code:
# user: root
wget <archive-link>
tar xf 3.6.8-fjen-1.tar.bz
cd 3.6.8-fjen-1
cp -r lib /lib
[mount /boot]
cp uImage.[device] /boot/uImage.3.6.8-fjen-1
cd /boot
ln -fs uImage.3.6.8-fjen-1 uImage.buffalo
reboot


I tried this out, but I think somethig went wrong..
My linkstation stuck in a reboot loop..

what can I do?


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

All times are UTC+01:00


Who is online

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