lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAObL_7FZVwOvc4SPaQXoD0M=a5sNhTkFAT0dhBFedGBDXt5P0Q@mail.gmail.com>
Date:	Fri, 2 Dec 2011 10:34:55 -0800
From:	Andrew Lutomirski <luto@....edu>
To:	Patrik Kullman <patrik.kullman@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: i915: RC6 causes sudden shutdowns

On Thu, Dec 1, 2011 at 9:00 PM, Patrik Kullman <patrik.kullman@...il.com> wrote:
> 2011/12/1 Andy Lutomirski <luto@....edu>:
>> On 11/23/2011 03:43 PM, Patrik Kullman wrote:
>>> Hi,
>>>
>>> I recently acquired the Asus Zenbook UX31E but have been looking for
>>> ways to extend the battery life.
>>>
>>> I read that the i915_enable_rc6 parameter could decrease power usage
>>> significantly and tried it with the 3.1.1 and 3.1.2 kernels, and
>>> indeed it does.
>>> However, I (and the other Zenbook-owners from the Ubuntu forums)
>>> experience sudden, unexpected shutdowns (for me, 1-4 times per day)
>>> with this parameter.
>>> It's as sudden as a power loss.
>>
>> Do you have DMAR enabled?  If so, it's a known problem and it's being
>> worked on (and the default will not change for you AFAICT).  If not, you
>> should send a bug report to the intel-gfx -- several people there care
>> about this.
>>
>> --Andy
>
> Well, it's not something I've explicitly enabled.
>
> Is it on by default?

Depends on config options.  You can probably get a good idea by
looking for "DMAR" in your kernel log.

>
> If so, any reason why I wouldn't want to disable it?

There are three reasons to enable it:

1. If you're paranoid and want to (partially) protect your system
against malicious PCI/PCIe cards.
2. If you assign devices in your system to VM guests.
3. If you have more than 4GB of RAM and you have DMA-capable devices
that can only address 32 bits, then you might get a performance boost.

In other words, for normal desktop use, you don't need it.  Try
booting with intel_iommu=off.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