Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Aug 17, 2018 4:56 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 743 posts ]  Go to page Previous 146 47 48 49 50 Next
Author Message
PostPosted: Tue Aug 24, 2010 5:49 pm 
Offline
Total Newbie

Joined: Tue Aug 24, 2010 12:20 pm
Posts: 2
First of all, thank you all for your work, I finally migrated to lenny thanks to your howtos and files.

Since my own builds of the 2.6.34 kernel result in cyclic reboots (what I understand as non-working :?), I ask myself whether you do cross-compiling or compile directly on the box to get your kernel running. I do it (short-version) this way, using debs config and the 2.6.34.5 source from kernel.org:

Code:
make ARCH=arm CROSS_COMPILE=/opt/sourcery/bin/arm-none-linux-gnueabi- zImage
make ARCH=arm CROSS_COMPILE=/opt/sourcery/bin/arm-none-linux-gnueabi- modules
make ARCH=arm CROSS_COMPILE=/opt/sourcery/bin/arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=/mnt/usb-attached-rootfs
devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live
cat foo arch/arm/boot/zImage > zImage.new
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'linux' -d zImage.new uImage.new
cp uImage.new /mnt/usb-attached-boot
cd /mnt/usb-attached-boot
ln -s uImage.new uImage.buffalo

The result is a reboot loop of my LS Live v2. debs 2.6.34.1 kernel build is working though, as well as my cross-compiled 2.6.33 from the marvell git. Or any known issues beyond the 2.6.34.1 with the sourcery toolchain? I'm currently trying a build directly on the box but it takes ages :roll: So any hint is appreciated!

Cheers

_________________
Mantelinho

LS-HSDH500GL Lenny armel 2.6.35.3


Top
   
PostPosted: Wed Aug 25, 2010 11:23 am 
Offline
Total Newbie

Joined: Tue Aug 24, 2010 12:20 pm
Posts: 2
OK, seems like I cannot get the codesourcery's toolchain building working images for me (LS Live v2) beyond kernel 2.6.33. However - yeah - I've been able to compile 2.6.35.3 on the box itself, which took more than 3h.. :shock: But works smoothly! And finally xfs stable again on arm (2.6.34+). Great!

_________________
Mantelinho

LS-HSDH500GL Lenny armel 2.6.35.3


Top
   
PostPosted: Sat Aug 28, 2010 4:24 pm 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
Just an FYI: I have uploaded 2.6.35.4 to my github repo http://github.com/deb/Current-stable-ke ... tation-pro

2.6.35.4 includes a fix for CVE: 2010-2959 http://www.exploit-db.com/exploits/14814/


Top
   
PostPosted: Tue Sep 07, 2010 3:59 am 
Offline
Newbie

Joined: Sun Jul 29, 2007 8:53 pm
Posts: 74
Location: Victoria, BC, Canada
Hello Debian users,

Please have a look at my thread concerning a new release of micro-evtd in Debian and consider participating in testing.

Thanks!

_________________
Saving the world, one kilobyte at a time.


Top
   
PostPosted: Mon Sep 13, 2010 9:24 pm 
Offline
Newbie

Joined: Wed Mar 24, 2010 7:51 pm
Posts: 30
deb wrote:
Just an FYI: I have uploaded 2.6.35.4 to my github repo http://github.com/deb/Current-stable-ke ... tation-pro

2.6.35.4 includes a fix for CVE: 2010-2959 http://www.exploit-db.com/exploits/14814/

your kernel is so nice , the reading speed is more faster :up:
may i know which file system is most suitable for this kernel ?
ext4,jfs or xfs?


Top
   
PostPosted: Thu Sep 16, 2010 10:52 pm 
Offline
Newbie

Joined: Wed Mar 24, 2010 7:51 pm
Posts: 30
deb wrote:
Just an FYI: I have uploaded 2.6.35.4 to my github repo http://github.com/deb/Current-stable-ke ... tation-pro

2.6.35.4 includes a fix for CVE: 2010-2959 http://www.exploit-db.com/exploits/14814/

Please help...i got error when i upgrade udev .

Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED
feature is disabled in the running kernel.


Top
   
PostPosted: Tue Sep 21, 2010 6:05 pm 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
I run debian lenny and not squeeze.
I will test if I can run 2.6.35.5 with CONFIG_SYSFS_DEPRECATED disabled.


Top
   
PostPosted: Wed Sep 22, 2010 9:39 am 
Offline
Newbie

Joined: Thu Mar 06, 2008 10:29 am
Posts: 7
I have recently migrated to squeeze. Currently, I am using 2.6.32.11 kernel by davy_gravy where CONFIG_SYSFS_DEPRECATED is disabled. It would be nice to have one of the more recent kernels available with CONFIG_SYSFS_DEPRECATED disabled so udev can run properly.

A bit off topic. I am wondering whether it is possible to use a kernel from squeeze repository, I mean linux-image-2.6.32-5-orion5x, and then use flash-kernel to convert vlinuz into uImage. I heard that 2.6.32-21 has some problems with ethernet, but perhaps 2.6.32-20 runs fine. Any ideas?

EDIT: I checked linux-image-2.6.32-5-orion5x-2.6.32-20_armel.deb and it does not work :(

_________________
LinkStation Live 500 v2, Debian squeeze, Linux 2.6.32-5-orion5x


Top
   
PostPosted: Thu Sep 23, 2010 9:43 am 
Offline
Newbie

Joined: Mon May 25, 2009 4:11 pm
Posts: 30
I have disabled it in my 2.6.35.5 kernel -> which is on my github nowish :)
I am not sure about the debian kernels...
There is a kurobox compatible kernel but you will most likely need the initrd to go with it to support the disk / network module...


Top
   
PostPosted: Thu Sep 23, 2010 12:36 pm 
Offline
Newbie

Joined: Thu Mar 06, 2008 10:29 am
Posts: 7
I did small research on the issue of using kernel from debian repo. I managed to install the kernel from linux-image-2.6.32-5-orion5x package. I also managed to install debian squeeze using debian installer and debian official repos.

More details http://forum.buffalo.nas-central.org/viewtopic.php?f=39&t=21771&p=138748#p138748

_________________
LinkStation Live 500 v2, Debian squeeze, Linux 2.6.32-5-orion5x


Top
   
PostPosted: Sat Sep 25, 2010 1:49 am 
Offline
Newbie

Joined: Tue Aug 10, 2010 8:44 pm
Posts: 7
Can someone please post directions from following this guide to getting back to factory/stock? Especially after using davy_gravy's uboot flash with the netboot console. I'd like to set mine back up to be sold and want it to go completely back to stock setup. LSUpdater no longer finds the LS-GLProV2 on the network so I can't do the debug=1 and then force repartitioning. Thanks in advance!


Top
   
PostPosted: Sat Sep 25, 2010 5:56 pm 
Offline
Newbie

Joined: Sun Oct 28, 2007 10:04 am
Posts: 21
adik2: well done for getting the orion5x kernel running!

Apologies if this is a silly question, but here goes.

I currently use davy_gravy's 2.6.29.1 kernel that I upgraded to from the freelink kernel (following the instructions very early in this thread) - do you have any thoughts about how to move from this to the orion5x kernel? Is a full debinstall needed or is it a question of downloading the correct files and updating uboot?


Top
   
PostPosted: Sat Sep 25, 2010 7:57 pm 
Offline
Newbie

Joined: Thu Mar 06, 2008 10:29 am
Posts: 7
@mergwyn It is possible to update the kernel without full debian installation. One procedure is given here. Some parts of that procedure are already simplified, for example, building uboot images is now done by flash-kernel in squeeze. A short description how I did it. I had davy_gravy's lenny armel which I updated to kernel 2.6.35-5 by deb. Then, I modified /etc/sources.list to migrate from lenny to squeeze. I installed the kernel from debian repo, ran flash-kernel, and modified uboot variables. After reboot, my linkstation worked well. I understand that the essential part of the migration from custom kernels and davy_gravy's lenny armel to squeeze and orion5x kernels is modification of uboot variables. Without the modification, the orion5x kernel does not work and fails when loading initrd (orion5x kernel expects initramfs).

A word of caution before you modify your uboot variable. Check your bootloader version with fw_printenv. Anything below 1.10, and the box can be bricked when you remove initrd,15M from bootargs. See a discussion here, here, and here.

AFAIK, linkstation pro/live is supported only in squeeze and sid.

_________________
LinkStation Live 500 v2, Debian squeeze, Linux 2.6.32-5-orion5x


Top
   
PostPosted: Sun Sep 26, 2010 8:50 am 
Offline
Newbie

Joined: Sun Oct 28, 2007 10:04 am
Posts: 21
Many thanks :up: I am using davy_gravy's netconsole enabled uboot - I assume that will be OK?

I'll get myself sorted out and over the next few weeks and report back how it goes.


Top
   
PostPosted: Fri Oct 08, 2010 1:58 am 
Offline
Newbie

Joined: Wed Feb 27, 2008 12:42 am
Posts: 66
mergwyn wrote:
Many thanks :up: I am using davy_gravy's netconsole enabled uboot - I assume that will be OK?

I'll get myself sorted out and over the next few weeks and report back how it goes.



I think it is version 1.09. Mine is
Quote:
buffalo_ver=BOOTVER=1.09
...Thanks, Tek


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 743 posts ]  Go to page Previous 146 47 48 49 50 Next

All times are UTC+01:00


Who is online

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