Henk,
 
Have you visited this resource:
<http://www.linuxselfhelp.com/howtos/AX25/AX25-HOWTO.html>
(Only thing I can offer just now, sorry)?
 
73, Don - W7DAH
 
----- Original Message -----
From: Henk de Groot
To: suse-ham-e@suse.com
Sent: Sunday, November 18, 2001 3:19 AM
Subject: [suse-ham-e] SuSE 7.3 System crash with FBB

Hallo,

I have a big problem to get FBB running on my brand new SuSE 7.3. I used to
run RedHat 5.2 for years without problems.

When I start FBB my system completely crashes. Yes, the system - the
complete PC hangs itself. Nothing responds and not even an Oops appears. I
can not change between virtual consoles (outside X) and the only thing that
is "moving" is a blinking caps-lock light.

I have 2 modems on my system, a BayCom for APRS use and a YAM 9k6 which is
used by FBB. Using "call" I can connect to the local BBS via the YAM modem,
and on the BayCom I can see traffic. I have to use the full-duplex driver, I
still have to sort out why.

Furthermore there is an ax25-loopback to simulate access over the air
towards FBB. I used the FBB supplied with SuSE but because that crashed I
also compiled my own. The one I compliled was the very same version that had
ran for years on RH 5.2 (only small patches to make it work with the new
utils).

FBB is not using the baycom. Not stating up BayCom doesn't make a
difference, and even when I only use the loopback ond have switched off the
YAM modem the crash will occur, albeit it takes a little longer. When I
disable all kernel-AX25 interfaces FBB stays up, but that's pritty useless
:-(.

I hope somebody can help me, I use FBB as intermediate program between
eMail/News and the local BBS. The local FBB does the forwarding and
reception and MailGW passes it to sendmail and INN.

Kind regards,

Henk.

Here are the details of my setup:

(sorry, formatting may be ugly, MS LookOut does not expand tabs
to 8 spaces)

----------------------------------------------------------------
Machine: Compaq Presario Laptop 12LX302 (1200 series), 64 MB mem
         Celeron 600 MHz (Intel)
Kernel: 2.4.10-4GB (SuSE standard kernel of 7.3)
ax25apps-0.0.5-66
ax25tool-0.0.6-179
libax25-0.0.7-280
FBB version 7.04 (supplied with SuSE) and own compiled FBB 7.00g

/etc/ax25/axports file:
----------------------------------------------------------------
## /etc/ax25/axports
##
## The format of this file is:
##
## name callsign speed paclen window description
##
#1 OH2BNS-1 1200 255 2 144.675 MHz (1200  bps)
#2 OH2BNS-9 38400 255 7 TNOS/Linux  (38400 bps)
#
# name  callsign         speed    packlen  window  description
1k2     PE1DNN-10        9600     250      4       BayCom
9k6     PE1DNN-9         9600     250      4       YAM
lapp    PE1DNN-8         0        250      4       Entry for application
lfbb    PE1DNN-7         0        250      4       Entry for fbb
----------------------------------------------------------------

Start script ax25_loopback (for /etc/init.d):
----------------------------------------------------------------
#! /bin/sh
#
# init.d/ax25_loopback
#
# System startup script for the AX25 loopback
#
### BEGIN INIT INFO
# Provides: ax25_loopback
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 4 6
# Description: Starts the AX.25 loopback at boot-time
### END INIT INFO

# Source SuSE config
. /etc/rc.config

# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}

# Force execution if not called by a runlevel directory.
test $link = $base && START_AX25_LOOPBACK=yes
test "$START_AX25_LOOPBACK" = yes || exit 0

# Look if the module is present
MKISS_BIN=/lib/modules/`uname -r`/kernel/drivers/net/hamradio/mkiss.o
test -f $MKISS_BIN || exit 5

# Shell functions sourced from /etc/rc.status:
#      rc_check         check and set local and overall rc status
#      rc_status        check and set local and overall rc status
#      rc_status -v     ditto but be verbose in local rc status
#      rc_status -v -r  ditto and clear the local rc status
#      rc_failed        set local and overall rc status to failed
#      rc_reset         clear local rc status (overall remains)
#      rc_exit          exit appropriate to overall rc status
. /etc/rc.status

# First reset status of this service
rc_reset

# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - misc error
# 2 - invalid or excess args
# 3 - unimplemented feature (e.g. reload)
# 4 - insufficient privilege
# 5 - program not installed
# 6 - program not configured
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.

case "$1" in
    start)
 echo -n "Starting AX.25 loopback"
 # Check if AX25 loopback is already active
 if [ ! -d /proc/sys/net/ax25/ax0 ]; then
     echo
            modprobe mkiss
            /usr/sbin/kissnetd /dev/ptyq1 /dev/ptyq2 &
            #/usr/sbin/kissnetd /dev/ptyq1 /dev/ptyq2 /dev/ptyq3 &
            sleep 4
            /usr/sbin/kissattach /dev/ttyq1 -l lfbb 10.0.0.1
            /usr/sbin/kissattach /dev/ttyq2 -l lapp 10.0.0.2

     /sbin/ifconfig ax0 10.0.0.1 netmask 255.255.255.255 \
                           mtu 256 hw ax25 PE1DNN-7 up
     /sbin/ifconfig ax1 10.0.0.2 netmask 255.255.255.255 \
                           mtu 256 hw ax25 PE1DNN-8 up
 fi

 # Remember status and be verbose
 rc_status -v
 ;;
    stop)
 echo -n "Shutting down AX.25 loopback"
 if [ -d /proc/sys/net/ax25/ax0 ]; then
            kill `ps ax | grep kissattach | grep lfbb | gawk '{ print $1 }'`
            kill `ps ax | grep kissattach | grep lapp | gawk '{ print $1 }'`
            kill `ps ax | grep kissnetd | grep -v grep | gawk '{ print
$1 }'`
            rmmod mkiss > /dev/null
 fi
 ;;
    try-restart)
 ## Stop the service and if this succeeds (i.e. the
 ## service was running before), start it again.
 $0 stop  &&  $0 start

 # Remember status and be quiet
 rc_status
 ;;
    restart)
 ## Stop the service and regardless of whether it was
 ## running or not, start it again.
 $0 stop
 $0 start

 # Remember status and be quiet
 rc_status
 ;;
    force-reload)
 ## Signal the daemon to reload its config. Most daemons
 ## do this on signal 1 (SIGHUP).
 ## If it does not support it, restart.

 echo -n "Reloading AX.25 loopback"
 $0 stop
        $0 start

 rc_status
 ;;
    reload)
 ## Like force-reload, but if daemon does not support
 ## signalling, do nothing (!)

 # If it does not support reload:
 exit 3
 ;;
    status)
 echo -n "Checking for AX.25 loopback: "
 if [ -d /proc/sys/net/ax25/ax0 ]; then
     echo "OK"
            exit 0
 else
     echo "Module not loaded"
            exit 5
 fi
 #rc_status
 ;;
    probe)
 ## Optional: Probe for the necessity of a reload,
 ## give out the argument which is required for a reload.

 # no need to reload here...
 ;;
    *)
 echo "Usage: $0
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
 exit 1
 ;;
esac
rc_exit
----------------------------------------------------------------

Start script yam modem (for /etc/init.d):
----------------------------------------------------------------
#! /bin/sh
#
# init.d/yam
#
# System startup script for the YAM modem
#
### BEGIN INIT INFO
# Provides: yam
# Required-Start: baycom $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 4 6
# Description: Starts the YAM modem at boot-time
### END INIT INFO

# Source SuSE config
. /etc/rc.config

# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}

# Force execution if not called by a runlevel directory.
test $link = $base && START_YAM=yes
test "$START_YAM" = yes || exit 0

# Look if the module is present
YAM_BIN=/lib/modules/`uname -r`/kernel/drivers/net/hamradio/yam.o
test -f $YAM_BIN || exit 5

# Shell functions sourced from /etc/rc.status:
#      rc_check         check and set local and overall rc status
#      rc_status        check and set local and overall rc status
#      rc_status -v     ditto but be verbose in local rc status
#      rc_status -v -r  ditto and clear the local rc status
#      rc_failed        set local and overall rc status to failed
#      rc_reset         clear local rc status (overall remains)
#      rc_exit          exit appropriate to overall rc status
. /etc/rc.status

# First reset status of this service
rc_reset

# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - misc error
# 2 - invalid or excess args
# 3 - unimplemented feature (e.g. reload)
# 4 - insufficient privilege
# 5 - program not installed
# 6 - program not configured
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.

case "$1" in
    start)
 echo -n "Starting YAM modem support"
 # Check if yam is already loaded
 if [ ! -d /proc/sys/net/ax25/yam0 ]; then
     setserial /dev/ttyS2 uart none
     modprobe yam

     /usr/sbin/yamcfg yam0 iobase 0x3e8 irq 3 txdelay 250 txtail 20 persist
255

     /sbin/ifconfig yam0 44.137.46.75 netmask 255.255.255.255 \
                           mtu 256 hw ax25 PE1DNN-9 up

     # Use /etc/rc.d/init.d/hamroute to fix routes

     if [ -d /proc/sys/net/ax25/yam0 ]; then
  echo 0    > /proc/sys/net/ax25/yam0/ax25_default_mode
  #echo 1    > /proc/sys/net/ax25/yam0/ax25_default_mode
  echo 0    > /proc/sys/net/ax25/yam0/backoff_type
  echo 2    > /proc/sys/net/ax25/yam0/connect_mode
  echo 4    > /proc/sys/net/ax25/yam0/extended_window_size
  echo 0    > /proc/sys/net/ax25/yam0/idle_timeout
  echo 1    > /proc/sys/net/ax25/yam0/ip_default_mode
  echo 256  > /proc/sys/net/ax25/yam0/maximum_packet_length
  echo 30   > /proc/sys/net/ax25/yam0/maximum_retry_count
  echo 4    > /proc/sys/net/ax25/yam0/standard_window_size
  echo 100  > /proc/sys/net/ax25/yam0/t1_timeout
  echo 100  > /proc/sys/net/ax25/yam0/t2_timeout
  echo 3000 > /proc/sys/net/ax25/yam0/t3_timeout
     fi
 fi

 # Remember status and be verbose
 rc_status -v
 ;;
    stop)
 echo "Shutting down YAM modem support"
 if [ -d /proc/sys/net/ax25/yam0 ]; then
     /sbin/ifconfig yam0 down
     rmmod yam
     setserial /dev/ttyS2 uart 16550A
 fi
 ;;
    try-restart)
 ## Stop the service and if this succeeds (i.e. the
 ## service was running before), start it again.
 $0 stop  &&  $0 start

 # Remember status and be quiet
 rc_status
 ;;
    restart)
 ## Stop the service and regardless of whether it was
 ## running or not, start it again.
 $0 stop
 $0 start

 # Remember status and be quiet
 rc_status
 ;;
    force-reload)
 ## Signal the daemon to reload its config. Most daemons
 ## do this on signal 1 (SIGHUP).
 ## If it does not support it, restart.

 echo -n "Reloading YAM modem support"
 $0 stop
        $0 start

 rc_status
 ;;
    reload)
 ## Like force-reload, but if daemon does not support
 ## signalling, do nothing (!)

 # If it does not support reload:
 exit 3
 ;;
    status)
 echo -n "Checking for YAM modem: "
 if [ -d /proc/sys/net/ax25/yam0 ]; then
     echo "OK"
            exit 0
 else
     echo "Module not loaded"
            exit 5
 fi
 #rc_status
 ;;
    probe)
 ## Optional: Probe for the necessity of a reload,
 ## give out the argument which is required for a reload.

 # no need to reload here...
 ;;
    *)
 echo "Usage: $0
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
 exit 1
 ;;
esac
rc_exit

exit 0
----------------------------------------------------------------

FBB Port.sys file:
----------------------------------------------------------------
# FBB7.00
#
#
#Ports TNCs
 2     2
#
# Interface 9 = LINUX
#
#Com Interface Adress (Hex) Baud
 1   9         ****         9600
 2   9         ****         38400
#
# MultCh  : Name of the Linux port taken from /etc/ax25/axports
# Maxframe: The maximum nb of frames the TNC will send at a time.
# NbFwd   : Number of channels for OUTGOING forward at same time.
# MxBloc  : Size of forward-block in kb.
#
# M/P-Fwd : Minute of the hour for start of forward, and period
#           (how many minutes between each forward-start).
# Mode    : One of these:
#           B : BBS-mode.
#           G : "Guest"-mode.
#           U : Normal-mode.
# Type host-mode, one of these:
#           D : WA8DED
#           K : KAM hostmode.
#           M : Telephone-modem.
#           P : PK-232
#           Q : BPQ v 4.x
#           X : LINUX kernel interface
# Addition: One of these letters can be used too:
#           L : Send unproto beacon after each arriving mail.
#           Y : Yapp allowed on this QRG.
#           W : Gateway allowed TO this QRG.
#           R : Read-Only acces.
# Freq.   : Text to describe this port (max 9 characters, no space)
# Same number of lines as number of TNCs.
#
#TNC NbCh Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode  Freq
 0   0    0   0      0     0     0     0      00/01   ----  File-fwd.
 1   8    1   9k6    250   3     1     10     05/20   XUWY  Radio
 2   8    2   lfbb   250   3     1     10     00/10   XUWYL Loopback
#
# End of file.
#




--
To unsubscribe, e-mail: suse-ham-e-unsubscribe@suse.com
For additional commands, e-mail: suse-ham-e-help@suse.com