[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Insmod testing...
From:       "Richard A. Smith" <rsmith () bitworks ! com>
Date:       2001-04-27 5:06:36
[Download RAW message or body]

Ok... I grabbed the CVS of both uClibc and busybox as of 10pm CST
4/26.

Compileing vs glibc yeild the following for me with kernel 2.2.19

wombat:/bitworks/projects/hydra/busybox# ldd /sbin/insmod
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

wombat:/bitworks/projects/hydra/busybox# ldd busybox
	libc.so.6 => /lib/libc.so.6 (0x4001d000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

wombat:/bitworks/projects/hydra/busybox# insmod pcmcia_core
Using /lib/modules/2.2.17/pcmcia/pcmcia_core.o

wombat:/bitworks/projects/hydra/busybox# lsmod
Module                  Size  Used by
pcmcia_core            44160   0  (unused)
vfat                    9408   0  (unused)
fat                    30336   0  [vfat]
smbfs                  25616   0  (unused)
3c59x                  20160   1 
wombat:/bitworks/projects/hydra/busybox# rmmod pcmcia_core

wombat:/bitworks/projects/hydra/busybox# ./busybox insmod pcmcia_core

insmod: unresolved symbol mod_timer_R1f13d309
insmod: unresolved symbol interruptible_sleep_on_timeout_Re0838aee
insmod: unresolved symbol __check_region_Rf1d0cdab
insmod: unresolved symbol __io_virt_debug_R2fd62b99
insmod: unresolved symbol proc_mkdir_Rfe610725
insmod: unresolved symbol proc_bus_R14cd48d6
insmod: unresolved symbol __request_region_R1a1a4f09
insmod: unresolved symbol ioport_resource_R865ebccd
insmod: unresolved symbol add_timer_Ra19eacf8
insmod: unresolved symbol pci_devices_R7a84b102
insmod: unresolved symbol create_proc_entry_Rc9e52265
insmod: unresolved symbol remove_proc_entry_R4ccef2f3
insmod: unresolved symbol del_timer_Rfc62f16d
insmod: unresolved symbol __release_region_Rd49501d4
insmod: unresolved symbol __wake_up_R2c77a2af
insmod: unresolved symbol interruptible_sleep_on_R15e26425
insmod: unresolved symbol iomem_resource_R9efed5af

I get exactly the same results if I use uClibc.

Now the freaky thing is that on my embedded system with 2.4.1.. it
works fine.  Tomorrow I will try booting 2.4.1 on my developement
system and see if it works there as well.

So the fix seems to have solved my problem and perhaps the deal with
unresolved symbols is a different issue related to my specific
system... 

What would be the next debugging step?




--
Richard A. Smith                         Bitworks, Inc.               
rsmith@bitworks.com               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic