Saturday, January 17, 2009

http://gcc.gnu.org/simtest-howto.html in CenTOS 5.2

In additional to the steps explained in the page, I found the following packages are required

texinfo-4.8-14.el5
flex-2.5.4a-41.fc6 (either flex or bison or both. have to check)
bison-2.3-2.1

Sunday, January 11, 2009

missing piece in man rsync_selinux if your rsync path is hosted with nfs or autofs

man rsync_selinux mention that

chcon -t public_content_t /var/rsync

but this is not enough if you rsync module is hosted with autofs, you also have to

setsebool -P rsync_export_all_ro=1

otherwise you will get the error

rsync -avn ip::module

@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]


cat /var/log/rsync.log

2009/01/11 16:21:24 [25856] rsync: chroot /path failed: Permission denied (13)

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.

upgrade Synology 101g+ with 106e firmware

Follow this link

It works.


DiskStation> cat /var/synoupdate.log
2009/01/04 18:03:00 Start of the update...
2009/01/04 18:03:00 Upgrade from version 2.0.3.0460 to version 2.0.3.0728
2009/01/04 18:03:57 Congratulation!! The update has been completed!!

DiskStation> cat /proc/version
Linux version 2.4.22-uc0 (root@image) (gcc version 3.3.4) #728 Mon Nov 10 18:15:32 CST 2008

DiskStation> cat /var/run/dmesg.boot
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.22-uc0 (root@image) (gcc version 3.3.4) #728 Mon Nov 10 18:15:32 CST 2008
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/hda1 rw ip=off initrd=0x00800000,4M hda=bswap
ide_setup: hda=bswap
OpenPIC Version 1.2 (1 CPUs and 138 IRQ sources) at fc040000
Decrementer frequency = 132.658098 MHz

use cksum -o3 VERSION to generate and modify the checksum inside to get the firmware accepted.

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