Linux-Hams archive - September 1999: ax25_get_info() - TNT&BayCom modem

ax25_get_info() - TNT&BayCom modem

Jan Wasserbauer (lmbxrd.pepla@mail.dy.fi)
Mon, 6 Sep 1999 00:55:22 +0200


Hello ..

Is there any reason why linux/net/ax25/af_ax25.c - ax25_get_info()
disables interrupts ?

This causes problems with BayCom modem (and possibly others) since
its driver cannot receive interrupts from serial port while
something is reading /proc/net/ax25. TNT reads it every 300ms
which makes it unusable with BayCom modem (255B packets just can't
get into 300ms on 1200bd)

I have removed cli()/sti() and everything works ok (especially TNT).
(I have even tried things like while 1 cat /proc/net/ax25 ..)

Bye Jan

PS: strerror() returns inet-style link state messages which are
sometimes quite confusing to PR users (like "Connection timed out").
What about some ax25_strerror() (in libax25 probably) which
would return PR-style warnings (like "Link failure") ?