Thursday, December 31, 2009

Patch sqlite-3.6.21 to import csv with " for string

Below patch against sqlite-3.6.21 should handle
  • "field1",123,abc,...
  • abc,...,"",123,....
  • abc,...,""abc"",.....
.mode csv
.import file table

to skip header in the import
.header on

Index: shell.c
===================================================================
--- shell.c (revision 539)
+++ shell.c (working copy)
@@ -2496,7 +2496,7 @@
sqlite3_stmt *pStmt = NULL; /* A statement */
int nCol; /* Number of columns in the table */
int nByte; /* Number of bytes in an SQL string */
- int i, j; /* Loop counters */
+ int i, j, k; /* Loop counters */
int nSep; /* Number of bytes in p->separator[] */
char *zSql; /* An SQL statement */
char *zLine; /* A single line of input from the file */
@@ -2567,8 +2567,32 @@
char *z;
i = 0;
lineno++;
- azCol[0] = zLine;
+ if (lineno == 1 && p->showHeader == 1)
+ continue;
+ if (p->mode == MODE_Csv && zLine[0] == '"') {
+ k = 1;
+ azCol[0] = zLine+1;
+ } else {
+ k = 0;
+ azCol[0] = zLine;
+ }
for(i=0, z=zLine; *z && *z!='\n' && *z!='\r'; z++){
+ //skip to end of double quote
+ if (p->mode == MODE_Csv && k != 0) {
+ if (i != 0)
+ k = 0;
+ while (z[k]!='"' && z[k]!='\n' && z[k]!='\r')
+ k++;
+ while (z[k]=='"' && z[k]!='\n' && z[k]!='\r')
+ k++;
+ if (z[k]!='"')
+ k--;
+// if (k > 2)
+// fprintf(stderr, "skip to end of \" (%d:%d:%d) %s\n",lineno,i,k,azCol[i]);
+ z[k] = 0;
+ z += k;
+ k = 0;
+ }
if( *z==p->separator[0] && strncmp(z, p->separator, nSep)==0 ){
*z = 0;
i++;
@@ -2577,9 +2601,24 @@
z += nSep-1;
}
}
+ if (p->mode == MODE_Csv && *z == '"') {
+ k=0;
+ azCol[i] = z+1;
+ while(z[k]=='"')
+ k++;
+ if (k == 2)
+ k = 1;
+ z += k-1;
+// if (k > 2)
+// fprintf(stderr, "move to start of \": (%d:%d:%d) %s\n",lineno,i,k,azCol[i]);
+ }
} /* end for */
*z = 0;
if( i+1!=nCol ){
+ fprintf(stderr, "k = %d\n",k);
+ for (k=0;k<=i;k++) {
+ fprintf(stderr, "Column (%d): %s\n",k,azCol[k]);
+ }
fprintf(stderr,
"Error: %s line %d: expected %d columns of data but found %d\n",
zFile, lineno, nCol, i+1);

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, October 29, 2009

Kernel 2.6.18-164.2.1.el5.plus - cannot compile vmnet for vmware-2.0.2

apply the patch to file vmnet-only/compat_netdevice.h inside
/usr/lib/vmware/source/vmnet.tar
should fix the problem

266c266
< #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
---
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18)


Monday, August 31, 2009

Snow Leopard still work with sil3132 driver v1.1.9

