From: Studying MTD <studying_mtd@yahoo.com>
To: Alex Goddard <agoddard@purdue.edu>
Cc: Joshua Kwan <joshk@triplehelix.org>,
linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: linux-2.6.0-test1 : modules not working
Date: Tue, 29 Jul 2003 23:50:07 -0700 (PDT) [thread overview]
Message-ID: <20030730065007.93696.qmail@web20501.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0307300120200.3692@dust>
I tried hello world example from
http://lwn.net/Articles/21817/
but i am still getting :-
#insmod hello_module.o
No module found in object
Error inserting 'hello_module.o': -1 Invalid module
format
my config is :-
/*
* General setup
*/
#undef CONFIG_SWAP
#define CONFIG_SYSVIPC 1
#undef CONFIG_BSD_PROCESS_ACCT
#define CONFIG_SYSCTL 1
#define CONFIG_LOG_BUF_SHIFT 14
#undef CONFIG_EMBEDDED
#define CONFIG_KALLSYMS 1
#define CONFIG_FUTEX 1
#define CONFIG_EPOLL 1
/*
* Loadable module support
*/
#define CONFIG_MODULES 1
#define CONFIG_MODULE_UNLOAD 1
#define CONFIG_OBSOLETE_MODPARM 1
#define CONFIG_KMOD 1
How to fix this problem.
thanks.
--- Alex Goddard <agoddard@purdue.edu> wrote:
> On Tue, 29 Jul 2003, Studying MTD wrote:
>
> > module-init-tools-0.9.12 is giving :-
> >
> > #insmod hello_module.o
> > No module found in object
> > Error inserting 'hello_module.o': -1 Invalid
> module
> > format
> >
> > #file hello_module.o
> > hello_module.o: ELF 32-bit LSB relocatable,
> Hitachi
> > SH, version 1 MathCoPro/FPU/MAU Required (SYSV),
> not
> > stripped
> >
> > how to fix this.
>
> Some information on how you built hello_module.o
> would be nice. You might
> also want to look at the first two (at least)
> articles here:
> http://lwn.net/Articles/driver-porting/
>
> --
> Alex Goddard
> agoddard@purdue.edu
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
next prev parent reply other threads:[~2003-07-30 6:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-30 4:37 Studying MTD
2003-07-30 4:51 ` Joshua Kwan
2003-07-30 5:41 ` Studying MTD
2003-07-30 6:21 ` Alex Goddard
2003-07-30 6:50 ` Studying MTD [this message]
2003-07-30 7:25 ` Alex Goddard
2003-07-30 7:34 ` Studying MTD
2003-07-30 15:01 ` Randy.Dunlap
2003-07-30 18:02 ` Studying MTD
2003-07-30 18:50 ` Richard B. Johnson
2003-07-30 22:08 ` Studying MTD
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=20030730065007.93696.qmail@web20501.mail.yahoo.com \
--to=studying_mtd@yahoo.com \
--cc=agoddard@purdue.edu \
--cc=joshk@triplehelix.org \
--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®