netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: lkml <linux-kernel@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>,
	mchan@broadcom.com
Subject: Re: 2.6.27-rc1-git4 BUG: sched while atomic
Date: Tue, 5 Aug 2008 14:29:43 +0200	[thread overview]
Message-ID: <200808051429.44451.rjw@sisk.pl> (raw)
In-Reply-To: <20080804094835.da083484.randy.dunlap@oracle.com>

On Monday, 4 of August 2008, Randy Dunlap wrote:
> Usually (e.g., in 2.6.27-rc1 & earlier), I see lots of these messages for
> some reason:
> 
> tg3: eth2: Link is up at 1000 Mbps, full duplex.
> tg3: eth2: Flow control is off for TX and off for RX.
> tg3: eth3: Link is up at 1000 Mbps, full duplex.
> tg3: eth3: Flow control is off for TX and off for RX.
> bnx2: eth1: using MSI
> bnx2: eth1 NIC SerDes Link is Up, 1000 Mbps full duplex
> tg3: eth2: Link is up at 1000 Mbps, full duplex.
> tg3: eth2: Flow control is off for TX and off for RX.
> tg3: eth3: Link is up at 1000 Mbps, full duplex.
> tg3: eth3: Flow control is off for TX and off for RX.
> bnx2: eth1: using MSI
> bnx2: eth1 NIC SerDes Link is Up, 1000 Mbps full duplex
> tg3: eth2: Link is up at 1000 Mbps, full duplex.
> tg3: eth2: Flow control is off for TX and off for RX.
> tg3: eth3: Link is up at 1000 Mbps, full duplex.
> tg3: eth3: Flow control is off for TX and off for RX.
> bnx2: eth1: using MSI
> bnx2: eth1 NIC SerDes Link is Up, 1000 Mbps full duplex
> tg3: eth2: Link is up at 1000 Mbps, full duplex.
> tg3: eth2: Flow control is off for TX and off for RX.
> tg3: eth3: Link is up at 1000 Mbps, full duplex.
> tg3: eth3: Flow control is off for TX and off for RX.
> bnx2: eth1: using MSI
> 
> 
> In 2.6.27-rc1-git4, I now see this (39 times):

Please try the patch at http://marc.info/?l=linux-netdev&m=121791046925274&w=2

> BUG: scheduling while atomic: ifconfig/16971/0x00000100
> Modules linked in: parport_pc lp parport tg3 lpfc cciss ehci_hcd ohci_hcd uhci_hcd
> Pid: 16971, comm: ifconfig Not tainted 2.6.27-rc1-git4 #1
> 
> Call Trace:
>  [<ffffffff80283db9>] ? page_add_new_anon_rmap+0x20/0x22
>  [<ffffffff802310e9>] __schedule_bug+0x62/0x66
>  [<ffffffff80551146>] schedule+0x99/0x759
>  [<ffffffff8023dc9f>] ? __mod_timer+0xc1/0xd3
>  [<ffffffff8055584a>] ? do_page_fault+0x473/0x7dd
>  [<ffffffff80551ce4>] schedule_timeout+0x8d/0xb4
>  [<ffffffff8023d99e>] ? process_timeout+0x0/0xb
>  [<ffffffff80551cdf>] ? schedule_timeout+0x88/0xb4
>  [<ffffffff80551d24>] schedule_timeout_uninterruptible+0x19/0x1b
>  [<ffffffff8023dcc5>] msleep+0x14/0x1e
>  [<ffffffff80375f2f>] pci_set_power_state+0x1cd/0x292
>  [<ffffffff803739fc>] ? pci_bus_write_config_dword+0x64/0x73
>  [<ffffffffa00651b6>] tg3_set_power_state+0x58/0x884 [tg3]
>  [<ffffffff80552525>] ? __mutex_lock_slowpath+0x1d8/0x1e5
>  [<ffffffffa006b57a>] tg3_open+0x46/0x6cc [tg3]
>  [<ffffffff80552525>] ? __mutex_lock_slowpath+0x1d8/0x1e5
>  [<ffffffff804bdcfe>] dev_open+0x73/0xa8
>  [<ffffffff804bbf5e>] dev_change_flags+0xab/0x167
>  [<ffffffff804f7094>] devinet_ioctl+0x269/0x5da
>  [<ffffffff8026d9da>] ? unlock_page+0x2d/0x32
>  [<ffffffff804f7ca8>] inet_ioctl+0x92/0xaa
>  [<ffffffff804b2046>] sock_ioctl+0x1d1/0x1fb
>  [<ffffffff802a50aa>] vfs_ioctl+0x2a/0x77
>  [<ffffffff802a534c>] do_vfs_ioctl+0x255/0x272
>  [<ffffffff8055584a>] ? do_page_fault+0x473/0x7dd
>  [<ffffffff802a53ab>] sys_ioctl+0x42/0x67
>  [<ffffffff8020beeb>] system_call_fastpath+0x16/0x1b


      parent reply	other threads:[~2008-08-05 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 16:48 2.6.27-rc1-git4 BUG: sched while atomic Randy Dunlap
2008-08-04 17:17 ` Stephen Hemminger
2008-08-04 14:20   ` Michael Chan
2008-08-04 19:13     ` Breno Leitao
2008-08-04 21:40     ` David Miller
2008-08-05  0:46       ` Matt Carlson
2008-08-04 18:00   ` Breno Leitao
2008-08-05 12:29 ` Rafael J. Wysocki [this message]

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=200808051429.44451.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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).