Hello folks -
 I'm having a problem with netromd.
It's segfaulting into my /proc/net/nr_nodes.

My configuration:
RH 6.1
kernel 2.2.14
ax25-apps-0.0.4-1
libax25-0.0.7-1
libax25-devel-0.0.7-1
ax25-tools-0.0.5-1
node-0.3.0-1

The segfault and ax25/netrom startup scripts are below
Thanks for any help/advise provided.
73 de
-- 
Peter Grace             web:    http://www.gracefamily.net
KB1CVH                  email:  [EMAIL PROTECTED]
                        packet: [EMAIL PROTECTED]


This is what dmesg shows:
8   es: 0018   ss: 0018
Process netromd (pid: 1696, process nr: 43, stackpage=c09ed000)
Stack: bffff958 00000282 00000000 c292f650 c292f650 c48750dd 000089e2
bffff958 
       bffff958 c0130b4b c40ef620 00000015 00000001 c0131b48 00000000
c292f650 
       c292f650 bffffa08 c292f6ec c0ae3a40 00000000 c1d6aa40 c292f6ec
00000018 
Call Trace: [<c48750dd>] [<c0130b4b>] [<c0131b48>] [<c0130ce6>]
[<c014b1b1>] [<c014aa3b>] [<c487287e>] 
       [<c0110618>] [<c014b246>] [<c014af63>] [<c014bf87>] [<c012dfe3>]
[<c0108fc4>] 
Code: 66 ff 48 1a f7 40 18 00 ff ff ff 75 0c 83 c4 f4 50 e8 b4 fc 
Unable to handle kernel NULL pointer dereference at virtual address
0000001a
current->tss.cr3 = 01d2b000, %cr3 = 01d2b000
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c4874cca>]
EFLAGS: 00010246
eax: 00000000   ebx: c0e232a0   ecx: 000089e2   edx: 00000130
esi: 00000026   edi: c0e23240   ebp: ffffffe7   esp: c09ede8c
ds: 0018   es: 0018   ss: 0018


This is the script I use to start ax25 and netromd. I'm also having a
problem getting all
the arp entries to take for ip over netrom.

!/bin/bash

modprobe mkiss
echo "/usr/sbin/kissattach -i 44.56.20.25 /dev/radio radio"
/usr/sbin/kissattach /dev/radio radio 44.56.20.25
echo "/usr/sbin/kissparms -p radio -r 200 -s 30 -t 200"
/usr/sbin/kissparms -p radio -r 200 -s 30 -t 200
echo "/sbin/ifconfig ax0 44.56.20.25 netmask 255.0.0.0 \ broadcast
44.255.255.255 arp mtu 256 up"
#
/usr/bin/listen -a -p radio > /dev/tty11 &
echo $! > /var/run/listen.pid
# start mheardd
echo "/usr/sbin/mheardd -n 100"
/usr/sbin/mheardd -n 100

# start netrom
echo "/usr/sbin/nrattach -i 44.56.20.25 -m 512 netrom"
/usr/sbin/nrattach -i 44.56.20.25 -m 256 netrom
#added next two lines 1-25-00
#echo "route add -host kb1cvh.ampr.org mss 256 window 944 irtt 5000 ax0"
# route add -host kb1cvh.ampr.org mss 256 window 944 irtt 5000 ax0
# end added lines
echo "route add 44.56.20.25 mss 256 window 944 irtt 5000 nr0"
route add 44.56.20.25 mss 256 window 944 irtt 5000 nr0
/usr/sbin/ax25d
/usr/sbin/netromd -i -t 60
axparms -assoc kb1cvh pgrace

#tcpip routing
echo "route add 44.56.17.34 nr0"
route add 44.56.17.34 nr0
echo "route add 44.56.26.34 nr0"
route add 44.56.26.4 gw 44.56.17.34 nr0

# arp entries for tcpip
#arp -s 44.56.17.34 K1CF-1 -H netrom
#arp -s 44.56.20.1 W1UU-5 -H netrom
#arp -s 44.56.17.1 WG1I-6 -H netrom
#arp -s 44.56.26.4 N1UAN-2 -H netrom
#arp -s 44.56.26.1 N1UAN-2 -H netrom
#arp -s 44.104.6.1 KA1RCI-8 -H netrom
#arp -s 44.56.17.9 WG1I-10 -H netrom
#arp -s 44.56.10.147 W3KI-5 -H netrom
#arp -s 44.56.20.2 W1UU-2 -H netrom
#arp -s 44.56.17.14 KA1TUZ-3 -H netrom
#arp -s 44.56.17.15 KA1TUZ-1 -H netrom
#arp -s 44.56.10.128 WA1YKN-8 -H netrom
#arp -s 44.104.0.128 KA1RCI-8 -H netrom
#arp -s 44.56.16.68 NS1N-1 -H netrom
#arp -s 44.56.4.1 WA1PHY-6 -H netrom
#arp -s 44.56.17.4 WG1I-5 -H netrom
#arp -s 44.56.17.3 WG1I-4 -H netrom
#arp -s 44.56.17.3 WG1I-3 -H netrom
#arp -s 44.2.1.2 KO6RI-* -H netrom

arp -t netrom -s 44.56.17.34 K1CF-1 -H netrom
arp -t netrom -s 44.56.20.1 W1UU-5 -H netrom
arp -t netrom -s 44.56.17.1 WG1I-6 -H netrom
arp -t netrom -s 44.56.26.4 N1UAN-2 -H netrom
arp -t netrom -s 44.56.26.1 N1UAN-2 -H netrom
arp -t netrom -s 44.104.6.1 KA1RCI-8 -H netrom
arp -t netrom -s 44.56.17.9 WG1I-10 -H netrom
arp -t netrom -s 44.56.10.147 W3KI-5 -H netrom
arp -t netrom -s 44.56.20.2 W1UU-2 -H netrom
arp -t netrom -s 44.56.17.14 KA1TUZ-3 -H netrom
arp -t netrom -s 44.56.17.15 KA1TUZ-1 -H netrom
arp -t netrom -s 44.56.10.128 WA1YKN-8 -H netrom
arp -t netrom -s 44.104.0.128 KA1RCI-8 -H netrom
arp -t netrom -s 44.56.16.68 NS1N-1 -H netrom
arp -t netrom -s 44.56.4.1 WA1PHY-6 -H netrom
arp -t netrom -s 44.56.17.4 WG1I-5 -H netrom
arp -t netrom -s 44.56.17.3 WG1I-4 -H netrom
arp -t netrom -s 44.56.17.3 WG1I-3 -H netrom
arp -t netrom -s 44.2.1.2 KO6RI-* -H netrom
arp -t netrom -s 44.56.20.2 W1UU-2 -H netrom
arp -t netrom -s 44.56.17.14 KA1TUZ-3 -H netrom
arp -t netrom -s 44.56.17.15 KA1TUZ-1 -H netrom
arp -t netrom -s 44.56.10.128 WA1YKN-8 -H netrom
arp -t netrom -s 44.104.0.128 KA1RCI-8 -H netrom
arp -t netrom -s 44.56.16.68 NS1N-1 -H netrom
arp -t netrom -s 44.56.4.1 WA1PHY-6 -H netrom
arp -t netrom -s 44.56.17.4 WG1I-5 -H netrom
arp -t netrom -s 44.56.17.3 WG1I-4 -H netrom
arp -t netrom -s 44.56.17.3 WG1I-3 -H netrom
arp -t netrom -s 44.2.1.2 KO6RI-* -H netrom


# netrom routing
#echo "/usr/sbin/nrparms -nodes K1CF-1 + ARLNG1 120 6 radio K1CF-1"
#/usr/sbin/nrparms -nodes K1CF-1 + ARLNG1 120 6 radio K1CF-1
#echo "/usr/sbin/nrparms -nodes KA1TUZ-1 + NEWTN1 120 6 radio K1CF-1"
#/usr/sbin/nrparms -nodes KA1TUZ + NEWTN1 120 6 radio K1CF-1
#echo "/usr/sbin/nrparms -nodes N1UAN-5 + WALTHM 120 6 radio K1CF-1"
#/usr/sbin/nrparms -nodes N1UAN-5 + WALTHM 120 6 radio K1CF-1
/etc/ax25/nodesave.sh

/usr/sbin/ax25rtd

Nodesave.sh is:

#! /bin/sh
#
# Locked routes:
#
#
# Nodes:
#
/usr/sbin/nrparms -nodes K1CF-1  + ARLNG1 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes K1UGM   + BBSUGM 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes W1ON-6  + IPBED 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes K1TR-10  + WNDHM 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes KA1TUZ-1  + BBSTUZ 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes N1UAN-5  + WALTHM 192 6 radio K1CF-1
/usr/sbin/nrparms -nodes N1YRL-5  + #L0PHT 192 6 radio N1YRL-5
/usr/sbin/nrparms -nodes N1YRL-4  + L0PHT  191 6 radio N1YRL-5
/usr/sbin/nrparms -nodes W1RK-4  + CPEAN4  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes WB1DSW-5  + KNGSTN  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes WZ1L-5  + POWOW  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes W1ON-5  + BBSBED  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes WB1DSW-2  + EKINGS  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes N1CSI-1  + MBOS1  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes W1ON  + BBSON  191 6 radio K1CF-1
/usr/sbin/nrparms -nodes MBOS9  + N1CSI-9  191 6 radio K1CF-1

Reply via email to