Tuesday, July 12, 2011

Bluefin on Golf GTI MK V DSG

A quick review of the superchips bluefin for Golf GTI MKV

UPDATE: I tested to pit pm the 1/4 mile. Results are in this post.

The golf MK5 is a good car, quick enough, comfortable and well behaved. Easily driven as a daily driver with a fun streak when you want it. The only real issue I have had is it's "doughiness" driving in suburbia, where there is a lag between the accelerator and car response and the need to shift down gears at low speed. I investigated the installed of a "software upgrade" to increase the torque curve and hopefully bring it closer the the 1500rpm mark where the 60km/h speed limit lines up with 6th gear.
Summary: The bluefin upgrade makes a good car, great.

Installation

You buy the module, plug it into the connector under your dash. The on screen prompts you to turn on and off the ignition a few times, after which it'll start downloading your car's ECU software. This takes around 15-20 minutes.
Once that is done, you connect it to your PC with the software installed, and it'll communicate to the module and download the software to your PC and send it to superchips server in the UK, this is another 10 minutes.
It says that it'll take 8 hours to receive the new software, but mine came through immediately. Once you have the software, you reconnect the module to your pc and load the software, which will download the new software to the module.
Now your module has both your "Original" and "Upgrade" softwares.
You plug the module back into the car and after following the instructions a few times, the software will be uploaded to your car, another 15-20 minutes. Then some more instructions at which point it'll ask you to disconnect the device.
Upgrade complete!

First Impression

Definite increase in torque, my standard, "hurried" take off caused the traction control to interfere.
Drivability is the most significant improvement for me. Gone is the "lag" between the accelerator and the cars response. The best way to describe this is the "doughiness" is gone. It's very impressive, feels like a brand new car. Shifting feels a whole lot better and smoother, although at hard acceleration the 2->3rd shift can be a bit harsh.
General acceleration is more responsive, and it feels like you are being pushed back into the seat. The acceleration is strong right to the red line, it will now break traction going up the gear if you have enough throttle, even in "D" mode.
6th gear is far more drivable at lower speed, the "D" mode's insistence on getting to 6th gear as fast as possible is no longer a pain, as you have enough torque in that gear to speed up and down. On the highway it's defiantly better and resists shifting down gears for speeding up.
Noise wise, there is an increase in turbo whistle, it's not annoying and you can't hear it with the window up, but just cruising around suburban street, accelerating you will hear the turbo working.

Immediate Thoughts

According to the dealer, the software will take a few days to fully kick in, as the ECU needs to relearn the settings based on the modified parameters. But for now, the results are extremely satisfying. No longer does this car feel like it could be that little bit better. Responsiveness is well up, and as an added bonus it's a bit quicker and stronger at accelerating.
To be honest, the tuning (based on claims) is far less aggressive than some of the competitors, especially APR but to be honest, it is almost a third of the cost, and the benefits are substantial especially for a daily driver on Australian roads. Don't get me wrong though, there is definite performance increases that I am sure you would be happy with.
The added benefit with the bluefin module, is that you can upload your Original (as in the original software you downloaded in the first step), back to your car and no one is the wiser. APR software as far as I know, isn't user removable, something I'm not willing to accept.
For $700AU, this upgrade is a no-brainer. Couple that with the fact you can get a free/low cost upgrade from Superchips to Stage 2 if you ever fit a CAI and Exhaust system on it.
In the end, once you drive it after the upgrade, it's like you've just jumped into a turbocharged car again for the first time.
I will update this entry as time goes by. I am hoping in the future to upgrade to a Milltek turbo back exhaust and have the DSG reflashed, so I will report on those finding when they come.

Pros

More responsive, throughout the rev range, and gears
Faster shifting, smoother
Lag between downshift is gone, less need for downshifting in suburban traffic.
Stronger acceleration
Cheap ($700AU)
It's fun.

Cons

Tuning isn't as agressive as competitors claims ("claims")
Really, nothing to note.

Conclusion: Stop thinking about it and go get one, and enjoy your new car.

Monday, July 11, 2011

Golf GTI MK5 DSG BlueFin Quarter Mile

Superchips bluefin review.

