2003-07-15 22:02:27

by Fernando Sanchez

[permalink] [raw]
Subject: modules problems with 2.6.0

Hi,

I've been trying to get 2.6.0 to work, I've enabled modules support, but
I get this error on my logs:

Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
modules not enabled.

Is there any thing like a new modutils that should be used with 2.6.x
family?

The kernel does boot, but not having any modules I can't do much, and
also, I never get to really see the messages on screen, on logs I have
this line:

Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff

What does it mean?

I disabled all the framebuffer things so I can just use vga, on lilo,
vga mode is set to normal, but still can't see anything.


TIA,



--


Fernando Sanchez
Dpto. Sistemas USFQ




2003-07-15 22:16:41

by Greg KH

[permalink] [raw]
Subject: Re: modules problems with 2.6.0

On Tue, Jul 15, 2003 at 05:09:19PM -0500, Fernando Sanchez wrote:
> Hi,
>
> I've been trying to get 2.6.0 to work, I've enabled modules support, but
> I get this error on my logs:
>
> Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
> modules not enabled.
>
> Is there any thing like a new modutils that should be used with 2.6.x
> family?

Yes there is. Please read the Documentation/Changes file for this info.

(hint, you need to get the module-init-tools package.)

Good luck,

greg k-h

2003-07-15 22:16:15

by Randy.Dunlap

[permalink] [raw]
Subject: Re: modules problems with 2.6.0

On Tue, 15 Jul 2003 17:09:19 -0500 Fernando Sanchez <[email protected]> wrote:

| Hi,
|
| I've been trying to get 2.6.0 to work, I've enabled modules support, but
| I get this error on my logs:
|
| Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
| modules not enabled.
|
| Is there any thing like a new modutils that should be used with 2.6.x
| family?

Yes, they are at
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/

Also, a summary of 2.5/2.6 changes is very worthwhile reading. See:
http://www.codemonkey.org.uk/post-halloween-2.5.txt
for which config options that you really need to enable.

| The kernel does boot, but not having any modules I can't do much, and
| also, I never get to really see the messages on screen, on logs I have
| this line:
|
| Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff
|
| What does it mean?

Dunno. Anyone?

| I disabled all the framebuffer things so I can just use vga, on lilo,
| vga mode is set to normal, but still can't see anything.


--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |

2003-07-15 23:39:38

by Piet Delaney

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:

I heard that if you install the new module-init-tools package in
/sbin that you would be able to boot old kernels. Is that true?

I installed the module-init-tools package and it went to /usr/local.
First I changed the kernel Makefile to point to /usr/local then
I had module problems and tried copying the cmds to /sbin and
renamed the the old commands like implied in the script:

generate-modprobe.conf

Yesterday I heard I better move them back or I won't be able
to boot my old kernels. It's hard to believe that these tools
aren't backward compatible.

Moving the module-init-tools to /sbin didn't help my problem;
is it necessary/helpful. Perhaps they are only needed for
building the new kernels.

-piet


> On Tue, 15 Jul 2003 17:09:19 -0500 Fernando Sanchez <[email protected]> wrote:
>
> | Hi,
> |
> | I've been trying to get 2.6.0 to work, I've enabled modules support, but
> | I get this error on my logs:
> |
> | Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
> | modules not enabled.
> |
> | Is there any thing like a new modutils that should be used with 2.6.x
> | family?
>
> Yes, they are at
> http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
>
> Also, a summary of 2.5/2.6 changes is very worthwhile reading. See:
> http://www.codemonkey.org.uk/post-halloween-2.5.txt
> for which config options that you really need to enable.
>
> | The kernel does boot, but not having any modules I can't do much, and
> | also, I never get to really see the messages on screen, on logs I have
> | this line:
> |
> | Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff
> |
> | What does it mean?
>
> Dunno. Anyone?
>
> | I disabled all the framebuffer things so I can just use vga, on lilo,
> | vga mode is set to normal, but still can't see anything.
>
>
> --
> ~Randy
> | http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
piet@http://www.piet.net

2003-07-15 23:57:25

by Diego Calleja

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

El 15 Jul 2003 16:53:12 -0700 Piet Delaney <piet@http://www.piet.net> escribi?:

> On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:
>
> I heard that if you install the new module-init-tools package in
> /sbin that you would be able to boot old kernels. Is that true?

