Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everybody, I need your help.
I am a linux newbee and I know a little bit about system prigramming in linux.
I want to start off with kernal programming and kernal development.
Please could you suggest me the best and popular easy to understand kernal programming books?
First thing it is kernel
Second What do you know at all about programming?
Third: Download the linux kernel and take a look
Fourth: The Linux Kernel modul programming guide
@looop I don't understand. I am trying to start it but i don't know where to start from. I know C and C++ and system calls under unix. Also a bit of shell scripting. I want to start with kernal development and writing modules for device drivers. And i want to get started. What version of linux kernal source would be the best to learn?. Thanks
@Anisha Kaul
I've been working on shell scripting and system programming in linux for quite sometime. I am studying computer science engineering and Kernel programming is not one of my subjects. I read about kernel programming and found it interesting and i can accomplish tasks only after i learn it. I just want to get started. Thanks for your time.
I want to start from scratch. I am very very new to linux. Easy to read pdfs including all the pre-requisites i need to know to start with it would really be helpful.
Thank you
I read about kernel programming and found it interesting and i can accomplish tasks only after i learn it. I just want to get started.
It is nice to know that you want to learn Kernel programming because you
find it "interesting".
Just one warning I'd like to give you (no offense intended) - It is not
easy to learn something "properly" unless and until you have a task to
accomplish (through it), i.e when you have a task it means you have a
problem for which you intend to search solutions.
In your case, you will be searching solutions for the problems which don't
exist!
I think before reading, writing, or even thinking about "coding", you
should figure out what the heck is kernel programming all about.
Before you think about writing a kernel from scratch, I suggest that you
read the meaning and the need of the types of device drivers (do you need your
own customized device driver?), system calls (do you need your own customized
system call?).
@Anisha Kaul.
Well certainly. :-). I have indeed come across the things a master in kernel programming can accomplish, I found all those things(flexibility, modifications etc) fascinating and i hope i ll be able to write patches, device drivers and solve my problems only after i learn it. I am following your steps. Greatly helping me, also motivating. Thanks a ton!! :-)
Hello everyone,
I am trying to learn kernel programming. Which is the best kernel version to experiment on? Kindly post the command lines to download it. Thanks
@ricstirato Thanks. It worked. I downloaded 2.6.17 instead because i found an ebook which had the tutorial based on it. I am trying to configure it by the following command.
Code:
$ make menuconfig
And i am getting this
Code:
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.