Ran the GTI with the stage 1 superchips bluefin, dsg with a full tank of gas and probably about 50kg of extra weight in the back (couldn't be bothered to remove it)

Running 5 month old Michelin pilot sport 3's with about 10000km on them.

1. First run was 14.5 seconds in manual with launch control at 2000rpm
2. Second clocked 16.2 seconds in S mode auto with launch control at 2000rpm
3. Third clocked 14.03 seconds in manual with launch control at 2500 rpm
4. Fourth clocked 14.5 again with manual launch control at 3000rpm.

Had a stock VE SS commodore and a stock 6L HSV Maloo, both clocked 13.95 seconds.

Seems like the sweet spot is 2500rpm in launch control, otherwise at 3000 rpm the DSG seems to limit the torque and cause the front wheels to spin.

I'll try it again once I have the DSG reflashed with a new program and the exhaust and intake replaced and a updated bluefin flash for comparison.

Friday, June 10, 2011

Compiling Sphinx Search Server on OSX

Having trouble compiling a fresh sphinx search server on your OSX Leopard/Snow Leopard (10.5/10.6) host?

If you are gettings

conflicting declaration 'typedef unsigned int DWORD' etc etc

 

compile it like this

 

./configure --prefix=/opt/local --with-mysql=/opt/local/lib/mysql5 --without-unixodbc --enable-id64

 

The key here is to not compile the unixodbc support using flag "--without-unixodbc" as this is where the errors are coming from.

Thursday, June 2, 2011

DM-Crypt on Synology with Truecrypt 7

You may get an issue with Truecrypt on your synology about the ioctl and the device mapper (dm). Do "dmesg" when you try and use truecrypt to mount an image and see if it complains about a missing module.

The issue is because the synology default kernel lacks the required device mapper crypto module and the crypto modules XTS and LRW.

You can compile these using an ubuntu/linux host and the Synology cross-compile tools and sources. See my post on compiling a kernel module.

 

Alternatively, if you are on a synology 1511+ or similar (running a x86 processor - do "uname -a" to check), leave me a comment and i will email you the pre-compiled modules)

 

 

Monday, May 30, 2011

Truecrypt 7 on Synology

The following is a basic guide to getting truecrypt 7.0a to compile on a Synology 1511+, using the optware tools. You should be able to follow this guide for non-x86 devices by changing references to "-march=i686" to the architecture of your device.

 

Download the latest truecrypt 7 sources from truecrypt.org (this post is based on 7.0a)

NASM

Download NASM sources from the web

./configure --prefix=/opt/local CFLAGS="-march=i686" CC=gcc
make
make install

 

FUSE

Download Fuse 2.8.5 from the web

./configure --prefix=/opt/local
make
make install
in fuse-src/include
cp fuse.h fuse_com*.h fuse_opt.h ../../truecrypt-7.0a-source/
make install-pkgconfigDATA
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig

 

wxWidgets

Download wxWdigets 2.8.12 - Truecrypt won't compile using 2.9.x series!

 

PKCS Headers

In /tmp/pkcs
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h
export PKCS11_INC=/tmp/pkcs11

 

Build wxWidgets

In truecrypt-src directory

make NOGUI=1 WX_ROOT=/tmp/wxWidgets-2.8.12 wxbuild CFLAGS="-march=i686" CC=gcc

 

Build TrueCrypt

If you get something on the lines of

"TrueCrypt::CipherAES::IsHwSupportAvailable() const"

or "is_aes_hw_cpu_supported" make sure you have NOASM=1. It is for hardware AES anyway.

 

export LD_LIBRARY_PATH='/opt/lib:/opt/local/lib'
You will need to edit the Makefile and in the "Linux" section, add
CC_FLAGS += '-march=i686'
CC_XX_FLAGS += '-march=i686'

 

Else you will get complaints about _sync_fetch_and_add_4. (http://systemsnotebook.blogspot.com/2011/05/ddrescue-on-synology-optware.html)

 

Final step!

make NOGUI=1 WXSTATIC=1 ARCH=i686 CC=gcc AS=/opt/local/bin/nasm NOASM=1

 

Truecrypt compiled in Main/truecrypt

 

Copy this to your /opt/local/bin or where ever you place your executables.

 

I'll have a following post on using Truecrypt files.

When trying to mount an Truecrypt image it complained about a missing module. I have compiled the required modules in this post.

Sunday, May 29, 2011

Mounting Loopback Device on Synology

DSM 3.1 and 1511+, should work on other models.

 

First you will need to load the loop device kernel module

insmod /usr/lib/modules/loop.ko

Then you will need to initialise the loop back device with your image.

Check for a free loop device

losetup -f

If you don't have one do

mknod /dev/loop0 b 7 0

Then mount the loop device to the image.

losetup /dev/loop0 <img>

Then mount the loopback device to the filesystem

mount -t <filesystem> /dev/loop0 <mount point>

Dos Filesystem Tools on Synology

Need to be able to fsck fat filesystems on synology system?

Download dosfstool from freshmeat.net

Then on (Synology 1511+ with build tools (optware-devel) install run

make CC=gcc CFLAGS="-march=i686"
make install-bin PREFIX=/opt/local

 

Thursday, May 26, 2011

Install Deluge on Synology

Install optware packages.

Install optware-devel

install gcc

Install Bash

Link Bash to /bin

ln -s /opt/bin/bash /bin/bash

Install Boost libraries

boost-*

install openssl-dev

install zlib

ipkg install py25-buildutils

 

in your deluge source directory:

edit setup.py, change /usr/include to /opt/include

(you could also do a symbolic link if you like)

 

Fix the boost compile error!

nano /opt/include/boost/config/user.hpp
add "#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION"
Compile
python2.5 setup.py build
python2.5 setup.py install --prefix=/opt/local

 

download install chardet

http://chardet.feedparser.org/download/

build, install

python2.5 setup.py

 

install py-xdg

http://www.freedesktop.org/wiki/Software/pyxdg

python2.5 setup.py

 

Enjoy your new deluge installation.

 

You'll need to create a startup script, more on this later.

 

Configuring linux for synology cross-compile

Quickly configure the Synology cross compile toolchain on linux. (1511+ Intel Atom)

You may also need to specify C(XX)FLAGS="march=i686" See previous post on this.

env \
CC=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-gcc\
LD=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-ld \
RANLIB=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu-ranlib \
LDFLAGS="-L/usr/local/x86_64-linux-gnu/lib" \
CFLAGS="-I/usr/local/x86_64-linux-gnu/include" \
./configure \
--target=x86_64-linux-gnu \
--build=i686-pc-linux-gnu \
--prefix=/usr/local \
--host=x86_64-linux-gnu

Wednesday, May 25, 2011

ddrescue on synology (optware)

Done on a 1511+ (Atom x86_64)

 

If you do a straight compile you will get

undefined reference to `__sync_fetch_and_add_4'

need to tell it to use the i686 arch.

./configure --prefix=/opt/local CXXFLAGS="-march=i686"

Tried using ddrescue 1.14 (2011) compiled successfully.

 

Leave a comment if you would like me to send you a copy of the compile executable.

Macintosh filesystem support on Synology

Unfortunately the Synology boxes don't come with support for mounting Macintosh filesystems, which in a environment of primarily macintoshes was disappointing.

I originally set out to compile the kernel modules on the synology box itself, but after some stuffing about I decided to do it using a Ubuntu virtual machine.

You should be able to do this the same way on the Synology, but note you will definitely need to download the toolchain from Synology. OPTWARE GCC WILL NOT WORK. (At least on the 1511+ which uses a Intel Atom processing in 64bit mode, the optware gcc is 32bit only. You will get an error about 64bit mode not compiled in). See this post

Next up you'll need to download the Synology DSM GPL sources to get the kernel source, I tried using the generic kernel from kernel.org but the version string on the Synology kernel is slightly different and won't load a module built against the generic sources.

Synology Box
vermagic:       2.6.32.12 SMP mod_unload
Generic Kernel
vermagic:       2.6.32.12

I guess you could do whatever configuration is required to get the same version, but it is easier to download the sources from Synology website.

Next up you'll need a basic development environment, in my case I used the netinstall of 11.04 and install the bare system. Install build-estential and you'll need ia32-libs if you are using a 64bit machine, as the Synology toolchain is 32bit.

Once you've done that, extract the Synology toolchain into /usr/local, which depending on what architecture you are using, you'll have a couple of processor specific toolchains, in my case for the 1511+ I have,

i686-linux-gnu
x86_64-linux-gnu

If you are using the 1511+, the kernel is 64bit so you want to use "x64_64-linux-gnu" for your cross compile.

Check your specific kernel type using "uname -a"

Next extract the GPL sources from Synology into a directory, I used /usr/local/src

Double check the version of linux kernel on your box by using "uname -a", in my case I am on "2.6.32"

Change into the specific kernel source directory for you kernel, in this example "/usr/local/src/linux-2.6.32"

You need to get the default setting for the kernel for your specific unit by copying the correct config from the "synoconfigs" directory. In this case,

cp synoconfigs/x86_64 .config

Run the following command

make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu- menuconfig

Inside the config, select the modules you want to create (make sure you have them selected as modules), save your new config and run

make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-linux-gnu/bin/x86_64-linux-gnu- modules

I created the hfsplus module, which ended up in fs/hfsplus/hfsplus.ko

running modinfo on the new module gives the following

filename:       hfsplus.ko
license:        GPL
description:    Extended Macintosh Filesystem
author:         Brad Boyerdepends:        
vermagic:       2.6.32.12 SMP mod_unload

Perfect.

 

Leave a comment if you want me to send you the compiled hfsplus.ko module. (compatible with 1511+)


Tuesday, May 24, 2011

"No such file" when trying to execute linux program?

Yup, random error thanks for the help on this one.

 

Odds are you are on a 64bit machines trying to run a 32bit application.

 

If you are in ubuntu, do this

apt-get install ia32-libs

 

Done.

Friday, May 20, 2011

CentOS Package Error, YUM returns pkgKey Error.

Got this random error from YUM

Error: pkgKey 3185 doesn't exist in repo base You could try running: 
	package-cleanup --problems
	package-cleanup --dupes
	rpm -Va --nofiles --nodigest

Thankfully, google is your friend and you can fix it this this "un-suggested" way:

yum clean all
yum clean metadata

 

Leave a comment if this works for you.

Quicker Screen Sharing in OSX

Goto ~/Library/Application Support/

Drag "Screen Sharing" to your dock.

 

Now you have a popup with all your recent screen sharing sessions.

Update DNS Server on CentOS 5

DNS Servers are located here. (Same for most Linux distros)

/etc/sysconfig/networking/profiles/default/resolv.conf

Wednesday, May 18, 2011

Sweet OSX Apps: iResize

Looking for a free program to bulk resize your photos? Look no further than

iResize, available from the author's website

Go get it.

Automounting your CIFS shares on OSX

So, say you have a NAS/Server exposing shares over CIFS (SMB), and you want your OSX based computer / media player PLEX (plexapp.com) to automatically mount your media share on boot...Lets go. Works on 10.5 and 10.6, untested on others.

Note in my testing I have found CIFS to be more reliable and faster for transfers, essential when you have multiple systems accessing media/files. I had performance issues with AFP especially listing large directories.

OSX has a nice, built in mechanism for auto mounting filesystems, re-mounting them if they drop, it's called autofs.

In order to mount your SMB/CIFS share (or any type for that matter) it is simply a case of updating your /etc/fstab file.

In the follow example replace the following with your details

<SERVER> The DNS or IP of your server, [ eg. "server.local" OR "192.168.1.50" ]
<SHARE> The name/path of the share on your server, [ e.g. "media" ] 
<USER> The username of the user to access the server share [ e.g. "john" ]
<PASS> The password of the user
<MOUNT> Where you want the share to be mounted [ e.g. "/Users/username/Media" ]

In Terminal, do the following

sudo nano /etc/fstab

Enter your password when requested...

<SERVER>:/<SHARE> <MOUNT> url automounted,url==cifs://<USER>:<PASS>@<SERVER>/<SHARE> 0 0

Save the file and exit, (press ctrl+x and answer yes to save)

Next you want to chmod your mount folder to ensure that you can access it, and the system can mount to it.

chmod 777 <mount>

Next, we want to restart the autofs service, so it knows of our new auto-mount

sudo automount -vc

It will return a list of mounts that it is automounting, and your new one should be in there. If you have any troubles, check the formatting of the command you a have placed in the /etc/fstab file, check your paths and user permissions on the server for the provided user.