2.0.33, Routing Bug, how to debug?

Klaus Lichtenwalder (Klaus.Lichtenwalder@webforum.de)
Wed, 11 Mar 1998 20:38:05 +0000 (WET)


Hi,

just a few minutes ago my routing problem reappeared... The scenario: a
2.0.33-pre2, all proposed features deactivated according to Alan Cox and
Doug Ledford (I'm one of the 2.0.33 crash victims).

It's a P166, 64MB, 2 isdn cards, on DE4x5 card, Adaptec 2940 with 2 hds,
one vga card. It's running in a cellar where I don't have access to
monitor output (that's why I didn't install the PrintEIP patch) Alanīs
skb debug patch is installed, but now messages up to now.
I have one eth0, around 24 aliases on it, 8 isdn net devices and 4 ippp
(synchronos ppp), two serial channels where mgetty listens, mostly for
incoming ppp connections. Uptime is 5 days.

My problem boils down to the following:

isdn0 is responsible for p-t-p: 193.141.169.166 -> 194.120.56.158
and net 192.168.1.0/24, 192.168.37.0/24 and 192.168.42/24
isdn2 is responsible for p-t-p: 193.141.169.166 -> 192.168.36.202
and net 192.168.36.0/24 , 192.168.46.0/24

After some time, packets destined for isdn2 go over isdn0 (and reach
nothing). If I ifconfig down the isdn2 device, isdn0 is effectively dead
also. I have to down both, delete the interface with the isdnctrl
command and restart both of them.

I guess putting something in isdn_write or some such just drowns me in
messages... Somebody have a debug version for those things (selecting
interfaces based on destination ip or some such?)

Klaus

Detailed info:

Script started on Wed Mar 11 20:25:37 1998
central:~# uname -a
Linux central 2.0.33 #17 Fri Mar 6 13:05:23 WET 1998 i586
central:~# w
8:25pm up 5 days, 3:46, 1 user, load average: 2.02, 1.55, 1.27
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
klaus ttyp0 gaston.m.isar.de 8:25pm 0.00s 0.19s 0.02s script
central:~# cat /proc/interrupts
0: 44562066 timer
1: 8 keyboard
2: 0 cascade
3: 1959177 + serial
4: 744170 + serial
9: 5644216 DE434/5 (eth0)
10: 3578736 HiSax
11: 3900141 HiSax
13: 1 math error
15: 6718645 aic7xxx
central:~# netstat -rn
Kernel routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
194.120.56.158 0.0.0.0 255.255.255.255 UH 0 0 2 isdn0
194.120.56.173 0.0.0.0 255.255.255.255 UH 0 0 0 isdn5
194.122.121.128 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:3
194.122.121.129 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:4
194.122.121.130 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:23
192.168.36.202 0.0.0.0 255.255.255.255 UH 0 0 0 isdn2
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 isdn33
192.168.2.21 0.0.0.0 255.255.255.255 UH 0 0 0 isdn7
192.168.32.250 0.0.0.0 255.255.255.255 UH 0 0 0 ippp1
192.168.30.254 0.0.0.0 255.255.255.255 UH 0 0 0 ippp4
192.168.36.253 0.0.0.0 255.255.255.255 UH 0 0 0 ippp0
192.168.36.254 0.0.0.0 255.255.255.255 UH 0 0 0 ippp3
192.168.37.1 0.0.0.0 255.255.255.255 UH 0 0 0 isdn3
192.168.37.2 0.0.0.0 255.255.255.255 UH 0 0 0 isdn4
192.168.40.2 0.0.0.0 255.255.255.255 UH 0 0 0 isdn6
192.168.32.12 0.0.0.0 255.255.255.255 UH 0 0 0 ippp2
194.122.121.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:0
194.122.121.2 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:2
194.122.121.3 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:5
194.122.121.4 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:6
194.122.121.5 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:9
194.122.121.6 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:11
194.122.121.7 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:12
194.122.121.8 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:14
194.122.121.9 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:7
194.122.121.10 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:8
194.122.121.11 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:10
194.122.121.12 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:13
194.122.121.13 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:15
194.122.121.14 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:16
194.122.121.15 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:17
194.122.121.16 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:18
194.122.121.17 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:19
194.122.121.18 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:20
194.122.121.19 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:21
194.122.121.20 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:22
194.122.121.21 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:24
194.122.121.22 0.0.0.0 255.255.255.255 UH 0 0 0 eth0:25
194.122.121.23 0.0.0.0 255.255.255.255 UH 0 0 1 isdn8
193.141.169.160 0.0.0.0 255.255.255.224 U 0 0 171 eth0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 1 isdn1
192.168.18.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.19.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.23.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.25.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.30.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn1
192.168.2.0 192.168.2.21 255.255.255.0 UG 0 0 1 isdn7
192.168.36.0 192.168.36.202 255.255.255.0 UG 0 0 2 isdn2
192.168.46.0 192.168.36.202 255.255.255.0 UG 0 0 0 isdn2
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 3 isdn0
192.168.37.0 0.0.0.0 255.255.255.0 U 0 0 0 isdn0
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 13 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 819 lo
0.0.0.0 193.141.169.190 0.0.0.0 UG 1 0 12477 eth0
central:~# cat /proc/net/dev
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 286181 0 0 0 0 286181 0 0 0 0 0
eth0:4231050 15 0 0 15 1414085 68 0 0 740574 0
eth0:0: 12910 0 0 0 0 0 0 0 0 0 0
eth0:2: 3642 0 0 0 0 0 0 0 0 0 0
eth0:3: 26622 0 0 0 0 0 0 0 0 0 0
eth0:4: 0 0 0 0 0 0 0 0 0 0 0
eth0:23: 23 0 0 0 0 0 0 0 0 0 0
eth0:5: 2286 0 0 0 0 0 0 0 0 0 0
eth0:6: 767272 0 0 0 0 0 0 0 0 0 0
eth0:7: 27794 0 0 0 0 0 0 0 0 0 0
eth0:8: 5664 0 0 0 0 0 0 0 0 0 0
eth0:9: 5021 0 0 0 0 0 0 0 0 0 0
eth0:10: 9159 0 0 0 0 0 0 0 0 0 0
eth0:11: 26 0 0 0 0 0 0 0 0 0 0
eth0:12: 36 0 0 0 0 0 0 0 0 0 0
eth0:13: 300 0 0 0 0 0 0 0 0 0 0
eth0:14: 1995 0 0 0 0 0 0 0 0 0 0
eth0:15: 97798 0 0 0 0 0 0 0 0 0 0
eth0:16: 0 0 0 0 0 0 0 0 0 0 0
eth0:17: 413 0 0 0 0 0 0 0 0 0 0
eth0:18: 3648 0 0 0 0 0 0 0 0 0 0
eth0:19: 177 0 0 0 0 0 0 0 0 0 0
eth0:20: 17 0 0 0 0 0 0 0 0 0 0
eth0:21: 45 0 0 0 0 0 0 0 0 0 0
eth0:22: 0 0 0 0 0 0 0 0 0 0 0
eth0:24: 40 0 0 0 0 0 0 0 0 0 0
eth0:25: 1884 0 0 0 0 0 0 0 0 0 0
ppp0: 1552 0 0 0 0 1337 0 0 0 0 0
ppp1: 875 0 0 0 0 716 0 0 0 0 0
isdn1: 24 0 0 0 0 34 0 0 0 0 0
isdn3: 0 0 0 0 0 0 0 0 0 0 0
isdn4: 0 0 0 0 0 0 0 0 0 0 0
isdn33: 0 0 0 0 0 0 0 0 0 0 0
isdn5: 0 0 0 0 0 0 0 0 0 0 0
isdn6: 0 0 0 0 0 0 0 0 0 0 0
isdn7: 30 0 0 0 0 24 0 0 0 0 0
isdn8: 20 0 0 0 0 19 0 0 0 0 0
ippp0: 0 0 0 0 0 0 0 0 0 0 0
ippp1: 0 0 0 0 0 0 0 0 0 0 0
ippp2: 0 0 0 0 0 0 0 0 0 0 0
ippp3: 0 0 0 0 0 0 0 0 0 0 0
ippp4: 0 0 0 0 0 0 0 0 0 0 0
isdn2: 23 0 0 0 0 24 0 0 0 0 0
isdn0: 266 0 0 0 0 273 1 0 0 0 0
central:~#
Script done on Wed Mar 11 20:26:04 1998

------------------------------------------------------------------------
Klaus Lichtenwalder, Dipl. Inform., PGP Key: email to key@Four11.com
Lichtenwalder@ACM.org http://www.wp.com/Klaus
K.Lichtenwalder@Computer.org fax: +49-89-91072699
Mausoberflaechen sind meistens pelzig -- Ricarda

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu