From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E13CA139083 for ; Mon, 18 Dec 2017 23:33:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB99CE10EF; Mon, 18 Dec 2017 23:33:25 +0000 (UTC) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5285CE10DF for ; Mon, 18 Dec 2017 23:33:25 +0000 (UTC) Received: by mail-oi0-x22f.google.com with SMTP id t81so11725696oih.13 for ; Mon, 18 Dec 2017 15:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=0zgMImfcPe0dQ4iCUi/s+MT8a+waYmsEB9Q3Sc9DMQs=; b=YELAF3X39/Wuz5hZ9lPRNEpdLptTc1L/H2dbGIu+1PvO6vH7uSVPejrZ/nNDbxuCP9 Z4WDdhiohGZnFSeRGMWTUcY/IArUiI2zVHWOoYeLUgvGNSF7BLlIE2nPi9lEY4kh2D+G MSjSZUve9d6JNGh++qvJoorXfNrosnhy4GCNBXctBftxe4StBpBpRMrChdGSr2XFoPuL GpV5IPEJZkd6WYWcXFQrURTpOsIKOCceEPDiKavCED8QS00dnH+fFNFAJgy4HwQ7ZtxA 107PvqnxjG+nucPXJrN83DlF+BGsmhZgKr4EuB0KOpKh0Nhb6cx2xIhpxq67I9eCUu3p LKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0zgMImfcPe0dQ4iCUi/s+MT8a+waYmsEB9Q3Sc9DMQs=; b=kgFYjMnz3T2TyeIMRpj6vVVxshFYuzydlWmD//CL2JObwBugQHw/RBJdIUZ2P5Qvq4 Kf9y6VUzcmL6VjTLkmTGVRHgjZFgl+VZZt3NwRxpYQCi3hzL1lZFuw8gAMZbbylXl22T v2jRsuumSgq1NYU2Y3JLh9wQf9Pm033kLMbGHahBZQmrycw7GVgGsM855Gxn35LbDFpf 49lmCgSSLwojN5T6+j+YyLg1QJyPwf7LMn7DL3Nudf4Xm7DqqU0h5/ETKfHU7V0hnNgk cBKtl+VLiP9hSIFG3p9MgQYUb4VR7nkiKPqX76pGo+Q8TZCI/+l9XDdQZueULLmGWTAQ 4lLw== X-Gm-Message-State: AKGB3mK78nFBSwP+iC54+MwoPVd6I4eXrulv1kCWXfxbiJKwtwAb5x5e bscLWHbdjnPmipG+E1PPl6aiLLuB+LA3wvxf5U7VFG5n X-Google-Smtp-Source: ACJfBouKVRdm8xxCUF7jzXK9cQVqK4syIbCri0HdRGL+yDn85ENRnOMZBdTuN+xDYPwsI6lgH19tyFGVXwUED6Y7RGs= X-Received: by 10.202.198.203 with SMTP id w194mr990132oif.132.1513640004283; Mon, 18 Dec 2017 15:33:24 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.157.19.78 with HTTP; Mon, 18 Dec 2017 15:33:23 -0800 (PST) In-Reply-To: References: <20171217092840.GA1759@starlite> <3798554.ljX4XG9pTd@dell_xps> <20171218215158.mpi2ytjcuoas2k2c@31c0.net> From: Adam Carter Date: Tue, 19 Dec 2017 10:33:23 +1100 Message-ID: Subject: Re: [gentoo-user] Loading a Firmware Module By hand? To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary="001a1134fc7ec5f46d0560a5c6f2" X-Archives-Salt: 097a3119-3ac6-455f-aaa5-0f73cad5f0d1 X-Archives-Hash: 6be629f0faa33f3cab40b365a20b3481 --001a1134fc7ec5f46d0560a5c6f2 Content-Type: text/plain; charset="UTF-8" That particular firmware does not exist. I am trying to figure how far > back I need to rollback the kernel. Sabayon's live ISO is using > 4.13.0, but that is no longer in the tree. Not sure if I need to go > back to the 4.12 ebuilds, or if 4.13.5 will suit my needs; perhaps > there is a bit of source code that I can look at to see what is being > used for the firmware? > Are you thinking that there's some interoperability issues between kernel versions and firmwares? My impression is that's generally not a problem, so wouldn't be too worried about trying different kernel versions. So the steps are just; - identify the correct firmware - verify its in /lib/firmware (typically just emerge linux-firmware, but sometimes others from /usr/portage/sys-firmware/ ) - configure the kernel to load it (in this case follow Floyd's instructions) - build and install new kernel - reboot FYI on one of my systems; $ zgrep ^C.*FIRM /proc/config.gz CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="i915/skl_dmc_ver1_26.bin i915/skl_guc_ver6_1.bin intel-ucode/06-4e-03" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" CONFIG_FIRMWARE_MEMMAP=y $ dmesg | egrep '(firm|microcode)' [ 0.300096] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.bin (v1.26) [ 0.321592] microcode: sig=0x406e3, pf=0x80, revision=0xba [ 0.321679] microcode: Microcode Update Driver: v2.2. $ --001a1134fc7ec5f46d0560a5c6f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That particular firmware does not exist. I am trying to fi= gure how far
back I need to rollback the kernel. Sabayon's live ISO is using
4.13.0, but that is no longer in the tree. Not sure if I need to go
back to the 4.12 ebuilds, or if 4.13.5 will suit my needs; perhaps
there is a bit of source code that I can look at to see what is being
used for the firmware?

Are you thinking that there's some interoperability issue= s between kernel versions and firmwares? My impression is that's genera= lly not a problem, so wouldn't be too worried about trying different ke= rnel versions.

So the steps are just;
- iden= tify the correct firmware
- verify its in /= lib/firmware (typically just emerge linux-firmware, but sometimes others fr= om /usr/portage/sys-firmware/ )
- confi= gure the kernel to load it (in this case follow Floyd's instructions)
- build and install new kernel
- reboot

<= div class=3D"gmail_extra">FYI on one of my systems;
$ zgrep ^C.*FIRM /proc/config.gz
CONFIG_PREVENT_FIRMWARE_B= UILD=3Dy
CONFIG_FIRMWARE_IN_KERNEL=3Dy
CONFIG_EXTRA_FIRMWARE=3D"= i915/skl_dmc_ver1_26.bin i915/skl_guc_ver6_1.bin intel-ucode/06-4e-03"=
CONFIG_EXTRA_FIRMWARE_DIR=3D"/lib/firmware"
CONFIG_FIRMWAR= E_MEMMAP=3Dy
$ dmesg | egrep '(firm|microcode)'
[=C2=A0=C2=A0= =C2=A0 0.300096] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.b= in (v1.26)
[=C2=A0=C2=A0=C2=A0 0.321592] microcode: sig=3D0x406e3, pf=3D= 0x80, revision=3D0xba
[=C2=A0=C2=A0=C2=A0 0.321679] microcode: Microcode= Update Driver: v2.2.
$


--001a1134fc7ec5f46d0560a5c6f2--