Skip to contentSkip to conversation

kernel 2.4.21 and AX25 & netrom

DISCUSSION Tihomir Heidelberg 3 participants 4 messages Sep 1, 2003 – Sep 2, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 1 line

or there is a fix to be done in the 2.4.21 kernel release?

I made a lot of fixes, some of them are implemented in 2.6.0-testX, too. Some of fixes in my patch are stolen from boys working on 2.6 kernel. When I posted here the info about my patch before more then month ago, there were still big problems in kernel... Now I am running patched 2.4.21 more then 15 days without crash, think it is ready to be merged in some of next 2.4 kernel releases...
so, those having crashes (even protocol problems), try this patch:
ftp://ham2.cc.fer.hr/pub/users/9a4gl/9a4gl-ax25-2421-20030831.patch the patch is against clean 2.4.21, so do not apply this patch if you have patched kernel with any of my previous patches

73 de Tihomir, [email protected]

#1 lore raw
Quoted 11 lines · Tihomir Heidelberg

I made a lot of fixes, some of them are implemented in 2.6.0-testX, too. Some of fixes in my patch are stolen from boys working on 2.6 kernel. When I posted here the info about my patch before more then month ago, there were still big problems in kernel... Now I am running patched 2.4.21 more then 15 days without crash, think it is ready to be merged in some of next 2.4 kernel releases...
so, those having crashes (even protocol problems), try this patch:
ftp://ham2.cc.fer.hr/pub/users/9a4gl/9a4gl-ax25-2421-20030831.patch the patch is against clean 2.4.21, so do not apply this patch if you have patched kernel with any of my previous patches

Well, thanks for working on this. So, then let me get this straight. The most stable option is to get 2.4.21 and patch it with your patch, and that's different from 2.4.22, right?

#2 lore raw
Quoted 3 lines

Well, thanks for working on this. So, then let me get this straight. The most stable option is to get 2.4.21 and patch it with your patch, and that's different from 2.4.22, right?

2.4.22 have one bugfix by dl9sau which fixes problem when kernel sends SABM frames with unknown calls... didnt try, but my patch should also apply to 2.4.22, will check in few days when will have more time, then I will also create patch for 2.4.22...

73 de Tihomir, [email protected]

#3 lore raw
In reply to Tihomir Heidelberg

G'day Tihomir

I tried applying the patch to one of my systems today. It was an unmodified 2.4.21 kernel and it returned one error from dmascc.c. I don't use that drives so it should not be a problem for me, but it may be for others.

root@shack:/usr/src# patch -p0 <9a4gl*
patching file linux-2.4.21/Documentation/Configure.help
patching file linux-2.4.21/drivers/net/hamradio/Config.in
patching file linux-2.4.21/drivers/net/hamradio/dmascc.c
Hunk #1 FAILED at 1.
1 out of 6 hunks FAILED -- saving rejects to file
linux-2.4.21/drivers/net/hamradio/dmascc.c.rej
patching file linux-2.4.21/drivers/net/hamradio/mkiss.c
patching file linux-2.4.21/include/linux/ax25.h

Here is dmascc.c.rej:

***************
*** 1,10 ****
/*
! * $Id: dmascc.c,v 1.1.1.1 2003/06/27 16:18:51 root Exp $
*
* Driver for high-speed SCC boards (those with DMA support)
* Copyright (C) 1997-2000 Klaus Kudielka
*
* S5SCC/DMA support by Janko Koleznik S52HI
*
* This program is free software; you can redistribute it and/or
modify
* it under the terms of the GNU General Public License as published
by
--- 1,11 ----
/*
! * $Id: dmascc.c,v 1.3 2003/07/04 06:15:49 9a4gl Exp $
*
* Driver for high-speed SCC boards (those with DMA support)
* Copyright (C) 1997-2000 Klaus Kudielka
*
* S5SCC/DMA support by Janko Koleznik S52HI
+ * Software CRC check by Tihomir Heidelberg 9A4GL
*
* This program is free software; you can redistribute it and/or
modify
* it under the terms of the GNU General Public License as published
by

73
Phil vk6ad