Though during Snow Leopard upgrade will move sil3132 driver to incompatible folder, but by re-installing the driver v1.1.9,  the access to my External Case CFI 4-Bay eSATA Port Multiplier RAID Enclosure still work perfectly.

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

  1. setup nfs mount in stardom
  2. download stage3-armv4l-2008.0.tar.bz2
  3. mv the above to nfs mounted directory and tar -xjvpf it.
  4. ignore the error that it can't create /dev/*
  5. enable telnet with http:///cgi/telnet/telnet.cgi
  6. telnet to the stardom and locate the stage3 bz2 above. tar -xjvpf again but to different directory
  7. remove incomplete /dev/* in step 3 and replace it with the directory created in step 6.
  8. Now you have the directory for chroot
create a chroot.sh in ~/admin/bin/ as below:

#!/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

  1. ~/admin/bin/chroot.sh (keep chroot.sh in admin's home instead of /root so that it will be kept after reboot)
  2. env-update
  3. source /etc/profile
  4. export PS1="(chroot) $PS1"
  5. Inside chroot, we can tar -xjvpf the stage3 bz2 again without error. Exit this chroot and chroot to the new clean extract.
  6. emerge --sync
  7. optional when you are warned for new Portage version emerge --oneshot portage
  8. it hangs at emerge --sync. kill it and restart
  9. it suggests 'emerge portage'
  10. after 'emerge portage', it has:
* Messages for package sys-apps/portage-2.1.6.13: * *
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
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

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
Some messages during 10+ hours updates....

>>> 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, line 7399. make[2]:
*** [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.

Wednesday, August 19, 2009

install Fedora 11 to eeepc 900

works perfectly

Another simpler way to create self-sign certificate for Apache

#!/bin/bash

MKTEMP=/usr/bin/mktemp
OPENSSL=/usr/bin/openssl

umask 077

answers() {
echo HK
echo China
echo Hong Kong
echo Company Name
echo IT
echo localhost
echo you@example.com
}

if [ $# -eq 0 ] ; then
echo $"Usage: `basename $0` filename [...]"
exit 0
fi

for target in $@ ; do
PEM1=`$MKTEMP $HOME/tmp/openssl.XXXXXX`
PEM2=`$MKTEMP $HOME/tmp/openssl.XXXXXX`
trap "rm -f $PEM1 $PEM2" SIGINT
answers | $OPENSSL req -newkey rsa:1024 -keyout $PEM1 -nodes -x509 -days 365 -out $PEM2 2> /dev/null
cat $PEM1 > ${target}
echo "" >> ${target}
cat $PEM2 >> ${target}
rm -f $PEM1 $PEM2
done

Join https://github.com

I want to check out tempo of Intalio and find that they move their source code repository from svn to git and use github.com

Monday, August 17, 2009

Flash for Fedora 11 x86_64

1. Download http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
2. gunzip the file libflashplayer.so inside
3. copy libflashplayer.so to ~/.mozilla/plugins/

Sunday, August 16, 2009

Reset /Users/X in MacOSX

http://www.macosxhints.com/article.php?story=20081009204908181&mode=print

#!/bin/bash

if [ ! -n "$1" ]; then
echo $0: user
exit 1
fi

sudo chown -R $1:staff /Users/${1}
sudo chmod -R 700 /Users/${1}
sudo chmod 755 /Users/${1}
sudo chmod -R 755 /Users/${1}/Public /Users/${1}/Sites
sudo chmod -R 733 /Users/${1}/Public/Drop\ Box
sudo chmod +a "everyone deny delete" /Users/${1} /Users/${1}/Sites /Users/${1}/Public /Users/${1}/Desktop \
/Users/${1}/Documents /Users/${1}/Downloads /Users/${1}/Pictures /Users/${1}/Music /Users/${1}/Movies \
/Users/${1}/Library
sudo chmod -R +a "${1} allow readattr,readextattr,readsecurity,list,search,read,execute,file_inherit,directory_inherit,delete,writeextattr,writeattr,write,append,delete_child,add_file,add_subdirectory" \
/Users/${1}/Public/Drop\ Box

Saturday, August 15, 2009

How vmnet is used in VMware Server

Bridged networking on /dev/vmnet0 [ OK ]
Host-only networking on /dev/vmnet1 (background) [ OK ]
DHCP server on /dev/vmnet1 [ OK ]
Host-only networking on /dev/vmnet8 (background) [ OK ]
DHCP server on /dev/vmnet8 [ OK ]
NAT service on /dev/vmnet8 [ OK ]

Saturday, August 08, 2009

Howto install fedora 11 to Mac Pro 2008

Fedora 11 can be easily installed to a new internal disk by simply booting from the fedora installation media.
I tried with disks connect to 2 hidden internal sata ports (connect to 2 esata extendor ) but disks can't be found when booting with the installation DVD. If I change the bootable fedora from internal disk 4 to connect with esata 5 or 6, it fails to boot. It can't even be rescued with the DVD unless I reconnect with bay 4 again.

So the extra internal sata5 and sata6 can only be recognized by mac but not fedora 11. Is it a bug with fedora 11 because it does not expect I will use sata5 and sata6?

Note:
The Mac Pro has 1 P-ATA port (for up to two P-ATA devices) and a total of 6 SATA ports, 4 integrated in to the drive bays, and two internal SATA ports that are not connected to drive bays. These extra SATA ports can be put into service through the use of after-market extender cables, for use with internal Optical drives, or to provide eSATA ports with the use of an eSATA bulkhead connector.

Running Fedora 11 with Mac Pro 2008

Finally I can post this using Fedora 11 x86_64 running on Mac Pro 2008

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.29.6-217.2.3.fc11.x86_64 (mockbuild@x86-4.fedora.phx.redhat.com) (gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) ) #1 SMP Wed Jul 29 16:02:42 EDT 2009
Command line: ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007f67f000 (usable)
BIOS-e820: 000000007f67f000 - 000000007f6f5000 (ACPI NVS)
BIOS-e820: 000000007f6f5000 - 000000007f991000 (ACPI data)
BIOS-e820: 000000007f991000 - 000000007f995000 (reserved)
BIOS-e820: 000000007f995000 - 000000007fc00000 (ACPI data)
BIOS-e820: 000000007fc00000 - 0000000080000000 (reserved)
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000200000000 (usable)
DMI 2.4 present.
last_pfn = 0x200000 max_arch_pfn = 0x100000000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
original variable MTRRs
reg 0, base: 2GB, range: 2GB, type UC
reg 1, base: 2044MB, range: 4MB, type UC
reg 2, base: 0GB, range: 64GB, type WB
total RAM coverred: 63484M
Found optimal setting for mtrr clean up
gran_size: 64K chunk_size: 8M num_reg: 6 lose cover RAM: 0G
New variable MTRRs
reg 0, base: 0GB, range: 2GB, type WB
reg 1, base: 2044MB, range: 4MB, type UC
reg 2, base: 4GB, range: 4GB, type WB
reg 3, base: 8GB, range: 8GB, type WB
reg 4, base: 16GB, range: 16GB, type WB
reg 5, base: 32GB, range: 32GB, type WB
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
last_pfn = 0x7f67f max_arch_pfn = 0x100000000
init_memory_mapping: 0000000000000000-000000007f67f000
0000000000 - 007f600000 page 2M
007f600000 - 007f67f000 page 4k
kernel direct mapping tables up to 7f67f000 @ 8000-c000
last_map_addr: 200000000 end: 200000000
RAMDISK: 37c61000 - 37fef0ce
ACPI: RSDP 000FE020, 0024 (r2 APPLE )
ACPI: XSDT 7F7441C0, 00F4 (r1 APPLE Apple00 6C 1000013)
ACPI: FACP 7F740000, 00F4 (r4 APPLE Apple00 6C Loki 5F)
FADT: X_PM1a_EVT_BLK.bit_width (16) does not match PM1_EVT_LEN (4)
ACPI: DSDT 7F737000, 49CC (r1 APPLE Apple00 10001 Loki 5F)
ACPI: FACS 7F68B000, 0040
ACPI: ECDT 7F742000, 0053 (r1 APPLE Apple00 1 Loki 5F)
ACPI: HPET 7F73F000, 0038 (r1 APPLE Apple00 1 Loki 5F)
ACPI: APIC 7F73D000, 00BC (r2 APPLE Apple00 0 Loki 5F)
ACPI: MCFG 7F73C000, 003C (r1 APPLE Apple00 1 Loki 5F)
ACPI: SSDT 7F736000, 0146 (r1 PmRef Cpu0Cst 3001 INTL 20061109)
ACPI: SSDT 7F735000, 034B (r1 CPUPST Cpu0Ist 12 INTL 20061109)

Wednesday, February 11, 2009

Enable Google Contact Sync Without an iPhone or iPod Touch

An interesting article http://lifehacker.com/393855/enable-google-contact-sync-without-an-iphone-or-ipod-touch

Open up ~/Library/Preferences/com.apple.iPod.plist and save a backup copy of it. Then, expand the tree to reveal "Family ID." Change that value from 10000 to 10001.
Save your changes. Launch Address Book and open the Preference pane. The Google contact sync option will be staring right at you.

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