[2939] in RedHat Linux List
RE: insmod errors with monolithic kernel?
daemon@ATHENA.MIT.EDU (Al Longyear)
Wed Nov 6 05:59:45 1996
From: Al Longyear <longyear@sii.com>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Cc: "'sparker@achilles.net'" <sparker@achilles.net>
Date: Wed, 6 Nov 1996 02:57:36 -0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
The ppp driver, even if you put it into the kernel, enables the module
loader. This is because the PPP Compression protocol interface is
designed to be loaded as a module __ONLY__. There is no way (logically)
to put the compression protocols into the kernel.
(There are a couple of technical reasons and one legal reason for this
decision.)
If you don't load the compressors (bsd-comp.o, ppp-deflate.o, or
pred1-comp.o) then the fact that the ppp driver exports some symbols is
insignificant.
The compression modules do not make references to the procedures which
you listed. They will call procedures called "ppp_register_compressor"
and "ppp_unregister_compressor" and possibly reference the CRC-16 table
in the PPP driver.
If it will help isolate the appropriate sequence during the boot
sequence, you may use the program 'logger' to write messages to the
system log file. I would suggest that you put some trace messages into
the log so that you can tell which operation is generating these events.
Just having the messages means nothing in and of itself without knowing
what is causing them.
>----------
>From: Steve R. Parker[SMTP:sparker@achilles.net]
>Sent: Tuesday, November 05, 1996 6:44 PM
>To: redhat-list@redhat.com
>Subject: insmod errors with monolithic kernel?
>
>I've built a monolithic kernel as outlined in the RHL 4.0 User's Guide
>(including commenting out the 'depmod -a' in /etc/rc.d./rc.sysinit but
>upon reboot I am receiving a string of errors like the following:
>
>...
>Nov 5 17:41:50 wolf insmod: dev_queue_xmit: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: skb_copy_datagram_iovec: wrong version or
>undefined
>Nov 5 17:41:50 wolf insmod: skb_clone: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: sock_register: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: alloc_skb: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: dev_mc_add: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: dev_remove_pack: wrong version or undefined
>Nov 5 17:41:50 wolf insmod: Loading failed! The module symbols (from
>linux-2.0.18) don't match your linux-2.0.18
>
>The messages appear to be related to networking but the only type of
>interface I have configured is a PPP interface (which I've NOT activated
>on boot). Is anyone else getting these types of messages? I searched
>the archives and there is mention of a similar problem but there doesn't
>seem to be a solution. The PPP link appears to be working fine but I am
>still wondering why I see these messages on each boot. Any help would be
>greatly appreciated!
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null