Yeah LDD3 is outdated now, atleast huge amount of code is not usable as is, and for beginner, it may be difficult to figure out. I donno when LDD4 will be out, but if authors could re-write changed stuff, somewhere online, it would be great. There is one more link, which was updated for linux-2.6.25: http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.25/ldd-examples/ Regards Anuz
On Fri, Aug 7, 2009 at 1:19 PM, Mulyadi Santosa <[email protected]>wrote: > On Fri, Aug 7, 2009 at 2:21 PM, Belisko Marek<[email protected]> > wrote: > > Hi, > > > > I think LDD3 book is used (and was used also for me) to start and > > understand better kernel programming. > > > > I don't used examples codes I just read a book and then use a > > knowledge in kernel programming. > > For lot of people example code are good start point. For some users > > could be discourage if they can't compile > > sources because they used newest kernel. > > > > I think code examples was written (for modules) for 2.6.19 kernel. > > Till today a lot of changes was > > done in kernel so I think about possibility to update sources. > > > > I make some modifications for sources > > (http://github.com/nandra/LDD3_examples/commits/master) > > to be compilable with newest kernel (I'm using openSuse 11.1 with > > 2.6.27 kernel). > > > > My question is if I should keep also backward kernel compatibility or > > just get rid of this. > > > > Thanks for you proposals > > IMO, right now you could just make it usable for certain kernel > versions. In fact, we can not be sure if those modules are still > compatible with future kernel versions, but at least you try. > > After all, so far, the source of all kernel versions can still be > freely downloaded from kernel.org, so there's no huge problem here > IMHO > > NB: LDD3 is based on 2.6.1{0,1} IIRC, not 2.6.19 > > > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer > blog: the-hydra.blogspot.com > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [email protected] > Please read the FAQ at http://kernelnewbies.org/FAQ > >
