Tuesday, December 18, 2007

Ubuntu FF : How to install a linux vanilla kernel

This guide is not a guide. This is just a list of problems that I had to face while installing the kernel and what more could you do with it. The aim was to modify the kernel code to implement changes in the TCP protocol.

First, its best to get a VMware player/server version installed on your machine. That way, you need not reboot you machine everytime. It is freely available on www.vmware.com. Get the keys and you can install it easily. The difference between the server and the player is that you can make your images of an OS with the server.

Once you install VMware, get Ubuntu's VMware image. This is freely available on the internet. Locate the configuration file (.vmx) in the VMware application to load the OS. A point to note here, enable NAT network configuration if the default network setting (Bridged) doesn't work.

To install a vanilla kernel ( a kernel obtained from www.kernel.org and is not modified or distr dependent ), goto http://www.howtoforge.com/kernel_compilation_ubuntu.

its a good and easy guide and should get you through easily.

You installed the kernel, perhaps you want to make some changes to it. Now trying to understand the linux code can be a real pain-in-the-***. In order to understand the flow of execution, the best bet is using kernel debug statements, one of which I know is printk. Use various parameters with printk and keep checking /var/mesgs/kern.log.

A good guide towards printk is :




Will update as and when I remember something.

Tuesday, May 8, 2007

How does Googol work ?

Wondering whts Googol ... well its an original name proposed for google .. . to know more about how it works ... visit ...http://infotech.indiatimes.com/quickiearticleshow/msid-2044969.cms

Wednesday, April 18, 2007

What is hyperthreading in Intel CPUs ?

Hyperthreading is a concept which implements process threading "virtually". By virtually, I mean to say that process threads are not actually created. The CPU maintains separate sets of registers for each thread maintaining their state in each set of registers. Each set belongs to one process. Now the CPU keeps on switching from one process to other as soon as the assigned time slice finishes. This saves time while making a context switch, hence a better performance.

How does one node send a message directly to another node ... without any broadcast ?

Tuesday, April 17, 2007

Difference between a debit card and a credit card ?

A debit card debits transactions from your account. It is like a demand draft. You can use it only if you have balance in your account. A credit card on the other hand is a promise. You use it and spend as much amount of money but then that needs to be payed back to the credit card company. That is the reason why banks issue credit card after some research on the person requiring a credit card.

How does a vacuum cleaner work ? specifically, how does it direct dirt to its container ?

Any answers ??

Saturday, April 14, 2007

Difference between LCD and TFT technology ?

LCD(Liquid Crystal Display) is a comparatively older technology as compared to TFT(Thin Film Transistor).

LCD monitors have liquid crystal layer sandwiched between two glass surfaces which polarise the light. This setup is lighter and more efficient in terms of power usage than the CRT counterparts.

For TFT monitors, each pixel is controlled by 4 or more transistors. The level of voltage determines the display color and hence an efficient and sharp image can hence be formed. They also can be refreshed quickly making them useful for gaming purposes where the screen needs to be refreshed constantly and quickly.

What is a High Definition TV ?

It is a standard which requires a resolution of atleast 1920x1080 and offer extremely sharp images.

Difference between deodorant and body spray ?

Deodorant is just for masking bad odours while body spray also issues fragrance along with serving the purpose of a deodorant.

What is the Quad core hoopla ?

Well quad core computing has come as a major step in the transition from single core chips to multicore parallel computing chips. In essence, the quad core has 4 ALUs on one chip. But more and more of ALUs are being ported onto the same chip. AMD is soon to announce a 128 core chip followed by Intel ( maybe by late 2008). This is beneficial in terms of executing programs which can be threaded. For instance, applications involving 3D graphics etc. Such processes are better off being run in parallel giving increased performance. Windows VISTA is quite computationally demanding and such multicore chips can better their performance by leaps and bounds.

Why does milk rise while boiling but water doesn't ?

That is because when milk boils, the proteins within it form a layer on the milk. The rising steam coming from beneath gets trapped. Over time the steam pressure becomes so much that it pushes the layer above so it gives an appearance of milk rising.