Bug#697501: AR9285: enabling or disabling Wi-Fi freezes the system
21.02.2014, 06:29, "Ben Hutchings" <ben@decadent.org.uk>:
> On Wed, 2014-02-19 at 19:09 +0400, программист некто wrote:
> This change went into Linux 2.6.39 and then into 2.6.38.3. I don't
> remember why I cherry-picked it here but it was probably fixing a
> regression on some machines. The upstream change was:
> https://git.kernel.org/linus/8b8bae901ce23addbdcdb54fa1696fb2d049feb5
>> I think a problem somewhere here.
> Why, is that the first version that breaks for you?
>
> In that case, does the attached patch fix the problem for you?
> (Instructions for rebuilding the kernel package are at
> <http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.)
>
> Ben.
>
> --
> Ben Hutchings
> A free society is one where it is safe to be unpopular. - Adlai Stevenson
Yes, it is the first version with which there are freezes.
II tried to apply a patch but it doesn't approach.
$ patch -i ../revert-pci-acpi-report-aspm-support-to-bios-if-not-disabled.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 7
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Subject: Revert "PCI/ACPI: Report ASPM support to BIOS if not disabled from command line"
|
|This partly reverts commit 8b8bae901ce23addbdcdb54fa1696fb2d049feb5.
|
|--- a/drivers/acpi/pci_root.c
|+++ b/drivers/acpi/pci_root.c
--------------------------
File to patch: drivers/acpi/pci_root.c
patching file drivers/acpi/pci_root.c
Hunk #1 FAILED at 443.
1 out of 1 hunk FAILED -- saving rejects to file drivers/acpi/pci_root.c.rej
--- pci_root.c
+++ pci_root.c
@@ -443,7 +443,7 @@
if (pci_ext_cfg_avail())
flags |= OSC_EXT_PCI_CONFIG_SUPPORT;
- if (pcie_aspm_support_enabled()) {
+ if (pcie_aspm_enabled()) {
flags |= OSC_ACTIVE_STATE_PWR_SUPPORT |
OSC_CLOCK_PWR_CAPABILITY_SUPPORT;
}
Reply to: