Building and running kernel in a virtual machine?

2007-12-14 Thread Amogh Hooshdar
I have got a kernel using this command:- git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git I don't have a separate system. So I have to make it, build the vmlinuz and then execute it using QEMU. Please help me how to build the kernel and execute it using QEMU. I gues

Understanding Linux kernel - 3rd edition - not freely available?

2007-12-09 Thread Amogh Hooshdar
I can find only 1st and 2nd editions of Understanding Linux Kernel on the web. I can't find the 3rd. I am not sure whether the 1st and 2nd copies available on the web are even legal copies of the book. Any information about this would help. -- To unsubscribe from this list: send an email with "uns

How printk() buffering works?

2007-12-09 Thread Amogh Hooshdar
Hi I am a newbie in the world of Linux kernel. I have lots of questions and some may be really silly. So, I will be asking a lot of questions in the coming few months. I hope asking such questions is considered OK here. If not, please guide me. Here is the question I have now. I was playing with t

No linux/modversions.h in my system.

2007-12-09 Thread Amogh Hooshdar
I was trying the code at http://www.faqs.org/docs/kernel/x1206.html It seems the file "linux/modversions.h" is not present in my linux-headers source. I am on Debian and I have installed the linux-headers-2.6-486 package. As a result they are available in "/usr/src/linux-headers-2.6.18-4-486/". Bu

differnce between += and := in Makefile obj-m line

2007-12-08 Thread Amogh Hooshdar
I found two types of Makefiles in some tutorials. One was like this:- obj-m := hello-1.o Other was like this:- obj-m += hello-1.o Both generated .ko files properly and I could insmod and rmmod the ko successfully. Please explain what is the difference between := and += ? -- To unsubscribe fro

Re: how to boot and print message

2007-12-07 Thread Amogh Hooshdar
Hi I am a newbie too and I faced this problem a few months back when I was trying to understand the process of booting. I got two articles from an IRC channel which helped me a lot. 1. http://en.skelix.org/skelixos/tutorial01.php 2. http://susam.in/articles/boot-sector-code.php Hope these articl

3 goals of a newbie - please guide

2007-12-07 Thread Amogh Hooshdar
Hi, I have knowledge of assembly language. I am good at C programming. I have learnt to write "hello world" type of kernel modules using printk() statements. I know nothing else about kernel programming. I want to become a kernel hacker. I am a newbie at the moment. To begin with, I have 3 goals.

how should I get a kernel for myself to begin experimenting?

2007-12-06 Thread Amogh Hooshdar
I am about to modify kernel and do some work on it for the sake of learning the code and contribute to the code when I am well versed with it. I would like to know if there is any other way of downloading the source code other than git. I am well acquainted with subversion so I am wondering whether