[uClibc]Modutils vs. Busybox...

Tom Cameron TCameron at stmarysbank.com
Thu May 10 16:30:18 UTC 2001


Hello all,
	I have been working hard (or is it hardly working...I can never
tell) on building a test system for my BB based project, and am now working
on modules.  I know that there have been many posts in the past about this
subject, but not quite regarding what I would like to discuss.
	First of all, I'd like to bring up a nice little piece of
information.  I compiled modutils 2.4.6 against uClibc.  All _seemed_ to
compile correctly...but when I tried to use it on my target (x86), I got an
error message.  Here's what it said:

~~~ Begin Error Message ~~~
/lib/modules/2.4.4/kernel/drivers/ide # insmod ide-probe-mod.o
/lib/modules/2.4.4/kernel/drivers/ide # insmod ide-mod.o
Warning: ide-mod.o symbol for parameter options not found
/lib/modules/2.4.4/kernel/drivers/ide # insmod ide-disk.o
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c011249d
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c011249d>]
EFLAGS: 00010246
eax: 00000000   ebx: 000001f0   ecx: ffffffff   edx: 0000003e
esi: c20117f8   edi: 00000000   ebp: 08063c00   esp: c14a9f80
ds: 0018   es: 0018   ss: 0018
Process insmod (pid: 21, stackpage=c14a9000)
Stack: *** Snip stack stuff ***
Call Trace: [<c2006000>] [<c01127d7>] [<c2006000>] [<c0106cf3>]

Code: f2 ae f7 d1 49 8d 79 01 3b 7c 24 28 0f 87 b1 00 00 00 57 8b
/lib/modules/2.4.4/kernel/drivers/ide # 
~~~ End Error Message ~~~

	This message is what I normally get when attempting to insmod a
module.  Does anyone know what is causing this error?  Again, I linked
insmod and it's friends to uClibc.  The kernel was compiled vs. standard
glibc that came with Linux-Mandrake 8.0.  I stripped the modules before I
placed them in the floppy image...would that maybe set anything off?  When I
stripped them, I simply did `strip *` in every directory...maybe I
over-stripped them?

	Why am I even bothering to use modutils you ask?  Well, it's simple
really.  There is no simple replacement for modprobe that I know of.  This
is the second point I'd like to discuss.  Does anyone know of a good
replacement for modutils' modprobe?  If there isn't one, would anyone have
enough motivation and need to write a BusyBox contrib. applet?  Is it even
something that you need a separate program for, or can you handle it in a
script?  These are all things that I have been looking up in the past six
hours...but unfortunately embedded software is hard to search for.

	Anyway, I thank you all for your patience and effort in advance!
You have all done a wonderful job, and I hope to some day give back to the
community what it has given me.  Thanks!

--
Thomas Cameron
Network Technician / Operations Specialist
St. Mary's Bank





More information about the uClibc mailing list