mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bart De Schuymer <bdschuym@pandora.be>
To: linux-kernel@vger.kernel.org
Cc: buytenh@gnu.org
Subject: oops when adding bridge interface, using v2.5.45
Date: Mon, 11 Nov 2002 00:52:29 +0100	[thread overview]
Message-ID: <200211110052.29495.bdschuym@pandora.be> (raw)
In-Reply-To: <Pine.GSO.4.21.0211101348350.24061-100000@steklov.math.psu.edu>

Hello,

Ever since I've been using the bridge with a 2.5 kernel I've been having a 
non-fatal oops when adding a bridge interface: adding a bridge works, then 
adding a first interface gives the oops below, adding a second interface 
works. Note that the bridge behaves correct afaik (as in "it works") and both 
interfaces get created, which is why this was no priority.

net/bridge/br_if.c::new_nbp() does
	p = kmalloc(sizeof(*p), GFP_KERNEL);
which triggers the oops through mm/slab.c::kmem_flagcheck()
I don't know what is wrong (I have no such problems with 2.4).

The trace is below:

Debug: sleeping function called from illegal context at mm/slab.c:1304
Call Trace:
 [<c011a93e>] __might_sleep+0x52/0x54
 [<c013b18e>] kmem_flagcheck+0x1e/0x54
 [<c013bf04>] kmalloc+0x54/0x134
 [<d084864e>] new_nbp+0x22/0xb8 [bridge]
 [<d084ba65>] .rodata+0x485/0xf60 [bridge]
 [<d0848826>] br_add_if+0x8e/0x1a4 [bridge]
 [<d0848ee0>] br_ioctl_device+0x60/0x454 [bridge]
 [<d084d92c>] ioctl_mutex+0x0/0x18 [bridge]
 [<c0114829>] smp_local_timer_interrupt+0xbd/0xd4
 [<d084d92c>] ioctl_mutex+0x0/0x18 [bridge]
 [<c0136943>] filemap_nopage+0xeb/0x2b4
 [<c0136973>] filemap_nopage+0x11b/0x2b4
 [<d08494a4>] br_ioctl+0x68/0x7c [bridge]
 [<d08471aa>] br_dev_do_ioctl+0x4a/0x5c [bridge]
 [<c0287870>] dev_ifsioc+0x344/0x360
 [<c0287ada>] dev_ioctl+0x24e/0x2f4
 [<c027fc7d>] sock_ioctl+0x95/0x354
 [<c015f09a>] sys_ioctl+0x25e/0x2d5
 [<c0108eb7>] syscall_call+0x7/0xb

-- 
cheers,
Bart


  reply	other threads:[~2002-11-10 22:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-10 22:19 [RFC] devfs API Alexander Viro
2002-11-10 23:52 ` Bart De Schuymer [this message]
2002-11-10 23:08   ` oops when adding bridge interface, using v2.5.45 romieu
2002-11-11  0:49     ` Bart De Schuymer
2002-11-12  1:32 ` [RFC] devfs API Ryan Anderson
2002-11-12  1:49   ` Alexander Viro
2002-11-12  8:04     ` Theodore Ts'o
2002-11-12  8:44       ` Rudmer van Dijk
2002-11-12  9:50         ` Miles Bader
2002-11-12 10:57         ` Helge Hafting
2002-11-12  9:43       ` Alexander Viro
2002-11-12 10:47       ` Helge Hafting
2002-11-12 21:57       ` Jon Portnoy
2002-11-13 15:15       ` Denis Vlasenko
2002-11-12  1:50   ` Robert Love
2002-11-12 11:44 ` William Lee Irwin III
2002-11-14 17:51 ` Richard Gooch
2002-11-14 18:04   ` Alexander Viro

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=200211110052.29495.bdschuym@pandora.be \
    --to=bdschuym@pandora.be \
    --cc=buytenh@gnu.org \
    --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

Powered by JetHome