Unresolved symbol hotplug_path in usbcore.o as a module (2.4.12)
-----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 - [email protected]
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-----
Quoted 5 lines · Alan Chandler
I have built the the 2.4.12 kernel with
CONFIG_HOTPLUGset 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_plugpath.
I need the output from
nm -A /sbin/modprobe -l | grep hotplug_path
grep hotplug_path /proc/ksyms System.map
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 11 lines · Keith Owens
On Fri, 19 Oct 2001 20:21:17 +0100,
Quoted 5 lines · Alan Chandler
I have built the the 2.4.12 kernel with
CONFIG_HOTPLUGset 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_plugpath.I need the output from
nm -A/sbin/modprobe -l| grephotplug_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:~$
Quoted 1 line
grep
hotplug_path/proc/ksymsSystem.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 - [email protected]
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-----
Quoted 2 lines · Alan Chandler
alan@kanger:/$ grep hotplug_path /proc/ksyms System.map /proc/ksyms:c0290960 hotplug_path_R__ver_hotplug_path
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Keith Owens
On Sat, 20 Oct 2001 08:12:14 +0100,
Quoted 2 lines · Alan Chandler
alan@kanger:/$ grep hotplug_path /proc/ksyms System.map /proc/ksyms:c0290960 hotplug_path_R__ver_hotplug_path
Thanks - solved. I've read the FAQ several times but not groked that bit.
- --
Alan - [email protected]
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-----