All of lore.kernel.org
 help / color / mirror / Atom feed
* QM_MODULES
@ 2000-10-26  0:56 MAC21C
  2000-10-26 16:08 ` QM_MODULES Cal Erickson
  2000-10-26 19:35 ` QM_MODULES Marcus Sundberg
  0 siblings, 2 replies; 8+ messages in thread
From: MAC21C @ 2000-10-26  0:56 UTC (permalink / raw)
  To: linuxppc-embedded


hello all!!

I have a problum.

I made the test.c file for device driver test.

========== test.c ===================
#define MODULE
#include <linux/kernel.h>
#include <linux/module.h>

#if CONFIG_MODVERSIONS==1
#define MODVERSION
#include <linux/modversions.h>
#endif

int init_module(void) { printk("Hello, kim\n"); return 0; }
void cleanup_module(void) { printk("Goodbye Kim\n"); }
======================================
And, compile options
powerpc-linux-gcc -D__KERNEL__ -O -c test.c
/tmp/cc8k7ews.s: Assembler messages:
/tmp/cc8k7ews.s:6: Warning: Ignoring changed section attributes for .modinfo

warning message and i execute the insmod

insmod test.o
insmod : QM_MODULES function not implmented

I don't know, warning message and error message.

help me~~!!

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QM_MODULES
  2000-10-26  0:56 QM_MODULES MAC21C
@ 2000-10-26 16:08 ` Cal Erickson
  2000-10-26 19:35 ` QM_MODULES Marcus Sundberg
  1 sibling, 0 replies; 8+ messages in thread
From: Cal Erickson @ 2000-10-26 16:08 UTC (permalink / raw)
  To: MAC21C; +Cc: linuxppc-embedded


Have you built the modutils package so that
you can use insmod, modprobe and others?
Cal

MAC21C@chollian.net wrote:

> hello all!!
>
> I have a problum.
>
> I made the test.c file for device driver test.
>
> ========== test.c ===================
> #define MODULE
> #include <linux/kernel.h>
> #include <linux/module.h>
>
> #if CONFIG_MODVERSIONS==1
> #define MODVERSION
> #include <linux/modversions.h>
> #endif
>
> int init_module(void) { printk("Hello, kim\n"); return 0; }
> void cleanup_module(void) { printk("Goodbye Kim\n"); }
> ======================================
> And, compile options
> powerpc-linux-gcc -D__KERNEL__ -O -c test.c
> /tmp/cc8k7ews.s: Assembler messages:
> /tmp/cc8k7ews.s:6: Warning: Ignoring changed section attributes for .modinfo
>
> warning message and i execute the insmod
>
> insmod test.o
> insmod : QM_MODULES function not implmented
>
> I don't know, warning message and error message.
>
> help me~~!!
>

--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Customer Support Engineer    490 Potrero Avenue
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         e-mail cal_erickson@mvista.com
Pager 877-566-2012           support 1-800-759-8888 pin 202-7489
web http://www.mvista.com    support e-mail: support@mvista.com
eCode: http://cal@work.com.ecode.com
===========================================================================


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QM_MODULES
  2000-10-26  0:56 QM_MODULES MAC21C
  2000-10-26 16:08 ` QM_MODULES Cal Erickson
@ 2000-10-26 19:35 ` Marcus Sundberg
  1 sibling, 0 replies; 8+ messages in thread
From: Marcus Sundberg @ 2000-10-26 19:35 UTC (permalink / raw)
  To: MAC21C; +Cc: linuxppc-embedded


MAC21C@chollian.net writes:

> hello all!!
>
> I have a problum.
>
> I made the test.c file for device driver test.
>
> ========== test.c ===================
> #define MODULE
> #include <linux/kernel.h>
> #include <linux/module.h>
>
> #if CONFIG_MODVERSIONS==1
> #define MODVERSION
> #include <linux/modversions.h>
> #endif

That should read:
========== test.c ===================
#define MODULE
#include <linux/config.h>
#ifdef CONFIG_MODVERSIONS
# define MODVERSIONS
# include <linux/modversions.h>
#endif

#include <linux/kernel.h>
#include <linux/module.h>

> int init_module(void) { printk("Hello, kim\n"); return 0; }
> void cleanup_module(void) { printk("Goodbye Kim\n"); }
> ======================================
> And, compile options
> powerpc-linux-gcc -D__KERNEL__ -O -c test.c
> /tmp/cc8k7ews.s: Assembler messages:
> /tmp/cc8k7ews.s:6: Warning: Ignoring changed section attributes for .modinfo

Haven't seen that message before. If the above doesn't help, try
changing the -O flag to -O2.

Also, what version of binutils are you using?

//Marcus
--
-------------------------------+-----------------------------------
        Marcus Sundberg        |       Phone: +46 707 452062
  Embedded Systems Consultant  |      Email: marcus@cendio.se
       Cendio Systems AB       |       http://www.cendio.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QM_MODULES
  2004-04-29  3:03 whitehorse
@ 2004-04-29  3:08 ` Randy.Dunlap
  0 siblings, 0 replies; 8+ messages in thread
From: Randy.Dunlap @ 2004-04-29  3:08 UTC (permalink / raw)
  To: whitehorse; +Cc: linux-kernel

On Wed, 28 Apr 2004 23:03:07 -0400 (EDT) whitehorse@mustika.net wrote:

| dear Sir,
|  I have a problem in compiling kernel 2.6.4 from kernel 2.4.19. I use
|  Debian woody. When I rebooting new kernel, some message occur such:
|  "modprobe: QM_MODULES: function not implemented"
|  and I can't load my modules when boot. I would like to waiting any one who
|  answer this. Please send to this mail. Thanks

You need to upgrade to the new module-init-tools...
and read the 2.6 "update FAQ", from here:

  http://www.kernel.org/pub/linux/kernel/people/davej/misc/post-halloween-2.6.txt

--
~Randy

^ permalink raw reply	[flat|nested] 8+ messages in thread

* QM_MODULES
@ 2004-09-14  7:56 karthi n
  2004-09-14 10:02 ` QM_MODULES Markus Hästbacka
  0 siblings, 1 reply; 8+ messages in thread
From: karthi n @ 2004-09-14  7:56 UTC (permalink / raw)
  To: linux-kernel

hai,  
          i am new to this list, while i boot the box with newly
complied kernel 2.6.8-1, i lost my network connection, err msg is

"ifup: QM_MODULES: Function not implemented"

in somany places, can you help me to solve this issue,

thanks in advance,
regards,
karthikeyan.N


-- 
winners don't do different things
they do things differently

^ permalink raw reply	[flat|nested] 8+ messages in thread

* QM_MODULES
@ 2004-09-14  8:07 karthi n
  0 siblings, 0 replies; 8+ messages in thread
From: karthi n @ 2004-09-14  8:07 UTC (permalink / raw)
  To: linux-kernel

hai,  
          i am new to this list, while i boot the box with newly
complied kernel 2.6.8-1, i lost my network connection, err msg is

"ifup: QM_MODULES: Function not implemented"

in somany places, can you help me to solve this issue,

thanks in advance,
regards,
karthikeyan.N

-- 
winners don't do different things
they do things differently

^ permalink raw reply	[flat|nested] 8+ messages in thread

* qm_modules
@ 2004-09-14  8:26 karthi n
  0 siblings, 0 replies; 8+ messages in thread
From: karthi n @ 2004-09-14  8:26 UTC (permalink / raw)
  To: linux-kernel

hai,  
          i am new to this list, while i boot the box with newly
complied kernel 2.6.8-1, i lost my network connection, err msg is

"ifup: QM_MODULES: Function not implemented"

in somany places, can you help me to solve this issue,

thanks in advance,
regards,
karthikeyan.N

-- 
winners don't do different things
they do things differently

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: QM_MODULES
  2004-09-14  7:56 QM_MODULES karthi n
@ 2004-09-14 10:02 ` Markus Hästbacka
  0 siblings, 0 replies; 8+ messages in thread
From: Markus Hästbacka @ 2004-09-14 10:02 UTC (permalink / raw)
  To: karthi n; +Cc: linux-kernel

On Tue, 14 Sep 2004, karthi n wrote:

> hai,
>          i am new to this list, while i boot the box with newly
> complied kernel 2.6.8-1, i lost my network connection, err msg is
>
> "ifup: QM_MODULES: Function not implemented"
>
> in somany places, can you help me to solve this issue,
>
Install module-init-tools on your box, that will make the modules work 
again.

 	Markus

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-09-14 10:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14  8:26 qm_modules karthi n
  -- strict thread matches above, loose matches on Subject: below --
2004-09-14  8:07 QM_MODULES karthi n
2004-09-14  7:56 QM_MODULES karthi n
2004-09-14 10:02 ` QM_MODULES Markus Hästbacka
2004-04-29  3:03 whitehorse
2004-04-29  3:08 ` QM_MODULES Randy.Dunlap
2000-10-26  0:56 QM_MODULES MAC21C
2000-10-26 16:08 ` QM_MODULES Cal Erickson
2000-10-26 19:35 ` QM_MODULES Marcus Sundberg

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.