mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
@ 2001-10-19 19:21 Alan Chandler
  2001-10-20  6:48 ` Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Chandler @ 2001-10-19 19:21 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am not subscribed to the list please cc me on any reply

I have built the the 2.4.12 kernel with CONFIG_HOTPLUG set and the usb stuff 
all compiled as modules.

depmod -e  shows that usbcore.o has an unresolved symbol (which of course 
fails when the module tries to load) of hot_plug path. 

Looking through the code I can see that this gets defined in kmod.c - and 
there is an entry in System.map (I don't know each line means but 
hotplug_path is there).  I can also see the kmod.h (included by usb.c which 
eventually gets built into usbcore) defines it as an external reference.

What I have been unable to figure out is why depmod doesn't link usbcore.o to 
it.
- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70H0x1mf3M5ZDr2kRAkXtAKC2t3yxEGhFya9baq3JHo54K+sLVgCgrToe
/PRFjU0H6h04DS4cCxfSA00=
=AiTR
-----END PGP SIGNATURE-----

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

* Re: Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
  2001-10-19 19:21 Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12) Alan Chandler
@ 2001-10-20  6:48 ` Keith Owens
  2001-10-20  7:12   ` Alan Chandler
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2001-10-20  6:48 UTC (permalink / raw)
  To: Alan Chandler; +Cc: linux-kernel

On Fri, 19 Oct 2001 20:21:17 +0100, 
Alan Chandler <alan@chandlerfamily.org.uk> wrote:
>I have built the the 2.4.12 kernel with CONFIG_HOTPLUG set and the usb stuff 
>all compiled as modules.
>
>depmod -e  shows that usbcore.o has an unresolved symbol (which of course 
>fails when the module tries to load) of hot_plug path. 

I need the output from
  nm -A `/sbin/modprobe -l`  | grep hotplug_path
  grep hotplug_path /proc/ksyms System.map


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

* Re: Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
  2001-10-20  6:48 ` Keith Owens
@ 2001-10-20  7:12   ` Alan Chandler
  2001-10-20  7:25     ` Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Chandler @ 2001-10-20  7:12 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 20 October 2001 7:48 am, Keith Owens wrote:
> On Fri, 19 Oct 2001 20:21:17 +0100,
>
> Alan Chandler <alan@chandlerfamily.org.uk> wrote:
> >I have built the the 2.4.12 kernel with CONFIG_HOTPLUG set and the usb
> > stuff all compiled as modules.
> >
> >depmod -e  shows that usbcore.o has an unresolved symbol (which of course
> >fails when the module tries to load) of hot_plug path.
>
> I need the output from
>   nm -A `/sbin/modprobe -l`  | grep hotplug_path

alan@kanger:~$ nm -A `/sbin/modprobe -l` | grep hotplug_path
/lib/modules/2.4.12/kernel/drivers/usb/usbcore.o:         U hotplug_path
alan@kanger:~$

>   grep hotplug_path /proc/ksyms System.map


alan@kanger:/$ grep hotplug_path /proc/ksyms System.map
/proc/ksyms:c0290960 hotplug_path_R__ver_hotplug_path
System.map:c02810a0 ? __kstrtab_hotplug_path
System.map:c028bb98 ? __ksymtab_hotplug_path
System.map:c0290960 D hotplug_path
alan@kanger:/$
- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70SPa1mf3M5ZDr2kRAkb6AJ0eyEL3EDiCdrrZdNGeT5utXP+rRwCgzaDY
MkVDEVYXdsfCWrin8w30w0M=
=qjMd
-----END PGP SIGNATURE-----

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

* Re: Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
  2001-10-20  7:12   ` Alan Chandler
@ 2001-10-20  7:25     ` Keith Owens
  2001-10-20 19:52       ` Alan Chandler
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2001-10-20  7:25 UTC (permalink / raw)
  To: Alan Chandler; +Cc: linux-kernel

On Sat, 20 Oct 2001 08:12:14 +0100, 
Alan Chandler <alan@chandlerfamily.org.uk> wrote:
>alan@kanger:/$ grep hotplug_path /proc/ksyms System.map
>/proc/ksyms:c0290960 hotplug_path_R__ver_hotplug_path

Bingo!  http://www.tux.org/lkml/#s8-8


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

* Re: Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
  2001-10-20  7:25     ` Keith Owens
@ 2001-10-20 19:52       ` Alan Chandler
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Chandler @ 2001-10-20 19:52 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 20 October 2001 8:25 am, Keith Owens wrote:
> On Sat, 20 Oct 2001 08:12:14 +0100,
>
> Alan Chandler <alan@chandlerfamily.org.uk> wrote:
> >alan@kanger:/$ grep hotplug_path /proc/ksyms System.map
> >/proc/ksyms:c0290960 hotplug_path_R__ver_hotplug_path
>
> Bingo!  http://www.tux.org/lkml/#s8-8

Thanks - solved.  I've read the FAQ several times but not groked that bit.  

- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70dX21mf3M5ZDr2kRAr9vAKDFJzsZmKjAQqVwlOTJQocPxiLmHQCdErMh
rancatzCVIKXgdVyUMOZArA=
=MPcM
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2001-10-20 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-19 19:21 Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12) Alan Chandler
2001-10-20  6:48 ` Keith Owens
2001-10-20  7:12   ` Alan Chandler
2001-10-20  7:25     ` Keith Owens
2001-10-20 19:52       ` Alan Chandler

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

all inboxes | Powered by JetHome®