[BusyBox] Modprobe

Erik Andersen andersen at codepoet.org
Mon Jan 20 00:00:05 UTC 2003


On Sun Jan 19, 2003 at 06:43:26AM -0800, andy preston wrote:
> n Sat, 2003-01-18 at 17:09, Erik Andersen wrote:
> 
> > Have you created (using depmod or examples/depmod.pl from
> > busybox) and installed a modules.dep file on your target that 
> > is consistant with your current kernel?
> 
> OK, I'm an idiot. Anyway moving on, I'm trying to use depmod.pl, it's
> coming up with lots of unresolved symbols from the kernel. I've added
> the -F flag to the location of my System.map. Looking at the source of
> depmod.pl, I can see that the variable $kernelsyms is set correctly, but
> I can't find anywhere in the code that it is used. I checked CVS this
> seems like the latest version of the file. 
> 
>  Unfortunately thats about the limit of my perl, can someone who can
> deal with it check it out for me and make sure I'm not completely nuts,

This is how I have used it...

        $(BUSYBOX_DIR)/scripts/depmod.pl \
                -b $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/ \
                -k $(LINUX_DIR)/vmlinux \
                -F $(LINUX_DIR)/System.map \
                > $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list