It works here.
i've a debian distro, i apt-get'ed module-init-tools. Man modprobe says:

BACKWARDS COMPATIBILITY
This version of insmod is for kernels 2.5.48 and above. If it
detects a kernel with support for old-style modules (for which much of
the work was done in userspace), it will attempt to run insmod.modu-
tils in its place, so it is completely transparent to the user.

diego@estel:~$ ls -l /sbin/insmod*
-rwxr-xr-x 1 root root 5072 2003-06-15 12:27 /sbin/insmod
-rwxr-xr-x 1 root root 359 2003-03-06 15:50 /sbin/insmod_ksymoops_clean
-rwxr-xr-x 1 root root 95372 2003-03-06 15:50 /sbin/insmod.modutils


Looking at the size, insmod.modutils seems the 2.4 insmod loader.

2003-07-16 00:57:53

by Max Valdez

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

Gentoo works too, with 2.5 and 2.6, 2.4 works as expected, like before
installing the devel kernels

:-)

Im going for the first day of uptime with 2.6, and no problem at all

Max
On Tue, 2003-07-15 at 19:12, Diego Calleja Garc?a wrote:
> El 15 Jul 2003 16:53:12 -0700 Piet Delaney <piet@http://www.piet.net> escribi?:
>
> > On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:
> >
> > I heard that if you install the new module-init-tools package in
> > /sbin that you would be able to boot old kernels. Is that true?
>
> It works here.
> i've a debian distro, i apt-get'ed module-init-tools. Man modprobe says:
>
> BACKWARDS COMPATIBILITY
> This version of insmod is for kernels 2.5.48 and above. If it
> detects a kernel with support for old-style modules (for which much of
> the work was done in userspace), it will attempt to run insmod.modu-
> tils in its place, so it is completely transparent to the user.
>
> diego@estel:~$ ls -l /sbin/insmod*
> -rwxr-xr-x 1 root root 5072 2003-06-15 12:27 /sbin/insmod
> -rwxr-xr-x 1 root root 359 2003-03-06 15:50 /sbin/insmod_ksymoops_clean
> -rwxr-xr-x 1 root root 95372 2003-03-06 15:50 /sbin/insmod.modutils
>
>
> Looking at the size, insmod.modutils seems the 2.4 insmod loader.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Linux garaged 2.4.22-pre3-ac1 #5 SMP Wed Jul 9 07:01:52 CDT 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GS/ d-s:a-28C++ILHA+++P+L++>+++E---W++N*o--K-w++++O-M--V--PS+PEY--PGP++t5XRtv++b++DI--D-G++e++h-r+y**
------END GEEK CODE BLOCK------
gpg-key: http://garaged.homeip.net/gpg-key.txt


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-07-16 02:57:02

by Piet Delaney

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

On Tue, 2003-07-15 at 17:12, Diego Calleja Garc?a wrote:
> El 15 Jul 2003 16:53:12 -0700 Piet Delaney <piet@http://www.piet.net> escribi?:
>
> > On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:
> >
> > I heard that if you install the new module-init-tools package in
> > /sbin that you would be able to boot old kernels. Is that true?
>
> It works here.
> i've a debian distro, i apt-get'ed module-init-tools. Man modprobe says:
>
> BACKWARDS COMPATIBILITY
> This version of insmod is for kernels 2.5.48 and above. If it
> detects a kernel with support for old-style modules (for which much of
> the work was done in userspace), it will attempt to run insmod.modu-
> tils in its place, so it is completely transparent to the user.
>
> diego@estel:~$ ls -l /sbin/insmod*
> -rwxr-xr-x 1 root root 5072 2003-06-15 12:27 /sbin/insmod
> -rwxr-xr-x 1 root root 359 2003-03-06 15:50 /sbin/insmod_ksymoops_clean
> -rwxr-xr-x 1 root root 95372 2003-03-06 15:50 /sbin/insmod.modutils

Funny, I don't see insmod.modutils installed in /usr/local/sbin:

ls -l /usr/local/sbin/insmod*
-rwxr-xr-x 1 root root 28834 Jul 9 14:36
/usr/local/sbin/insmod
-rwxr-xr-x 1 root root 461564 Jul 9 14:36
/usr/local/sbin/insmod.static

I also didn't find insmod.modutils in the module-init-tools-0.9.12 src:
[root@www src]# find module-init-tools-0.9.12 -name "*insmod*" -print
module-init-tools-0.9.12/doc/insmod.sgml
module-init-tools-0.9.12/insmod.c
module-init-tools-0.9.12/insmod.8
module-init-tools-0.9.12/.deps/insmod.Po
module-init-tools-0.9.12/insmod.o
module-init-tools-0.9.12/insmod
module-init-tools-0.9.12/insmod.static
[root@www src]#

>
>
> Looking at the size, insmod.modutils seems the 2.4 insmod loader.
I think I missed something.



--
piet@http://www.piet.net

2003-07-16 03:19:56

by Randy.Dunlap

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

> On Tue, 2003-07-15 at 17:12, Diego Calleja Garc?a wrote:
>> El 15 Jul 2003 16:53:12 -0700 Piet Delaney <piet@http://www.piet.net> escribi?:
>>
>> > On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:
>> >
>> > I heard that if you install the new module-init-tools package in /sbin
>> that you would be able to boot old kernels. Is that true?
>>
>> It works here.
>> i've a debian distro, i apt-get'ed module-init-tools. Man modprobe says:

I don't use the debian or RH packages. I just download and follow
the instructions in the nice README file. I get insmod, insmod.old,
depmod, depmod.old, etc.

>> BACKWARDS COMPATIBILITY
>> This version of insmod is for kernels 2.5.48 and above. If
>> it detects a kernel with support for old-style modules (for which
>> much of the work was done in userspace), it will attempt to run
>> insmod.modu- tils in its place, so it is completely transparent to
>> the user.
>>
>> diego@estel:~$ ls -l /sbin/insmod*
>> -rwxr-xr-x 1 root root 5072 2003-06-15 12:27 /sbin/insmod
>> -rwxr-xr-x 1 root root 359 2003-03-06 15:50
>> /sbin/insmod_ksymoops_clean -rwxr-xr-x 1 root root 95372
>> 2003-03-06 15:50 /sbin/insmod.modutils
>
> Funny, I don't see insmod.modutils installed in /usr/local/sbin:
>
> ls -l /usr/local/sbin/insmod*
> -rwxr-xr-x 1 root root 28834 Jul 9 14:36
> /usr/local/sbin/insmod
> -rwxr-xr-x 1 root root 461564 Jul 9 14:36
> /usr/local/sbin/insmod.static
>
> I also didn't find insmod.modutils in the module-init-tools-0.9.12 src:
> [root@www src]# find module-init-tools-0.9.12 -name "*insmod*" -print
> module-init-tools-0.9.12/doc/insmod.sgml
> module-init-tools-0.9.12/insmod.c
> module-init-tools-0.9.12/insmod.8
> module-init-tools-0.9.12/.deps/insmod.Po
> module-init-tools-0.9.12/insmod.o
> module-init-tools-0.9.12/insmod
> module-init-tools-0.9.12/insmod.static
> [root@www src]#
>
>>
>>
>> Looking at the size, insmod.modutils seems the 2.4 insmod loader.
> I think I missed something.

I don't think that I have that one either. Could be a result
of using one of the packages instead of building it from source.

~Randy



2003-07-16 06:19:23

by Martin Schlemmer

[permalink] [raw]
Subject: Re: modules problems with 2.6.0 (module-init-tools-0.9.12)

On Wed, 2003-07-16 at 02:12, Diego Calleja Garc?a wrote:
> El 15 Jul 2003 16:53:12 -0700 Piet Delaney <piet@http://www.piet.net> escribi?:
>
> > On Tue, 2003-07-15 at 15:22, Randy.Dunlap wrote:
> >
> > I heard that if you install the new module-init-tools package in
> > /sbin that you would be able to boot old kernels. Is that true?
>
> It works here.
> i've a debian distro, i apt-get'ed module-init-tools. Man modprobe says:
>
> BACKWARDS COMPATIBILITY
> This version of insmod is for kernels 2.5.48 and above. If it
> detects a kernel with support for old-style modules (for which much of
> the work was done in userspace), it will attempt to run insmod.modu-
> tils in its place, so it is completely transparent to the user.
>
> diego@estel:~$ ls -l /sbin/insmod*
> -rwxr-xr-x 1 root root 5072 2003-06-15 12:27 /sbin/insmod
> -rwxr-xr-x 1 root root 359 2003-03-06 15:50 /sbin/insmod_ksymoops_clean
> -rwxr-xr-x 1 root root 95372 2003-03-06 15:50 /sbin/insmod.modutils
>
>
> Looking at the size, insmod.modutils seems the 2.4 insmod loader.

That is Debian doing things differently again. The vanilla
modules-init-tools will run insmod.old:

$ ls /sbin/insmod*
/sbin/insmod /sbin/insmod.old /sbin/insmod.static
/sbin/insmod_ksymoops_clean
$

Anyhow, usually reading the documentation (*hint* README *hint*)
should help.


--
Martin Schlemmer


2003-07-16 08:36:33

by Marc Schiffbauer

[permalink] [raw]
Subject: Re: modules problems with 2.6.0

* Fernando Sanchez schrieb am 16.07.03 um 00:09 Uhr:
> Hi,
>
> I've been trying to get 2.6.0 to work, I've enabled modules support, but
> I get this error on my logs:
>
> Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
> modules not enabled.
>
> Is there any thing like a new modutils that should be used with 2.6.x
> family?
>
> The kernel does boot, but not having any modules I can't do much, and
> also, I never get to really see the messages on screen, on logs I have
> this line:
>
> Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff
>
> What does it mean?
>
> I disabled all the framebuffer things so I can just use vga, on lilo,
> vga mode is set to normal, but still can't see anything.
>
>

Fernando,


read http://www.codemonkey.org.uk/post-halloween-2.5.txt
(but hsving DNS problems from germany right now)

-Marc

--
BUGS My programs never have bugs. They just develop random
features. If you discover such a feature and you want it to
be removed: please send an email to bug at links2linux.de

2003-07-16 08:55:50

by Eugene Teo

[permalink] [raw]
Subject: Re: modules problems with 2.6.0

<quote sender="Marc Schiffbauer">
> * Fernando Sanchez schrieb am 16.07.03 um 00:09 Uhr:
> > Hi,
> >
> > I've been trying to get 2.6.0 to work, I've enabled modules support, but
> > I get this error on my logs:
> >
> > Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
> > modules not enabled.
> >
> > Is there any thing like a new modutils that should be used with 2.6.x
> > family?
> >
> > The kernel does boot, but not having any modules I can't do much, and
> > also, I never get to really see the messages on screen, on logs I have
> > this line:
> >
> > Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff
> >
> > What does it mean?
> >
> > I disabled all the framebuffer things so I can just use vga, on lilo,
> > vga mode is set to normal, but still can't see anything.
>
> Fernando,
>
>
> read http://www.codemonkey.org.uk/post-halloween-2.5.txt
> (but hsving DNS problems from germany right now)

If you are using debian, apt-get install module-init-tools.

--
Eugene TEO @ Linux Users Group, Singapore <[email protected]>
GPG FP: D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5
main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);}

2003-07-16 14:43:19

by Fernando Sanchez

[permalink] [raw]
Subject: Re: modules problems with 2.6.0

Eugene Teo wrote:
> <quote sender="Marc Schiffbauer">
>
>>* Fernando Sanchez schrieb am 16.07.03 um 00:09 Uhr:
>>
>>>Hi,
>>>
>>>I've been trying to get 2.6.0 to work, I've enabled modules support, but
>>>I get this error on my logs:
>>>
>>>Jul 15 15:38:36 Darakemba kernel: No module symbols loaded - kernel
>>>modules not enabled.
>>>
>>>Is there any thing like a new modutils that should be used with 2.6.x
>>>family?
>>>
>>>The kernel does boot, but not having any modules I can't do much, and
>>>also, I never get to really see the messages on screen, on logs I have
>>>this line:
>>>
>>>Jul 15 15:38:36 Darakemba kernel: Video mode to be used for restore is ffff
>>>
>>>What does it mean?
>>>
>>>I disabled all the framebuffer things so I can just use vga, on lilo,
>>>vga mode is set to normal, but still can't see anything.
>>
>>Fernando,
>>
>>
>>read http://www.codemonkey.org.uk/post-halloween-2.5.txt
>>(but hsving DNS problems from germany right now)
>
>
> If you are using debian, apt-get install module-init-tools.
Thanks, it seems to work better than the source I get, well, I actually
screwed up something with the sources, and dpkg was able to fix it for me :)
>


--


Fernando Sanchez
Dpto. Sistemas USFQ