Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri May 25, 2018 11:38 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 364 posts ]  Go to page Previous 121 22 23 24 25 Next
Author Message
PostPosted: Mon Feb 25, 2008 1:38 pm 
Offline
Newbie

Joined: Fri Feb 22, 2008 1:42 pm
Posts: 5
Location: Japan
@smallkeung

I am using buffalo's original kernel source.
kernel's version is 2.6.16.16.
http://opensource.buffalo.jp/ls-gl-110.html
kernel source file is linux-2.6.16_lsp.1.7.8.tar.gz.

using config file is /linux-2.6.16_lsp.1.7.8/buffalo/buffalo_lsgl_arm_110.config

copy to /linux-2.6.16_lsp.1.7.8 dir and rename '.config'.
edit '.config' file.
comment out cross copile sentence.
Code:
make menuconfig

>network>(all routing option = on)
>network>netfilter(= on)>(all modules = <M>)

Code:
make uImage

mv /boot/uImage.buffalo /boot/uImage.buffalo.back
cp /linux-2.6.16_lsp.1.7.8/arch/arm/boot/uImage /boot/uImage.buffalo

INSTALL_MOD_PATH=/ make modules_install

reboot your system.

add this sentence to the first line in iptables's 'Makefile'.
CC = gcc -mabi=aapcs-linux
iptales compile and install.


Top
   
PostPosted: Sat Mar 01, 2008 3:31 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
Hi,
mindbender wrote:
moon maker....now its time that you test the modules!

here is a complete list of the compiled modules:
http://buffalo.nas-central.org/download ... -mb_v6.txt

your Kernel is also working on my LS Pro Duo. But I missing the quota module (XFS has an own quota - for all other FS the quota module must be enabled). Can you give me a short how to, which patches you've applied, getting the current v6 kernel binary? Or can you compile the module for me?

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


Top
   
PostPosted: Sat Mar 01, 2008 4:17 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
the v6-binary + modules is compiled from the tera live gpl sources with the codesourcery toolchain. only the terastation kernel sources can be used for compiling raid support into the kernel...there it is needed obviously.

installation of the codesourcery toolchain on linux:
http://nas-central.org/index.php/Settin ... _compiling

then download the kernel source from
http://buffalo.jp/php/los.php?to=gpl/st ... tshtgl.tgz
and extract it in the prepared folder.

then use the v6-config and store it as .config in the root kernelsource-directory.

use "make menuconfig" to apply your modifications.

use "make uImage" to compile the kernel

use "make modules" to compile the kernel modules.

you should try the 2.6.16.57 kernel from here....only concern is that maybe raid does not work.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sun Mar 02, 2008 4:45 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Deleted by lb_worm

When testing with the stock kernel, it helps to acually boot with the stock kernel. Kernel NFS is working ok.

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Sun Mar 02, 2008 5:18 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
@mindbender:
I can compile a working kernel with your config file - but when I enable quota, the kernel doesn't but. I've no idea what's wrong. Can you maybe test it? I've no serial console and can't see whats wrong during boot.

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


Top
   
PostPosted: Sun Mar 02, 2008 6:21 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
how big is the kernel?

it seems that there is a certain barrier which should not be exceeded. as the v6 kernel is slightly below 2 MB i think this is the barrier.

remove some other stuff and make sure it is below this barrier.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sun Mar 02, 2008 6:42 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
Okay - the kernel has a little bit more than 2 megabytes. I'll try, kick out some stuff or compile it as modules. What special is the reason, that the kernel shouldn't be bigger than 2 megabytes? Is it a hardware or software barrier?

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


Top
   
PostPosted: Mon Mar 03, 2008 6:16 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
Okay ... I compiled now multiple times kernels .... but I've no success: I can't boot an own kernel, when I enable quota for example - or when I disabled the build-in character support (UTF-8)... I've only success with you given configuration and when I make NFS as module - not build-in.
I need a cable - without I think I can't get a working kernel in this century ;-)

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


Top
   
PostPosted: Mon Mar 03, 2008 6:33 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
hm. somehow i remember PMing with you that i should send you a usb2serial-cable....and somehow it seems to me that i just forgot it...am i right?

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Mon Mar 03, 2008 6:37 pm 
Offline
Regular Member

Joined: Mon Nov 07, 2005 4:37 pm
Posts: 205
Location: Germany
mindbender wrote:
hm. somehow i remember PMing with you that i should send you a usb2serial-cable....and somehow it seems to me that i just forgot it...am i right?
Yes ;-)

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


Top
   
PostPosted: Thu Apr 24, 2008 11:05 am 
Offline
Newbie
User avatar

Joined: Fri Jul 20, 2007 12:03 pm
Posts: 19
@dunchan_h
i am using your v4 kernel (kernel-2.6.16.57-lsp_eabi-dh_v4) downloaded from dmik.
in my syslog i have a lot messages like:
---- snip ----
Apr 24 12:00:09 arnistuff kernel: TWSI: mvTwsiStartBitSet ERROR - start bit didn't went down
Apr 24 12:00:09 arnistuff kernel: TWSI: mvTwsiStopBitSet ERROR - status 0 after Stop Bit.
---- snip ----
do i have to worry about that? do you know the meaning of this error?
everything seems to work fine.
greetz
awx


Top
   
PostPosted: Thu Apr 24, 2008 12:11 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
This is the I2c stuff. It is probably ok but does need to be fixed as it is initialising something incorrectly; maybe DRAM or clocks.

_________________
LS used as PVR and streaming source


Top
   
PostPosted: Mon May 05, 2008 4:57 am 
Offline
Newbie

Joined: Fri Jan 19, 2007 4:33 am
Posts: 53
@duncan_h

Recently, I tried to install the pptp
Code:
May  5 10:47:44 localhost pptpd[891]: CTRL: Starting call (launching pppd, opening GRE)
May  5 10:47:45 localhost pppd[892]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May  5 10:47:45 localhost pptpd[891]: GRE: Bad checksum from pppd.
May  5 10:47:45 localhost pppd[892]: This system lacks kernel support for PPP.  This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration.  If PPP was included as a module, try `/sbin/modprobe -v ppp'.  If that fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp distribution for more details.
May  5 10:47:45 localhost pptpd[891]: GRE: read(fd=6,buffer=205c8,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May  5 10:47:45 localhost pptpd[891]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May  5 10:47:45 localhost pptpd[891]: CTRL: Reaping child PPP[892]


Have the V4 kernel including this ppp feature?

Thank you!


Top
   
PostPosted: Mon May 05, 2008 5:01 am 
Offline
Newbie

Joined: Sun Oct 21, 2007 5:55 am
Posts: 26
My 2.6.16.57-lsp_eabi-dh_v4 is also filling logs with:

...[10s of thousands of lines of the same]....
TWSI: mvTwsiStartBitSet ERROR - start bit didn't went down
TWSI: mvTwsiStopBitSet ERROR - status 0 after Stop Bit.

I haven't seen any adverse effects but then again, I'm not doing much with devices. Just a USB printer and the errors appear every minute whether the printer is connected or not.


Top
   
PostPosted: Tue May 06, 2008 5:33 am 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
is TWSI "Two-Wire-Serial-Interface"?

I've near seen this in the logs. (either on LinkStation or
Kurobox Pro)

is it something plugged into your usb port?
The printer?
Or some hardware internal to
the Kurobox Pro or Linkstation?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 364 posts ]  Go to page Previous 121 22 23 24 25 Next

All times are UTC+01:00


Who is online

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