Linux-Hams archive - April 1999: Re: kernel 2.2.4 & xfbb7.00g26 Report....!!

Re: kernel 2.2.4 & xfbb7.00g26 Report....!!

Alexandre Fornieles (dxquh@isac-inc.com)
Sun, 04 Apr 1999 02:43:29 +0200


This is a multi-part message in MIME format.

--------------2CB14F79522CAC0C1BD0F4EF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Jose and everyone here,

I have attached my ax.25 startup script to give a better description of
the what the setup is here (sorry for the bandwith). This script doesn't
give any error message.

Jose R. Marte A. wrote:
>
> Here i have been compiled the kernel 2.2.4
>
> and the xfbb7.00g26 without problem not warning message to me

I personnaly didn't succeed with a 2.2.5 kernel and an updated system as
stated in linux/Documentation/Changes. It used to be a Slacware 3.3 but
it's been quite modified since that time. It's still libc-5.4.46. All of
this installed on a 100 Mhz Pentium with 32 Mb.

Here's the xfbb7.00g26 error :

cc -Wall -Wstrict-prototypes -O2 -g -funsigned-char -D__LINUX__
-DPROTOTYPES -I../include -I/usr/src/ax25-utils-2.1.42a/lib -c
xmodem.c -o xmodem.o
xmodem.c: In function `run_rzsz':
xmodem.c:699: `_NSIG' undeclared (first use this function)
xmodem.c:699: (Each undeclared identifier is reported only once
xmodem.c:699: for each function it appears in.)
make: *** [xmodem.o] Error 1

I have to keep using the 7.00g25 compiled under 2.0.36 and it's
sometimes doing a segmentation fault since under 2.2.5.

> net2kiss uses obsolete (PF_INET,SOCK_PACKET)
> protocol 0000 is buggy, dev ax0
> protocol 0000 is buggy, dev ax0
> protocol 0000 is buggy, dev ax0
> protocol 0000 is buggy, dev ax0
> protocol 0000 is buggy, dev ax1
> protocol 0000 is buggy, dev ax1
> protocol 0000 is buggy, dev ax1
> protocol 0000 is buggy, dev ax1
> packet sk destroy delayed
> protocol 0000 is buggy, dev ax1

I also get this kind of messages through syslog :

Apr 4 02:00:36 f5kow kernel: protocol 0000 is buggy, dev scc1
Apr 4 02:00:47 f5kow kernel: protocol 0000 is buggy, dev bcsf0
Apr 4 02:01:10 f5kow last message repeated 5 times
Apr 4 02:02:07 f5kow kernel: protocol 0000 is buggy, dev scc1
Apr 4 02:02:24 f5kow last message repeated 7 times
Apr 4 02:03:04 f5kow last message repeated 2 times
Apr 4 02:05:11 f5kow kernel: protocol 0000 is buggy, dev scc1
Apr 4 02:06:21 f5kow last message repeated 12 times
Apr 4 02:07:23 f5kow last message repeated 12 times
Apr 4 02:08:33 f5kow last message repeated 10 times

I also get these on the log and on /dev/console :

Apr 4 02:12:47 f5kow kernel: NET: 2 messages suppressed.
Apr 4 02:16:13 f5kow kernel: NET: 1 messages suppressed.
Apr 4 02:16:52 f5kow kernel: NET: 1 messages suppressed.
Apr 4 02:18:01 f5kow kernel: NET: 1 messages suppressed.
Apr 4 02:18:46 f5kow kernel: NET: 3 messages suppressed.

and as Jose reported, this also gets logged :

Apr 4 01:59:23 f5kow kernel: sethdlc uses obsolete
(PF_INET,SOCK_PACKET)

I can't personally say why all of this happen at my site but it will
probably be fixed with a new ax25-utils release...

What i would be glad to know is the tip to make 7.00g26 compile cleanly
here :-)

> 73's Jose (HI8GN)

Sorry again for the quite excessive length of this mail.

Alex.

-- 
Alexandre FORNIELES             |       EMail : namhn.hkevtphyu@newulmtel.net
Hossegor (40150)                |       AX.25 : F1CAY @
F5KOW.FAQI.FRA.EU
FRANCE                          |       UIN : 1519880

--------------2CB14F79522CAC0C1BD0F4EF Content-Type: text/plain; charset=iso-8859-1; name="rc.ax25" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="rc.ax25"

# !/bin/sh # /etc/rc.d/rc.ax25 #

# Configuration matérielle du Baycom # /bin/setserial /dev/ttyS2 uart none /usr/sbin/sethdlc -p -i bcsf0 mode "ser12*" io 0x3e8 irq 5 sethdlc -a -i bcsf0 txd 180 slot 100 ppersist 40/256 half

# Config matérielle de la USCC>8 # /usr/sbin/sccinit

# Déclaration du réseau interne (KISSNET : ax0 et Xnet) # /usr/sbin/kissnetd /dev/ptys0 /dev/ptys1 & sleep 1

# Démarrage de l'interface KISSNET pour XFBB et DxNet (ax0) # /usr/sbin/kissattach /dev/ttys0 local0

# Déclaration de l'interface KISS vers F1CAY (ax1) # #/usr/sbin/kissattach /dev/ttyS1 kiss #sleep 1

# Démarrage et configuration IP (bcsf0) # /sbin/ifconfig bcsf0 44.151.40.40 hw ax25 f5kow-10 arp \ netmask 255.0.0.0 up echo 0 > /proc/sys/net/ax25/bcsf0/backoff_type echo 1 > /proc/sys/net/ax25/bcsf0/ip_default_mode # 1=VC echo 1000 > /proc/sys/net/ax25/bcsf0/t1_timeout # FRACK #echo 800 > /proc/sys/net/ax25/bcsf0/t2_timeout # RESP time echo 200 > /proc/sys/net/ax25/bcsf0/t2_timeout echo 4 > /proc/sys/net/ax25/bcsf0/standard_window_size # MAXFRAME echo 90000 > /proc/sys/net/ax25/bcsf0/idle_timeout # TIMEOUT

# Démarrage et configuration IP (scc1) /sbin/ifconfig scc1 44.151.40.40 hw ax25 f5kow-11 arp \ netmask 255.0.0.0 up echo 0 > /proc/sys/net/ax25/scc1/backoff_type echo 1 > /proc/sys/net/ax25/scc1/ip_default_mode # 1=VC echo 1000 > /proc/sys/net/ax25/scc1/t1_timeout # FRACK echo 200 > /proc/sys/net/ax25/scc1/t2_timeout # RESP time echo 4 > /proc/sys/net/ax25/scc1/standard_window_size # MAXFRAME echo 90000 > /proc/sys/net/ax25/scc1/idle_timeout # TIMEOUT

# Démarrage et configuration IP (ax0) # /sbin/ifconfig ax0 44.151.40.40 hw ax25 f5kow-12 arp up echo 0 > /proc/sys/net/ax25/ax0/backoff_type echo 1 > /proc/sys/net/ax25/ax0/ip_default_mode echo 1000 > /proc/sys/net/ax25/ax0/t1_timeout echo 50 > /proc/sys/net/ax25/ax0/t2_timeout echo 4 > /proc/sys/net/ax25/ax0/standard_window_size

# Démarrage et configuration IP (ax1)

# Configuration de la liaison KISS du KISSNET # /usr/sbin/kissparms -p local0 -f y -l 0 -t 0

# Modifications des paramètres ARP pour les accès radio # #echo 6 > /proc/sys/net/ipv4/arp_max_tries # 6 requêtes ARP au max #echo 360000 > /proc/sys/net/ipv4/arp_timeout # ARP mémorisées pendant 1h #echo 800 > /proc/sys/net/ipv4/arp_res_time # Requêtes ARP ttes les 8 sec #echo 350000 > /proc/sys/net/ipv4/arp_check_interval # Test de l'entrée ARP

# Passage des interfaces kernel (bc0 et scc) en périphérique KISS # et lancement de Xnet # net2kiss -a -i bcsf0 /dev/ptyq0 & sleep 1 net2kiss -a -i scc1 /dev/ptyq1 & sleep 1 echo Starting Xnet cd /usr/local/xnet ./linuxnet </dev/tty9 >/dev/tty9 &

# Déclaration du routage IP # #/sbin/route add -net 44.0.0.0 mss 1500 window 3100 irtt 5000 bcsf0 /sbin/route add -net 44.0.0.0 netmask 255.0.0.0 mss 1500 window 3100 bcsf0 #/sbin/route add default mss 1500 window 3100 irtt 5000 bc0 #/sbin/route add -host 44.151.40.1 ax0

# Association Call/username # /usr/sbin/axparms -assoc f1cay alex /usr/sbin/axparms -assoc f1cay f1cay

# Lancement de FPAC # #echo Starting FPAC router #/usr/local/bin/fpac.sh

# Lancement des applications Haut niveau # #/usr/sbin/ax25rtd #/usr/sbin/mheardd

/usr/sbin/beacon -c F5KOW-3 -d "INFO" -t 20 users "<<< Cluster DxNet sous Linux >>>" & /usr/sbin/beacon -d "TCPIP" -t 20 users "Services TCP/IP sous GNU/Linux 2.22 : SMTP, IMAP/POP3, NNTP, HTTP, FTP, TELNET" &

echo Starting XFBB #/usr/local/fbb/xfbb.sh -d -a > /dev/null 2>&1 & /usr/local/fbb/xfbb.sh -d -a > /dev/tty7 2>&1 &

echo Starting DxNet #/usr/local/dxnet/dxnet.sh & #/usr/local/dxnet/dxnet.sh > /dev/null 2>&1 & #/usr/local/dxnet/dxnet.sh > /dev/tty8 2>&1 & /usr/local/dxnet/dxnet.sh -v > /dev/tty8 2>&1 &

--------------2CB14F79522CAC0C1BD0F4EF--