linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: (2.5.65) Unresolved symbols in modules?
@ 2003-03-18  1:11 Marijn Kruisselbrink
  2003-03-18  3:18 ` Mike Galbraith
  0 siblings, 1 reply; 8+ messages in thread
From: Marijn Kruisselbrink @ 2003-03-18  1:11 UTC (permalink / raw)
  To: linux-kernel

> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.65/kernel/drivers/char/lp.ko
> depmod:         parport_read
> depmod:         parport_set_timeout
> depmod:         parport_unregister_device
> ...
> [lots and lots of unresolved symbols in lots of modules]
>
> What am I doing wrong?  What web page or kernel documentation should I
> be reading?
I experienced exactly the same problems when I was running 2.5 kernels for
the first time. I think the problem is that the module-init-tools are
installed in /usr/local/sbin instead of /sbin. In /sbin are still the ol
dmodutils. When you simply run depmod, you will run the module-init-tools,
but in the linux-makefile /sbin/depmod is called. You could simply copy the
modutils to *.old (depmod -> depmod.old), and make symlinks/copys of the
module-init-tools in /sbin (or just make sure make isntall installs them
there).

Marijn Kruisselbrink


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

* RE: (2.5.65) Unresolved symbols in modules?
  2003-03-18  1:11 (2.5.65) Unresolved symbols in modules? Marijn Kruisselbrink
@ 2003-03-18  3:18 ` Mike Galbraith
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Galbraith @ 2003-03-18  3:18 UTC (permalink / raw)
  To: Marijn Kruisselbrink; +Cc: linux-kernel

At 02:11 AM 3/18/2003 +0100, Marijn Kruisselbrink wrote:
> > if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.5.65/kernel/drivers/char/lp.ko
> > depmod:         parport_read
> > depmod:         parport_set_timeout
> > depmod:         parport_unregister_device
> > ...
> > [lots and lots of unresolved symbols in lots of modules]
> >
> > What am I doing wrong?  What web page or kernel documentation should I
> > be reading?
>I experienced exactly the same problems when I was running 2.5 kernels for
>the first time. I think the problem is that the module-init-tools are
>installed in /usr/local/sbin instead of /sbin. In /sbin are still the ol
>dmodutils. When you simply run depmod, you will run the module-init-tools,
>but in the linux-makefile /sbin/depmod is called. You could simply copy the
>modutils to *.old (depmod -> depmod.old), and make symlinks/copys of the
>module-init-tools in /sbin (or just make sure make isntall installs them
>there).

./configure --prefix=/usr --bindir=/bin --sbindir=/sbin 


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

* Re: (2.5.65) Unresolved symbols in modules?
  2003-03-18  0:46 Torrey Hoffman
  2003-03-18  0:56 ` Vincent Hanquez
@ 2003-03-19 21:29 ` Bill Davidsen
  1 sibling, 0 replies; 8+ messages in thread
From: Bill Davidsen @ 2003-03-19 21:29 UTC (permalink / raw)
  To: Torrey Hoffman; +Cc: Linux Kernel

On 17 Mar 2003, Torrey Hoffman wrote:

> I'm trying 2.5 for the first time.  I am getting hundreds of unresolved
> symbols in (all?) modules.  Note that:
> - I have installed the module-init-tools. 
> - "which depmod" as root says /usr/local/sbin/depmod
> - depmod -V as root says "module-init-tools 0.9.10"
> 
> But make modules_install as root produces:
> 
> [lots of mkdir -p /lib/modules/2.5.65/kernel/...; cp drivers/... .ko
> /lib/modules/2.5.65/kernel/...]
> 
> and then:
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
> depmod: *** Unresolved symbols in
> /lib/modules/2.5.65/kernel/drivers/char/lp.ko
> depmod:         parport_read
> depmod:         parport_set_timeout
> depmod:         parport_unregister_device
> ...
> [lots and lots of unresolved symbols in lots of modules]
> 
> What am I doing wrong?  What web page or kernel documentation should I
> be reading?

Did you have init-tools installed in /sbin before? This looks like the
message I saw from an early version of the package rather than the 2.4
version. In any case I think you either have to change the path to run the
correct module tool, or remake and install the tool in the compatible mode
which works with 2.4 or 2.5. 

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


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

* Re: (2.5.65) Unresolved symbols in modules?
@ 2003-03-18 11:13 Felipe Alfaro Solana
  0 siblings, 0 replies; 8+ messages in thread
From: Felipe Alfaro Solana @ 2003-03-18 11:13 UTC (permalink / raw)
  To: thoffman, linux-kernel

----- Original Message ----- 
From: Torrey Hoffman <thoffman@arnor.net> 
Date: 	17 Mar 2003 16:46:57 -0800 
To: Linux Kernel <linux-kernel@vger.kernel.org> 
Subject: (2.5.65) Unresolved symbols in modules? 
 
> I'm trying 2.5 for the first time.  I am getting hundreds of unresolved 
> symbols in (all?) modules.  Note that: 
 
You'll need latest Rusty's modutils. You can download them 
at ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules. 
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

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

* RE: (2.5.65) Unresolved symbols in modules?
  2003-03-18  1:19   ` Torrey Hoffman
@ 2003-03-18  1:27     ` Marijn Kruisselbrink
  0 siblings, 0 replies; 8+ messages in thread
From: Marijn Kruisselbrink @ 2003-03-18  1:27 UTC (permalink / raw)
  To: linux-kernel

> - module-init-tools documentation stated if it is or is not backward
> compatible for the 2.4 kernels  (is it?)
If you have a new enough version of modutils, and you rename these to
depmod.old modprobe.old etcetera, they are backwards-compatible...

> - The kernel makefile used the module tools under /usr/local/sbin if
> they exist.
I totally agree with this.


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

* Re: (2.5.65) Unresolved symbols in modules?
  2003-03-18  0:56 ` Vincent Hanquez
@ 2003-03-18  1:19   ` Torrey Hoffman
  2003-03-18  1:27     ` Marijn Kruisselbrink
  0 siblings, 1 reply; 8+ messages in thread
From: Torrey Hoffman @ 2003-03-18  1:19 UTC (permalink / raw)
  To: Vincent Hanquez; +Cc: Linux Kernel

On Mon, 2003-03-17 at 16:56, Vincent Hanquez wrote:
> On Mon, Mar 17, 2003 at 04:46:57PM -0800, Torrey Hoffman wrote:
> > and then:
> > if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
>                              ^^^^^^^^^^^^
> you seem to use old depmod (not /usr/local/sbin/depmod)

Ah, of course.  I followed the instructions that came with the
module-init-tools, and then just used "make modules_install".  
So much for following instructions.

I can only make the general observation that it would be helpful if:
- module-init-tools documentation pointed out this drawback of
installing to /usr/local/sbin
- module-init-tools documentation stated if it is or is not backward
compatible for the 2.4 kernels  (is it?)
- The kernel makefile used the module tools under /usr/local/sbin if
they exist.

(sigh)

Anyway, thanks again for the advice.

Torrey Hoffman
thoffman@arnor.net





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

* Re: (2.5.65) Unresolved symbols in modules?
  2003-03-18  0:46 Torrey Hoffman
@ 2003-03-18  0:56 ` Vincent Hanquez
  2003-03-18  1:19   ` Torrey Hoffman
  2003-03-19 21:29 ` Bill Davidsen
  1 sibling, 1 reply; 8+ messages in thread
From: Vincent Hanquez @ 2003-03-18  0:56 UTC (permalink / raw)
  To: Torrey Hoffman; +Cc: Linux Kernel

On Mon, Mar 17, 2003 at 04:46:57PM -0800, Torrey Hoffman wrote:
> and then:
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
                             ^^^^^^^^^^^^
you seem to use old depmod (not /usr/local/sbin/depmod)

-- 
Vincent Hanquez [Tab]

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

* (2.5.65) Unresolved symbols in modules?
@ 2003-03-18  0:46 Torrey Hoffman
  2003-03-18  0:56 ` Vincent Hanquez
  2003-03-19 21:29 ` Bill Davidsen
  0 siblings, 2 replies; 8+ messages in thread
From: Torrey Hoffman @ 2003-03-18  0:46 UTC (permalink / raw)
  To: Linux Kernel

I'm trying 2.5 for the first time.  I am getting hundreds of unresolved
symbols in (all?) modules.  Note that:
- I have installed the module-init-tools. 
- "which depmod" as root says /usr/local/sbin/depmod
- depmod -V as root says "module-init-tools 0.9.10"

But make modules_install as root produces:

[lots of mkdir -p /lib/modules/2.5.65/kernel/...; cp drivers/... .ko
/lib/modules/2.5.65/kernel/...]

and then:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.65; fi
depmod: *** Unresolved symbols in
/lib/modules/2.5.65/kernel/drivers/char/lp.ko
depmod:         parport_read
depmod:         parport_set_timeout
depmod:         parport_unregister_device
...
[lots and lots of unresolved symbols in lots of modules]

What am I doing wrong?  What web page or kernel documentation should I
be reading?

Thanks

Torrey Hoffman
thoffman@arnor.net




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

end of thread, other threads:[~2003-03-19 21:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18  1:11 (2.5.65) Unresolved symbols in modules? Marijn Kruisselbrink
2003-03-18  3:18 ` Mike Galbraith
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 11:13 Felipe Alfaro Solana
2003-03-18  0:46 Torrey Hoffman
2003-03-18  0:56 ` Vincent Hanquez
2003-03-18  1:19   ` Torrey Hoffman
2003-03-18  1:27     ` Marijn Kruisselbrink
2003-03-19 21:29 ` Bill Davidsen

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).