Crazy Days

[ATOM Feed]

I'm just another ordinary guy with crazy dreams and a wiered life...who wouldn't know what's wrong with this world and life...let's try to find what?

Monday, November 17, 2008

 
Brain Damage?

Nearly after two and half years I was looking at a script I wrote (one of the very first ones), and it felt like it was not written by me. According to the script... that script suppose to be one of my own scripts.

May be my experience with Perl has changed so much, I do not recognize my old coding pattern any more!!!

The best part is... I still think my old coding style is much cooler... which confuse me even more!!!

Saturday, November 01, 2008

 
Debian Aspire One

After the long wait (actually waiting for a Eee 904 :(), I managed to buy a Acer Aspire One, well this is the only UMPC available in the region. There is nothing to complain about the looks, although I do not like the shiny skin in general, but overall I was "one happy customer"... except for the OS.

Aspire One A110, comes with Linpus Linux lite preinstalled... some what a user environment...like Windows, but I really like to run a proper operating system on the unit. Since this is my personal laptop (that implies I have the privilege of ruining and messing with it anyway I like) the OS by choice was Linux, Debian Lenny.

The whole process was much easier than I initially imagined it to be, thanks to this page. But the USB installation had problems with the boot image not matching the ISO. Finally managed to install 4.0r3 with a external USB CD.

By default many things were broken. Madwifi worked beautifully, after compiling the module. With the mentioned tips, managed to extend the SDHC storage expansion to mount a 4GB SDHC card (class 4 :(), as the home directory. ALSA worked as described... but the biggest problem was... idle battery life runs out in less than two minutes.

Suspend messed up the whole machine, specially the storage expansion, therefore could not use suspend to memory since I changed to Debian. Alsa crashes as explained in the Debian wiki page after a suspend and some times MadWifi too.

It was clear that the kernel carrying too much rubbish, hogging most of the resources. Boot time also annoyingly longer than what it used to be compared to the original user env (less than 10s). So there began the kernel recompilation.

Using the .config file available on the recovery DVD (which was 2.6.23.9), I tried to compile the latest, which is 2.6.27.4. By copying the config file on to the new kernel root, ended up in a disaster...Kernel Panic... Something related to SMP PREEMTION. Chasing that problem seemed to be hopeless business, therefore straightaway started configuring the "mrproper" config according to the Orginal config file. This was painful enough... yet the result was sweet... the new kernel boots, little bit slower though, I compiled with FB support, and the bare minimum requirement built in to the kernel. With the help of "powertop", managed to do the final bits of tweaking and I suppose this the best we can get out of this box.

In the kernel config, under Device Drivers->MMC/SD Card Support->Allow Unsafe Resume required to prevent wakeup from re-detecting the MMC/SD device. The rest follows the Debian Wiki.

Archives

April 2006   May 2006   June 2006   July 2006   August 2006   September 2006   October 2006   January 2007   February 2007   May 2007   October 2007   August 2008   September 2008   October 2008   November 2008   December 2008   June 2009  

This page is powered by Blogger. Isn't yours?