* Re: 2.6.15 ax25 system lockup with kissattach
2006-01-07 0:42 ` Ralf Baechle DL5RB
@ 2006-01-07 12:50 ` Markus Roch
2006-01-07 17:55 ` Mike McCarthy, W1NR
2006-01-14 17:03 ` Linux FPAC MINI-HOWTO bernard f6bvp
2006-01-07 22:45 ` 2.6.15 ax25 system lockup with kissattach Bob Nielsen
2006-01-08 0:09 ` Bernard Pidoux
2 siblings, 2 replies; 8+ messages in thread
From: Markus Roch @ 2006-01-07 12:50 UTC (permalink / raw)
To: Ralf Baechle DL5RB; +Cc: linux-hams
Hi,
I've inserted "spin_unlock_bh(&ax->buflock);" from Ralf's patch
to mkiss.c and recompiled the kernel and modules and now everything
ist working again under 2.6.15 :-)
Thanks
73 de Markus, DL2KMR
Zitat von Ralf Baechle DL5RB <ralf@linux-mips.org>:
> On Thu, Jan 05, 2006 at 06:26:43PM -0500, Mike McCarthy, W1NR wrote:
>
>> That's all folks. System locked up hard. Caps lock and scroll lock lights
>> flashing. System needs a hard reset.
>>
>> 2.6.14-5 appears to be fine. Tried recompiled tools and libraries as well.
>> Others report similar problems on Debian systems with 2.6.15 kernel as well.
>
> Can you try below patch? It fixes a locking bug which was affecting only
> preemptable or SMP kernels until the recent rewrite of the locking code.
>
> 73 de DL5RB op Ralf
>
> --
> Loc. JN47BS / CQ 14 / ITU 28 / DOK A21
>
> drivers/net/hamradio/mkiss.c | 1 +
> 1 files changed, 1 insertion(+)
>
> Index: net.git/drivers/net/hamradio/mkiss.c
> ===================================================================
> --- net.git.orig/drivers/net/hamradio/mkiss.c
> +++ net.git/drivers/net/hamradio/mkiss.c
> @@ -515,6 +515,7 @@ static void ax_encaps(struct net_device
> count = kiss_esc(p, (unsigned char *)ax->xbuff, len);
> }
> }
> + spin_unlock_bh(&ax->buflock);
>
> set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
> actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: 2.6.15 ax25 system lockup with kissattach
2006-01-07 12:50 ` Markus Roch
@ 2006-01-07 17:55 ` Mike McCarthy, W1NR
2006-01-14 17:03 ` Linux FPAC MINI-HOWTO bernard f6bvp
1 sibling, 0 replies; 8+ messages in thread
From: Mike McCarthy, W1NR @ 2006-01-07 17:55 UTC (permalink / raw)
To: 'Markus Roch', 'Ralf Baechle DL5RB'; +Cc: linux-hams
Hi Ralf,
It appears that the patch to mkiss.c fixes the lockup issue. I have
external modem issues that prevents me from testing further at the moment.
I hope to have an RF test network set up and running by tomorrow to give it
a complete test.
Thanks for the very quick action and 73,
Mike, W1NR
-----Original Message-----
From: linux-hams-owner@vger.kernel.org
[mailto:linux-hams-owner@vger.kernel.org] On Behalf Of Markus Roch
Sent: Saturday, January 07, 2006 7:51 AM
To: Ralf Baechle DL5RB
Cc: linux-hams@vger.kernel.org
Subject: Re: 2.6.15 ax25 system lockup with kissattach
Hi,
I've inserted "spin_unlock_bh(&ax->buflock);" from Ralf's patch to mkiss.c
and recompiled the kernel and modules and now everything ist working again
under 2.6.15 :-)
Thanks
73 de Markus, DL2KMR
Zitat von Ralf Baechle DL5RB <ralf@linux-mips.org>:
> On Thu, Jan 05, 2006 at 06:26:43PM -0500, Mike McCarthy, W1NR wrote:
>
>> That's all folks. System locked up hard. Caps lock and scroll lock
>> lights flashing. System needs a hard reset.
>>
>> 2.6.14-5 appears to be fine. Tried recompiled tools and libraries as
well.
>> Others report similar problems on Debian systems with 2.6.15 kernel as
well.
>
> Can you try below patch? It fixes a locking bug which was affecting
> only preemptable or SMP kernels until the recent rewrite of the locking
code.
>
> 73 de DL5RB op Ralf
>
> --
> Loc. JN47BS / CQ 14 / ITU 28 / DOK A21
>
> drivers/net/hamradio/mkiss.c | 1 +
> 1 files changed, 1 insertion(+)
>
> Index: net.git/drivers/net/hamradio/mkiss.c
> ===================================================================
> --- net.git.orig/drivers/net/hamradio/mkiss.c
> +++ net.git/drivers/net/hamradio/mkiss.c
> @@ -515,6 +515,7 @@ static void ax_encaps(struct net_device
> count = kiss_esc(p, (unsigned char *)ax->xbuff,
len);
> }
> }
> + spin_unlock_bh(&ax->buflock);
>
> set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
> actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams"
> in the body of a message to majordomo@vger.kernel.org More majordomo
> info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the
body of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Linux FPAC MINI-HOWTO
2006-01-07 12:50 ` Markus Roch
2006-01-07 17:55 ` Mike McCarthy, W1NR
@ 2006-01-14 17:03 ` bernard f6bvp
1 sibling, 0 replies; 8+ messages in thread
From: bernard f6bvp @ 2006-01-14 17:03 UTC (permalink / raw)
To: linux-hams
Hi,
I have written a Linux FPAC MINI-HOWTO to help setting an X.25 PLP
(rose) node station from scratch based on my own implementation.
The document covers step by step the way to set up a node packet-radio
station based on a Mandriva Linux 2006 distro with 2.6.14-4 kernel.
The different chapters are :
1. Have a Linux 2.6-14-4 kernel with AX25 modules
2. Install AX25 libraries
3. Install AX25 tools
4. Install AX25 applications
5. Configure ax25ipd daemon
6. Install FPAC software
7. Install AX25 starting scripts
Links point toward libax25, ax25tools, ax25apps, fpac327 packages that I
slightly modified (include headers) to allow smooth compilation with 2.6
kernels.
Packages include recent advances with ax25ipd including dynamic IP and
af_rose.c patch for alternate rose search.
Here is the URL : http://rose.fpac.free.fr/MINI-HOWTO/
Also available in french language http://rose.fpac.free.fr/MINI-HOWTO-FR/
73 de Bernard, f6bvp
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15 ax25 system lockup with kissattach
2006-01-07 0:42 ` Ralf Baechle DL5RB
2006-01-07 12:50 ` Markus Roch
@ 2006-01-07 22:45 ` Bob Nielsen
2006-01-08 0:09 ` Bernard Pidoux
2 siblings, 0 replies; 8+ messages in thread
From: Bob Nielsen @ 2006-01-07 22:45 UTC (permalink / raw)
To: linux-hams
2.6.15 with the patch looks good here on my DX Spider node.
73,
Bob, N7XY
On Jan 6, 2006, at 4:42 PM, Ralf Baechle DL5RB wrote:
> On Thu, Jan 05, 2006 at 06:26:43PM -0500, Mike McCarthy, W1NR wrote:
>
>> That's all folks. System locked up hard. Caps lock and scroll
>> lock lights
>> flashing. System needs a hard reset.
>>
>> 2.6.14-5 appears to be fine. Tried recompiled tools and libraries
>> as well.
>> Others report similar problems on Debian systems with 2.6.15
>> kernel as well.
>
> Can you try below patch? It fixes a locking bug which was
> affecting only
> preemptable or SMP kernels until the recent rewrite of the locking
> code.
>
> 73 de DL5RB op Ralf
>
> --
> Loc. JN47BS / CQ 14 / ITU 28 / DOK A21
>
> drivers/net/hamradio/mkiss.c | 1 +
> 1 files changed, 1 insertion(+)
>
> Index: net.git/drivers/net/hamradio/mkiss.c
> ===================================================================
> --- net.git.orig/drivers/net/hamradio/mkiss.c
> +++ net.git/drivers/net/hamradio/mkiss.c
> @@ -515,6 +515,7 @@ static void ax_encaps(struct net_device
> count = kiss_esc(p, (unsigned char *)ax->xbuff, len);
> }
> }
> + spin_unlock_bh(&ax->buflock);
>
> set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
> actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-
> hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15 ax25 system lockup with kissattach
2006-01-07 0:42 ` Ralf Baechle DL5RB
2006-01-07 12:50 ` Markus Roch
2006-01-07 22:45 ` 2.6.15 ax25 system lockup with kissattach Bob Nielsen
@ 2006-01-08 0:09 ` Bernard Pidoux
2 siblings, 0 replies; 8+ messages in thread
From: Bernard Pidoux @ 2006-01-08 0:09 UTC (permalink / raw)
To: Ralf Baechle DL5RB; +Cc: Mike McCarthy, W1NR, linux-hams
Hi Ralf,
Without your patch, running Mandriva Linux 2006 with 2.6.15 kernel on a
Pentium IV Xeon would freeze immediately when loading mkiss driver.
After the patch was applied and mkiss module compiled and driver
installed, there is no more problem here.
However, the kernel was compiled with no forced preemption model and
without SMP option. I will do it soon an report if any change.
Thank you for the nice job you are doing on AX25 stuff.
73 de Bernard, f6bvp
http://f6bvp.free
http://f6bvp.org (mirror)
-----------
Ralf Baechle DL5RB a écrit :
> On Thu, Jan 05, 2006 at 06:26:43PM -0500, Mike McCarthy, W1NR wrote:
>
>
>>That's all folks. System locked up hard. Caps lock and scroll lock lights
>>flashing. System needs a hard reset.
>>
>>2.6.14-5 appears to be fine. Tried recompiled tools and libraries as well.
>>Others report similar problems on Debian systems with 2.6.15 kernel as well.
>
>
> Can you try below patch? It fixes a locking bug which was affecting only
> preemptable or SMP kernels until the recent rewrite of the locking code.
>
> 73 de DL5RB op Ralf
>
> --
> Loc. JN47BS / CQ 14 / ITU 28 / DOK A21
>
> drivers/net/hamradio/mkiss.c | 1 +
> 1 files changed, 1 insertion(+)
>
> Index: net.git/drivers/net/hamradio/mkiss.c
> ===================================================================
> --- net.git.orig/drivers/net/hamradio/mkiss.c
> +++ net.git/drivers/net/hamradio/mkiss.c
> @@ -515,6 +515,7 @@ static void ax_encaps(struct net_device
> count = kiss_esc(p, (unsigned char *)ax->xbuff, len);
> }
> }
> + spin_unlock_bh(&ax->buflock);
>
> set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
> actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread