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. #
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
Hello Don, Thanks for thinking with me, but if it was that simple I would not have bothered the list. I have been running AX.25 trough the kernel for about 3 years now, with an 2.0.36 kernel, so this is not a problem (I am even the author of the HAM packages on the SuSE CD). Anyway, even if I made a complete mess of it, it should never ever freeze the machine (unless wrong IO adresses and interrupts were configured which is not the case). I suspect that the AX.25 stuff for the 2.4 kernel is not okay yet. I applied the patch to the YAM modem module by OK1ZIA to get rid of the "kfree_skb on hard IRQ" and the "Bad boy" kernel messages. It did not solve the problem. I noted that it is not an FBB problem. I have some home-made tools to do reverse forwarding to fetch bulletins. These run for a while but eventually also hangs the system. It seems to occur upon closing the connection or closing the socket, at least I saw it 3 times lockup exactly at that point. Thanks to a suggestion by Jean-Paul ROUBELAT (F6FBB) I tried the 2.2.19 kernel packaged with SuSE (I did not realize one was there, I already started thinking about downgrading). This seems to run just fine. Both FBB and my home-made tool stays up. So at least this is a bypass for now and also its pritty sure this is a kernel problem and not something else. I just compiled the latest kernel 2.4.15-pre6 from www.kernel.org (first tried 2.4.14 but the loop device did not compile, so I patched it with the latest patch). This is a bleeding edge kernel now. I'm still fighting with it as the new kernel cannot find the reiserfs module at bootup (yes, it is there, but maybe in the wrong place...). Anyway, no results from that yet (changes to the AX.25 parts compared to SuSE's kernel are minimal, so I don't expect much). Kind regards, Henk. ----- Oorspronkelijk bericht ----- Van: Don Hawkins - W7DAH Aan: Henk de Groot ; suse-ham-e@suse.com Verzonden: zondag 18 november 2001 16:36 Onderwerp: Re: [suse-ham-e] SuSE 7.3 System crash with FBB Henk, Have you visited this resource: <http://www.linuxselfhelp.com/howtos/AX25/AX25-HOWTO.html> (Only thing I can offer just now, sorry)?
Hi again, ----- Original Message ----- From: "Henk de Groot" <henk.de.groot@hetnet.nl> To: <suse-ham-e@suse.com> Sent: Sunday, November 18, 2001 12:19 PM Subject: [suse-ham-e] SuSE 7.3 System crash with FBB
Hallo,
...
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.
... In another way, last versions of FBB (7.04g) now include a pop and news server. 73 !
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
----------------------------------------------------------------------- Jean-Paul ROUBELAT - F6FBB | Computers are like air-conditioners : Packet: F6FBB@F6FBB.FMLR.FRA.EU | they stop working properly as soon as Email : jpr@f6fbb.org | you open windows. WEB : http://www.f6fbb.org | -----------------------------------------------------------------------
Hello Jean-Paul, Van: "Jean-Paul ROUBELAT" <jpr@f6fbb.org>
In another way, last versions of FBB (7.04g) now include a pop and news server.
Okay, thanks for the information! I like however dedicated programs since I bet whatever you build in, it doesn't beat INN, sendmail, Apache, FTPd etc. I also fail to understand programs like TNOS that build in everything that is already present in the system - and is much better (and better supported) in the Linux system. But everybody takes what sutes him best. But maybe I will try it out when I have some time because it will make the setup simpler. Our local BBS is still using DOS and we want to go to Linux there too, so maybe we can deploy this functionaly for that. I'm now running my own compiled FBB 7.00g ("ported" to the new ax25 libs) with everything contained in /home/fbb (everthing runs under the fbb userid, only xfbbd is SUID to root). With the new version the files are all-over the place so I have to sit down and see it is worth the effort. First I have to get Xastir running again (latest development version). I now run on the 2.2.19 kernel since the afternoon and have had no lockups since. The mailgateway runs and I saw my first message send with "mutt" pass via sendmail to FBB and handed over to the local BBS. So thats good. I hope somebody will fix the AX.25 stuff in the 2.4.x kernel. Kind regards, Henk.
Hi again, ----- Original Message ----- From: "Henk de Groot" <henk.de.groot@hetnet.nl> To: "Jean-Paul ROUBELAT" <jpr@f6fbb.org>; <suse-ham-e@suse.com> Sent: Sunday, November 18, 2001 11:17 PM Subject: Re: [suse-ham-e] SuSE 7.3 System crash with FBB
Hello Jean-Paul,
Van: "Jean-Paul ROUBELAT" <jpr@f6fbb.org>
In another way, last versions of FBB (7.04g) now include a pop and news server.
Okay, thanks for the information! I like however dedicated programs since I bet whatever you build in, it doesn't beat INN, sendmail, Apache, FTPd etc. I also fail to understand programs like TNOS that build in everything that is already present in the system - and is much better (and better supported) in the Linux system. But everybody takes what sutes him best.
For sure, I dont't claim to be even 50% under these software, but this is a simple implementation of a pop3 server (with APOP authentication), a news server and a SMTP server. This has been designed only for local users as a "packet/local ip" gateway
But maybe I will try it out when I have some time because it will make the setup simpler. Our local BBS is still using DOS and we want to go to Linux there too, so maybe we can deploy this functionaly for that.
This is a good evolution...
I'm now running my own compiled FBB 7.00g ("ported" to the new ax25 libs) with everything contained in /home/fbb (everthing runs under the fbb userid, only xfbbd is SUID to root). With the new version the files are all-over the place so I have to sit down and see it is worth the effort. First I have to get Xastir running again (latest development version).
Yes, the versions after 7.0 are now following the installation rules and the files are "in their place". This is not realy easy at the beginning, but when anyone knows the linux organisation, it's OK.
I now run on the 2.2.19 kernel since the afternoon and have had no lockups since. The mailgateway runs and I saw my first message send with "mutt" pass via sendmail to FBB and handed over to the local BBS. So thats good. I hope somebody will fix the AX.25 stuff in the 2.4.x kernel.
I'm now running 2.2.20 since one week without any problem.
Kind regards,
Henk.
73 to everybody reading ! ----------------------------------------------------------------------- Jean-Paul ROUBELAT - F6FBB | Computers are like air-conditioners : Packet: F6FBB@F6FBB.FMLR.FRA.EU | they stop working properly as soon as Email : jpr@f6fbb.org | you open windows. WEB : http://www.f6fbb.org | -----------------------------------------------------------------------
Hi Again, Le Dimanche 18 Novembre 2001 23:17, Henk de Groot a écrit :
Hello Jean-Paul,
Van: "Jean-Paul ROUBELAT" <jpr@f6fbb.org>
I hope somebody will fix the AX.25 stuff in the 2.4.x kernel.
I know Joerg is working on this. I made some fixes in the rose layer of 2.2 kernel which are included in 2.2.20 but I must admit that I have few motivation (and many other things to do...). May be Joerg could tell us what is the actual level of his implementation for 2.4.x
Kind regards,
Henk.
73, ----------------------------------------------------------------------- Jean-Paul ROUBELAT - F6FBB | Computers are like air-conditioners : Packet: F6FBB@F6FBB.FMLR.FRA.EU | they stop working properly as soon as Email : jpr@f6fbb.org | you open windows. WEB : http://www.f6fbb.org | -----------------------------------------------------------------------
participants (3)
-
Don Hawkins - W7DAH
-
Henk de Groot
-
Jean-Paul ROUBELAT