From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762203AbYHEM1Y (ORCPT ); Tue, 5 Aug 2008 08:27:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759895AbYHEM0s (ORCPT ); Tue, 5 Aug 2008 08:26:48 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:51182 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759606AbYHEM0r (ORCPT ); Tue, 5 Aug 2008 08:26:47 -0400 From: "Rafael J. Wysocki" To: Randy Dunlap Subject: Re: 2.6.27-rc1-git4 BUG: sched while atomic Date: Tue, 5 Aug 2008 14:29:43 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: lkml , netdev , mchan@broadcom.com References: <20080804094835.da083484.randy.dunlap@oracle.com> In-Reply-To: <20080804094835.da083484.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808051429.44451.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > [] ? page_add_new_anon_rmap+0x20/0x22 > [] __schedule_bug+0x62/0x66 > [] schedule+0x99/0x759 > [] ? __mod_timer+0xc1/0xd3 > [] ? do_page_fault+0x473/0x7dd > [] schedule_timeout+0x8d/0xb4 > [] ? process_timeout+0x0/0xb > [] ? schedule_timeout+0x88/0xb4 > [] schedule_timeout_uninterruptible+0x19/0x1b > [] msleep+0x14/0x1e > [] pci_set_power_state+0x1cd/0x292 > [] ? pci_bus_write_config_dword+0x64/0x73 > [] tg3_set_power_state+0x58/0x884 [tg3] > [] ? __mutex_lock_slowpath+0x1d8/0x1e5 > [] tg3_open+0x46/0x6cc [tg3] > [] ? __mutex_lock_slowpath+0x1d8/0x1e5 > [] dev_open+0x73/0xa8 > [] dev_change_flags+0xab/0x167 > [] devinet_ioctl+0x269/0x5da > [] ? unlock_page+0x2d/0x32 > [] inet_ioctl+0x92/0xaa > [] sock_ioctl+0x1d1/0x1fb > [] vfs_ioctl+0x2a/0x77 > [] do_vfs_ioctl+0x255/0x272 > [] ? do_page_fault+0x473/0x7dd > [] sys_ioctl+0x42/0x67 > [] system_call_fastpath+0x16/0x1b