<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by DADE on Medium]]></title>
        <description><![CDATA[Stories by DADE on Medium]]></description>
        <link>https://medium.com/@dade?source=rss-eb5ac8af1edc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mW9fy7AKyuKsMwXGUuRDOQ.jpeg</url>
            <title>Stories by DADE on Medium</title>
            <link>https://medium.com/@dade?source=rss-eb5ac8af1edc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 09:57:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dade/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to run Arch Linux on Acer Swift 3 [SF314–51–59RF]]]></title>
            <link>https://medium.com/@dade/how-to-linux-acer-swift-3-sf314-51-59rf-skylake-944ae5a3b822?source=rss-eb5ac8af1edc------2</link>
            <guid isPermaLink="false">https://medium.com/p/944ae5a3b822</guid>
            <category><![CDATA[acerlaptop]]></category>
            <category><![CDATA[grsecurity]]></category>
            <category><![CDATA[linux-kernel]]></category>
            <category><![CDATA[acer-swift-3]]></category>
            <category><![CDATA[arch-linux]]></category>
            <dc:creator><![CDATA[DADE]]></dc:creator>
            <pubDate>Sat, 17 Dec 2016 10:41:58 GMT</pubDate>
            <atom:updated>2017-08-21T09:03:45.511Z</atom:updated>
            <content:encoded><![CDATA[<p><em>UPDATE: It works now out of the box :D, big thanks to the Linux Community (and thank you for the good news, </em><a href="https://medium.com/u/96963aa82dbb"><em>Samuel McCallum</em></a><em>). You can try an Arch-based distro like </em><a href="https://manjaro.org/"><em>Manjaro</em></a><em> if you want a graphical installer or a more beginner-friendy experience. If you own a brand new Swift 3, don’t reformat your SSD and wipe off Windows before you did a bios/firmware update, because you need Windows to flash the bios/firmware. But with a recent kernel, the Swift works pretty well even without a bios/firmware update.</em></p><p>It looks like a decent laptop for travelers to get stuff done, but I guess my pre-purchase research wasn’t deep enough. The main problem with this notebook seems to get ACPI working together with the Linux kernel. My first struggle was to boot the installer media from a USB drive:</p><ul><li>Debian 8.6 → I could finish the installation (Debian doesn’t recognize the wifi adapter, though), but the kernel didn’t boot afterwards and resulted in a freeze.</li><li>Ubuntu 16.10 → not able to boot even the installer, freeze after grub.</li><li>Fedora 25 → Same here, nothing but a freeze.</li><li>FreeBSD 11.0 → worked perfectly from the beginning, not even error messages during the boot process. But FreeBSD doesn’t support the built-in wifi (so I had to buy a cheap USB wifi adapter), it doesn’t support the Skylake on-chip Intel graphics, and I couldn’t figure out to resume from suspend-to-RAM. Maybe next time, FreeBSD :/</li><li>Archlinux → it was possible to boot and install Arch after passing the kernel parameter “acpi=off”. Yay!</li></ul><p>Since disabling ACPI is generally not a good idea for daily use (because power management and most of your hardware will be unusable — like trackpad, suspend, buttons, etc.), I was looking for a more permanent solution.</p><p><a href="https://01.org/linux-acpi/documentation/debug-how-isolate-linux-acpi-issues">Thanks to this article, it was easy to isolate and work around the problem:</a></p><ol><li><em>If “acpi=off” makes the failure go away, then it is likely an ACPI bug. But if a different failure occurs with ACPI disabled, then the test was inconclusive</em></li><li><em>If the system boots with “acpi=off”, but fails otherwise, there are a number of boot parameters that disable different parts of ACPI that can be used to isolate where the issue lies</em></li><li><em>“acpi=ht” the most like “acpi=off”, disables all of ACPI except what is needed to enumerate processors</em></li><li><em>If “acpi=off” works and acpi=ht fails, then the issue is in the ACPI table parsing code itself, or perhaps the SMP code … </em><strong><em>BINGO!</em></strong></li><li><em>“pci=noacpi” disables ACPI for PCI root bus enumeration.</em></li><li><em>“acpi=noirq” disables ACPI for IRQ routing</em></li><li><em>“pnpacpi=off” disables the ACPI component of the Linux Plug and Play code.</em></li><li><em>“noapic” disables the IO-APIC for IRQ routing</em></li><li><em>“nolapic” disables the Local-APIC and the IO-APIC</em></li></ol><p>So it turned out the cause for the boot freeze must have something to do with IRQ routing. The Acer Swift 3 booted with “acpi=noirq” and almost everything worked, even suspend/hibernate and resume.</p><p>But I still had random kernel panics during boot and afterwards, because of general protection faults, memory corruption and IRQ assignment issues. It was like 7 failed boots vs. 1 successful boot, so besides Acer’s firmware, the current Linux kernel seems buggy.</p><pre>kernel: ACPI Warning: Large Reference Count (0xFCBF) in object ffff880265118048, T<br>systemd-journald[9590]: Missed 32357 kernel messages</pre><p>Instead of git-bisecting the current kernel against older kernels, I went on and tried to boot different up-to-date kernels, like linux-lts, linux-ck, linux-zen and linux-grsec. The latter worked!</p><p><strong>Update: The Grsecurity kernel ‘linux-grsec’ is not freely available anymore since April 2017, but I have a stable system with </strong><a href="https://wiki.archlinux.org/index.php/Kernels#Official_packages"><strong>‘linux-hardened’ on Archlinux,</strong></a><strong> which includes patches from ‘linux-grsec’.</strong></p><p><a href="https://github.com/thestinger/linux-hardened/wiki">thestinger/linux-hardened</a></p><p>If you run into the same problems, try to get up your system somehow and install the ‘linux-hardened’ kernel. Arch is not the worst distro btw, give it a shot :D</p><p>Unfortunately, I cannot explain if or how this solution works with Ubuntu, Mint or Debian, because I don’t use any of those distros right now. It’s likely you may have to compile your own kernel, because Ubuntu for instance uses different kernel hardening patches.</p><p>→<a href="https://certification.ubuntu.com/desktop/">If you plan to buy a Laptop and run Linux on it, you should look here first.</a></p><p>Good luck and have fun :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=944ae5a3b822" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>