[Xastir] AX 25 networking kernel warnings --- heads up all AX.25 users Re: Error in Syslog
Tom Russo
russo at bogodyn.org
Sun Jan 28 13:39:37 PST 2018
On Sun, Jan 28, 2018 at 02:31:08PM -0700, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> Changing the subject line to get more people to see this.
>
[...]
>
> It took a while, but I think I found some code that should work (using
> AF_PACKET and SOCK_DGRAM), and am pushing it to github on my own fork so you
> can try it out. If the warnings go away for you, and AX.25 networking still
> work for everyone who reports in, then I will push it to the main line code.
>
> You can test it out easily:
>
> git checkout master # Likely a no-op, but let's be careful
> git checkout -b tvr-fix-ax25
> git pull https://github.com/tvrusso/Xastir.git fix-ax25
>
> then rebuild the code and try it out. You should be able to start an AX.25
> kernel port in Xastir and NOT see those warnings in your syslog. If it works,
> please let me know and I'll merge it to main line. It is working for me Just
> Fine. But then again, I never had those warnings in syslog.
[...]
> I would appreciate it if *everyone* on the list who uses AX.25 networking
> routinely would test out this code --- it impacts *everyone* who uses AX.25
> networking in Xastir.
I opened a new pull request for this branch to encourage discussion on it:
https://github.com/Xastir/Xastir/pull/20
If you try out the code, commenting on the pull request would be welcome. If
you spot some horrid error in it, too, that would be a good thing to comment on.
> >On Sun, Jan 28, 2018 at 12:14:39PM -0700, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> >>
> >> I just experimented with fixing the preprocessor symbol so it actually
> >> detects we're running with a newer GLIBC, and it made Xastir AX.25 connections
> >> broken, so this code that has never actually been enabled isn't in fact
> >> correct. Turns out that replacing PF_INET,SOCK_PACKET with PF_INET,SOCK_DGRAM,
> >> as is done in that block of code, was never right. The correct thing is
> >> to use AF_PACKET,SOCK_PACKET instead of PF_INET,SOCK_PACKET. If I fix
> >> the symbol *and* fix that usage, Xastir builds and does connect to an
> >> AX.25 interface correctly.
> >
> >Actually, SOCK_PACKET is deprecated, too, and should not be used in new
> >programs. This is going to take a little more careful experimentation.
>
>
> > > On Sun, Jan 28, 2018 at 05:58:54PM +0000, we recorded a bogon-computron collision of the <kg4pid at yahoo.com> flavor, containing:
> > > > Looking the the file /var/log/syslog, I noticed this...
> > > > 'Jan 27 07:13:18 Igate kernel: [26779.439570] xastir uses obsolete (PF_INET,SOCK_PACKET)'
> > > >
> > > > I don't have a clue what it means or if I should even worry about it. Anyone else see this?
> > > > I just did an install a week ago so it's the latest version of xastir.
> > > > Thanks, Max KG4PID??
> > > > _______________________________________________
> > > > Xastir mailing list
> > > > Xastir at lists.xastir.org
> > > > http://xastir.org/mailman/listinfo/xastir
> > >
> > > --
> > > Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
> > > Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
> > > echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Xastir mailing list
> > > Xastir at lists.xastir.org
> > > http://xastir.org/mailman/listinfo/xastir
> >
> > --
> > Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
> > Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
> > echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> >
> >
> >
> >
> > _______________________________________________
> > Xastir mailing list
> > Xastir at lists.xastir.org
> > http://xastir.org/mailman/listinfo/xastir
>
> --
> Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
> Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
> echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
>
>
>
>
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
More information about the Xastir
mailing list