public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <hermes@gibson.dropbear.id.au>
To: David Hinds <dhinds@sonic.net>
Cc: Ian Morgan <imorgan@webcon.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: in-kernel pcmcia oopsing in SMP
Date: Mon, 17 Dec 2001 14:24:00 +1100	[thread overview]
Message-ID: <20011217142400.L30975@zax> (raw)
In-Reply-To: <20011201120541.B28295@sonic.net> <Pine.LNX.4.40.0112011513041.2329-100000@light.webcon.net> <20011201124630.A30249@sonic.net>
In-Reply-To: <20011201124630.A30249@sonic.net>

On Sat, Dec 01, 2001 at 12:46:30PM -0800, David Hinds wrote:
> On Sat, Dec 01, 2001 at 03:27:24PM -0500, Ian Morgan wrote:
> > 
> > > I don't know how to interpret your oops report; you should probably
> > > also forward the bug to David Gibson, hermes@gibson.dropbear.id.au,
> > > since he is the orinoco maintainer.
> > 
> > Well, Gibson's the one who suggested the broblem was with the pcmcia system,
> > and not the orinoco driver! Hmm.... can you say runaround?

Look, I'm not paid to do tech support for you, so there is nothing for
me to gain in trying to give you the runaround.  The orinoco driver is
designed to make hard hangs very unlikely, even at the expense of a
greater chance of the driver operation falling over, so that was by
best initial guess at the problem - albeit possibly a hurried and
inaccurate one (see below).

> It pretty much can't be a PCMCIA subsystem bug.  The basic PCMCIA code
> handles card identification and configuration of the socket; however,
> for almost all cards, the PCMCIA subsystem is completely out of the
> loop during normal card operation.  No PCMCIA code outside of the
> orinoco driver itself will ever be executed.

Hmm... yes, I suppose so.  How odd.

> Your oops, in tasklet code, sounds to me like a locking bug in the
> driver code for managing the transmit stack vs. interrupt handling.
> Have there been reports of the driver working well on SMP boxes?

Well, one of the main features of the driver is that the Tx path and
the interupt handler (Rx path) are permitted to run concurrently.
This is an issue even on UP (although not as complex), since the Rx
patch can interrupt the Tx path.  I believe there has been at least
some successful operation on SMP machines, but unfortunately I don't
know any details.

-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson


  reply	other threads:[~2001-12-17  3:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-01 19:21 in-kernel pcmcia oopsing in SMP Ian Morgan
2001-12-01 20:05 ` David Hinds
2001-12-01 20:27   ` Ian Morgan
2001-12-01 20:46     ` David Hinds
2001-12-17  3:24       ` David Gibson [this message]
2001-12-17  4:59         ` David Hinds
2001-12-03  3:25   ` BUG() in spinlock.h loading ds.o Ian Morgan
2001-12-03  6:56     ` David Hinds

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=20011217142400.L30975@zax \
    --to=hermes@gibson.dropbear.id.au \
    --cc=dhinds@sonic.net \
    --cc=imorgan@webcon.net \
    --cc=linux-kernel@vger.kernel.org \
    /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