Kernel Panic while building IP or TCP hash tables

Gérard Guével gguevel at
Wed Jun 18 17:56:48 EST 2003


After many days of tests, I can say that the system does not crash
anymore with the patch installed.

The most difficult thing is to determine the frames which generate the
kernel panic. I can exclude arp broadcast frames and ip unicast frames.
It seems that the multicast frames are the origin of the system crash
but I can't say if it is the only case.

The system runs in any case with the patch. Use it !!!

Thanks to Jean-Denis Boyer

Gérard Guével

-----Message d'origine-----
De : Jean-Denis Boyer [mailto:jdboyer at]
Envoyé : jeu. 5 juin 2003 14:09
Objet : RE: Kernel Panic while building IP or TCP hash tables

I experienced a similar problem with my system, I was not sure if it was
specific to my implementation. Can you try the following patch and tell
us if it helps?

It registers the IPv4 handling functions AFTER initializing the IP
routing stuff. Early packets could enter the stack and crash the system.

--- Kernel.old/net/ipv4/ip_output.c     Thu Jun  5 09:00:39 2003
+++ Kernel/net/ipv4/ip_output.c Thu Jun  5 09:00:28 2003
@@ -1087,11 +1087,11 @@

 void __init ip_init(void)
-       dev_add_pack(&ip_packet_type);

+       dev_add_pack(&ip_packet_type);
        proc_net_create("igmp", 0, ip_mc_procinfo);

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list