Aug 31, 2011

mucommander can not sftp to OpenIndiana

The muCommander, a file browser like Norton Commander, has the option
to connect to a remote server via sftp.




The connection to OpenIndiana fails. The /var/adm/messages log shows the following:

Aug 31 11:02:50 solewer sshd[7303]: [ID 800047 auth.crit] fatal: Client and server could not agree on a common cipher: client "blowfish-cbc,3des-cbc", server "aes128-ctr,aes192-ctr,aes256-ctr,arcfour128,arcfour256,arcfour". The server cipher list can be controlled using the "Ciphers" option, see sshd_config(4) for more information.
After adding the Ciphers listed in the man page for sshd_config containing
blowfish-cbc,3des-cbc
sshd_config:

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,arcfour,arcfour128,arcfour256,3des-cbc,blowfish-cbc   
 and restarting the ssh service
svcadm restart ssh

muCommander can connect via sftp.


Aug 24, 2011

cvs2hg converted repository with branches and hg convert with filemap destroys data

I had to convert a CVS repository to Mercurial. The CVS repository had a lot
of branches. The conversion was done, as described in my former post about converting a CVS to HG.

After the conversion, there was a root directory in the HG-Repo, which should
be removed.

hg convert --filemap map.txt <source> <target>

would do the magic.

The content of the filemap was:

rename <rootDir> . 

But the resulting HG repository was missing some directories and files.
So this was a not usable for me.
I found the following issue discussing the problem.

The other way to convert was to convert from CVS to SubVersion and
use hg to convert from SubVersion to Mercurial

ATTENTION: for this you need subversion bindings for Python 

cvs2svn --config=svn.cfg

