[Udpcast] making a custom boot disk

Eric Becker Eric.Becker at wwt.com
Fri Oct 3 20:37:55 CEST 2003


Alain Knaff wrote:
> There are two files in the library directory which list all modules
> which are present: modules.dep and modules.pcimap

> These are normally created automatically when doing a make
> modules_install from the source kernel tree.

> Now that we've found out that the initial problem was only a size
> problem, maybe you can get back to your kernel that you downloaded
>from ftp.kernel.org, and do a make modules_install there, check that
> the files are present and both contain references to the bcm5700
> module.

> Once this is ok, call makeImage with the --module bcm5700 flag, and
it
> should be ok.


I have put the bcm5700.o in /usr/src/linux-2.4.21/drivers/net/ and then
I did "make modules_install" from /usr/src/linux-2.4.21/.  The bcm5700.o
does not transfer get transfered over to
/lib/modules/2.4.21-udpcast/kernel/drivers/net.  It also does not show
up in /lib/modules/2.4.21-udpcast/modules.dep, nor modules.pcimap.  If I
manually put the bcm5700.o in the
/lib/modules/2.4.21-udpcast/kernel/drivers/net it disappears when I do a
"make module_install"

I searched around on google groups, I'm trying not to bother you too
much.  It looks like most people do a make config and that's where the I
would tell the kernel to include the bcm5700 module??  Only, I'm using
the .config file from the udpcast website so I don't think I can do a
make config, I'm not sure which options need to be enabled.  I tried
adding a line in /usr/src/linux-2.4.21/.config that says
"CONFIG_BCM5700=m" and then did a "make modules_install" but that didn't
seem to do the trick either.  I even read the install notes for the
driver itself, but it uses an install script that only installs to the
kernel I'm using....not an alternate one.  

The network driver is in the right dir
(/usr/src/linux-2.4.21/drivers/net/bcm5700.c).  I just can't get the
"make modules_install" to recognize that it needs to actually use this
module by making the correct entries in modules.dep and modules.pcimap
and to also copy it to the /lib/modules/ dir.  Any help would be
appreciated, you've helped me out a great deal so far. 


More information about the Udpcast mailing list