Hello Cpu,

Thanks for testing.
I also did the same as you did and see the same behaviour, insmod 
trying to load the "module" in the current directory.
This is a busybox bug, not much I can do about unfortuanatly. It's 
probably in there since years. I will report it on the busybox list.

Luckely it's a corner case and it should only happens when a file has 
the same name as a module and insmod is called from within that 
directory. This shouldn't be the case in openswan (at least I don't 
see it with the standard package).
Did you change anything in the ipsec package or do you start it from 
within the /lib/ipsec directory?

Eric


--------------------------------------------------------------------
Eric,

Thanks for the help. I followed your instructions in a previous post 
on
building the minimum packages after a kernel build: modules, initrd,
and root.lrp. ipsec was also built/packaged from the same kernel.

Today I tried beta 2.3:

1. Downloaded linux-2.4.29.upx (renamed to linux), initrd_ide 
(renamed
to initrd), root, modules; copied to the root of my compact flash 
drive
C:\.

2. Changed leaf.cfg to reflect above packages + my original etc and
config and no more.

3. Tried to boot but got stuck at:

RAMDISK: Compressed image found at block 0

After giving up on Beta 2.3, I then I copied all minimum packages
(including etc and config) from the 2.2.2 ISO along with kernel. No
changes made. leaf.cfg:

LRP=modules,root,config,etc

Booted up just fine... I then went inside /tmp and created a file
called "mii" (mii.o is in /lib/modules):

foobar# touch mii
foobar# insmod mii

Using mii
insmod: error reading ELF header: Success
insmod: Could not load the module: Success

So this behavior has been there for some time?
-cpu


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to