public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Andrew McGregor <andrew@indranet.co.nz>,
	jt@hpl.hp.com, Thomas Molina <tmolina@cox.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] Oopsen with pcmcia aironet wireless (2.5.47)
Date: Mon, 11 Nov 2002 20:13:40 -0800	[thread overview]
Message-ID: <3DD07FF4.2E1BC593@digeo.com> (raw)
In-Reply-To: 5860000.1037069226@localhost.localdomain

Andrew McGregor wrote:
> 
> I see lots of oopsen when I insert an Aironet PC4800 802.11 card.

They are debug warnings, not oopses.

> ...
> Nov 12 15:40:39 localhost kernel: end_request: I/O error, dev hdb, sector 0
> Nov 12 15:40:39 localhost last message repeated 3 times
> Nov 12 15:40:39 localhost kernel: end_request: I/O error, dev hdc, sector 0
> Nov 12 15:40:39 localhost last message repeated 2 times

hm.  IDE sick?

> Nov 12 15:40:39 localhost kernel: Debug: sleeping function called from
> illegal context at include/asm/semaphore.h:145
> Nov 12 15:40:39 localhost kernel: Call Trace:
> Nov 12 15:40:39 localhost kernel:  [<e1a59215>] PC4500_readrid+0x55/0x160

airo_get_stats is called under the read_lock(&dev_base_lock); which was
taken in dev_get_info.  So it may not call sleeping functions (ie:
down_interruptible()).

It would appear that no netdevice->get_stats() method is allowed to sleep,
which seems pretty dumb, IMVHO.

  reply	other threads:[~2002-11-12  4:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-12  2:47 [BUG] Oopsen with pcmcia aironet wireless (2.5.47) Andrew McGregor
2002-11-12  4:13 ` Andrew Morton [this message]
2002-11-12 18:02   ` Jean Tourrilhes

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=3DD07FF4.2E1BC593@digeo.com \
    --to=akpm@digeo.com \
    --cc=andrew@indranet.co.nz \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tmolina@cox.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