Bug 5209 - no /proc/net/route, programs says "INET (IPv4) not configured"
Summary: no /proc/net/route, programs says "INET (IPv4) not configured"
Status: RESOLVED CODE_FIX
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 06:16 UTC by Michael Wilke
Modified: 2005-10-17 09:23 UTC (History)
0 users

See Also:
Kernel Version: 2.6.13
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Michael Wilke 2005-09-09 06:16:32 UTC
Most recent kernel where this bug did not occur:
  2.6.9

Distribution:
  Debian Sarge

Hardware Environment:
  Pentium III 500Mhz
  640 MB RAM
  nothing special 

Software Environment:
  lena:~# route --version
  net-tools 1.60
  route 1.98 (2001-04-15)

Problem Description:
  after upgrading to 2.6.13 there is no /proc/net/route
  a lot of programs dont run, and i cant set any route to other hosts etc
  
  running 'route':
    lena:~# route
      /proc/net/route: No such file or directory
      INET (IPv4) not configured in this system.

  but INET is configured!
    lena:~# grep INET /usr/src/builds/2.6.13+libata/.config
      CONFIG_INET=y
      # CONFIG_INET_AH is not set
      # CONFIG_INET_ESP is not set
      # CONFIG_INET_IPCOMP is not set
      # CONFIG_INET_TUNNEL is not set
      CONFIG_INET6_AH=y
      CONFIG_INET6_ESP=y
      CONFIG_INET6_IPCOMP=y
      CONFIG_INET6_TUNNEL=y

    lena:~# grep -i route /usr/src/builds/2.6.13+libata/.config
      CONFIG_IP_ADVANCED_ROUTER=y
      CONFIG_IP_ROUTE_FWMARK=y
      # CONFIG_IP_ROUTE_MULTIPATH is not set
      CONFIG_IP_ROUTE_VERBOSE=y
      CONFIG_WAN_ROUTER=y
      CONFIG_NET_CLS_ROUTE4=y
      CONFIG_NET_CLS_ROUTE=y

   very bogus is, that ip connections work, i've got all interfaces up, also 
netfilter seems to work.
>>   ppp0      Link encap:Point-to-Point Protocol  
>>          inet addr:213.39.217.173  P-t-P:213.191.84.201  Mask:255.255.255.255
>>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
  this is a dsl connections, so the default gateway must have been set by pppd.

lena:~# dmesg |grep -i route
[   34.428722] PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:04.0
[   34.451409] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies 
Inc.
[   39.080808] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   73.685137] eth0: no IPv6 routers present


when the lan interfaces came up, also this message run through the screen:
[   62.786208] IPv4 FIB: Using LC-trie version 0.325



thanks a lot and best regards
Michael Wilke
Comment 1 Stephen Hemminger 2005-09-09 11:14:29 UTC
This probably only shows up with if FIB_TRIE is configured.
Comment 2 Stephen Hemminger 2005-10-17 09:23:26 UTC
fixed in 2.6.14 with enhancements to fib_trie

Note You need to log in before you can comment on or make changes to this bug.