linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5 and module loading
@ 2003-06-15  5:53 Per Bergqvist
  2003-06-15  7:06 ` Joshua Kwan
  0 siblings, 1 reply; 5+ messages in thread
From: Per Bergqvist @ 2003-06-15  5:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

This is probably the common question but I haven't been able to find
the proper answer...

Can somebody please explain what is needed to get module loading
working with the 2.5.xx kernels ?

I use redhat 9 as base dist with a modutils 2.4.25,
monolitic kernels work fine but with no luck with modules.

What else is needed ?

BR
Per
=========================================================
Per Bergqvist
Synapse Systems AB
Phone: +46 709 686 685
Email: per@synap.se

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

* Re: 2.5 and module loading
  2003-06-15  5:53 2.5 and module loading Per Bergqvist
@ 2003-06-15  7:06 ` Joshua Kwan
  2003-06-15  8:07   ` Felipe Alfaro Solana
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Kwan @ 2003-06-15  7:06 UTC (permalink / raw)
  To: Per Bergqvist; +Cc: linux-kernel mailing list

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

On Sun, Jun 15, 2003 at 08:53:03AM +0300, Per Bergqvist wrote:
> Can somebody please explain what is needed to get module loading
> working with the 2.5.xx kernels ?

ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/

Have fun...

regards
Josh

-- 
New PGP public key: 0x27AFC3EE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.5 and module loading
  2003-06-15  7:06 ` Joshua Kwan
@ 2003-06-15  8:07   ` Felipe Alfaro Solana
  2003-06-15 11:36     ` Diego Calleja García
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Alfaro Solana @ 2003-06-15  8:07 UTC (permalink / raw)
  To: Joshua Kwan; +Cc: Per Bergqvist, linux-kernel mailing list

On Sun, 2003-06-15 at 09:06, Joshua Kwan wrote:
> On Sun, Jun 15, 2003 at 08:53:03AM +0300, Per Bergqvist wrote:
> > Can somebody please explain what is needed to get module loading
> > working with the 2.5.xx kernels ?
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/

For RedHat users, there's another pitfall in "/etc/rc.sysinit". During
startup, the script sets up the binary used to dynamically load modules
stored at "/proc/sys/kernel/modprobe". The initscript looks for
"/proc/ksyms" (if my memory servers me well), but since it doesn't exist
in 2.5 kernels, the binary used is "/sbin/true" instead.

This, eventually, will keep modules from working. RedHat users will have
to patch the "/etc/rc.sysinit" script to set "/proc/sys/kernel/modprobe"
to "/sbin/modprobe", even when "/proc/ksyms" doesn't exist.

I can't attach a patch. All my RH9 boxes are manually patched and can't
get access to the original "/etc/rc.sysinit" script :-(


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

* Re: 2.5 and module loading
  2003-06-15  8:07   ` Felipe Alfaro Solana
@ 2003-06-15 11:36     ` Diego Calleja García
  2003-06-15 12:06       ` Dave Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Diego Calleja García @ 2003-06-15 11:36 UTC (permalink / raw)
  To: davej; +Cc: linux-kernel, felipe_alfaro

On 15 Jun 2003 10:07:01 +0200
Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:

> For RedHat users, there's another pitfall in "/etc/rc.sysinit". During
> startup, the script sets up the binary used to dynamically load modules
> stored at "/proc/sys/kernel/modprobe". The initscript looks for
> "/proc/ksyms" (if my memory servers me well), but since it doesn't exist
> in 2.5 kernels, the binary used is "/sbin/true" instead.
> 
> This, eventually, will keep modules from working. RedHat users will have
> to patch the "/etc/rc.sysinit" script to set "/proc/sys/kernel/modprobe"
> to "/sbin/modprobe", even when "/proc/ksyms" doesn't exist.
> 
> I can't attach a patch. All my RH9 boxes are manually patched and can't
> get access to the original "/etc/rc.sysinit" script :-(

Dave, i think it'd be good to have this in your post-halloween document?

Regards,
Your spanish translator :)

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

* Re: 2.5 and module loading
  2003-06-15 11:36     ` Diego Calleja García
@ 2003-06-15 12:06       ` Dave Jones
  0 siblings, 0 replies; 5+ messages in thread
From: Dave Jones @ 2003-06-15 12:06 UTC (permalink / raw)
  To: Diego Calleja Garc?a; +Cc: linux-kernel, felipe_alfaro

On Sun, Jun 15, 2003 at 01:36:30PM +0200, Diego Calleja Garc?a wrote:

 > Dave, i think it'd be good to have this in your post-halloween document?

Added to the working version of the next release. Thanks.

		Dave


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

end of thread, other threads:[~2003-06-15 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-15  5:53 2.5 and module loading Per Bergqvist
2003-06-15  7:06 ` Joshua Kwan
2003-06-15  8:07   ` Felipe Alfaro Solana
2003-06-15 11:36     ` Diego Calleja García
2003-06-15 12:06       ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).