*)data;
/* do a range checking, don't overflow buffers in kernel modules */
if(count HW_LEN)
len = HW_LEN;
else
len = count;
/* use the copy_from_user function to copy page data to
* to our helloworld_data-value */
if(copy_from_user(helloworld_data-value, page, len)) {
return
Hello,
I was trying to write a simple hello kernel module from the book, embedded
linux interfacing, I got many errors in module.h and proc_fs.h header
files.
can anyone have a sample kernel module program for redhat linux 7.3.
your help will be appreciated.
- hemanshu
.
The requirements for writing kernel modules for any 2.4 kernel are the
same.
Choose one from the source tree as your model. I think there's a ramdisk
driver intended mainly as a sample.
--
Please, reply only to the list.
___
Redhat-devel-list
Hi list,
i have the followin situation:
a bunch of binary modules, built for the kernel below
a kernel-smp rpm, matching these modules
a kernel-source rpm, matching the kernel-smp binary, but without .config
or .depend files a tarball with sources for a fc storage controller.
i need to roll
On Wed, 27 Sep 2000, Tony Nugent wrote:
On Tue Sep 26 2000 at 18:04, "Balazs Wellisch" wrote:
Can anyone tell me how to correct the following error:
depmod: *** Unresolved symbols in /lib/modules/2.2.16-3/misc/emu10k1.o
FWIW, I've seen exactly the same error using the stock
On Tue Sep 26 2000 at 18:04, "Balazs Wellisch" wrote:
Can anyone tell me how to correct the following error:
depmod: *** Unresolved symbols in /lib/modules/2.2.16-3/misc/emu10k1.o
From the make menuconfig or xconfig, disable
"Set version information on all symbols for modules".
This sets
On Wed, 27 Sep 2000, Dave Ihnat wrote:
On Tue Sep 26 2000 at 18:04, "Balazs Wellisch" wrote:
Can anyone tell me how to correct the following error:
depmod: *** Unresolved symbols in /lib/modules/2.2.16-3/misc/emu10k1.o
From the make menuconfig or xconfig, disable
"Set version
On Wed, Sep 27, 2000 at 03:32:03PM +0300, Panu Matilainen wrote:
It'll stop the complaining for the most part but might also break your
kernel in interesting ways :)
Explain? To the best of my knowledge, this only has an effect if you may
have modules built for different versions of the
On Wed, 27 Sep 2000, Dave Ihnat wrote:
On Wed, Sep 27, 2000 at 03:32:03PM +0300, Panu Matilainen wrote:
It'll stop the complaining for the most part but might also break your
kernel in interesting ways :)
Explain? To the best of my knowledge, this only has an effect if you may
have
"Mike A. Harris" [EMAIL PROTECTED] writes:
make clean is not needed, but make bzImage is. I'm not sure what
the make install target does, but I'll bet that it requires make
bzImage first.
You lose the bet.
make install is defined in
/usr/src/linux-2.2.16/arch/i386/boot/Makefile as
On Wed, 27 Sep 2000, Dave Ihnat wrote:
On Tue Sep 26 2000 at 18:04, "Balazs Wellisch" wrote:
Can anyone tell me how to correct the following error:
depmod: *** Unresolved symbols in /lib/modules/2.2.16-3/misc/emu10k1.o
From the make menuconfig or xconfig, disable
"Set version
When you change the kernel configuration even while staying on the same
version it's possible (or likely, I think) that internal kernel
datastructures change. Some of them are more critical than others.
If you want more detailed explanation you'll have to search the net (read
make clean is not needed, but make bzImage is. I'm not sure what
the make install target does, but I'll bet that it requires make
bzImage first. Read the kernel README for details.
Oh, it will make a kernel, and it will probably work. the kernel it makes may
be or not be the one desired
Sorry, I meant make bzImage...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike A. Harris
Sent: Wednesday, September 27, 2000 8:38 AM
To: Red Hat Development List
Subject: Re: kernel modules
On Tue, 26 Sep 2000, Balazs Wellisch wrote:
Date: Tue
On Thu, 28 Sep 2000, John Summerfield wrote:
When you change the kernel configuration even while staying on the same
version it's possible (or likely, I think) that internal kernel
datastructures change. Some of them are more critical than others.
If you want more detailed
On Tue Sep 26 2000 at 18:04, "Balazs Wellisch" wrote:
Can anyone tell me how to correct the following error:
depmod: *** Unresolved symbols in /lib/modules/2.2.16-3/misc/emu10k1.o
FWIW, I've seen exactly the same error using the stock kernel-sources-*
package to rebuild a new kernel.
There
16 matches
Mail list logo