Questions about The Linux Kernel Module Programming Guide 2.6
From: iamnilo (alain_mosnier_at_yahoo.com)
Date: 09/15/04
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: can't kill the process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Sep 2004 04:57:34 -0700
Hello,
I'm going through this book in order to learn. I'm running a PC Athlon
with SUSE 9.1 Pro.
Is this the best forum to ask questions about its contents?
For the moment, I have two questions:
- (In 1.2.1.1) it says: "Until we cover modversions, the examples in
the guide may not work if you're running a kernel with modversioning
turned on.". I have run 'make xconfig' in my linux source code
directory, and modversioning is apparently on. However, I appear to be
able to load and unload the first modules I compile with the book. I
was just surprised. I was expecting to be forced to recompile my
kernel with a different setting. I'm just trying to undestand, so if
anybody has a comment about that, I'm interested.
- (In 2.2) it says: "Here's another exercise to the reader. See that
comment above the return statement in init_module()? Change the return
value to something non-zero, recompile and load the module again. What
happens?". I let the init module return '1' instead of '0', nothing
particular happens!!! I still can load and unload the module like
before, and I get no error message in the log. I have made sure that I
do recompile the module my removing all .o files etc. More generally,
where can I find the reference information about module programming
for the 2.6 kernel when I have questions like that?
Thanks in advance,
Alain
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: can't kill the process"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|