On going issue with the draw and RMS-Gateway


Mike Lussier - AE4ML
 


gateway is AE4ML-10

pi@UDRC-RMSGATEWAY:~/n7nix/ax25 $ ./ax25-showcfg.sh 
 
 === Display kissparms & ax25dev-parms
port: 0, speed: 1200, slottime: 200, txdelay: 500, txtail: 100, persist: 32, t1 timeout: 3000, t2 timeout: 1000
port: 1, speed: 9600, slottime:  10, txdelay: 150, txtail: 50, persist: 32, t1 timeout: 2000, t2 timeout:  100
 
 == kissparms from /etc/ax25/ax25-upd
        $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
            $KISSPARMS -p ${PORTNAME_2} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
        $KISSPARMS -p ${PORTNAME_1} -f no -l $TXTAIL -r $PERSIST -s $SLOTTIME -t $TXDELAY
 
 ===== ax.25 config
Found directory: /proc/sys/net/ax25/ax0
ax25_default_mode: 0
backoff_type: 0
connect_mode: 2
dama_slave_timeout: 180000
extended_window_size: 32
idle_timeout: 900000
ip_default_mode: 0
maximum_packet_length: 255
maximum_retry_count: 6
protocol: 0
standard_window_size: 2
t1_timeout: 3000
t2_timeout: 1000
t3_timeout: 300000
 
Found directory: /proc/sys/net/ax25/ax1
ax25_default_mode: 0
backoff_type: 0
connect_mode: 2
dama_slave_timeout: 180000
extended_window_size: 32
idle_timeout: 900000
ip_default_mode: 0
maximum_packet_length: 255
maximum_retry_count: 6
protocol: 0
standard_window_size: 2
t1_timeout: 2000
t2_timeout: 100
t3_timeout: 300000
 
 
 ==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]
 
 ======= DRAWS
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[0.00dB] R:[0.00dB]
PCM         L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
 
 ===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
 
 
===== Port baudrate
DireWolf: udr0 speed: 1200, udr1 speed: 1200
AX.25:    udr0 speed: 1200, udr1 speed: 9600
 
===== axports
udr0        AE4ML-10            9600    255     2       Winlink port
udr1        AE4ML-0             9600    255     2       Direwolf port
 
 ===== ax25d.conf
[AE4ML-10 VIA udr0]
NOCALL   * * * * * *  L
default  * * * * * *  - rmsgw /usr/local/bin/rmsgw rmsgw -P %d %U
#
[AE4ML VIA udr0]
NOCALL   * * * * * *  L
default  * * * * * *  - pi /usr/local/bin/wl2kax25d wl2kax25d -c %U -a %d
 
 ===== wl2k.conf
paclink-unix not configured.
 


Mike Lussier - AE4ML
 

gateway is AE4ML-10
users KD7PUF & AE4ML


Basil Gunn
 

I have been running into issues with this gateway,

The RF side is sound. good power out and hardly any thing noticeably
reflected. The draw is on a raspberry pi3B+. The radio is a TM-G707.
The setup is RMS Gateway. folks can connect and send a simple message
to one or two users. Even a lengthy message to one or two users. They
can't get a message via radio from a group of users i.e. Winlink
Wednesday.
Winlink Wednesday??
Send me the list of users in group 'Winlink Wednesday'

Send me the message that they are trying to send to my regular email.
How many members in the group of users? What Winlink client are they
using? Does the message fail for ALL users?
Probably should post this problem to the LinuxRMS group.

https://groups.io/g/LinuxRMS/topics

Turn on DEBUG for RMSGW by editing this file: /etc/rmsgw/gateway.conf
and setting the log mask.

LOGMASK=DEBUG

then reboot.

after you see the problem send me the /var/log/rms.debug file.

I need packet spy output of session (listen -a) for the failure case.

You also may have some dicey ax.25 parameters.
Run this script and send me the output.

ax25-showcfg.sh

What is the call sign of your RMS Gateway so I can check on the Winlink
site.

The message is loaded with recipients and fails to complete after
about a quarter to half of the way through the message. Another
message type that will fail is if you have any attachments to a
message. it doesn't matter inbound or outbound. The use of forms for
the most part work but I have seen failures there too.
If I run a bug report this is what I see. I have been digging into
log files and trying to figure this out without success. The end users
are a mix of windows users with winlink-express and linux users
running Pat.

pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./alsa-show.sh
==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]

======= DRAWS
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[0.00dB] R:[0.00dB]
PCM L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]

===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]

pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./buginfo.sh
=== Versions ===
== Kernel:
Linux UDRC-RMSGATEWAY 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux

== Firmware:
Nov 30 2020 22:13:46
Copyright (c) 2012 Broadcom
version ab1181cc0cb6df52bfae3b1d3fef0ce7c325166c (clean) (release) (start)

== Pi hardware:
Pi 3 Model B, Rev 1.2, Mfg by Stadium with WiFi
temp=45.1'C

== DRAWS hardware:
Product id: 0x0004, ver: 0x0108, Assembly rev: 1, fab rev: 8

=== Checks ===
== Codec driver check:
[ 6.906933] asoc-simple-card soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok

== DRAWS driver check:
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #1

== Boot 'fail' check:
[ 6.382118] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[412048.494286] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[412048.494297] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK

== GPS check:
Serial devices OK
gpsd OK

== /boot/config file
disable_overscan=1
[pi4]
dtoverlay=vc4-fkms-v3d
[all]
dtoverlay=
dtoverlay=draws,alsaname=udrc
force_turbo=1
dtparam=audio=on



Mike Lussier - AE4ML
 

I have been running into issues with this gateway, The RF side is sound. good power out and hardly any thing noticeably reflected.
The draw is on a raspberry pi3B+. The radio is a TM-G707.  The setup is RMS Gateway. 
folks can connect and send a simple message to one or two users. Even a lengthy message to one or two users. They can't get a message via radio from a group of users i.e. Winlink Wednesday. The message is loaded with recipients and fails to complete after about a quarter to half of the way through the message. Another message type that will fail is if you have any attachments to a message. it doesn't matter inbound or outbound. The use of forms for the most part work but I have seen failures there too. 
If I run a bug report this is what I see. 
I have been digging into log files and trying to figure this out without success. The end users are a mix of windows users with winlink-express and linux users running Pat. 

 pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./alsa-show.sh 
 ==== List All sound card device names (2)
card 0: Headphones [bcm2835 Headphones]
card 1: udrc [udrc]
 
 ======= DRAWS
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[0.00dB] R:[0.00dB]
PCM         L:[-2.00dB] R:[-2.00dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
 
 ===== ALSA Controls for Radio Receive =====
ADC Level L:[0.00dB] R:[0.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
 
pi@UDRC-RMSGATEWAY:~/n7nix/bin $ ./buginfo.sh 
=== Versions ===
== Kernel:
Linux UDRC-RMSGATEWAY 5.4.79-v7+ #1373 SMP Mon Nov 23 13:22:33 GMT 2020 armv7l GNU/Linux
 
== Firmware:
Nov 30 2020 22:13:46 
Copyright (c) 2012 Broadcom
version ab1181cc0cb6df52bfae3b1d3fef0ce7c325166c (clean) (release) (start)
 
== Pi hardware:
 Pi 3 Model B, Rev 1.2, Mfg by Stadium with WiFi
temp=45.1'C
 
== DRAWS hardware:
Product id: 0x0004, ver: 0x0108, Assembly rev: 1, fab rev: 8
 
=== Checks ===
== Codec driver check:
[    6.906933] asoc-simple-card soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
== DRAWS driver check:
udrc card number line: card 1: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #1
 
== Boot 'fail' check:
[    6.382118] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt failed with error -2
[412048.494286] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[412048.494297] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK
 
== GPS check:
Serial devices OK
gpsd OK
 
== /boot/config file
disable_overscan=1
[pi4]
dtoverlay=vc4-fkms-v3d
[all]
dtoverlay=
dtoverlay=draws,alsaname=udrc
force_turbo=1
dtparam=audio=on