Re: Two ax25 driver-level problems -- help?

From: John Ackermann (terhi.victor@logonet.com)
Date: Thu Jan 04 2001 - 14:53:18 EET

  • Next message: Tomi Manninen OH2BNS: "Re: ax.25 and broadcast/multicast"

    > Hi John,
    >
    > On Tue, 2 Jan 2001, John Ackermann wrote:
    > > However, I get a stream of messages to the console saying "ax1:
    > > transmit timed out, driver problem?". I also get the same message for
    > > ax2. ax1 is the master side of the pty. Another data point is that if
    > > I "ifconfig ax1 down" and then bring it back up, the error messages
    > > seem to stop. Any ideas what's causing this?
    >
    > Which kernel version are u using?

    2.2.17 on a Debian 2.2 system, with the latest ax.25 tools, etc.

    >
    > > The second problem relates to the dmascc driver which is running an
    > > Ottawa PI card. In ifconfig's output I'm seeing a lot of RX frame
    > > errors -- about 1/3 of the total number of RX packets shown. What does
    > > the "frame" error signify? Could it be a sign of either TXD or TXtail
    > > being too short on one of the stations being heard, such that the flags
    > > are being cut off? I didn't notice this error with the old
    > > motherboard, but that may just be a coincidence.
    >
    > I can't see how you can get be getting frame errors as the driver does
    > count them (in 2.4.x)?!?! mmm, maybe dmascc needs an audit...
    >
    > What does the output of ifconfig look like?

    jra@mvfma:~$ /sbin/ifconfig dmascc0
    dmascc0 Link encap:AMPR AX.25 HWaddr W8APR-12
              inet addr:44.71.36.130 Mask:255.255.255.128
              UP RUNNING MTU:256 Metric:1
              RX packets:21682 errors:6437 dropped:0 overruns:0 frame:6437
              TX packets:14159 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:64
              Interrupt:5 Base address:0x380 DMA chan:3

    > What parameters are u using?

    I'm using the PI card in internally clocked mode at 19.2kbps:

    /usr/sbin/dmascc_cfg dmascc0 --speed 614400 --nrzi 1 --clocks 0x78 \
            --sqdelay 3 --txdelay 50 --persist 32 --slottime 50 --dma 3
    /bin/sleep 1
    /sbin/ifconfig dmascc0 44.71.36.130 hw ax25 w8apr-12
    /sbin/ifconfig dmascc0 broadcast 44.71.36.255 netmask 255.255.255.128
    /sbin/ifconfig dmascc0 arp mtu 256 up
    /sbin/route add -net 44.71.36.128 irtt 1500 mss 216 window 256 dmascc0

    73,
    John

    -- 
    John Ackermann   N8UR
    Dayton, Ohio, USA
    qixwnz@blg.ch --  http://www.febo.com
    

    -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3a

    mQBtAzgI9hgAAAEDAMiMQDZTVVuVIS0AscJ0Wy63oK4+Q5xvtxbX/ZoG1qCOuYDI Fph4/RqL9vVEItWBy6ISk+zbkATzPgy84nrI7+GBtld4F9DoHWARQXjC1I8cFZjY TSe16ffqO/ba1ukLnQAFEbQlSm9obiBSLiBBY2tlcm1hbm4gTjhVUiA8anJhQGZl Ym8uY29tPokAdQMFEDgI9hjqO/ba1ukLnQEBtYIC/AxJ2RqT0/9TqY8JGEkPx2sw +W5Z6Tu4UI654t9diGdCcIEPjOG1qUvwH2Xop0Yj9QGoM4NnHIw6qUSN5VH7hHKA bGnpuTxinuW/gKaI3bt2MC8QZZq0gy2de26907lE2A== =UHWl -----END PGP PUBLIC KEY BLOCK-----

    - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to epsthygn.njivlam@andernetas.lt



    This archive was generated by hypermail 2b30 : Thu Jan 04 2001 - 14:54:40 EET