linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mkiss problem
@ 2003-06-23  0:17 Ray Wells
  2003-06-23  1:00 ` Thomas Osterried
  0 siblings, 1 reply; 2+ messages in thread
From: Ray Wells @ 2003-06-23  0:17 UTC (permalink / raw)
  To: linux-hams

Hi All,

I intermittently get the following message from mkiss ....

mkiss: ax1: truncating oversized transmit packet!

Usually when this happens I have to reboot the system to restore the port to
a working condition, but sometimes, like right now, the port keeps working
ok. Being a HF port makes it impossible to monitor what is "really"
happening on another radio. 

I'm not sure of what information I should include here so I'll post what I
think might be relevant.

The machine is a Pentium 166 with 32M RAM running Debian 2.2.r0 with kernel
2.2.20 running xfbb (7.04h) and fpac (3.25).

There are nine ports: four using a Baycom USCC>4 card (but the 9k6 port is
not in service), two using TNC's with KISS-only EPROM's, one axip link on my
LAN, and two loopback between the bbs and the node. The BBS has a Telnet
port configured.

The offending port, ax1, is used on 40m with a paclen of 64, if that
information is relevant. My scc1, 30m port also has paclen 64 configured.
All other ports are configured for paclen 250.

Here is my /etc/init.d/ax25 file, with non-essential garbage removed.

#!/bin/sh
#
# This is /etc/init.d/ax25
test -f /usr/sbin/ax25d || exit 0


      # Configure serial ports
      #echo "Configuring serial ports"
      /bin/setserial -v /dev/ttyS0 irq 4
      /bin/setserial -v /dev/ttyS1 irq 3
        # AX25
      echo "AX25: starting interfaces ..."
        #
        echo "Starting sccinit"
      /sbin/sccinit
      #
      # configure the scc0/local device
      /sbin/ifconfig scc0 44.136.56.25 hw ax25 KEMPC-13
      /sbin/ifconfig scc0 netmask 255.255.255.0 broadcast 44.136.56.255 arp
      # configure the scc1/30m device
      /sbin/ifconfig scc1 44.136.56.25 hw ax25 KEMPC-12
      /sbin/ifconfig scc1 netmask 255.255.255.0 broadcast 44.136.56.255 arp
      #
      # configure the scc2/70cm device
      /sbin/ifconfig scc2 44.136.56.25 hw ax25 KEMPC-11
      /sbin/ifconfig scc2 netmask 255.255.255.0 broadcast 44.136.56.255 arp
      #
      #configure the scc3/9k6 device
      /sbin/ifconfig scc3 44.136.56.25 hw ax25 KEMPC-10
      /sbin/ifconfig scc3 netmask 255.255.255.0 broadcast 44.136.56.255 arp
      #
        # configure the ax0/7550 device
        #
      echo -n " 7550 "
      /usr/sbin/kissattach  /dev/ttyS0 7550 44.136.56.25
        /sbin/ifconfig ax0 44.136.56.25 netmask 255.255.255.0 broadcast 44
136.56.255 arp
      #
        #
      echo -n " 40m "
      /usr/sbin/kissattach  /dev/ttyS1 40m 44.136.56.25 -m 64
      /sbin/ifconfig ax1 44.136.56.25 netmask 255.255.255.0 broadcast 44.136
56.255 arp
      #
        # configure axip
      /usr/sbin/kissattach /dev/ptyqf axip 44.136.56.25
      sleep 2
      /sbin/ifconfig ax2 44.136.56.25 netmask 255.255.255.0 broadcast 44.136
56.255 arp     
      #
      # configure loopback ports
      /usr/sbin/kissnetd /dev/ptyq1 /dev/ptyq2 &
      sleep 4
      #
      /usr/sbin/kissattach /dev/ttyq1 bbs 10.0.0.1
      /usr/sbin/kissattach /dev/ttyq2 node 10.0.0.2
      #
      /sbin/ifconfig ax3 10.0.0.1 netmask 255.255.255.255 hw ax25 KEMPC-6
      /sbin/ifconfig ax4 10.0.0.2 netmask 255.255.255.255 hw ax25 KEMPC-5
      #
        # configure the netrom devices
        #
      echo "... configuring 'netrom'"
      /usr/sbin/nrattach -i 44.136.56.25 -m 236 netrom
        #
        # configure the rose device
        #
      echo "... configuring 'rose'"
      /usr/sbin/rsattach -i 44.136.56.25 rose
      #
 
      /bin/netstat -rn  
      #
      #
      echo "Setting KISS parameters for 7550"
      /usr/sbin/kissparms -p 7550 -r 125
      /usr/sbin/kissparms -p 7550 -t 400
      /usr/sbin/kissparms -p 7550 -s 20
      /usr/sbin/kissparms -p 7550 -f n
      /usr/sbin/kissparms -p 7550 -l 40
      #
        #
        echo "Setting KISS parameters for 40m"
      /usr/sbin/kissparms -p 40m  -r 64
      /usr/sbin/kissparms -p 40m  -t 400
      /usr/sbin/kissparms -p 40m  -s 20
      /usr/sbin/kissparms -p 40m  -f n
        /usr/sbin/kissparms -p 40m  -l 200
      echo -n "Starting AX25 and NetRom networking daemons: "
      echo -n " ax25d"
      /usr/sbin/ax25d &
      echo -n " netromd"
      /usr/sbin/netromd -t 30 -i &
      echo -n "   Starting axip daemon"
      /usr/sbin/ax25ipd
      echo -n " mheardd"
      /usr/sbin/mheardd &
        
      /usr/sbin/rxecho
      
      echo -n "   Starting Ethernet"
      ifconfig eth0 44.136.56.95
      
           #
      echo "Setting AX25 parameters"
      /usr/sbin/axsetparms
      #
      echo "Starting FPAC daemon"
      /usr/local/fpac/fpac.sh
      sleep 2
      #                 
      #
        echo -n "Starting Xfbb daemon"
        /usr/sbin/fbb &
          

Does anyone have some thoughts on this problem?

Regards

Ray Wells VK2TV

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mkiss problem
  2003-06-23  0:17 mkiss problem Ray Wells
@ 2003-06-23  1:00 ` Thomas Osterried
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Osterried @ 2003-06-23  1:00 UTC (permalink / raw)
  To: Ray Wells; +Cc: linux-hams

> mkiss: ax1: truncating oversized transmit packet!
> Usually when this happens I have to reboot the system to restore the port to
> a working condition, [..]

seen this too.
with 6pack. very seldomly.
if this happens, ifconfig sp0 showed very strange statistics.

i assume there was an overflow, writing data to to the struct (and
thought it was caused by my 6pack enhencements for my pr430 xmitter).

> I'm not sure of what information I should include here so I'll post what I
> think might be relevant.

do you see a chance to reproduce it?

> The machine is a Pentium 166 with 32M RAM running Debian 2.2.r0 with kernel
> 2.2.20 running xfbb (7.04h) and fpac (3.25).

debian woody, p233, 64MB ram, kernel 2.4.18 run here (my notebook).

73,
	- thomas  dl9sau


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-23  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23  0:17 mkiss problem Ray Wells
2003-06-23  1:00 ` Thomas Osterried

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).