LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 01-09-2011, 02:29 AM   #1
avd122
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Which linux distro to use for learning linux device drivers programming ?


I have started reading book Linux Device Drivers 3rd edition. So I want to know which is the best light weight distribution to use so that learning can be more generic and also does not involve distro specific nitty-gritty details. I have already tried building kernel for Ubuntu 10.04 but it involved different commands from what is mentioned in the book. So I am not sure whether I would be able to make further in the book. Has anybody tried??

Thanks a lot in advance
 
Old 01-09-2011, 02:36 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You could look at Slackware, since the kernel is a vanilla one.

Also, you might want to be aware that the book is for quite an old kernel version now (2.6.10) and some things have undoubtedly changed since then. I started reading it a while ago (though admittedly didn't get too far) and some things had moved around. Hopefully, there's a new version in the works. Having said all that though, the book will still be useful and you'll be able to find help from the various kernel mailing lists.
 
1 members found this post helpful.
Old 01-09-2011, 02:49 AM   #3
avd122
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Nylex,
Thanks for the info. As you mentioned, that book is quite old, could you suggest me some other reference which would be the best one to start learning? And when you started, did you start with slackware or some other ?

And if I choose slackware, should I download all the 6 CD as mentioned on this page (http://www.slackware.com/getslack/torrents.php) or just the first one is enough. I want the minimal things so that building, testing, debugging and learning process is faster.

Quote:
Originally Posted by Nylex View Post
You could look at Slackware, since the kernel is a vanilla one.

Also, you might want to be aware that the book is for quite an old kernel version now (2.6.10) and some things have undoubtedly changed since then. I started reading it a while ago (though admittedly didn't get too far) and some things had moved around. Hopefully, there's a new version in the works. Having said all that though, the book will still be useful and you'll be able to find help from the various kernel mailing lists.
 
Old 01-09-2011, 04:25 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,224

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Conceptually LDD (3) should be fine. As for a distro, I find ArchLinux suits me best for kernel testing.
It's minimalistic, and is light and quick. Ubuntu is a dead loss due to the proliferation of modules - you'll soon get sick of the compile time. The first thing I always did with Slack was compile my own kernel - it's usable as a testbed, but didn't offer anything I couldn't do easier elsewhere.

Most of the kernel devs I've spoken to still seem to be Debian bigots. Might be worth considering.
 
1 members found this post helpful.
Old 01-09-2011, 05:26 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello avd122,

Quote:
Originally Posted by avd122 View Post
...did you start with slackware or some other ?
Slackware is a quite good startingpoint for programming with Linux.

Quote:
And if I choose slackware, should I download all the 6 CD
afaik you will only need CD1 and CD2. On CD3 there are the "kdei" packages for the KDE-localization and CD4 upto CD6 are the sources.
Quote:
I want the minimal things so that building, testing, debugging and learning process is faster.
Slackware is a very clean system anyway. If you don't want to install a gui, you may install the packages a, ap, d (developement), e, f, k (the kernel), l, n. But this is excellently explained on Slackware's homepage.

Note: the Slackware forum here at LQ http://www.linuxquestions.org/questions/slackware-14/ is the official forum for Slackware, you will find excellent help there.

Markus
 
1 members found this post helpful.
Old 01-15-2011, 12:19 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by avd122 View Post
Hi Nylex,
Thanks for the info. As you mentioned, that book is quite old, could you suggest me some other reference which would be the best one to start learning? And when you started, did you start with slackware or some other ?
Sorry for the delay. I haven't really had time for LQ this week. So far, yes, I've only looked at kernel stuff on Slackware (again, I haven't really done that much).

As for other books, I don't know. I'm inclined to agree with syg00 about LDD3 being fine, for the simple reason that the kernel is still in development and so lots of books are going to go out of date (in some sense) quite quickly, but the concepts should be fairly well defined by now.
 
  


Reply

Tags
devicedrivers, programming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start with programming serial device drivers in Linux swapnilborg Linux - Hardware 2 08-21-2006 01:45 AM
I want some guide to know the basic about device drivers programming in linux. kadhiravan.r Linux - Software 2 07-18-2005 07:07 AM
Help with learning drivers programming! fbarre Programming 1 09-16-2003 12:10 PM
Help with learning drivers programming! fbarre Linux - General 6 09-13-2003 06:50 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration