Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Dec 12, 2017 7:15 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 364 posts ]  Go to page Previous 116 17 18 19 2025 Next
Author Message
PostPosted: Thu Jan 17, 2008 1:49 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
boot box via tftp, mount /dev/sda2 . then you can modify what is started at boot time.

_________________
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: Thu Jan 17, 2008 5:09 pm 
Offline
Newbie

Joined: Fri Jan 19, 2007 4:33 am
Posts: 53
Finally, I remove udev from the /etc/init.d/
Then I can boot it back to Freelink 1.0 rev2.. :up:

2 nights couldn't sleep well....... Tonight, I can have a nice dream! YES :finger:

@mindbender

if you will complie 2.6.16.16 without USB-debug option. I dare to try it again :evil:


Top
   
PostPosted: Fri Jan 18, 2008 1:10 am 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
I have reasonably-well-tested working kernels with iptables, and
all possible usb devices that compile correctly
added as modules (and 2.6.16.16 updated to 2.6.16.57) in both eabi and oabi
variants, and with and without ACL support added to XFS, Ext2/3. (4 different kernel variants)
They are properly documented with patches, config files etc., and based on latest
Buffalo Linkstation sources and 1.10 config file.

If someone can explain what is needed to get ftp uploads to downloads.nas-central.org working
I will upload them.
(mindbender says that no-one can upload right now because of the website changes, but colchaodemola managed to upload recently, so I suspect some specialstep is needed
to give a new user upload access )


Top
   
PostPosted: Fri Jan 18, 2008 1:46 am 
Offline
Regular Member

Joined: Mon Apr 09, 2007 9:48 pm
Posts: 130
duncan_h wrote:
I have reasonably-well-tested working kernels with iptables, and
all possible usb devices that compile correctly
added as modules (and 2.6.16.16 updated to 2.6.16.57) in both eabi and oabi
variants, and with and without ACL support added to XFS, Ext2/3. (4 different kernel variants)
They are properly documented with patches, config files etc., and based on latest
Buffalo Linkstation sources and 1.10 config file.

If someone can explain what is needed to get ftp uploads to downloads.nas-central.org working
I will upload them.
(mindbender says that no-one can upload right now because of the website changes, but colchaodemola managed to upload recently, so I suspect some specialstep is needed
to give a new user upload access )

if you want to , send me by mail to colchaodemola at gmail dot com and i will upload ...


Top
   
PostPosted: Fri Jan 18, 2008 10:11 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i do not think you will be able to upload currently. the ftp server is turned off. need to check alternatives.

i am getting crazy with that problem.

_________________
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: Thu Jan 24, 2008 8:16 am 
Offline
Newbie

Joined: Fri May 18, 2007 7:26 pm
Posts: 10
Hello,

i am a little bit confused.

Which of the kernels work on a Linkstation Pro?

Can anyone help me, and give me a link to the working kernel?

Thanks in advance

Markus


Top
   
PostPosted: Fri Jan 25, 2008 9:12 am 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
The kernels I compiled are available at
Edited: now at:
ftp://ftp.dmik.org/pub/common/buffalo/lspro/duncan_h

There are 4 variants (the tar archives contain uImage and all modules and config files)
kernel-2.6.16.57-lsp_eabi-dh_v1.tar.gz
kernel-2.6.16.57-lsp_oabi-dh_v1.tar.gz
kernel-2.6.16.57-lsp_eabi-dh_v2.tar.gz
kernel-2.6.16.57-lsp-oabi-dh_v2.tar.gz

(just unpack the tar archive in the / directory, then go to /boot, move uImage.buffalo to (say) uImage.old, and make uImage.buffalo a symbolic link to the new uImage file; see the README-2.6.16.57-lsp_xabi-dh_vx file)



eabi : cross-compiled (2005q3 toolchain) EABI kernel with legacy OABI support.
oabi: natively-compiled OABI kernel (maybe iptables will work with FreeLink using an OABI kernel?, ALSA sound too, maybe; FreeLink is debian-arm which is OABI="old ABI" binary format)

v1: ext3 and xfs file systems have ACL and security label support
v2: ext3 and xfs support is compiled exactly as in the stock buffalo kernels.

the config is based on 1.10 Buffalo Linkstation kernels, with lots of extra modules for usb and serial devices (these can be attached with a usb-to-serial cable), as well as modules for other filesystem types.

see README-2.6.16.57-lsp_xabi-dh_vx

For rebuilders, the patch to the buffalo GPL source that updates 2.6.16.16 to 2.6.16.57, and a native arm OABI mkimage executable are also posted. The patch adds squashfs support too.


Thanks to dmik for hosting these while ftp uploads at nas-central are not working.

These LinkStation Live/Pro kernels also work on a Kurobox Pro, but don't support its extra features.


Which format, EABI or OABI to use? With Freelink (debian-arm)there is no advantage (and there are disadvantages) in using an EABI kernel (with OABI legacy support), except that Buffalo kernels are EABI, and may have better-tested ext3 and xfs filesystem support. With a debian-armel distribution (SID, not stable), use EABI kernels.


Last edited by duncan_h on Sat Jan 26, 2008 6:01 pm, edited 7 times in total.

Top
   
PostPosted: Fri Jan 25, 2008 9:23 am 
Offline
Regular Member

Joined: Sun Nov 25, 2007 11:32 am
Posts: 109
First of all thanks for the good work - great to see new kernels avail :-)
is there ANY way I can pursuade you to compile for the TS Pro II as well? (I was told i't s a single flag in the config...)


Top
   
PostPosted: Fri Jan 25, 2008 9:38 am 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
@gnyf I could compile TS kernels (so could you!), but couldn't test them. Would you
want to be the tester? What do you want, some extra modules?


Top
   
PostPosted: Fri Jan 25, 2008 9:52 am 
Offline
Regular Member

Joined: Sun Nov 25, 2007 11:32 am
Posts: 109
@duncan_h yes I would like to give it a shot as I'm in some kind of bad situation anyhow:
viewtopic.php?f=22&t=4928

I'll have to wait to get a serial cable - can I simply buy a std. usb-serial converter or will a need a special one?

I'd love to see usb(lp) support in kernel and xfs.
Once the kernel is up I might need some help with the above ref thread to get the full Debian up if anyone can help with that.

thx


Top
   
PostPosted: Fri Jan 25, 2008 6:37 pm 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
@gnyf:

Serial port access is real useful for testing kernels. The v2 LinkStations have a nice little socket on the bottom of the box which accepts a modified USB type-A female plug. This make it easy to gain serial port access to u-boot on v2 LinkStations, so you can select which kernel to boot during the booting process (that makes it easy to recover from bad test kernels). Otherwise you need to mount the drive with the /boot partition on a linux PC to put back a working uImage.

Unfortunately, the Terastation in the pictures http://buffalo.nas-central.org/index.php/Disassemble_the_TSPROv2/TSLIVE seems only to have some place on the mainboard marked for soldering serial cable leads, but no nice external socket. You probably need to solder leads to the TS mainboard to get serial port access. You then connect to a PC using a FTDI (USD20) USB-TTL adapter cable. (or a hacked cell-phone data cable if you can find the right one). (Personally, I am scared to use a soldering iron on my mainboard, in case I mess it up.)

EDIT: the place for attaching (soldering) the serial cable leads is accessible by just removing the TS side panel

I believe that the drives on the TeraStation are designed to be easily swappable, so maybe all you need is a usb-to-SATA cable and power supply ( you can get this for USD 15 or so), and just remove the drive when you need to. I would not play about with untested kernels until you have verified that you can access /boot on a non-bootable TeraStation to fix it. (It's just a question of making /boot/uImage.buffalo a symbolic link to a working uImage.) If you have serial port access, you can interrupt the booting process to specify the kernel uImage you want to u-boot to use, and use a different one than the default one (u-boot is the equivalent of grub on a i386 PC)

If you want to try to compile TeraStation kernels, I would start by checking that you can recreate the Stock Buffalo one (they supplied their config files) and can install it, etc.

Don't try patching the source from linux 2.6.16.16 to linux 2.6.16.57 at first, as there are significant fixes to the RAID code in the kernel sources in drivers/md/ (multi-device support), and lots of that code is patched by Buffalo. That's not an issue for the Linkstation, which does not use it, but is for the TeraStation. Just try adding extra module support for features you need. That way you are just adding stubs for the new modules to the kernel image (which must not grow to be larger than 1.9MB) The process is easy once you have learned to sucessfully recompile the standard Buffalo kernel.

Unless you want iptables or ALSA usb sound card support, use the same 2005q3 cross-compiling toolchain that Buffalo uses (available here), and do all the compiling on a linux pc. (this builds EABI kernels with legacy OABI support for debian-arm (i.e., FreeLink)).

PM me if you need any specific tips to get started. I found a few minor difficulties in the way, but managed to work it out. I'm assuming you have a PC that can run linux.


If you really want me to, I could compile a Terastation kernel for you, but its not really difficult at all


Last edited by duncan_h on Fri Jan 25, 2008 7:27 pm, edited 1 time in total.

Top
   
PostPosted: Fri Jan 25, 2008 7:07 pm 
Offline
Newbie
User avatar

Joined: Fri Jul 20, 2007 12:03 pm
Posts: 19
hi!
i would like to test the new kernels from duncan_h as well.
but i can't download anything from ftp://ftp.dmik.org/incoming/
i'am getting strange errors like "550 can't change directory to /incoming/kernel...." with firefox.
can you plz take a look at it?
greetz
awx


Top
   
PostPosted: Fri Jan 25, 2008 7:20 pm 
Offline
Regular Member

Joined: Mon Oct 15, 2007 5:21 am
Posts: 144
yes, Simply clicking on the file doesnt download it (its ftp:// not http://)

try ctrl-click on firefox and select "save link as ,,,"


Top
   
PostPosted: Fri Jan 25, 2008 7:39 pm 
Offline
Newbie
User avatar

Joined: Fri Jul 20, 2007 12:03 pm
Posts: 19
aha.
did u try it urself?


Top
   
PostPosted: Fri Jan 25, 2008 8:52 pm 
Offline
Newbie

Joined: Fri Jan 19, 2007 4:33 am
Posts: 53
awx wrote:
hi!
i would like to test the new kernels from duncan_h as well.
but i can't download anything from ftp://ftp.dmik.org/incoming/
i'am getting strange errors like "550 can't change directory to /incoming/kernel...." with firefox.
can you plz take a look at it?
greetz
awx


Same prolem here~~~

I used FTP to try

Code:
ftp> mget *
200 TYPE is now ASCII
mget README-2.6.16.57-lsp_xabi-dh_vx? y
200 PORT command successful
550-This file has been uploaded by an anonymous user. It has not
550 yet been approved for downloading by the site administrators.


I think the files need administrator to approve. ;)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 364 posts ]  Go to page Previous 116 17 18 19 2025 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