Re: Kernel 2.2.17 - false characters

From: James McBride (lgpvhtlv@teleca.com)
Date: Sun Oct 08 2000 - 10:12:06 EEST

  • Next message: Richard Adams: "Re: installing ax25-utils-2.1.42a"

    Hi all,
    The fix below from Tihomir works fine. Maybe it is just my TNC which is
    running TNC-2 118a TAPR s/w in KISS mode. The checksum characters are now
    gone and people can log in using AX25.

    The sound drivers still don't work and the errors I get from trying to
    insmod sound are:
    unresolved symbols in module /misc.sound.o :
      (unregister/register)_sound_(mixer/dsp/midi)_Rxxxxxxxx

    The bracketed names are to summarise all the combinations... I haven't
    copied and pasted....

    I am trying to use a PSA style soundcard. Maybe this doesn't work. I will
    try working on it some more. Anyone have any ideas?

    Regards
    James McBride
    VK6FJA

    >Hi
    >
    >If I am right you have the same problem as I had.
    >It works some time but after random interval it starts to send checksum.
    >Kernel mkiss driver when receive packet with flexnet crc switch itself
    >to flexnet crc. It can also occure when there is errors on kiss link
    >(wire) so it think that have flexnet crc. And then there no way to switch
    back
    >to normal mode.
    >
    >Solution:
    >Edit file /usr/src/linux/drivers/net/hamadio/mkiss.c
    >in line 351 you will find:
    >ax->crcmode = CRC_MODE_FLEX;
    >simply comment that line like this
    >or just remove that line.
    >This way you make mkiss unable to switch to CRC mode.
    >Now you need to recompile kernel and modules. Do not forget "make clean"
    >so the new mkiss.c will be made.
    >
    >73 de Tihomir, terhi.victor@logonet.com
    >
    >Hi
    >I currently have been trying to get a RedHat 6 based system with a Kernel
    >2.2.17 upgrade working with a KISS TNC and it is all configured okay, but
    >for some reason after an initial connect, each time I send some plain text,
    >the packet appears to have another 2 characters appended to it after an
    >end-of-line, so if for instance I enter a command like 'B' to my local BBS
    >here, it appears at the other end to be something like 'UB' and is not
    >understood. The 'B' is still there, but the extra characters in the packet
    >cause it to have a frame problem.... the next few times you enter 'B', you
    >get a response for say 'UB', ':B','YB' and 'TB' or something afterwhich the
    >sequence repeats starting with 'UB'... To me it looks like the kernel is
    >sending out a checksum or something that it shouldn't, but I am not a C
    >source expert by any means - far from it.
    >
    >Also if someone connects to me, axspawn runs here, but they get a frame
    >error sent back to them (probably with the extra characters!) and can't
    >login properly. I receive all packets okay.
    >
    >An AXIP ping also seems to work once after a fresh restart of the system,
    >but will not generate a response afterwards. My 'listen' screen shows an
    ARP
    >received once from the other station, but then it just doesn't respond.
    >
    >I don't know if there is enough information here, but does anyone recognise
    >this symptom?
    >
    >I have kernel 2.2.17, libax25-0.0.7, ax25-tools-0.0.5, ax25-apps-0.0.4 on a
    >Pentium 100, with KISS on serial port compiled into the kernel (not a
    >module)
    >
    >I also haven't got the OSS sound modules to load properly yet and don't
    seem
    >to find a kernel configuration entry for '/dev/dsp and /dev/audio' support
    >like there was in the 2.0.34/2.0.35 kernels. I have only ever had a 9600bps
    >soundcard based modem running on kernel 2.0.35 with a SoundBlasterPro card.
    >I am yet to try the new drivers (when the sound config works) and also the
    >NewQPSK mode.
    >
    >Alot of interesting things in this newsgroup though... and for those in
    West
    >Australia, see you at the Hamfest on Oct 29.
    >
    >Regards
    >James McBride VK6FJA

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to pfouacnh.zodyyxywp@skylogicnet.it



    This archive was generated by hypermail 2b30 : Sun Oct 08 2000 - 10:14:19 EEST