Saturday, 21 March 2009

Improving on bootchart

From the the bootcharts I posted in my previous post, it is obvious that sleep times could be eliminated to bet better boot up performance. So I thought of looking at boot messages to find processes that I could do away with or at least do something about. During boot-up, the boot process was looking for ethernet connection, i.e. it was trying to bring up net.eth0. As internet wasn't always connected, it was waiting longer when started with no connection. So I created an offline runlevel and added a new entry in /boot/grub/menu.lst. The procedure is described well in the Gentoo handbook. Here is what I got: a reduction of about 30 seconds in boot-up time.

Friday, 20 March 2009

Bootchart on Gentoo

Recently I tried to chart out my system's boot-up. I got bootchart on my new Gentoo. Then I added a line to my menu.lst as described at the bootchart site and rebooted to test my boot-up. Here is what I got.

I read little more about it and found that I can turn on RC_PARALLEL_STARTUP in /etc/conf.d/rc to get slight improvement in speed. I read that in the comments of the rc file. It was also suggested that I should turn on RC_VERBOSE. So I did it. I got a five seconds increase.

Here is the output of uname -a (I have cut out unnecessary parts like system time)
Linux 2.6.27-gentoo-r8 #1 SMP i686
Intel(R) Core(TM) Duo CPU T2300 @ 1.66GHz

Here is the bootchart with a scheduled filesystem check.

Friday, 27 February 2009

Monday, 23 February 2009

Keyboard not working

Yesterday, after starting my openSUSE 11.1, I logged into my normal user account in KDE 4.1 session. I was surprised to find that my laptop keyboard was not working. I could use the touchpad but I could not get the keyboard to work. On top of it, I was also having an online exam to take.

I logged out and retried but it did not work. Then I restarted and retried yet again in vain. I thought I should check on my keyboard as well. So I logged into an Enlightenment session and I found that my keyboard was OK. I went on with my exam.

After finishing it, I logged out logged back as root into a KDE 4.1 session and found the keyboard to be working. I figures this was because settings for that user had changed for some reason. I was quite surprised because I had not done any installs. I hadn't even deleted a file.

I connected my USB keyboard (which I had got to play games though I haven't played in about a year now) to see if it works. It didn't either. I logged back into Enlightenment, and launched Konversation and joined #opensuse-kde and #suse on Freenode. I stated my problem. After discussing for some time, though I didn't find any solution, I realized that it was a very rare situation. Then I made a post at opensuse forums and went to sleep.

Today morning, I found replies on it. One was about kwin. I knew about it from last night's discussion at IRC. Issuing the command


kwin --replace


should do it for me; at least that's what I know now. However, for that to work I need to get my keyboard working. The other reply asked me to login on command line, run sax2, select my keyboard and then run kdm and start a KDE session.

I tried this one. It worked for me. I thought I should blog about it and started writing this blog. While I was halfway through all of a sudden, i was typing but no letters appeared. Thats when I realized that the keyboard wasn't working with KDE yet again. So I saved the blog and logged out of KDE. I have completed the blog in Enlightenment but my problem stays.

Tuesday, 17 February 2009

Samsung's OLED



Promising indeed.

Sunday, 8 February 2009

Hoax

Here is a hoax site that shows I have malware on my system. It claims to do so via online scanning but forgets to know whether I have a linux box or a windows.

It detects my drives, shows me warnings of threats and all I do is have a hearty laugh. :-)

Nice work


Hana from Andreas Muller on Vimeo

Monday, 5 January 2009

Restoring default panel in KDE 4.1

I have switched to opensuse 11.1 with KDE 4.1 desktop. In KDE 4.1, while fiddling with the new desktop style, it is easy to lose the default panel, which provides easy access to various features and to which we are very much used to. Here is how we can get the default panel back.
The panel is present here.
Now its gone. Then I right clicked on the desktop and selected "Add panel" option. I got a message asking me whether I want the default panel or empty panel.

Sunday, 21 December 2008

Memristive systems

Before going to memrestive systems lets look at some details first.

Now lets have a look at Memristor and Memristive Systems Symposium at University of California, Berkeley.