From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: custom kernel config Date: Tue, 2 Apr 2019 17:49:14 +0300 Message-ID: <20190402144914.GH21029@macbook41> References: <20190401180434.GF21029@macbook41> <87zhp9shmj.fsf@ambrevar.xyz> <20190402053746.GG21029@macbook41> <871s2komsy.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IbA9xpzOQlG26JSn" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBKhZ-0006A5-OG for guix-devel@gnu.org; Tue, 02 Apr 2019 10:47:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBKhY-0003YR-ES for guix-devel@gnu.org; Tue, 02 Apr 2019 10:47:49 -0400 Received: from flashner.co.il ([178.62.234.194]:53688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBKhY-0003Xb-3J for guix-devel@gnu.org; Tue, 02 Apr 2019 10:47:48 -0400 Content-Disposition: inline In-Reply-To: <871s2komsy.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --IbA9xpzOQlG26JSn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 02, 2019 at 10:04:29AM +0200, Pierre Neidhardt wrote: > Efraim Flashner writes: >=20 > > I haven't checked to see if my custom kernel works yet on my laptop, but > > compile time was 43 minutes on my kids' computer. Stock > > linux-libre@5.0.5 took 267 minutes. > > > > My custom kernel came in at 34MB, the stock kernel is 251MB. >=20 > Great success! :) >=20 > My attempts on my Xiaomi Air 13: >=20 > - Stock build time: ~50 minutes. > - Custom kernel, starting from nothing: 5-10 minutes. > It works, but the mousepad and the sound are missing. I can't figure > which component is missing. Does anyone know if there is any reliable > way to know the kernel config I need for that? I think I used Gentoo's documentation from the handbook=C2=B9 and laborious= ly going through `lsmod` and grepping our kernel configs (I think) to figure out what they were called in the kernel. >=20 > - Custom kernel, starting from Linux-libre and removing components: 40 > minutes. It works, but I don't understand why it's still so long to > build. I've removed almost all devices I didn't need from the "device > section", but this is clearly not the bottleneck. I started that way too, but I wasn't sure just how much I could take out. >=20 > Cheers! >=20 > --=20 > Pierre Neidhardt > https://ambrevar.xyz/ =C2=B9 https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --IbA9xpzOQlG26JSn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlyjdmMACgkQQarn3Mo9 g1HAoQ//fZP8TEGPLUWTUEtwdqocBR5ZXhzXrvmKpl6MkMIoZ0eIxnrpyrLSmYRa mDklBt+5a5TYwjelouwbAjYJ2ibmhoTRF8kQCOuOtaf0L/CvCYp4TfbSUDze67YA /nkAkK+YIz2g8kwa4+avV5HnUYneMdjfrmNIL2evnNDRcFBh24+dYYtIViPrvYfC CzsTa0D/eEGg68fjriteZoxc3vPhgxM+w5pBfanssBYS4qqPznRx9gi5AGZel9sD ssDpeh+KhtG6Aa9qgTCaYwkj25oJ2x4zF8DeiisBhC/oPIaqSTQIAsflXSfIPGnq sAK2ulCjFzrxj2s5n5m9FIhu7V1uK6nXLg3+4RFpA1omnd59XGamOakX+xmeZJpa 5rANzthXvY22uvGryQ6LpCaBLp5J90SS2YNBpoj7hkPTIcy+jjJhrABP2K7vPZka HPWIogUo0AxyGOc311zJRv2YodvcqOPLcKaXpRzqeo5nxP0f6++EeyC+5bdZwbvN XIJ7O8mGdbu9+RvjsNk4fG13cRhxn4yfsFZNPtoHhud/5PjznCmP3bHmD65kl96r m0oQ4CPRV4yhEYZm1/F7IMdGedFgvngHy4CFsojT1dtfo+YwK085wOODJsdkqWvI MMpoq6TfOZpX14XzMC5u0CEhOFdA6scokZllR393vMpZEbncLpk= =m0yj -----END PGP SIGNATURE----- --IbA9xpzOQlG26JSn--