Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761498AbYBRNEa (ORCPT ); Mon, 18 Feb 2008 08:04:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761028AbYBRNCt (ORCPT ); Mon, 18 Feb 2008 08:02:49 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:43837 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761005AbYBRNCq (ORCPT ); Mon, 18 Feb 2008 08:02:46 -0500 Date: Mon, 18 Feb 2008 05:01:13 -0800 From: Andrew Morton To: Andrey Borzenkov Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ... Message-Id: <20080218050113.1b4b0897.akpm@linux-foundation.org> In-Reply-To: <200802171536.51695.arvidjaar@mail.ru> References: <200802171536.51695.arvidjaar@mail.ru> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3645 Lines: 99 On Sun, 17 Feb 2008 15:36:50 +0300 Andrey Borzenkov wrote: > ... and possibly reboot/poweroff (it flows by too fast to be legible). > > [ 8803.850634] ACPI: Preparing to enter system sleep state S3 > [ 8803.853141] Suspending console(s) > [ 8805.287505] serial 00:09: disabled > [ 8805.291564] Trying to free already-free IRQ 11 > [ 8805.291579] Pid: 6920, comm: pm-suspend Not tainted 2.6.25-rc2-1avb #2 > [ 8805.291628] [] free_irq+0xb7/0x130 > [ 8805.291675] [] e100_suspend+0xc0/0x100 > [ 8805.291724] [] pci_device_suspend+0x26/0x70 > [ 8805.291747] [] suspend_device+0x94/0xd0 > [ 8805.291763] [] device_suspend+0x153/0x240 > [ 8805.291784] [] suspend_devices_and_enter+0x4f/0xf0 > [ 8805.291808] [] ? freeze_processes+0x3f/0x80 > [ 8805.291825] [] enter_state+0xaa/0x140 > [ 8805.291840] [] state_store+0x8f/0xd0 > [ 8805.291852] [] ? state_store+0x0/0xd0 > [ 8805.291866] [] kobj_attr_store+0x24/0x30 > [ 8805.291901] [] sysfs_write_file+0xbb/0x110 > [ 8805.291936] [] vfs_write+0x99/0x130 > [ 8805.291963] [] ? sysfs_write_file+0x0/0x110 > [ 8805.291979] [] sys_write+0x3d/0x70 > [ 8805.291998] [] sysenter_past_esp+0x5f/0xa5 > [ 8805.292038] ======================= > [ 8805.347640] ACPI: PCI interrupt for device 0000:00:06.0 disabled > [ 8805.361128] ACPI: PCI interrupt for device 0000:00:02.0 disabled > [ 8805.376670] hwsleep-0322 [00] enter_sleep_state : Entering sleep state [S3] > [ 8805.376670] Back to C! > > Interface is unused normally (only for netconsole sometimes). dmesg and config > attached. Does reverting this: commit 8543da6672b0994921f014f2250e27ae81645580 Author: Auke Kok Date: Wed Dec 12 16:30:42 2007 -0800 e100: free IRQ to remove warningwhenrebooting with this patch: --- a/drivers/net/e100.c~revert-1 +++ a/drivers/net/e100.c @@ -2804,9 +2804,8 @@ static int e100_suspend(struct pci_dev * pci_enable_wake(pdev, PCI_D3cold, 0); } - free_irq(pdev->irq, netdev); - pci_disable_device(pdev); + free_irq(pdev->irq, netdev); pci_set_power_state(pdev, PCI_D3hot); return 0; @@ -2848,8 +2847,6 @@ static void e100_shutdown(struct pci_dev pci_enable_wake(pdev, PCI_D3cold, 0); } - free_irq(pdev->irq, netdev); - pci_disable_device(pdev); pci_set_power_state(pdev, PCI_D3hot); } _ fix it? > Hmm ... after resume device has disappeared at all ... > > {pts/1}% cat /proc/interrupts > CPU0 > 0: 1290492 XT-PIC-XT timer > 1: 6675 XT-PIC-XT i8042 > 2: 0 XT-PIC-XT cascade > 3: 2 XT-PIC-XT > 4: 2 XT-PIC-XT > 5: 3 XT-PIC-XT > 7: 4 XT-PIC-XT irda0 > 8: 0 XT-PIC-XT rtc0 > 9: 583 XT-PIC-XT acpi > 10: 2 XT-PIC-XT > 11: 31483 XT-PIC-XT yenta, yenta, yenta, ohci_hcd:usb1, ALI 5451, pcmcia0.0 > 12: 28070 XT-PIC-XT i8042 > 14: 21705 XT-PIC-XT ide0 > 15: 82123 XT-PIC-XT ide1 > NMI: 0 Non-maskable interrupts > TRM: 0 Thermal event interrupts > SPU: 0 Spurious interrupts > ERR: 0 I hope that's not a separate bug... -- 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/