Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Feb 20, 2018 8:38 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 38 posts ]  Go to page 1 2 3 Next
Author Message
PostPosted: Sun Jul 08, 2012 3:07 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Guys,

So... the older PPC boxes are somewhat vintage collectors’ items now! ;)
So why not have the latest and greatest software! My KuroHG is still going strong!

I have upgraded the Debian rootfs tarball to Debian Wheezy and built the latest stable version 3 kernel (3.4).


Image

Quote:
Please note this is an upgrade of the existing PPC rootfs worked on, tested, and made possible by many developers here at nas-central over the years... Including but not limited to: Dave, Andre, kuroguy, Bauldrick, Tim, ramukm, krovetz and many others I’m sure… (mindbender?)
Quote:

Debian 7.0 'Wheezy' (3.4 kernel) PPC rootfs tarball:
Includes kernel src for rebuilds.
Get it here:
http://downloads.buffalo.nas-central.org/Users/Stonie/PPC/Kuro-PPC-WheezyRootfs.2012.0708.tgz
md5: 23aa0c10f2b2c299f01f29e10c810287


3.4 Kernel
I did a full sweep and diffed the 2.6 config.
Notable items enabled in the Kernel:

    ext4
    jfs
    xfs
    Reiserfs
    NFS
    usb bulk storage
    Apple Talk
    NTFS support
    IP v6
    CIFS

Software
All the existing tools plus:

    Vsftpd
    Samba (set to default workgroup)
    Transmission (http web client on port 9091)

I installed these extras as they keep coming up in the forums... in particular transmission which can be a bit tricky to get working with the same user as samba.
Please check the configuration of these packages to make sure they suit your needs / security requirements. If you don’t want them just remove them using apt.

Install
I suggest using foonas-em to setup your box.http://foonas.org/index.php/Foonas-em:TFTPBoot-lsppc

You will need at least UBoot 1.2 as per usual
UBoot should look for the kernel at: boot/uImage

To keep it simple fstab only expects a root and swap partition
/dev/sda1 and /dev/sda2 (sda3 is not mounted in fstab)

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>                  <dump>  <pass>
/dev/sda1       /               ext3    defaults,noatime,nodiratime     1    1
proc            /proc           proc    defaults                        0    0
none            /dev/pts        devpts  gid=5,mode=20                   0    0
/dev/sda2         swap            swap    defaults                        0    0

login
Once you have untared to the root of /dev/sda1, reboot and login with:
Code:
root
hydr0g3n

Git Repo
If you want to compare files or submit patches, or point out bugs, its easy on GitHub. I have pushed the RootFS a GitHub repo here:
https://github.com/Stonie/Kurobox-DebianWheezy

Wrinkles
None that I can see **Yet**
Please report them here in this thread and I will fix them, running nicely for me YMMV. Please help out and report them here.

NB: After a bit of testing it would be nice to promote this release a bit more widely as I’m sure some perfectly good boxes getting dusty.
Shame to let such a classic piece of hardware sit idle!

Bring your retro PPC Box back to the cutting edge! 8-)

Cheers,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Last edited by stonie on Wed Sep 19, 2012 8:32 am, edited 1 time in total.

Top
   
PostPosted: Wed Jul 11, 2012 10:13 pm 
Offline
Newbie

Joined: Fri Oct 16, 2009 4:33 pm
Posts: 20
Hi Stonie. I've checked the github and it seems that also this rootfs miss of the "tr" executable.
Bye


Top
   
PostPosted: Thu Jul 12, 2012 1:19 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Just like last time... you didn't look very hard: https://github.com/Stonie/Kurobox-DebianWheezy/blob/master/usr/bin/tr

Code:
LSPPC-Wheezy root ~ # which tr
/usr/bin/tr

This is the second time you have made this claim? please stop making false statements.

If you can't use the provided tr for some other real reason please explain yourself, otherwise you are just trolling.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Thu Jul 12, 2012 11:02 pm 
Offline
Newbie

Joined: Fri Oct 16, 2009 4:33 pm
Posts: 20
Please calm down...
I haven't seen it two times I've checked /bin (where you expect to find it), /sbin and /usr/bin in github.
My fault now (bowsing github on smartphone is not userfriendly), last time with 6.0 it was just missing in the tarball I've downloaded.
Since you called my troll, I'd like to make you understanding that your "kind" answer is very troll!


Top
   
PostPosted: Sat Jul 14, 2012 6:58 pm 
Offline
Total Newbie

Joined: Sat Jul 14, 2012 6:37 pm
Posts: 4
Hello everybody,

I need your help :biglol:

I'm not a GNU/Linux guru but I have an Kurobox HG since 2006 that I use as a little NAS.

Actually my Kurobox use Linux KUROBOX 2.6.20.2_kurobox_hg made by Sylver.

I have installed u-boot but I don't remember which version (I think it's 1.1.4 version but I'm not sure).

  1. How to check the u-boot version ? Update u-boot is similar to install it?
  2. Is it possible to update to Wheezy without loosing any data on hda3 partition ? If yes how to do it?
  3. What is Foonas-em ? I don't understand the difference with u-boot => I read again the wiki and if I understand correctly u-boot is a loader and Foonas-em add some tools and both are flashed in the firmware?

I read the wiki to install u-boot 1.2.0 but some patches from kurobox.com are needed and the website is down. Is there another tutorial to install u-boot 1.2.0 from a 2.6.x kernel?
http://buffalo.nas-central.org/index.ph ... .6_kernels

Many thanks for your explainations and links

(and sorry for my poor English)


Top
   
PostPosted: Wed Jul 18, 2012 10:17 am 
Offline
Total Newbie

Joined: Sat Jul 14, 2012 6:37 pm
Posts: 4
well I've tried to connect to uboot to check the version. I tried with the default settings (192.168.11.150 for the Kurobox and 192.168.11.149 for my PC) and I have no response message. This is not a network problem because I can connect via ssh then when the kuro has finished booting. I have a feeling qu'uboot is not at all even though I installed a 2.6 kernel.

Is there another way to check if uboot is installed or if another loader is used?

Is it possible to install uboot without losing the data on the disk? Or is it absolutely necessary to format the hard drive and reinstall all the system?

What version of uboot should be used for a Kurobox HG? 1.2.0 or there there a newer version? I found this precompiled version http://downloads.buffalo.nas-central.or ... 2.0-r2.bin Is this the one to use for a Kuro HG?

How to install uboot when you are already running a 2.6.x kernel? The tutorials seem all based on 2.4 kernels. Even if I am under a 2.6.x kernel my fstab use hda and not sda. Is it normal ?

I know it's been a lot of questions but I'm interested in any indication or information that would allow me to update the kuro.

Thank you in advance for your great help.


Top
   
PostPosted: Thu Aug 02, 2012 4:43 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Hi Sorry I have not been getting any notifications of your posts!

If you didn't flash UBoot yourself it's safe to say that you don't have the required version.
you will require UBoot 1.2 at least (you need support for device tree blobs).

You should follow The UBoot 1.2 guide:
http://buffalo.nas-central.org/wiki/Kurobox_support_in_stock_2.6_kernels#U-Boot
precompilled UBoot for the HG can be found here http://downloads.buffalo.nas-central.org/LSHG_PPC/Bootloader/Uboot/Precompiled/

;)
Regards,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Sun Aug 05, 2012 9:17 pm 
Offline
Total Newbie

Joined: Sat Jul 14, 2012 6:37 pm
Posts: 4
Hi Stonie,

Many thanks for your help.

My problem is I can not find explanations consistent with my situation: I am already on a 2.6.x kernel, but apparently without uboot 1.2.

I see instructions for installing on a 2.4.x kernel and the part on the EM mode uses a link to kurobox.com that no longer works.

I also can not determine whether do I have to reinstall the system (format the drive and losing data?) If I install uboot?


Top
   
PostPosted: Sun Aug 05, 2012 11:19 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
UBoot is installed into flash (not the disk) so it doesn't matter what type of kernel you have... the instructions are the same. ;)

You can even remove the disk while you upgrade UBoot.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Mon Aug 06, 2012 9:07 am 
Offline
Total Newbie

Joined: Sat Jul 14, 2012 6:37 pm
Posts: 4
I'm confused. After reading the guide I see different instructions depending on the kernel already installed. And none match my current kernel.

I see not how to install uboot without a disk. I must have download uboot on the disk to install it then in the flash?

To make it simple:

What instructions should I follow to reinstall a new system (1.2 + debian uboot 7.0)? It will surely be easier than updating my debian Sylver.

Sorry if my questions seem stupid


Top
   
PostPosted: Mon Aug 06, 2012 10:00 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
No it is not you, it is confusing! :shock:

Unfortunately it is not a simple topic.

You need a net-console or serial console working to do the upgrade. get that going first.

Then... you need to get the precompiled UBoot 1.2 on to your device somehow em mode, foonas etc.
probably to usr/src/u-boot-hg.flash.bin

Then follow http://buffalo.nas-central.org/wiki/Kur ... into_FLASH

from "Wait for the box to reboot and for netconsole to come back up... "

If this still looks too confusing I suggest you think about getting a LS-VL and installing a squeeze bootstrap, works well and is relatively easy compared with this upgrade. ;)

Regards,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Mon Aug 06, 2012 10:06 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Also another guide here: http://www.linuxnotincluded.pwp.blueyon ... stall.html

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Thu Aug 23, 2012 11:18 am 
Offline
Newbie

Joined: Thu Dec 06, 2007 9:58 am
Posts: 22
Does this kernel config support "NETFILTER_NETLINK_QUEUE" ??

It's needed by peerguardian linux - nfq_unbind_pf( )


Top
   
PostPosted: Thu Aug 23, 2012 12:12 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
Sadly no:

Code:
# CONFIG_NETFILTER_NETLINK_QUEUE is not set


However, everything you need to compile the kernel is there in the tarball. so... it is straight forward to add the support you need.
You can follow the guide here: http://buffalo.nas-central.org/wiki/Com ... oot_Kernel

I will enable that flag next time i compile thanks for the information.

Regards,
Stonie.

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
   
PostPosted: Thu Aug 30, 2012 5:17 pm 
Offline
Newbie

Joined: Thu Dec 06, 2007 9:58 am
Posts: 22
My HG was successful upgrade to wheezy.
When I'm building the rtorrent from source code.
It shows the error message below...
--
configure: error: C preprocessor "/lib/cpp" fails sanity check
--

But the cpp is already installed.
What's going on?

--
I am sorry. After use --reinstall to reinstall the libc6-dev, this problem were gone.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 38 posts ]  Go to page 1 2 3 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