[ Expanded cc ] On 2/17/12 5:39 PM, Arun Sharma wrote: > > I've been trying to debug this strange problem with recent 3.2 kernels: > > # boot to single user mode > # service network start > # ifconfig eth0 > eth0 Link encap:Ethernet HWaddr > inet addr:10.47.46.39 Bcast:10.47.46.255 Mask:255.255.255.0 > > > # strace route add default gw 10.47.46.1 > ioctl(3, SIOCADDRT, 0x7fff1fd4db80) = -1 ESRCH (No such process) I git bisected the problem to this commit: commit 3630b7c050d9c3564f143d595339fc06b888d6f3 Author: David S. Miller Date: Tue Feb 1 15:15:39 2011 -0800 ipv4: Remove fib_hash. which came in via 2.6.39. > If there are any semantic differences found in fib_trie, we should > simply fix them. Looks like the problem I'm running into falls into this bucket (since it goes away if I revert the commit). I changed the pr_debug() in fib_trie.c to pr_info() and got some debug output (attached). Based on the debug info, I think it's this call that's failing with ESRCH: [ 69.189627] Insert table=254 00000000/0 /sbin/route -V net-tools 1.60 route 1.98 (2001-04-15) # cat /proc/net/fib_trie Local: +-- 0.0.0.0/1 1 0 0 +-- 10.47.46.0/24 1 0 0 +-- 10.47.46.0/26 1 0 0 |-- 10.47.46.0 /32 link BROADCAST |-- 10.47.46.39 /32 host LOCAL |-- 10.47.46.255 /32 link BROADCAST +-- 127.0.0.0/8 1 0 0 +-- 127.0.0.0/31 1 0 0 |-- 127.0.0.0 /32 link BROADCAST /8 host LOCAL |-- 127.0.0.1 /32 host LOCAL |-- 127.255.255.255 /32 link BROADCAST Please let me know if you have any suggestions. -Arun