All of lore.kernel.org
 help / color / mirror / Atom feed
* knewbies project? - updating LDD3 source (Jim Cromie)
@ 2011-05-24 19:18 Vikram Narayanan
  0 siblings, 0 replies; only message in thread
From: Vikram Narayanan @ 2011-05-24 19:18 UTC (permalink / raw)
  To: kernelnewbies

> over at http://code.google.com/p/ldd3/
> it says:
> The famous "Linux Device Drivers" released the sample code. but the
> code does not reflect the latest kernel updates, some of code cannot
> even compile. This project is to make it compatible with the current
> kernel.
>
> http://lwn.net/Kernel/LDD3/
> http://examples.oreilly.com/9780596005900/
>
> Neither the OReilly tarball, nor the googlecode's svn repo will compile for me
> on an updated F-14 box, neither against uname -r, or a local git-tree.
>
> So I pulled the svn-tree, and made these changes.
> I got a fair way to getting things to compile.
> Changes are quick-n-dirty, and some may be wrong,
> esp around workqueue stuff - I pretty much did what compiler told me,
> w/o any analysis.
>
> I didnt even get compilation on the aio/iovec users, on the changes from 2003.
> I havent really gotten my head around the whole conversion strategy;
> I know a loop over iovec elements is probably needed,
> but Im unclear where it should be.
>
> and Im unsure whether these functions are now cluttering up things.
>
> static void sculld_do_deferred_op(void *p)
> static int sculld_defer_op(int write, struct kiocb *iocb, const struct
> iovec *iov,
> ? ? ? ? ? ? ? ?size_t count, loff_t pos)
>
> I guess the point is Ive run out of time now, and am hoping for a dose
> of clarity, and further patches, to get LDD3 source compiling, up-to-date,
> and reflecting current best practices.
>
>
> GRUMBLING: its annoying that the googlecode web-page obfuscates the
> site owner, making it impossible to reach him.
>
> Username: guanzhi1... at gmail.com
You can actually see the mail ID. click on the dots and it will ask
for a captcha and it will be revealed.
Try that.

-
Thanks,
Vikram

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-24 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 19:18 knewbies project? - updating LDD3 source (Jim Cromie) Vikram Narayanan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.