hardigunawan
04-15-2001, 10:55 PM
In compiling the kernel, how do I decide whether I should use include an option as a module or built into the kernel?
I've tried to built my ethernet card driver into the kernel and compiled it. However, my box can't detect it and I can't use the ethernet card. However, when I changed the driver to be installed as a module, it works!
When do I decide to install into the kernel or install as module? Is it because I miss some steps when I install the driver into the kernel?
What I did is:
make mrproper; make xconfig. Once done, I did:
make dep; make clean; make bzImage; make modules; rm -rf /lib/modules/*; make modules_install
then I move my System.map and bzImage into /boot partition and run /sbin/lilo.
Is my step right? Do I have to do:
pnpdump > /etc/isapnp.conf; isapnp /etc/isapnp.conf?
I've done this last time, but couldn't remember what it is for..... :(
I've tried to built my ethernet card driver into the kernel and compiled it. However, my box can't detect it and I can't use the ethernet card. However, when I changed the driver to be installed as a module, it works!
When do I decide to install into the kernel or install as module? Is it because I miss some steps when I install the driver into the kernel?
What I did is:
make mrproper; make xconfig. Once done, I did:
make dep; make clean; make bzImage; make modules; rm -rf /lib/modules/*; make modules_install
then I move my System.map and bzImage into /boot partition and run /sbin/lilo.
Is my step right? Do I have to do:
pnpdump > /etc/isapnp.conf; isapnp /etc/isapnp.conf?
I've done this last time, but couldn't remember what it is for..... :(