Topics

Draws fails to start


Tim Huffaker
 

I cannot get Direwolf to start with the latest image I downloaded today. Sorry the server stopped and I cannot get the version.
I tried to start direwolf shown below with the ax25 command.  I first tried using the x25 icon on the desktop and that failed so I put the command in directly.

I would like to get it working soon since I need it for an event in the morning so I hope this can help get it working.  

Start here for the error.   

root@raspberrypi:/home/pi/bin# ./ax25-start
 
STARTING AX.25/Direwolf: port 0: 1200 & port1: 1200 baud modems.
Starting: direwolf.service
Starting: ax25dev.path
Starting: ax25dev.service
Job for ax25dev.service failed because the control process exited with error code.
See "systemctl status ax25dev.service" and "journalctl -xe" for details.
Problem starting ax25dev.service
● ax25dev.service - AX.25 device
   Loaded: loaded (/etc/systemd/system/ax25dev.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-09-18 14:07:36 CDT; 32ms ago
  Process: 2944 ExecStart=/bin/bash -c /etc/ax25/ax25-upd (code=exited, status=1/FAILURE)
 Main PID: 2944 (code=exited, status=1/FAILURE)
 
Sep 18 14:07:36 raspberrypi systemd[1]: Starting AX.25 device...
Sep 18 14:07:36 raspberrypi bash[2944]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Sep 18 14:07:36 raspberrypi bash[2944]: Direwolf serial port NOT FOUND
Sep 18 14:07:36 raspberrypi systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
Sep 18 14:07:36 raspberrypi systemd[1]: ax25dev.service: Failed with result 'exit-code'.
Sep 18 14:07:36 raspberrypi systemd[1]: Failed to start AX.25 device.
root@raspberrypi:/home/pi/bin# 
 


Basil Gunn
 

Post the console output of showudrc.sh

Tim Huffaker <thuffaker@...> writes:

I cannot get Direwolf to start with the latest image I downloaded today. Sorry the server stopped and I cannot get the version.
I tried to start direwolf shown below with the ax25 command. I first tried using the x25 icon on the desktop and that failed so I put the command in directly.

I would like to get it working soon since I need it for an event in the morning so I hope this can help get it working.

Start here for the error.

root@raspberrypi:/home/pi/bin# ./ax25-start

STARTING AX.25/Direwolf: port 0: 1200 & port1: 1200 baud modems.
Starting: direwolf.service
Starting: ax25dev.path
Starting: ax25dev.service
Job for ax25dev.service failed because the control process exited with error code.
See "systemctl status ax25dev.service" and "journalctl -xe" for details.
Problem starting ax25dev.service
● ax25dev.service - AX.25 device
Loaded: loaded (/etc/systemd/system/ax25dev.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-09-18 14:07:36 CDT; 32ms ago
Process: 2944 ExecStart=/bin/bash -c /etc/ax25/ax25-upd (code=exited, status=1/FAILURE)
Main PID: 2944 (code=exited, status=1/FAILURE)

Sep 18 14:07:36 raspberrypi systemd[1]: Starting AX.25 device...
Sep 18 14:07:36 raspberrypi bash[2944]: ax25-upd: Start Port udr0 with device /tmp/kisstnc
Sep 18 14:07:36 raspberrypi bash[2944]: Direwolf serial port NOT FOUND
Sep 18 14:07:36 raspberrypi systemd[1]: ax25dev.service: Main process exited, code=exited, status=1/FAILURE
Sep 18 14:07:36 raspberrypi systemd[1]: ax25dev.service: Failed with result 'exit-code'.
Sep 18 14:07:36 raspberrypi systemd[1]: Failed to start AX.25 device.
root@raspberrypi:/home/pi/bin#


Tim Huffaker
 

Here is the showudrc.sh 

Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Sep 18 16:19:49 2020
 
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
 
pi@raspberrypi:~ $ showudrc.sh
==== Sound Card ====
udrc card number line: card 2: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #2
==== ALSA Controls for Radio Transmit ====
LO Driver Gain  L:[0.00dB]      R:[0.00dB]
PCM             L:[-20.00dB]    R:[-20.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:[Off]         R:[Off]
 
==== Pi Ver ====
 Pi 3 Model B, Rev 1.2, Mfg by Sony UK
 Has WiFi
Hardware        : BCM2835
Revision        : a02082
Serial          : 00000000c0071191
Model           : Raspberry Pi 3 Model B Rev 1.2
 
==== Pi Firmware VideoCore Ver ====
Sep  2 2020 21:15:18 
Copyright (c) 2012 Broadcom
version 4439d2aaa6c376a2d1ef4402f142e1cf4de37c43 (clean) (release) (start)
 
==== Pi Firmware EEPROM Ver ====
unknown
 
==== Pi Firmware EEPROM Config ====
 
 
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        7252bc15-f197-483d-893a-a01c1be88154
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2020 08 22 09:30:49 PDT: SD image version: nwdr17
----- /proc/version
Linux version 5.4.51-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:45:19 BST 2020
 
----- /etc/*version: 10.4
 
----- /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
 
---- systemd
   Static hostname: raspberrypi
         Icon name: computer
        Machine ID: 27ac1f0c20904cb7a960920e966db545
           Boot ID: 5ed4a079132c47fc96c32fcfc8e6ed9a
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 5.4.51-v7+
      Architecture: arm
        sd card id: 035344534b36344785fa34ce5b013b51
 
---- modules
snd_soc_tlv320aic32x4_i2c    16384  9
snd_soc_tlv320aic32x4    40960  1 snd_soc_tlv320aic32x4_i2c
regmap_i2c             16384  3 ti_ads1015,sc16is7xx,snd_soc_tlv320aic32x4_i2c
snd_soc_core          200704  4 snd_soc_simple_card_utils,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_simple_card
snd_pcm                94208  5 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core
snd                    69632  14 snd_compress,snd_timer,snd_soc_tlv320aic32x4,snd_bcm2835,snd_soc_core,snd_pcm
 
---- kernel
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20200902-1 armhf        Raspberry Pi bootloader
 
---- Codec drivers
Found: snd-soc-tlv320aic32x4-i2c.ko, OK
Found: snd-soc-tlv320aic32x4.ko, OK
Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay
 
---- syslog
 
---- dmesg
 
 
----- Dire Wolf DEVELOPMENT version 1.6 G (Aug 21 2020)
 
==== Filesystem ====
/dev/root        59G  6.3G   51G  12% /
 
==== boot config ====
 
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
 
[all]
#dtoverlay=vc4-fkms-v3d
 
# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=draws,alsaname=udrc
force_turbo=1
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
 
---- gpsd
/usr/local/sbin/gpsd
gpsd: 3.21 (revision 3.21)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-09-18 16:19:43 CDT; 47min ago
  Process: 627 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 635 (gpsd)
    Tasks: 3 (limit: 2065)
   CGroup: /system.slice/gpsd.service
           └─635 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Sep 18 16:19:43 raspberrypi systemd[1]: Starting GPS (Global Positioning System) Daemon...
Sep 18 16:19:43 raspberrypi systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    239, 0 Sep 18 16:19 /dev/pps0
crw------- 1 root root    239, 1 Sep 18 16:19 /dev/pps1
crw-rw---- 1 root dialout 237, 0 Sep 18 16:19 /dev/ttySC0
crw-rw---- 1 root dialout 237, 1 Sep 18 16:19 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#x GPS                           0   3    37     9   -316ms[ -316ms] +/-  111ms
#* PPS                           0   3    17     8    +32ns[ -171ns] +/-  357ns
^- li1187-193.members.linod>     2   6    17    40  -2597us[-2381us] +/-   52ms
^- ntp1.intrax.com               1   6    17    40  +1875us[+2090us] +/-   23ms
^- ntp2.doctor.com               2   6    17    40  +2981us[+3196us] +/-   37ms
^- x.ns.gin.ntt.net              2   6    17    40  -1401us[-1186us] +/-   17ms
-- chrony tracking
Reference ID    : 50505300 (PPS)
Stratum         : 1
Ref time (UTC)  : Fri Sep 18 22:06:57 2020
System time     : 0.000000000 seconds fast of NTP time
Last offset     : -0.000000476 seconds
RMS offset      : 0.302111387 seconds
Frequency       : 6.070 ppm fast
Residual freq   : -0.007 ppm
Skew            : 0.108 ppm
Root delay      : 0.000000001 seconds
Root dispersion : 0.000009763 seconds
Update interval : 8.0 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                         5   3    30   -308.284   3953.014   -320ms  5750us
PPS                         4   3    23     -0.007      0.080    -27ns    27ns
li1187-193.members.linod>   4   4     6    -69.131   4890.167  -4438us   693us
ntp1.intrax.com             4   3     6   -612.225   9056.710    -25ms   947us
ntp2.doctor.com             4   4     6   -239.364   7892.998  -6432us  1196us
x.ns.gin.ntt.net            4   3     6   +398.098   8679.769    +16ms  1040us
 
---- sensors
-rw-r--r-- 1 root root 209 Aug 21 11:04 /etc/sensors.d/draws
iio_hwmon-isa-0000
Adapter: ISA adapter
+12V:        +13.65 V  
 +5V:         +1.16 V  
User ADC 1:   +0.00 V  
User ADC 2:   +0.00 V  
 
cpu_thermal-virtual-0
Adapter: Virtual device
temp1:        +58.0°C  
 
rpi_volt-isa-0000
Adapter: ISA adapter
in0:              N/A  
 
 
---- throttle
temp=58.5'C
throttled=0x0
 
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 0 time(s)
pi@raspberrypi:~ $ showudrc.sh
 


Tim Huffaker
 

I need the help to get it working today I check direwolf and here is what it said.
ERROR  -  Could not open config file /home/pi/direwolf.conf
Try using -c command option for alternate location
Audio device for both receive and transmit : default (channel 0)
Could not open the suite device default for input
No such file or directory 
Pointless to continue without audio device. 


Tim Huffaker
 

http://nwdig.net/downloads/current_image.img.xz

This is the image I downloaded. 


Basil Gunn
 

You are getting these errors because you didn't follow the 'Getting
Started Guide' https://nw-digital-radio.groups.io/g/udrc/wiki/8921
and the core config has not been done. Please read the this guide.

Also direwolf is started with the ax25-start script and the config file
exists in the /etc directory.

Tim Huffaker <thuffaker@...> writes:

I need the help to get it working today I check direwolf and here is what it said.
ERROR - Could not open config file /home/pi/direwolf.conf
Try using -c command option for alternate location
Audio device for both receive and transmit : default (channel 0)
Could not open the suite device default for input
No such file or directory
Pointless to continue without audio device.


Tim Huffaker
 

Thank you Basil I must have skipped something along the way.  I did not this it was this simple.  


Tim Huffaker
 

Should this command fail 
app_config.sh core. 


Basil Gunn
 

Tim Huffaker <thuffaker@...> writes:

Should this command fail
app_config.sh core.
From the wiki:

cd
cd n7nix/config
# Become root
sudo su
./app_config.sh core

IF you have a command that fails I need to see all the console output
including the command.