The changes in the svn.cfg from the example were
ctx.output_option = NewRepositoryOutputOption(
to set the SVN Repo

change all the decorders to latin1

and set
run_options.add_project
the path to the CVS Repository.

After converting to SubVersion, I deployed the Repo to the Apache/WebDav
installation and started the conversion to HG by
hg convert -A authormap http://<SubVersionServer/Repo> <MercurialRepo>

and after this a run with
hg convert --filemap map.txt <MercurialRepo> <strippedRepo> 

and the files were in the new repo with the removed root directory.

Aug 23, 2011

converting a CVS repository with branches to Mercurial ( hg )

I had to convert a old CVS repository with a lot of branches to Mercurial. 

The first attempt was to use the convert extension from Mercurial to do
a direct conversion from cvs to hg.

The conversion with
CVSROOT=$HOME/CVSDIR
export CVSROOT
cvs co 


hg convert -A $HOME/authormap <cvsworkdir> <newHgRepo>
The conversion went through with a OutOfMemory during the run,
but hg convert can continue where it left the job.

But this new HG-Repository had wrong branch data inside.
After searching for a solution, I found out that the hints all said to
convert first to subversion and afterwards to mercurial.

Here is the home for repository conversion@Mercurial

I started by using cvs2hg which uses internally the cvs2svn code base.

After cloning the cvs2hg repo with
hg clone http://hg.gerg.ca/cvs2svn

and adjusting the config example I started to do the first run:

./cvs2hg  --options=./cvs2hg-example.options

My settings changed in the example config where
  • to set the decoders to latin1, 
  •  set the author_transforms dictionary
  • set ctx.output_option for the name of the new hg repository. 
  • set in run_otpions.set_project the path to the CVS repository to convert. 
The CVS-Repository was local on my machine instead of a network drive,
because hg convert also likes to have the repo locally.

The first run failed, because on my OpenIndiana there was a wrong dbm implementation in python for the module anydbm.

I downloaded the gdbm 1.8.3, compiled and installed in the default
path to /usr/local.
After this I had to download Python 2.7 and compile it locally.

First edit Module/Setup  in the python source tree:
gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
and some other modules inside the tree.
I had to set LD_LIBRARY_PATH to /usr/local/lib and /usr/sfw/lib for
gdbm and the gcc libs.


./configure --with-dbmliborder=gdbm --prefix <my installation dir>

After compiling and installing the new python,
a restart of the cvs2hg went through the conversion,l
and created a new HG repository.

Aug 22, 2011

UrukDroid CPU Governor - battery life

After Updating my Archos to UrukDroid 1.5.1, the setting for the
cpugovernor as described here  was "lost".

So I updated the /etc/uruk.conf/cpugovernor again t switch to the convservative governor.

During the first days of using UrukDroid, I thought, that the battery life was shortened.

After some time I recognized that sending the device to sleep does not always
work.
The green led beside the power button didn't always turn off. So I'm checking
the device now, if the led goes off and now the batter life is better.



Aug 21, 2011

New Update on OpenIndiana from 19.08.2011

There are new updates on http://pkg.openindiana.org/dev-il available.

The update was smooth without problems after the reboot:


root@solewer:~# pkg image-update                                               
                Packages to update:   356
           Create boot environment:   Yes
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              356/356   3330/3330  168.7/168.7

PHASE                                        ACTIONS
Removal Phase                                986/986
Install Phase                                983/983
Update Phase                               5210/5210

PHASE                                          ITEMS
Package State Update Phase                   712/712
Package Cache Update Phase                   356/356
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                            356/356
Indexing Packages                            356/356
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1288/1288

A clone of OI151-5 exists and has been updated and activated.
On the next boot the Boot Environment OI151-6 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://docs.sun.com/doc/821-1479
---------------------------------------------------------------------------

Aug 17, 2011

Thunderbird 6.0 is available

Thunderbird 6.0 is available for download.

Works so far on OpenIndiana, but Lighting does not work ( 1.0b5) even when
updating the install.rdf to the new version, there are some errors.


Exception: [Exception... "Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]"  nsresult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///export/home/ewer/.thunderbird/hlimkdtv.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: createTodo :: line 67"  data: no]
1: [file:///export/home/ewer/.thunderbird/hlimkdtv.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calStorageCalendar.js:2364] cSC_logError
2: [file:///export/home/ewer/.thunderbird/hlimkdtv.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calStorageCalendar.js:844] cSC_getItems_
3: [file:///export/home/ewer/.thunderbird/hlimkdtv.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calStorageCalendar.js:647] null
This is a no go for me.

Update 19.08.2011:

There is an update for lightning 1.0b5
having a Thunderbird 6.0 compatible version at http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b5/contrib/solaris-x86/

With this update, the calendar plugin works again in Thunderbird 6.0

The quicktext extension has also an update from the developer ( http://extensions.hesslow.se/extension/4/Quicktext/ ) to let it work on
Thunderbird 6.0

Switched over to Thunderbird 6.0

Aug 16, 2011

VirtualBox 4.2.1 is released, but USB seems not to work in OpenIndiana

VirtualBox 4.2.1 is release.
Installation on OpenIndiana Build 151 with Illumos repository works.
Windows XP starts, but USB-Devices seem not to work:

Also a modinfo shows, that the module is loaded

root@solewer:/opt/VirtualBox# modinfo | grep vbox
219 fffffffff8b49000  2e370 296   1  vboxdrv (VirtualBox HostDrv 4.1.2r73507)
259 fffffffff7921550    d48 297   1  vboxnet (VirtualBox NetAdp 4.1.2r73507)
261 fffffffff8d33000   7960 298   1  vboxflt (VirtualBox NetDrv 4.1.2r73507)
261 fffffffff8d33000   7960   -   1  vboxflt (VirtualBox NetMod 4.1.2r73507)
262 fffffffff8d3b000   4a08 299   1  vboxusbmon (VirtualBox USBMon 4.1.2r73507)
263 fffffffff8d40000   75d8 300   1  vboxusb (VirtualBox USB 4.1.2r73507)

Aug 15, 2011

Firefox 6.0 available for download.

Firefox 6.0 is available for download.
Windows, Linux, Solaris see here.

SSH access to UrukDroid 1.5

First activate via UrukConfig the SSH server.

After activating SSH, teh overview of services shows the IP adress of the device.

Use putty.exe on Windows to connect to the device.
Username is root
Password is UrukDroid ( found here )

Changing cpugovernor on UrukDroid

The UrukConfig app allows to activate the CPU governor to activate the dynamic CPU
switching.

To save battery power, I changed in /etc/uruk.conf/cpugovernor 
cpu_governor="conservative"
...
cpu_governor_modules="cpufreq_powersave cpufreq_conservative cpufreq_userspace"

cd /etc/uruk.d
./cpugovernor stats 

shows the ticks in each frequency range.

During tests with 1.5B3 it showed a lot more ticks in 300 MHz instead of ticks in 1GHz mode.

The conservative mode only increased the CPU frequenzy for some amount and does not switch to
full mode.

UrukDroid 1.5 update from 1.5RC1 on Archos 10.1

On http://sauron.pourix.com/UrukDroid/UrukDroid-1.5/ is a new update file for 1.5
I first had to update with UrukDroid-1.5-kernel.tbz2 by copy of the file to /data/UrukUpdate.
There was no autoamtic reboot, but looking into /var/lib/urukdroid/update.log, showed that the
kernel update was successful.
There ware 2 killed message in /system/xbin/uruk_upd: line 94

After this installation, the start showed uruk 1.5 as boot, but swithing to the rootfs still shows 1.5RC1.
Also putting UrukDroid-rootfs-update.tgz into /.upgrade and rebooting didn't remove the 1.5RC1 from swithing to rootfs

Since midday ( 15.08.2011 )  there is also a UrukDroid-1.5-upgrade.tbz2 upgrade file to be put to /data/UrukUpdate.

After putting it into the directory, an automatic reboot is initiated after the uprade es decompressed and
during the reboot the rootfs is upgraded and the 1.5RC1 for init of rootfs is 1.5 and not any RC1 more.

cat /etc/urukdroid-version 
shows
UrukDroid 1.5 ( 15.08.2011)

 

Aug 10, 2011

UrukDroid 1.5 RC1 is available for download

On my Archos 10.1 if've installed UrukDroid, to get root access and vpnc ( for VPN connection  ) running.

Now there is the installation for 1.5 RC1 available.

I was allready on B3 and installed. But this was a mistake from my side. It really installed it and works
fine, but my installation with the apps was trashed.

But this was an opportunity to reformat.

The installation was via the SDE menu Recovery System -> Update Firmware and installed the firmware

Started via SDE the Developer Edition and copied the install-File. 

This installation works without problems.  

Aug 5, 2011

New UrukDroid Update 1.5B3 for Archos available

There is a new Update for Archos 101 UrukDroid 1.5 available. This is B3.

The direct update by coping to /data/UrukUpdate doesn't work. This shows "wrong signature" in
the update.fail log -file in ( /var/lib/urukdroid I think so )

But on xda-developers there is described how to manually update the system. 


0. Extract UrukDroid-1.5B3-upgrade.tbz2
1. Flash zImage and initramfs.cpio.gz through SDE
2. Enter USB MMC and copy UrukConfig.apk to /data/app and bootanimation.zip to /data/customization
3. Create .upgrade folder in / and put UrukDroid-rootfs-upgrade.tgz in it.
4. Reboot and the upgrade will start.

Upgrade the manual way worked for me.