Bug 7082
Summary: | suspend with ne2k-pci hangs | ||
---|---|---|---|
Product: | Drivers | Reporter: | Laurent Riffard (laurent.riffard) |
Component: | Network | Assignee: | Andrew Morton (akpm) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | akpm, greg, p_gortmaker, rajesh.shah |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.18-rc5 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | config file used for git bisection |
Description
Laurent Riffard
2006-08-30 10:20:32 UTC
Created attachment 8905 [details]
config file used for git bisection
hm. I guess it's a driver bug. I'm looking for the place where a net driver suspend method drains its queue and waits for IRQ/DMA activity to terminate, but am not having much luck. Maybe we should revert Rajesh's patch for now? The driver should re-enable the device on resume. If it doesn't do that, it is a bug in the driver, right? drivers/net/ne2k-pci.c:ne2k_pci_resume() ;) Yes, the driver does all that. But this failure happens during suspend, when there's net activity. I don't see what's preventing ongoing tx/rx activity when the device is being suspended. Confused. Yes, this seems to be a driver bug (driver maintainer added to CC). I see other drivers talking to their hardware to silence it in the suspend callback, but not this driver. Dropping my patch for the time being should be ok (though I seem to remember someone else posting a patch to do the same thing - I don't remember why). Decoding resources while disabled is a potential problem, but I haven't seen a problem report where this caused failures. Andrew, can you drop that patch? Could anyone please tell me what the current status of this bug is? The problem stil happens with 2.6.19-rc4: I can reliably hang my computer by suspending while downloading some big file from Internet. I think the problem has been fixed recently. Am I right? Yes, this bug has been fixed in 2.6.19-rc5. commit 6851ecc6e2fa4a01449a0fec9f4abd9aec43afde Author: Greg Kroah-Hartman <gregkh@suse.de> Date: Thu Nov 2 23:02:24 2006 -0800 PCI: Revert "PCI: i386/x86_84: disable PCI resource decode on device disable " This reverts commit 53e4d30dd666d7f83598957ee4a415eefb47c9a6. It was found that it caused unneeded problems (see http://bugzilla.kernel.org/show_bug.cgi?id=7082 for details of one such issue. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |