Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Sep 30, 2014 10:53 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Nov 05, 2007 3:11 am 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
There is a new gentoo image available for people wanting to run gentoo on their ppc Linkstations and Kuroboxes. Instructions on the wiki here: http://buffalo.nas-central.org/index.php/Install_The_2007_PPC_Gentoo

Ask questions here or submit bug reports on bugtracker under "GenLink (ppc)" project.

Enjoy!
:)


Top
 Profile  
 
PostPosted: Mon Nov 05, 2007 6:51 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5330
Just wanted to mention gentoo is also supported by my kernel 2.6 webinstaller


Top
 Profile  
 
PostPosted: Mon Nov 05, 2007 9:28 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
russk, in the article there is not a single reference to Linuxnotincluded and his page...i mean...he ported the netcat enabled uboot to the linkstations.

i think references should be added to the uboot install wiki page....your gentoo instructions look clean...the only thing is that they are totally kurobox based of course...i noticed this when the EM Mode utilities were mentioned....you for example do not need them if you flash the 2.4.33.3 firmimg.bin (2.4.33.3 kernel in flash, EM Binaries included) to the flash....
http://buffalo.nas-central.org/download/ALL_LS ... irmimg.bin
Image

linkstation users might get confused by the EM binaries...mark that paragraph as kurobox only.

http://www.linuxnotincluded.pwp.blueyonder.co.uk/

_________________
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: Mon Nov 05, 2007 4:17 pm 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
andre wrote:
Just wanted to mention gentoo is also supported by my kernel 2.6 webinstaller


andre,
The image requires a vanilla kernel for now, it expects the AVR watchdog to be disabled by the kernel. Do your kernels disable the watchdog? I wrote this up as an issue in bugtracker: http://bugtracker.nas-central.org/view.php?id=119

mindbender wrote:
russk, in the article there is not a single reference to Linuxnotincluded and his page...i mean...he ported the netcat enabled uboot to the linkstations.

Of course, the image stands on the shoulders of giants - LNI uboot is fantastic! I linked to the page about "stock kernels on the kurobox" because the kernel in the image needs dtb support. I will add a reference to LNI's page, but I wonder if he will update his page for uboot 1.2?

I'm using your firmimg.bin but I found I still needed the EM Binaries to get bzip2 to unpack the tarballs compressed bz2.


Top
 Profile  
 
PostPosted: Mon Nov 05, 2007 4:25 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
hm. possible that i forgot to add bzip2 then

_________________
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: Thu Nov 08, 2007 3:35 am 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
russK wrote:
andre wrote:
Just wanted to mention gentoo is also supported by my kernel 2.6 webinstaller


andre,
The image requires a vanilla kernel for now, it expects the AVR watchdog to be disabled by the kernel. Do your kernels disable the watchdog? I wrote this up as an issue in bugtracker: http://bugtracker.nas-central.org/view.php?id=119

After further inspection of avr_evtd, I see it is sending a keepalive signal to the watchdog, so andre's kernels should be fine to use with just a few tweaks to account for the different AVR device (ttyS0 vs ttyS1) and the use of the PATA driver (/dev/sda vs /dev/hda). I updated the instructions for this.

andre, I tried your webinstaller and I was surprised a little because I backed up my /boot to /boot.bak and then I think it backfired on me :)
Also, I wonder if we should come up with an ebuild to download your kernels, I think webinstaller was putting things in /etc/init.d and to do things the gentoo way only ebuilds should do that perhaps? But also I think I don't understand everything webinstaller is trying to do.


Top
 Profile  
 
PostPosted: Thu Nov 08, 2007 11:32 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5330
There's no .bak anywhere in the webinstaller code... Anyway, your system must have been recognized as a Terastation. I need "uname -a", the full output of the webinstaller, and an exact description what happened in order to address it.

avr_evtd figures out the correct /dev/ttyS[01] by itself.

PATA is a real problem, since there it requires /dev/sda1 setup, and would break /etc/fstab compatibility (shudder) with stock- or near stock systems, as they expect the root file system to be located on /dev/hda1.

What exactly is an ebuild? A compilation routine? If so, kernel_universal is out, my .config is public. Would you like to contribute such a routine? Also, as a long-term non-Gentoo user ;), I thought /etc/init.d/boot_new.sh in Gentoo form would be executed automatically, at least that's what other Gentoo users seemed to suggest, and from what I understood, it worked for them. The SysV files in /etc/rc* should be ignored, a cosmetical "problem".


Top
 Profile  
 
PostPosted: Sun Dec 02, 2007 2:13 am 
Offline
Regular Member
User avatar

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

Thanks for getting the new image together.
I have a stock HG here that I will take through the process once I have some time.

Thanks for your hard work, it really is appreciated.

:up:
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


Top
 Profile  
 
PostPosted: Thu Dec 27, 2007 10:31 pm 
Offline
Regular Member
User avatar

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

I'm trying to get UBoot 1.2 setup on my kurobox HG...
In the Uboot section of the new Gentoo image instructions there is a link to UBoot binaries.

However the given link now points to an empty directory? And a message about being moved to foonas, but as far as I can see the binaries are not over at foonas? Does anyone know where the 1.2 binaries to suit my HG are?

I have tried to patch and compile UBoot using the vanilla kernel instructions, but I have run into some problems there too: http://140.211.167.172/viewtopic.php?t=1775

As a side note... does anyone know which forum we should be posting to? This one or the old one?

Any help will be much appreciated.

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


Top
 Profile  
 
PostPosted: Thu Dec 27, 2007 10:45 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7702
Location: Austria, Vienna
please fix the link in the wiki.

http://buffalo.nas-central.org/download/LSHG_P ... ecompiled/

direct link:
http://buffalo.nas-central.org/download/LSHG_P ... 2.0-r2.bin

_________________
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: Thu Dec 27, 2007 10:57 pm 
Offline
Regular Member
User avatar

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

I have updated the Wiki.

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
 Profile  
 
PostPosted: Thu Dec 27, 2007 11:20 pm 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 334
I can confim that I was successful using the prebuilt binary.

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


Top
 Profile  
 
PostPosted: Sat Jan 19, 2008 2:09 pm 
Offline
Newbie

Joined: Sat Jan 19, 2008 1:43 pm
Posts: 11
russK,

I found the cause of the 5 minute delay during the shutdown or reboot.

These two files were missing:

$ cat /etc/init.d/shutdown.sh
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# gentoo init style needs this (and nothing else)
/sbin/halt -ihdp

# hmm, if the above failed, that's kind of odd ...
# so let's force a halt
/sbin/halt -f

$ cat /etc/init.d/reboot.sh
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# gentoo init style needs this (and nothing else)
/sbin/reboot -idpk

# hmm, if the above failed, that's kind of odd ...
# so let's force a reboot
/sbin/reboot -f

I also removed all of the AVR stuff in "/etc/conf.d/local.stop" as it's unnecessary when using the 'mainlined' kernel.

$ diff /etc/conf.d/local.stop /etc/conf.d/local.stop.old
Code:
8a9,19
> AVR_DEVICE=/dev/ttyS0
>
> #AVR_DEVICE should come from /etc/rc.conf
> [ -z "${AVR_DEVICE}" ] && AVR_DEVICE=/dev/ttyS0
>
> # on halt
> [ "${RUNLEVEL}X" = "0X" ] && echo -n "EEEE" > ${AVR_DEVICE}
>
> # on reboot
> [ "${RUNLEVEL}X" = "6X" ] && echo -n "CCCC" > ${AVR_DEVICE}
>


I started to fix the wiki, but I got bogged down thinking about old vs. new installs, old vs. new kernels and old vs. possibly new tarballs. So I just put a link to this message in the meantime.

Tony


Top
 Profile  
 
PostPosted: Sun Jan 20, 2008 3:11 am 
Offline
Newbie
User avatar

Joined: Sat Sep 29, 2007 1:50 am
Posts: 46
Location: Virginia, USA
This is great, thanks for posting Tony, I saw your message on the kurobox forum too. I guess I have to think about new versus old kernels too, so I'll leave your wiki change as it is for now.

Cheers :)


Top
 Profile  
 
PostPosted: Mon Aug 25, 2008 9:30 am 
Offline
Total Newbie

Joined: Thu Sep 27, 2007 7:36 am
Posts: 2
Hi

I had been running gentoo 2007 image for some time. Now I am trying to update kernel to latest stable kernel from kernel.org (2.6.26.3) using the default config file from the kernel source itself. However when i try to use the new kernel i can see that rtc is not being detected properly also the kurobox reboots after some time and after rebooting is seems to run fine except rtc not being detected and i have to set the time manually. I am posting the netconsole output

thanks

Pankaj

Quote:
U-Boot 1.2.0 (Apr 10 2007 - 19:13:32) LinkStation HG / KuroBox HG
stdin : nc
stdout: nc
stderr: nc
IDE: Bus 0: OK
Device 0: Model: WDC WD800BB-00JHC0 Firm: 05.01C05 Ser#: WD-WMAM9X694280
Type: Hard Disk
Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/vmlinux.UBoot

1742638 bytes read

2196 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.26.3pankaj
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1742574 Bytes = 1.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Booting using flat device tree at 0x7f0000
Using Buffalo Linkstation machine description
Linux version 2.6.26.3pankaj (root@jagriti) (gcc version 4.1.2 (Gentoo 4.1.2 p1.1)) #1 Sat Aug 23 18:51:14 IST 2008
console [udbg0] enabled
Adding PCI host bridge /soc10x/pci@fec00000
PCI host bridge /soc10x/pci@fec00000 (primary) ranges:
IO 0x00000000fe000000..0x00000000febfffff -> 0x0000000000000000
MEM 0x0000000080000000..0x00000000efffffff -> 0x0000000080000000
BUFFALO Network Attached Storage Series
(C) 2002-2005 BUFFALO INC.
Zone PFN ranges:
DMA 0 -> 32768
Normal 32768 -> 32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/sda1 netconsole=6666@192.168.11.150/,@192.168.11.149/ rtc-rs5c372.probe=0,0x32
Unknown boot option `rtc-rs5c372.probe=0,0x32': ignoring
mpic: Setting up MPIC " EPIC " version 1.2 at 80040000, max 1 CPUs
mpic: ISU size: 4, shift: 2, mask: 3
mpic: Initializing for 12 sources
PID hash table entries: 512 (order: 9, 2048 bytes)
clocksource: timebase mult[7afe256] shift[22] registered
Console: colour dummy device 80x25
console handover: boot [udbg0] -> real [tty0]
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126120k/131072k available (3380k kernel code, 4812k reserved, 140k data, 105k bss, 180k init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Thermal assist unit not available
msgmni has been set to 246
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x80004500 (irq = 20) is a 16550A
serial8250.0: ttyS1 at MMIO 0x80004600 (irq = 21) is a 16550A
brd: module loaded
loop: module loaded
r8169 Gigabit Ethernet driver 2.2LK loaded
eth0: RTL8110s at 0xc9004c00, 00:0d:0b:ad:70:d9, XID 04000000 IRQ 17
netconsole: local port 6666
netconsole: local IP 192.168.11.150
netconsole: interface eth0
netconsole: remote port 6666
netconsole: remote IP 192.168.11.149
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
netconsole: device eth0 not up yet, forcing it
ata1.00: ATA-6: WDC WD800BB-00JHC0, 05.01C05, max UDMA/100
ata1.00: 156301488 sectors, multi 0: LBA
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA WDC WD800BB-00JH 05.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
physmap platform flash device: 00400000 at ffc00000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00300000 : "mtd_firmimg"
0x00300000-0x00370000 : "mtd_bootcode"
0x00370000-0x00380000 : "mtd_status"
0x00380000-0x00400000 : "mtd_conf"
0x00000000-0x00400000 : "mtd_allflash"
0x00310000-0x00400000 : "mtd_data"
usbmon: debugfs is not available
ehci_hcd 0000:00:0e.2: EHCI Host Controller
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0e.2: irq 19, io mem 0xbfffcf00
ehci_hcd 0000:00:0e.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd 0000:00:0e.0: OHCI Host Controller
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0e.0: irq 19, io mem 0xbfffe000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci_hcd 0000:00:0e.1: OHCI Host Controller
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0e.1: irq 19, io mem 0xbfffd000
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.2: new high speed USB device using ehci_hcd and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
linkstation: disarming the AVR watchdog:
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 180k init
warning: `init' uses 32-bit capabilities (legacy support in use)
Restarting system.

U-Boot 1.2.0 (Apr 10 2007 - 19:13:32) LinkStation HG / KuroBox HG
stdin : nc
stdout: nc
stderr: nc
IDE: Bus 0: OK
Device 0: Model: WDC WD800BB-00JHC0 Firm: 05.01C05 Ser#: WD-WMAM9X694280
Type: Hard Disk
Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/vmlinux.UBoot

1742638 bytes read

2196 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.26.3pankaj
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1742574 Bytes = 1.7 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Booting using flat device tree at 0x7f0000
Using Buffalo Linkstation machine description
Linux version 2.6.26.3pankaj (root@jagriti) (gcc version 4.1.2 (Gentoo 4.1.2 p1.1)) #1 Sat Aug 23 18:51:14 IST 2008
console [udbg0] enabled
.
.
.
.

EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 180k init
warning: `init' uses 32-bit capabilities (legacy support in use)


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