Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760406AbYHEOdj (ORCPT ); Tue, 5 Aug 2008 10:33:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756284AbYHEOcc (ORCPT ); Tue, 5 Aug 2008 10:32:32 -0400 Received: from fk-out-0910.google.com ([209.85.128.184]:5094 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755214AbYHEOc3 (ORCPT ); Tue, 5 Aug 2008 10:32:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=rRLtUksAUHIdHniWBvAio8iTTJyeNCcVnIYRs6YEkFrnFxbfKAheFi5bU0oTJ3cGlE 3Pn+XHe8L39DQEuB3/kXP6yGHjWuxtXkRC0bOUvYKVsu3x5dGHb3VgZaUNTVYPid7OYq O+ZcRhr0mFf2HWwz9gCVRVC5ckjnITt0Z3J+8= Message-ID: Date: Tue, 5 Aug 2008 22:32:26 +0800 From: "Ming Lei" To: "David Miller" Subject: BUG:tg3_open() bug Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2878 Lines: 63 Hi, kernel : 2.6.27-rc1-00526-g5ede58d The following message is produced by running "ifconfig eth0 up". Thanks, ADDRCONF(NETDEV_UP): eth0: link is not ready tg3: eth0: Link is up at 100 Mbps, full duplex. tg3: eth0: Flow control is on for TX and on for RX. ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready BUG: scheduling while atomic: ifconfig/3345/0x00000102 2 locks held by ifconfig/3345: #0: (rtnl_mutex){....}, at: [] rtnl_lock+0x17/0x19 #1: (&tp->lock){....}, at: [] tg3_open+0x44/0x71e [tg3] Modules linked in: autofs4 sunrpc ipv6 acpi_cpufreq arc4 snd_hda_intel ecb usbhid snd_seq_device snd_pcm_oss snd_mixer_oss crypto_blkcipher snd_pcm usbmouse snd_timer snd_page_alloc snd_hwdep thermal tg3 ohci1394 snd ieee1394 cryptomgr crypto_algapi processor iwl3945 mac80211 led_class cfg80211 libphy button battery i2c_i801 ac i2c_core sg sr_mod dcdbas evdev cdrom ata_piix ata_generic libata dock sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ehci_hcd usbcore [last unloaded: microcode] Pid: 3345, comm: ifconfig Not tainted 2.6.27-rc1-00526-g5ede58d #50 Call Trace: [] ? __debug_show_held_locks+0x22/0x24 [] __schedule_bug+0x8c/0x95 [] schedule+0xa2/0x841 [] ? __mod_timer+0xe2/0xf4 [] ? lock_release_holdtime+0x56/0x5e [] schedule_timeout+0x92/0xb9 [] ? process_timeout+0x0/0x10 [] ? schedule_timeout+0x8d/0xb9 [] schedule_timeout_uninterruptible+0x1e/0x20 [] msleep+0x19/0x23 [] pci_set_power_state+0x1d2/0x297 [] ? pci_bus_write_config_dword+0x69/0x78 [] tg3_set_power_state+0x66/0x8b3 [tg3] [] tg3_open+0x4e/0x71e [tg3] [] ? local_bh_enable_ip+0xbf/0xdc [] dev_open+0x78/0xad [] dev_change_flags+0xb0/0x16c [] devinet_ioctl+0x26e/0x5df [] inet_ioctl+0x97/0xaf [] sock_ioctl+0x1ed/0x21a [] vfs_ioctl+0x2f/0x7c [] do_vfs_ioctl+0x264/0x281 [] sys_ioctl+0x47/0x6b [] ? dev_ioctl+0x34d/0x668 [] system_call_fastpath+0x16/0x1b ADDRCONF(NETDEV_UP): eth0: link is not ready tg3: eth0: Link is up at 100 Mbps, full duplex. tg3: eth0: Flow control is on for TX and on for RX. ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 eth0: no IPv6 routers present -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/