Thanks for your advice folks. I did actually download the samples before but surmised that they were out of date (as I said in my email) because the README contained a copyright of 2001 and the basic module (scull) didn't compile. It turns out that there is a 2.4 directory hidden under "skullp". This didn't work out of the box either (stock RH 8.0 system here), I had to go make a symlink from /usr/src/linux to /usr/src/linux-2.4, and then I had to do echo > /usr/src/linux/.depend. But now it works, so I am happy... -Adam On Wed, Jan 29, 2003 at 11:05:04AM +0000, Lars Olsson wrote: > > On Wed, 29 Jan 2003, Adam Wiggins wrote: > > > > > > You may want to take a look to the book "Linux Device Drivers" > > > at http://www.xml.com/ldd/chapter/book/ It covers module > > > building in 2.2 and 2.4 kernel series. This book can be read > > > online or in PDF format. > > > > Yes, in fact that was the book I learned from originally when I wrote > > the 2.2 drivers. However...the online examples are either out of date > > or were never updated to work with 2.4, and the text of the book > > itself contains no complete examples, everything is in very tiny code > > snippets. > > Make sure to get the example code for the second edition of the book, it > compiles fine on my macchine running 2.4.17. > > lars > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/