[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4642586D.4070300@garzik.org>
Date: Wed, 09 May 2007 19:25:33 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Paul Walmsley <paul@...yaka.com>
CC: mikep@...uxtr.net, netdev@...r.kernel.org, linux-tr@...uxtr.net
Subject: Re: [PATCH] Fix hang on IBM Token Ring PCMCIA card ejection
Paul Walmsley wrote:
> Ejecting a PCMCIA IBM Token Ring card that has not had its dev->open()
> called will reliably trigger an uninitialized spinlock oops when
> spinlock debugging is enabled. The system then hangs, occasionally
> softlockup oopsing. Apparently ibmtr.c:tok_interrupt() doesn't expect
> to be called before tok_open(), but tok_interrupt() gets called anyway
> when the card is ejected. So, set an already-existing flag which
> causes tok_interrupt() to bail out early upon card ejection. Tested by
> inserting and removing the PCMCIA card several times.
>
> Patch against 2.6.21-rc6.
>
>
> Signed-off-by: Paul Walmsley <paul@...yaka.com>
>
> ---
> ibmtr_cs.c | 14 +++++++++-----
> 1 file changed, 9 insertions(+), 5 deletions(-)
applied
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists