public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: How to use module in 2.6
  2003-10-01 11:10 How to use module in 2.6 ocsy
@ 2003-10-01  9:36 ` johann lombardi
  2003-10-01 11:58   ` ocsy
  2003-10-01 11:29 ` Andreas Schwarz
  1 sibling, 1 reply; 9+ messages in thread
From: johann lombardi @ 2003-10-01  9:36 UTC (permalink / raw)
  To: ocsy, linux-kernel

On Wednesday 01 October 2003 13:10, ocsy wrote:
> Maybe i'm stuped but...
> I'can compile linux kernel 2.6.0.test4 and after reboot i can't use
> module))
> Can anybody help me to solve this problem!

Did you upgrade your module-init-tools (insmod, lsmod, ....) ?
(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/)

Johann


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

* How to use module in 2.6
@ 2003-10-01 11:10 ocsy
  2003-10-01  9:36 ` johann lombardi
  2003-10-01 11:29 ` Andreas Schwarz
  0 siblings, 2 replies; 9+ messages in thread
From: ocsy @ 2003-10-01 11:10 UTC (permalink / raw)
  To: linux-kernel

Maybe i'm stuped but...
I'can compile linux kernel 2.6.0.test4 and after reboot i can't use
module))
Can anybody help me to solve this problem!
ocsy


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

* Re: How to use module in 2.6
  2003-10-01 11:10 How to use module in 2.6 ocsy
  2003-10-01  9:36 ` johann lombardi
@ 2003-10-01 11:29 ` Andreas Schwarz
  2003-10-01 11:54   ` ocsy
  1 sibling, 1 reply; 9+ messages in thread
From: Andreas Schwarz @ 2003-10-01 11:29 UTC (permalink / raw)
  To: linux-kernel

ocsy wrote:
> Maybe i'm stuped but...
> I'can compile linux kernel 2.6.0.test4 and after reboot i can't use
> module))
> Can anybody help me to solve this problem!

I'm not sure If I understand you correctly, but did you do "make
modules_install"?

-- 
AVR-Tutorial, über 350 Links
Forum für AVRGCC und MSPGCC
-> http://www.mikrocontroller.net


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

* RE:Re: How to use module in 2.6
  2003-10-01 11:29 ` Andreas Schwarz
@ 2003-10-01 11:54   ` ocsy
  2003-10-01 15:30     ` Randy.Dunlap
  0 siblings, 1 reply; 9+ messages in thread
From: ocsy @ 2003-10-01 11:54 UTC (permalink / raw)
  To: linux-kernel

Yes i make it))Kernel comile and modules was done (make modules after
that make modules_install)And than reboot....
But after that I type insmod <module_name> and I see on a screen a
LITTLE warning (fatal error) that talk to me module can be load to the
kernel becouse it have old format))
I think than I must look for modutils (witch can support kernell 2.6 new
modules format) but I can't find it...



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

* Re: How to use module in 2.6
  2003-10-01  9:36 ` johann lombardi
@ 2003-10-01 11:58   ` ocsy
  2003-10-01 14:46     ` Oscar Peredo
  0 siblings, 1 reply; 9+ messages in thread
From: ocsy @ 2003-10-01 11:58 UTC (permalink / raw)
  To: linux-kernel

>Did you upgrade your module-init-tools (insmod, lsmod, ....) ?
>(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

Ok!I do that now))
I think it's possible that you can help me to understand what different
between old module for kernell 2.4 and new module fo 2.6?
And where can I look for the modutils ver 2.6?
ocsy


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

* Re: How to use module in 2.6
  2003-10-01 11:58   ` ocsy
@ 2003-10-01 14:46     ` Oscar Peredo
  2003-10-01 15:01       ` Sam Ravnborg
  0 siblings, 1 reply; 9+ messages in thread
From: Oscar Peredo @ 2003-10-01 14:46 UTC (permalink / raw)
  To: linux-kernel

On 01 Oct 2003 15:58:06 +0400
ocsy <ocsy@rusbiz.com> wrote:

> >Did you upgrade your module-init-tools (insmod, lsmod, ....) ?
> >(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
> 
> Ok!I do that now))
> I think it's possible that you can help me to understand what different
> between old module for kernell 2.4 and new module fo 2.6?
> And where can I look for the modutils ver 2.6?
> ocsy
> 
the lwn webpage have a article on modules of kernel 2.6 (http://lwn.net/Articles/driver-porting/ ,exactly ) and talk about on some differences with 2.6 kernel

the new version of kernel changed much things, the load module for example, and scheduling were the most commented.

the module-init-tools that you need, you can download from  http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.9.15-pre2.tar.gz it is last version 

Oscar Peredo

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

* Re: How to use module in 2.6
  2003-10-01 14:46     ` Oscar Peredo
