disable network module at boot time
Jason Curl
jcurlnews at arcor.de
Wed Aug 22 03:22:07 PDT 2007
I've adjusted the mail for top-posting.. And please don't put email
addresses in plaintext...
Vivek-Kumar Gupta wrote:
>> That means your network subsystem drivers are loading. Not the physical
>> Ethernet Device.
>>
>> For a device you should see something like this.
>>
>> ep93xx-eth version 0.1 loading
>> eth0: ep93xx on-chip ethernet, IRQ 39, 00:0e:3a:11:22:33.
>>
> I have never seen these lines in console logs
> ep93xx-eth version 0.1 loading
> eth0: ep93xx on-chip ethernet, IRQ 39, 00:0e:3a:11:22:33.
> Well I searched "ep93xx-eth" a lot in the scripts where it is loaded but
> I can't figure out.
>
> I just want to Disable Network Support at boot time so that boot time
> can be Reduced. Then enable it again after boot.
>
> If you can provide me some more insight, that will be great.
>
Brian just gave an example. On my embedded system it's Intel and another
is SMC. And I've got modules loading in afterwards for these network
cards. Don't look explicitly for these strings.
By removing NET support you may cause problems during the boot phase.
But you should try to build the TCP/IP stack as a module (I haven't
checked if it's possible, mine's in the kernel by default as I use
TCP/IP on localhost to communicate).
Find some articles about the Linux Kernel and embedded systems with
Linux in general. This topic isn't really about BusyBox. comp.realtime
or some other embedded newsgroups specific to linux might be more useful
to you.
>
>> what you are seeing is networking support, not device support.
>>
>> Like
>> Packet Socket
>> IP: tunneling
>>
>> and what not.
>>
>>
>>
>> On Tue, 2007-08-21 at 07:09 -0700, Vivek-Kumar Gupta wrote:
>>
>>> Hi Everybody,
>>>
>>>
>>>
>>> I am using busy box for embedded device.
>>>
>>> I am facing a peculiar problem.
>>>
>>>
>>>
>>> I want to my board to boot with network module.
>>>
>>> When kernel starts uncompressing, messages on console comes like
>>>
>>> ====
>>>
>>> NET: Registered protocol family 2
>>>
>>> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>>>
>>> TCP established hash table entries: 2048 (order: 1, 8192 bytes)
>>>
>>> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
>>>
>>> TCP: Hash tables configured (established 2048 bind 1024)
>>>
>>> TCP reno registered
>>>
>>> ....
>>>
>>>
>>>
>>> NET: Registered protocol family 1
>>>
>>> NET: Registered protocol family 10
>>>
>>> NET: Registered protocol family 17
>>>
>>> NET: Registered protocol family 15
>>>
>>> ====
>>>
>>>
>>>
>>> This suggests that network module is being loaded by kernel.
>>>
>>> I have compiled Ethernet as module. I want to enable network module
>>> after kernel boots ( post kernel) via some script.
>>>
>>> I have modified the /etc/modprobe.conf, rc.sysinit so that init
>>> process don't load network module, but this modification stopped the
>>> network services.
>>>
>>>
>>>
>>> Can any one help me how to disable network module while kernel is
>>> booting and enable it again after kernel boots.
>>>
>>> Thanks in advance.
>>>
>>>
More information about the busybox
mailing list