From: selvakumar nagendran <kernelselva@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel oops on integrating a module with obj-y option
Date: Fri, 28 Jan 2005 20:50:56 -0800 (PST) [thread overview]
Message-ID: <20050129045056.80741.qmail@web60605.mail.yahoo.com> (raw)
Hello everyone,
I am using Fedora core 1. I am doing
my project in the linux kernel 2.4.28. In my project,
I am intercepting system calls. I am doing all these
things from a module. Now, I installed this module
with the main kernel and I found it working nice when
I used 'modprobe' to load it.
Then I changed obj-m of my module to
obj-y and then I compiled my module object file with
the core kernel files like fs.o net.o kernel.o. So, my
target kernel binary code contains my module. Then I
booted my system. Now, the kernel oops sometimes and
sometimes it prompts for checking the disk and opens
the file system as a read only device.
To integrate my module, I created a
new subdirectory under the kernel source directory
named 'rsched' and I icreated my own make file for
that. The makefile contains the following lines
obj-y := rsched.o ( previously obj-m := rsched.o)
include $(TOPDIR)/Rules.make
then I changed the following lines in the top level
make file.
SUBDIRS := fs net kernel.... rsched
CORE_FILES := kernel/kernel.o fs/fs.o ....
rsched/rsched.o
How can I rectify this error so that I can
integrate my module with the main kernel image?
Thanks in advance and regards,
selva
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
reply other threads:[~2005-01-29 4:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050129045056.80741.qmail@web60605.mail.yahoo.com \
--to=kernelselva@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®