@ 2003-10-01 15:01       ` Sam Ravnborg
  0 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2003-10-01 15:01 UTC (permalink / raw)
  To: Oscar Peredo; +Cc: linux-kernel

On Wed, Oct 01, 2003 at 10:46:47AM -0400, Oscar Peredo wrote:
> > 
> the lwn webpage have a article on modules of kernel 2.6 (http://lwn.net/Articles/driver-porting/ ,exactly ) and talk about on some differences with 2.6 kernel

A really good source of information is Dave J. kernel-2.5 document.
Find it on www.codemonkey.org.uk

	Sam

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

* Re: How to use module in 2.6
  2003-10-01 11:54   ` ocsy
@ 2003-10-01 15:30     ` Randy.Dunlap
  2003-10-01 16:14       ` Jos Hulzink
  0 siblings, 1 reply; 9+ messages in thread
From: Randy.Dunlap @ 2003-10-01 15:30 UTC (permalink / raw)
  To: ocsy; +Cc: linux-kernel

On 01 Oct 2003 15:54:00 +0400 ocsy <ocsy@yandex.ru> wrote:

| Yes i make it))Kernel comile and modules was done (make modules after
| that make modules_install)And than reboot....
| But after that I type insmod <module_name> and I see on a screen a
| LITTLE warning (fatal error) that talk to me module can be load to the
| kernel becouse it have old format))

insmod module.ko, not insmod module.o

Or (preferable) use modprobe module

| I think than I must look for modutils (witch can support kernell 2.6 new
| modules format) but I can't find it...

modutils are for before 2.6.
2.6 uses module-init-tools only.

--
~Randy

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

* Re: How to use module in 2.6
  2003-10-01 15:30     ` Randy.Dunlap
@ 2003-10-01 16:14       ` Jos Hulzink
  0 siblings, 0 replies; 9+ messages in thread
From: Jos Hulzink @ 2003-10-01 16:14 UTC (permalink / raw)
  To: Randy.Dunlap, ocsy; +Cc: linux-kernel

On Wednesday 01 Oct 2003 17:30, Randy.Dunlap wrote:
> On 01 Oct 2003 15:54:00 +0400 ocsy <ocsy@yandex.ru> wrote:
> | Yes i make it))Kernel comile and modules was done (make modules after
> | that make modules_install)And than reboot....
> | But after that I type insmod <module_name> and I see on a screen a
> | LITTLE warning (fatal error) that talk to me module can be load to the
> | kernel becouse it have old format))
>
> insmod module.ko, not insmod module.o
>
> Or (preferable) use modprobe module
>
> | I think than I must look for modutils (witch can support kernell 2.6 new
> | modules format) but I can't find it...
>
> modutils are for before 2.6.
> 2.6 uses module-init-tools only.

Not really an improvement IMHO. The returned errors are unclear, the tools 
seem to ignore the verbose command line option. As a result I have been 
fighting with ALSA modules, modprobe.conf and modules.conf for days now. I've 
not managed to get all dependancies right yet, the only way to get my SB Live 
working is loading 20 modules by hand, one at a time... Somehow modprobe 
remains complaining about unresolved symbols.

FWIW: 2.6.0 test 6, module-init-tools 0.9.14, mandrake 9.1 with modutils 
deinstalled.

Jos

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

end of thread, other threads:[~2003-10-01 16:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-01 11:10 How to use module in 2.6 ocsy
2003-10-01  9:36 ` johann lombardi
2003-10-01 11:58   ` ocsy
2003-10-01 14:46     ` Oscar Peredo
2003-10-01 15:01       ` Sam Ravnborg
2003-10-01 11:29 ` Andreas Schwarz
2003-10-01 11:54   ` ocsy
2003-10-01 15:30     ` Randy.Dunlap
2003-10-01 16:14       ` Jos Hulzink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox