Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Nov 23, 2014 4:43 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 362 posts ]  Go to page 1, 2, 3, 4, 5 ... 25  Next
Author Message
PostPosted: Fri Nov 02, 2007 4:43 am 
Offline
Newbie

Joined: Sun Oct 21, 2007 5:55 am
Posts: 26
EDIT - look here:

Notice that there is now support for the LS pro/LS Live/Kurobox Pro in the vanilla kernel:
http://blog.nas-central.org/2008/04/18/ ... la-kernel/
so far there is no precompiled kernel, use the 2.6.16.57 compiled by duncan_h so until a kernel is released.

-------------------------------------------------------------------------------------------------------------

info about compiling for different buffalo boxes
viewtopic.php?f=18&t=4329&p=40406#p40406

2.6.16.16 kernel compiled from terastation live sources by mindbender for the ls pro
viewtopic.php?f=18&t=4329&p=40419#p40419
Notice that this kernel has usb debug enabled and therefore slowly fills your box with logs.

2.6.16.57 kernel:
viewtopic.php?f=18&t=4329&p=42640#p42640
created by reversing some patches from the GPL sources, applying incremental patches to 2.6.16.57 and then applying the reversed patches again.

even better 2.6.16.57 compiled by duncan_h - recommended:
viewtopic.php?p=45556#p45556
similar to the one above ... it is the successor. so far it is the latest kernel compiled from GPL sources.

howto install the codesourcery crosstoolchains for compiling the kernel:
I created a wiki page for setting up a crosscompile enviroment by executing a single script:
http://www.nas-central.org/index.php/Se ... _compiling


-- mindbender

=================================================================================

Hey folks,

I don't know where to make this request but someone suggested I ask the kernel developers for this - so I guess that's here?

I've got a kuro-pro and running Debian/Freelink 2.6.12.6-arm1 via the instructions for kuro-pro. Things work great except that I can't print. It seems the "usblp" module is not included in that distro.

Please, please please include it in the next "release"? I can't figure out if that's going to be .22, .23 or .24 or when it might be but I'm patiently waiting! I can't cut over my home network to my nice new (FAST) Kuro-pro until I get the print server working!

I'd compile my own kernel and add it myself but I don't want to end up running a rogue distro. If someone wants me to test it out I can do that - assuming it'd be "easy" to install the final distro (I've got SOME skills).

thanks!


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 9:12 am 
Offline
Regular Member
User avatar

Joined: Tue Oct 09, 2007 9:01 am
Posts: 117
I'd like to second that, except for one thing. Isnt it possible to just recompile the .12 freelink kernel to support modules and include the compiled modules in a package feed (i know mindbender is working on something similiar to that)?

Since im somewhat impatient i would try to do this myself (using oldconfig), but i cant find the freelink sources anywhere, and it wont be just the vanilla kernel i guess.


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 10:31 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
stjopa:
GPL kernel sources for the 2.6.12.6 kernel: http://buffalo.nas-central.org/download/LSPro_ ... .1.7.8.tgz
GPL kernel sources for the 2.6.16 kernel:
http://buffalo.jp/php/los.php?to=gpl/st ... 7.8.tar.gz

actually....hey...we need that. i am booting to ubuntu now....and i will try to compile a kernel.
but you should try as well...then we faster get to that goal.

just4info, you need to install the codesourcery toolchain:
viewtopic.php?f=37&t=3356

_________________
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
 Profile  
 
PostPosted: Fri Nov 02, 2007 11:33 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
ok, i just compiled a kernel from GPL sources. i haven`t tested if it boots but most likely it does.

i now added a bunch of things to be compiled as modules...we will see if they compile and if they compile if they work at all.

so no warranty that a kernel module will 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
 Profile  
 
PostPosted: Fri Nov 02, 2007 1:57 pm 
Offline
Regular Member
User avatar

Joined: Tue Oct 09, 2007 9:01 am
Posts: 117
Wonderful. I still have a cross-compiler environment for my NSLU2 but i guess it wont do the job here.

Since you started the booster and did most of the job i eagerly await some stuff to test :).


Top
 Profile  
 
PostPosted: Fri Nov 02, 2007 6:07 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
the first kernel with the default config booted....so i decided to enable some more stuff...unfortunately i enabled to much and the box booted and responded to ping but it did not do anything else :D

i suppose i shouldn`t have enabled the so called netconsole...it was experimental at the days of 2.6.12.6 (when was that? did i mess with linux at that time already?).

so i began a second time from the base-config which worked...i ll add nfs-kernel-server and usb-printing support support...everything else (mostly usb-related - usb-webcams, usb-scanner, usb-tv-tuners and so on) will be compiled as modules. ithe question then of course is if the kernel modules really work then.....this can only be found out through trying.

grüße nach tulln.

_________________
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
 Profile  
 
PostPosted: Fri Nov 02, 2007 8:37 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
a different kernel booted to freelink...and lets say it loaded a few modules:
http://pastebin.org/6885

the kernel somehow does not want to boot on jtymod? maybe i did something wrong...need to check again.

here is the current kernel-build which works on my LS Pro@freelink:
http://buffalo.nas-central.org/download/Users/ ... rm1-mb_v1/

install the kernel:
Code:
cd /boot
wget http://buffalo.nas-central.org/download/Users/mindbender/arm9/KERNEL/2.6.12.6-arm1-mb_v1/uImage_2.6.12.6-arm1-mb_v1
mv uImage.buffalo uImage.buffalo_old
ln -s uImage_2.6.12.6-arm1-mb_v1 uImage.buffalo


install the modules:
Code:
cd /tmp
wget http://buffalo.nas-central.org/download/Users/mindbender/arm9/KERNEL/2.6.12.6-arm1-mb_v1/modules_2.6.12.6-arm1-mb_v1.tar.gz
tar -C / -xzvf modules_2.6.12.6-arm1-mb_v1.tar.gz
depmod -a


the config and the System.map (if needed at all??) are both in the same directory as well.

if there is something missing which is so obvious usefull and totally important to add, please tell me.

_________________
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
 Profile  
 
PostPosted: Fri Nov 02, 2007 10:29 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
ok new info. i compiled a 2.6.16.16 kernel from the newer GPL sources

it loaded even more modules :D :
http://pastebin.org/6898

i still tried to boot it only on freelink. i need to test on jtymod/stock as well.

for those that are unsure if they can install several different modules/kernels
no problem...just proceed with the install instructions here. everything is controlled via the symlink called uImage.buffalo...and i will rename the kernels to v2,v3 and so on so there will be no problems.

find the 2.6.16.16-kernel here:
http://buffalo.nas-central.org/download/Users/ ... rm1-mb_v1/

install the kernel:
Code:
cd /boot
wget http://buffalo.nas-central.org/download/Users/mindbender/arm9/KERNEL/2.6.16.16-arm1-mb_v1/uImage_2.6.16.16-arm1-mb_v1
mv uImage.buffalo uImage.buffalo_old
ln -s uImage_2.6.16.16-arm1-mb_v1 uImage.buffalo


install the modules:
Code:
cd /tmp
wget http://buffalo.nas-central.org/download/Users/mindbender/arm9/KERNEL/2.6.16.16-arm1-mb_v1/modules_2.6.16.16-arm1-mb_v1.tar.gz
tar -C / -xzvf modules_2.6.16.16-arm1-mb_v1.tar.gz
depmod -a

_________________
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
 Profile  
 
PostPosted: Fri Nov 02, 2007 11:24 pm 
Offline
Regular Member
User avatar

Joined: Tue Oct 09, 2007 9:01 am
Posts: 117
Since its quite late here in Austria i will check tomorrow morning. But i must say quite an impressive progress in that short time ;).


Top
 Profile  
 
PostPosted: Sat Nov 03, 2007 2:46 am 
Offline
Newbie

Joined: Sun Oct 21, 2007 5:55 am
Posts: 26
Wow! Thanks!

I'll try 2.6.16.16 very soon - maybe tonight, can't promise...work to do...kids to get in bed...must sleep...

2 questions:

1) I'll find out soon enough but I can just install this right over my 2.6.12.6 given the above instructions? Or do I need to use 2.6.12.6 only since that's the version I'm currently running? I'm willing to take the risk if I don't get a response soon enough.
2) If I do this and 2.6.23 comes out a month or two from now - is it going to be a big deal to get to that kernel? Sorry, I know that's a simplton question and I'm sure the answer can be found in "how to upgrade" (and I won't ask "how" here) but if you have a quick answer that'd be appreciated.

THANKS!!! If this works I'll try Galleon which gave me problems installing IBM's java before, maybe this kernel with more modules will do the trick.


Top
 Profile  
 
PostPosted: Sat Nov 03, 2007 3:03 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
1) actually you can simply use the instructions i wrote above.

you move the old kernel out of the way.

2) yes it is a big deal. it means that the board is supported in the mainline kernel. and with "the board" i do not mean a single NAS....i mean about 16 different devices from various vendors. of course, the kurobox-pro will be the only box directly supported....but the LS pro / LS Live are nearly the same if not nearly identical (v2 versions!).

this again means that installing gentoo/debian/whatever becomes much easier as the OS-kernels can be used....and it means that from that moment on all new kernels are automatically available for the box.hey, there still is quite some difference between the 2.6.16 and the 2.6.23 kernel....all the stuff got updated.....like webcams and so on.

anyway. i will experiment a little...delete all non working stuff out of the way, remove unnecessary stuff, add stuff that makes sense (netfilter/iptables? did that ever work? i need to check).

and i want to test if the kernels work on jtymod/stock....thats important as i want to put these things into a kernel/kernel-modules feed for the LS Pro/LS Live.....and i will recompile the sources again for the terastation pro v2/terastation live as well as there raid is mandatory. (strange somehow as raid support was broken in the 2.6.16.16 kernel source?)

enjoy and report back plz

_________________
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
 Profile  
 
PostPosted: Sat Nov 03, 2007 7:25 am 
Offline
Newbie

Joined: Sun Oct 21, 2007 5:55 am
Posts: 26
Well, some luck, some not so luck.

I got usblp.ko to load (insmod <path>/usblp.ko made it appear in dmesg).

I did another MAKEDEV in /dev for kicks and now have a /dev/usblp0 that I can "cat" to but it won't do anything. I tried resetting up CUPS with webmin and then some manual tweaking with Samba and CUPS as per some documentation that I found: http://www.faqs.org/docs/Linux-mini/Deb ... nting.html

But no luck actually printing. I can't be sure if it's the device or not and now it's late so I have to give up for now. /var/log/messages definitely gives more encouraging messages about detecting the usblp module and the printer itself when connected/disconnected. I think the kernel module is right, but I can't prove/disprove 'cause I can't get anything to show up on my printer!

I'll continue tweaking over the next day or two. I'm approaching it as a samba/cups issue, especially since I can no longer browse the file shares using WinXP -sounds like a samba issue even though I couldn't print before I mucked with Samba.


Top
 Profile  
 
PostPosted: Sat Nov 03, 2007 10:43 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
which kernel did you try? the 2.6.12.16 or the 2.6.16.16?

usblp will move into the kernel. virtually everyone wants that. its strange that it does not work because the 2.6.12.6 freelink kernel (bundled with freelink) has usblp and nfs-kernel-server compiled in.....

_________________
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
 Profile  
 
PostPosted: Sat Nov 03, 2007 11:27 am 
Offline
Regular Member
User avatar

Joined: Tue Oct 09, 2007 9:01 am
Posts: 117
I dont agree.

Installed the .16 kernel on my KuroPro, booted fine, installed udev.

Dmesg does show the printer being acknowledged, but udev doesnt create the device node until i insert usblp.

Is .16 having any xfs issues or other major bugs? (ls on my xfs partition works, xfs_check gives a segfault)

Will try to set up my printer server now and tell if it works.


Top
 Profile  
 
PostPosted: Sat Nov 03, 2007 11:50 am 
Offline
Developer
User avatar

Joined: Sun Dec 31, 2006 10:40 am
Posts: 434
Location: Scotland
It didn't segfault here. Just a snippet:
Code:
root@hs-dh320gl:~# uname -a
Linux hs-dh320gl 2.6.16.16-arm1-mb_v1 #2 Fri Nov 2 21:10:32 CET 2007 armv5tejl GNU/Linux
root@hs-dh320gl:~# xfs_check /dev/sda6
dir 128 bad size in entry at 71
dir 128 offsets too high
root directory 128 has .. 8389888
dir 131 entry                                              tar bad inode number 1952938496
dir 131 entry     bad offset 26978
dir 131 bad size in entry at 104
dir 131 offsets too high
dir 135 bad size in entry at 8
dir 136 bad size in entry at 8
dir 148 bad size in entry at 8
dir 152 bad size in entry at 8
dir 156 bad size in entry at 8
dir 159 entry                                             .txt bad inode number 1635331687
dir 159 entry  bad offset 144
dir 159 bad size in entry at 86
dir 16777344 bad size in entry at 8
dir 16777365 bad size in entry at 8

_________________
LS-500GL - Diskless
LS-250GL - Armel, U-Boot NC Enabled
HS-DH320GL - Stock 1.11_1a
LS-H120LAN(PPC) - Dev (foonas)
LS-H120LAN(PPC) - Freelink - 2.6.23.8
LS-H250LAN(MIPS) - Dev (foonas-em, foonas)
LS-HS400DGL(PPC) - Freelink
Thecus N1200 - Ubuntu 8.10


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 362 posts ]  Go to page 1, 2, 3, 4, 5 ... 25  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group