linux-hams.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ralf Baechle DL5RB <ralf@linux-mips.org>
To: "Mike McCarthy, W1NR" <mike@w1nr.net>
Cc: linux-hams@vger.kernel.org
Subject: Re: 2.6.15 ax25 system lockup with kissattach
Date: Sat, 7 Jan 2006 01:42:31 +0100	[thread overview]
Message-ID: <20060107004231.GB12765@linux-mips.org> (raw)
In-Reply-To: <008401c6124f$7ceed0e0$3849a8c0@lan.w1nr.net>

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);

  parent reply	other threads:[~2006-01-07  0:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 23:26 2.6.15 ax25 system lockup with kissattach Mike McCarthy, W1NR
2006-01-06 12:26 ` Ralf Baechle DL5RB
2006-01-07  0:42 ` Ralf Baechle DL5RB [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2006-01-11 15:09 Bob Brose N0QBJ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060107004231.GB12765@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-hams@vger.kernel.org \
    --cc=mike@w1nr.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).