[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Delaying eth0 initialization.RH7.1
On Sun, Dec 01, 2002 at 10:46:33PM -0600, Patwardhan, Aniruddha wrote:
> Hi Manish,
>
> Most likely this is because u not compiles 8139 driver as a module while
> compiling the kernel.
> This is a common mistake. No need to compile the kernel again for that
>
> What you can do is go to /usr/src/linux/drivers/net search for 8139 driver
> mostly it is 8139too.c
> compile it as a module
> gcc - c -DMODULE -D__KERNEL__ 8139too.c -I /usr/src/linux/include
That's what
make modules
make modules_install
is for. Kernel stuff may compile wrong without various options passed to
gcc by the build system.
> Now insert this module using insmod.
> Now start the network
There should be a file (on debian it's named /etc/modules, but may be
different on RH) where you name modules and they are loaded by some init
script. Look at the scripts. Pre-compiled kernels include all possible
drivers as modules and the ones to use are choosed run-time by init
scripts. You could also set an alias in /etc/modules.conf, so the module
would be autoloaded by kernel when ifconfig is first invoked
(IIRC the statement is: alias eth0 8139too).
> [root@localhost init.d]# ./network start
>
> To avoid manually inserting this driver every time, now place it in rc
> script to automate it
As I mentioned above, there really should be generic script to do it.
You just need to tell it, which modules must be loaded.
> > i am using RH linux 7.1 ..and i had replaced kernel from 2.4.2 to
> > 2.4.5...everything works fine except lan card..when i boots up my system i
> > am getting error:
> >
> > Bringing up interface lo [ OK ]
> > Bringing up interface eth0 Delaying eth0 initialization.
> > [ FAILED ]
Have you looked at the script (/etc/rc/init.d/network), why it prints
the "Delaying eth0 initialization" message?
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@ucw.cz>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/