Showing posts with label Stardom. Show all posts
Showing posts with label Stardom. Show all posts
Friday, December 11, 2009
NFS mounted from Snow Leopard to NAS SL3620-2S-LB2
add resvport, locallocks to Advanced Mount Parameters that come with NFS Mounts in Disk Utility and it is done.
Thursday, August 27, 2009
Saturday, August 22, 2009
Friday, August 21, 2009
gentoo installation to Stardom / Raidon SL3620-2S-LB2
| System Information | ||
| Product Name | SL3620-2S-LB2 | |
| Firmware Version | 1.4B | |
| Product Vendor | Raidon | |
# emerge --info
Portage 2.1.6.13 (default/linux/arm/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.15 armv4l)
=================================================================
System uname: Linux-2.6.15-armv4l-FA526id-wb-_rev_1_-v4l-with-glibc2.0
Timestamp of tree: Fri, 21 Aug 2009 08:15:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armv4l-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=strongarm110"
CHOST="armv4l-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="acl arm berkdb bzip2 cli cracklib crypt cups fortran gdbm gpm iconv ipv6 isdnlog mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident vga voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Thursday, August 20, 2009
gentoo in stardom SL3620-2S-LB2
- setup nfs mount in stardom
- download stage3-armv4l-2008.0.tar.bz2
- mv the above to nfs mounted directory and tar -xjvpf it.
- ignore the error that it can't create /dev/*
- enable telnet with http://
/cgi/telnet/telnet.cgi - telnet to the stardom and locate the stage3 bz2 above. tar -xjvpf again but to different directory
- remove incomplete /dev/* in step 3 and replace it with the directory created in step 6.
- Now you have the directory for chroot
#!/bin/sh
CWD=`pwd`
cd /mnt/ide3/public/gentoo
mount -t proc none ./proc
mount -o bind /dev ./dev
mount -t sysfs none ./sys
mount -t usbfs none ./proc/bus/usb
bin/chroot . /bin/bash
cd $CWD
- ~/admin/bin/chroot.sh (keep chroot.sh in admin's home instead of /root so that it will be kept after reboot)
- env-update
- source /etc/profile
- export PS1="(chroot) $PS1"
- Inside chroot, we can tar -xjvpf the stage3 bz2 again without error. Exit this chroot and chroot to the new clean extract.
- emerge --sync
- optional when you are warned for new Portage version emerge --oneshot portage
- it hangs at emerge --sync. kill it and restart
- it suggests 'emerge portage'
- after 'emerge portage', it has:
In portage-2.1.6, the default behavior has changed for `emerge world`
* and `emerge system` commands. These commands will reinstall all
* packages from the given set unless an option such as --noreplace,
* --update, or --newuse is specified.
* * File collision protection is now enabled by default via make.globals
* with FEATURES=protect-owned. If you want to disable collision
* protection completely (not recommended), then you need to ensure
* that neither protect-owned nor collision-protect are enabled.
* * GNU info directory index is up-to-date.
* IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Problem 1 - come across blocked portage when:
- emerge --update --deep --newuse world
Problem 2 - try revdep-rebuild but get the errors:
usr/bin/revdep-rebuild: line 661: /dev/fd/62: No such file or directory
* Dynamic linking on your system is consistent... All done. root@raidon_nas etc # gawk: cmd. line:6: fatal: cannot open file `3_errors.rr' for reading (No such file or directory) gawk: cmd. line:6: fatal: cannot open file `3_errors.rr' for reading (No such file or directory)
Attempts to solve the problems:
check other linux and find /dev/fd is symbolic link to /proc/self/fd
- emerge --unmerge man-pages
it seems fixed.
re-issue:
- emerge --update --deep --newuse world
>>> Installing (4 of 75) dev-libs/expat-2.0.1-r1
* Please note that the soname of the library changed!
* If you are upgrading from a previous version you need
* to fix dynamic linking inconsistencies by executing:
* revdep-rebuild --library libexpat.so.0
* QA Notice: The following files contain writable and executable sections
* Files with such sections will not work properly (or at all!) on some
* architectures/operating systems. A bug should be filed at
* http://bugs.gentoo.org/ to make sure the issue is fixed.
* For more information, see http://hardened.gentoo.org/gnu-stack.xml
* Please include the following list of files in your report:
* Note: Bugs should be filed for the respective maintainers
* of the package in question and not hardened@g.o.
* !WX --- --- usr/lib/libbz2.a:blocksort.o
* !WX --- --- usr/lib/libbz2.a:huffman.o
* !WX --- --- usr/lib/libbz2.a:crctable.o
* !WX --- --- usr/lib/libbz2.a:randtable.o
* !WX --- --- usr/lib/libbz2.a:compress.o
* !WX --- --- usr/lib/libbz2.a:decompress.o
* !WX --- --- usr/lib/libbz2.a:bzlib.o
Oh! Another error at perl updates:
Reading MacJapanese (MacJapanese) Writing compiled form Not a HASH reference at ../bin/enc2xs line 661,
*** [ma_05_t.c] Error 9 make[2]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8/ext/Encode/JP' make[1]:
*** [subdirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8/ext/Encode' make:
*** [lib/auto/Encode/Encode.so] Error 2
* * ERROR: dev-lang/perl-5.8.8-r5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile
* environment, line 2567: Called die Find the below and run man emerge and fix it. Also find my change to locale.gen. Since perl fail at locale compilation, guess it may be related. Run locale-gen again to regenerate the locale file.
drwxr-xr-x 33 root root 4096 Aug 21 17:10 .
drwxr-xr-x 17 root root 4096 Aug 21 00:24 ..
-rw-r--r-- 1 root root 1215 Aug 20 17:24 ._cfg0000_dispatch-conf.conf
-rw-r--r-- 1 root root 2689 Aug 21 09:30 ._cfg0000_gai.conf
-rw-r--r-- 1 root root 875 Aug 21 09:30 ._cfg0000_locale.gen
-rw-r--r-- 1 root root 4630 Aug 21 03:03 ._cfg0000_man.conf
Now it is re-compiling the perl and get through the error during the compilation of MacJapanese. Looking good.
Sunday, January 04, 2009
Install gentoo stage3 to SL3620-2S-LB2
My stardom SL3620-2S-LB2 now have gentoo-2008.0 stage3 chrooting.
After
emerge --sync
it suggests
emerge portage
then it shows below. Will come back later to check what it means
* Messages for package sys-apps/portage-2.1.6.4:
*
* In portage-2.1.6, the default behavior has changed for `emerge world`
* and `emerge system` commands. These commands will reinstall all
* packages from the given set unless an option such as --noreplace,
* --update, or --newuse is specified.
*
*
* For help with using portage please consult the Gentoo Handbook
* at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
*
* GNU info directory index is up-to-date.
* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
After
emerge --sync
it suggests
emerge portage
then it shows below. Will come back later to check what it means
* Messages for package sys-apps/portage-2.1.6.4:
*
* In portage-2.1.6, the default behavior has changed for `emerge world`
* and `emerge system` commands. These commands will reinstall all
* packages from the given set unless an option such as --noreplace,
* --update, or --newuse is specified.
*
*
* For help with using portage please consult the Gentoo Handbook
* at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
*
* GNU info directory index is up-to-date.
* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Thursday, January 01, 2009
SL3620-2S-LB2 firmware
Get the new firmware from
This firmware supports addition software upload and tried
The torrentflux website default id and password is mysql/123456 or daemon/123456
Find an interesting article http://mrtforum.memoriedigitali.com/viewtopic.php?p=1084 This shows how to create your own package.
The sources seem to be source.rar
or Gemini_v2_6_0
This firmware supports addition software upload and tried
The torrentflux website default id and password is mysql/123456 or daemon/123456
Find an interesting article http://mrtforum.memoriedigitali.com/viewtopic.php?p=1084 This shows how to create your own package.
The sources seem to be source.rar
or Gemini_v2_6_0
Monday, October 06, 2008
autofs mount of nfs and afp with stardom NAS and Synology NAS
Stardom come with nfs
Synology come with afp
Use below to automount afp
1) add below to /etc/auto_master
/afp auto_afp
2) add below to auto_afp
mountpoint -fstype=afp afp://username:password@synology_ip_address/afp_share
3) use below to refresh autofs
automount -vc
Use below to automount nfs
1) add below to /etc/fstab
stardom_ip_address:/mnt/ide1/nfs_share /opt/nfs_share nfs resvport rw 0 0
2) use below to refresh autofs
automount -vc
Synology come with afp
Use below to automount afp
1) add below to /etc/auto_master
/afp auto_afp
2) add below to auto_afp
mountpoint -fstype=afp afp://username:password@synology_ip_address/afp_share
3) use below to refresh autofs
automount -vc
Use below to automount nfs
1) add below to /etc/fstab
stardom_ip_address:/mnt/ide1/nfs_share /opt/nfs_share nfs resvport rw 0 0
2) use below to refresh autofs
automount -vc
Saturday, May 24, 2008
Stardom NAS - gentoo
don't like the Gemini Linux 2.6.15 that come with STARDOM-NAS. enable the telnet by using the non-documented telnet.cgi
http://ip/cgi/telnet/telnet.cgi
http://ip/cgi/telnet/telnet.cgi
Now can telnet into the box. Then find the good documents http://nas-2000.org/mwiki/index.php?title=HowTo_Compile_Programs_on_the_NAS
The document need some update basically the below won't work. Just ignore it.
ln -s usr/portage/profiles/default-linux/arm/ etc/make.profile
Also need to create etc/resolv.conf. Also the tar -xjvpf ../stage3-armv4l-2005.1.tar.bz2 inside the NAS not working quite well. So using the NFS mount to the NAS and bzip2 -dc stage3-armv4l-2005.1.tar.bz2 | tar xvf - from the nfs client that come with Linux/MacOS.
There are still some error regarding /dev/??? during tar bunzip2 which can be ignored.
Still running gentoo
emerge --sync
If result is good, will check in to http://osstools.svn.sourceforge.net
Thursday, August 02, 2007
NAS
Bought a Stardom SL3620-2S-SB2 on 31 Jul 2007
It had firmware upgrade in http://www.shooting.com.hk/download.php?pr_id=50
After downloading the firmware, unzip, get the following information from of the inside file. Search SL3516 from Google and realize it uses Gemini SL3516 Network Processor which is a Single 32-bit 400MIPS ARM9 RISC processor. It use MontaVista Linux 2.6 as its operating system
UpgradeImages="zImage rd.gz hddapp.tgz"
productName="SL3620-2S-LB2"
hardwareName="SL3516 Verification Board"
productVendor="RAIDON Technology INC.."
manufacturerURL="http://www.stardom.com.tw"
Description="STARDOMNAS"
hostname="STARDOM-NAS"
softwareVersion="2.6.0-n"
TSS="enabled"
DIRECT_MODE="disabled"
Raid_Support="raid0_raid1"
RaidTestDiskSize="0"
DEFAULT_LAN_IPADDR="192.168.1.1"
DEFAULT_LAN_NETMASK="255.255.255.0"
DEFAULT_LAN_BOOTPROTO="dhcp"
DEFAULT_WAN_BOOTPROTO="none"
DEFAULT_WAN_ENABLED="no"
DEFAULT_WLAN_DEVICENAME="ra0"
DEFAULT_LAN_DEVICENAME="eth0"
DEFAULT_HW_LAN_DEVICENAME="eth0"
DEFAULT_WAN_DEVICENAME="eth1"
DEFAULT_HW_WAN_DEVICENAME="eth1"
SUPPORT_FILESYSTEM="ext2_ext3_fat32"
SUPPORT_ENCRYPT_FILESYSTEM="ext2"
DEFAULT_DHCP_ENABLED="0"
SUPPORT_CODEPAGE="CP437_CP950_CP936_CP1145_CP1250_CP1252_CP932_CP949"
DEFAULT_SERVER_CODEPAGE="CP950"
FACTORY_RESET_ADMIN="0"
It had firmware upgrade in http://www.shooting.com.hk/download.php?pr_id=50
After downloading the firmware, unzip, get the following information from of the inside file. Search SL3516 from Google and realize it uses Gemini SL3516 Network Processor which is a Single 32-bit 400MIPS ARM9 RISC processor. It use MontaVista Linux 2.6 as its operating system
UpgradeImages="zImage rd.gz hddapp.tgz"
productName="SL3620-2S-LB2"
hardwareName="SL3516 Verification Board"
productVendor="RAIDON Technology INC.."
manufacturerURL="http://www.stardom.com.tw"
Description="STARDOMNAS"
hostname="STARDOM-NAS"
softwareVersion="2.6.0-n"
TSS="enabled"
DIRECT_MODE="disabled"
Raid_Support="raid0_raid1"
RaidTestDiskSize="0"
DEFAULT_LAN_IPADDR="192.168.1.1"
DEFAULT_LAN_NETMASK="255.255.255.0"
DEFAULT_LAN_BOOTPROTO="dhcp"
DEFAULT_WAN_BOOTPROTO="none"
DEFAULT_WAN_ENABLED="no"
DEFAULT_WLAN_DEVICENAME="ra0"
DEFAULT_LAN_DEVICENAME="eth0"
DEFAULT_HW_LAN_DEVICENAME="eth0"
DEFAULT_WAN_DEVICENAME="eth1"
DEFAULT_HW_WAN_DEVICENAME="eth1"
SUPPORT_FILESYSTEM="ext2_ext3_fat32"
SUPPORT_ENCRYPT_FILESYSTEM="ext2"
DEFAULT_DHCP_ENABLED="0"
SUPPORT_CODEPAGE="CP437_CP950_CP936_CP1145_CP1250_CP1252_CP932_CP949"
DEFAULT_SERVER_CODEPAGE="CP950"
FACTORY_RESET_ADMIN="0"
Subscribe to:
Posts (Atom)