From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E271CC433B4 for ; Fri, 2 Apr 2021 14:32:23 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77743610CB for ; Fri, 2 Apr 2021 14:32:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77743610CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1lSKqM-0002JZ-IQ; Fri, 02 Apr 2021 10:32:14 -0400 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1lSKqK-0002Ip-3Q for kernelnewbies@kernelnewbies.org; Fri, 02 Apr 2021 10:32:12 -0400 Received: by mail-vk1-xa2b.google.com with SMTP id j15so1169114vkc.1 for ; Fri, 02 Apr 2021 07:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L60eAQYly7i0MT7Iugd6LngB9ygqlVvPEaJPRM2svBI=; b=MIxA4P4ZOT/xdxKFgV+9LLYtKPfEUVbocnFuujabVPoOLMv3wbOsCzTqA20dYOAvNF YpEX7XEYxnw6I+wgkiCwWqiSp0BupJqDYFM6KSybfn34Pc+TBoKeHpxrwgWYHGHGCALV Kl13yYUtPn2vwY5j9vsYsNJVgNfCu7LesIIJLTcKoHx9ETEDNl+XaONUI3Q+MKUYhWVE JIAdla1M2UlOInqhtadROMOOXjRlanWQnSFCwYJBcJfKKuLawz0SGIj09lUXz062l61M x6iWuKh1wplVlkNUxaTdsO/ls8vMFC4FtFjYMBHuQQrPxICrrmVxqUmwaBsLmm521G1b dxGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L60eAQYly7i0MT7Iugd6LngB9ygqlVvPEaJPRM2svBI=; b=kZ0CWrAIJdVG25negbCZEOBWfXfcL5SSMaV4HCSfnN8ctKm2jWgiJU3RcAo5IzfDJn GIC6UQ2xWFZLKFlLAbS9S8SCfKxfMmM3mxF5xEYr/ECi1XqpeAJiPHhxu9PFKZvXuh8/ 2egHJvYgcx2eFE7sVve3KlW0rABRnnplxtx+OuTXCOEVL9dcmYizGpIT7Hjb9V8FRjsl xkgZ6P5GWSAb2M+1Lo1aOLH88N2xJV82f61hdrYtVoj5Hf17n0gs+/K0LRBiV5Crrupc dex+j/gXB1eLHrY7VN9c4SMOcL6yIHT48anRJD1S4IKcK4pD4981IUfR4brWYA3SbTTT 3OBg== X-Gm-Message-State: AOAM533TIolJsGCHABfSf3431LVDWWjTu5pypzNXepKs1go+qpBmEoPp /BPX5VlV2NBmRvADFM24wTQsxSRBkleB5FHwQlY= X-Google-Smtp-Source: ABdhPJzZmkmB5w2fDMI3U/9/+Mm3jSQnHnwzAb3bXsnH72NPNsCCTrmaAPZ1nQWRCPE4PJsc14yGSqoUvn2Pzw9PH94= X-Received: by 2002:a1f:ae94:: with SMTP id x142mr9193447vke.12.1617373929425; Fri, 02 Apr 2021 07:32:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: jim.cromie@gmail.com Date: Fri, 2 Apr 2021 08:31:43 -0600 Message-ID: Subject: Re: Unable to boot to kernel built from stable 5.11.y To: Andrew Adamson Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7345960782911832788==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============7345960782911832788== Content-Type: multipart/alternative; boundary="000000000000884e7f05befe36c2" --000000000000884e7f05befe36c2 Content-Type: text/plain; charset="UTF-8" On Tue, Mar 30, 2021 at 7:16 AM Andrew Adamson wrote: > Hi Everyone, > > I tried to build the kernel myself for the first a few days ago. While the > build was successful, I am unable to boot to it. After grub I get a > blinking cursor for 15 to 30 minutes, and then a message that says "Please > reboot and select proper boot device." > > I dont know your higher mission, but I'll suggest: punt on grub install at least temporarily, Try virtme. its a super-easy way to run your built kernel on a VM the VM is setup to use your existing installation so theres no extra configuration to fuss with. [jimc@frodo t2]$ virtme- virtme-configkernel virtme-mkinitramfs virtme-prep-kdir-mods virtme-run this is probably all you need to enable the right features in your built kernel, basically VIRTIO + NET [jimc@frodo t2]$ virtme-configkernel --update GEN Makefile .config:3468:warning: override: reassigning to symbol UEVENT_HELPER .config:3469:warning: override: reassigning to symbol VIRTIO .config:3472:warning: override: reassigning to symbol NET .config:3482:warning: override: reassigning to symbol BINFMT_SCRIPT .config:3486:warning: override: reassigning to symbol MODULE_SIG_FORCE .config:3487:warning: override: reassigning to symbol DEVTMPFS .config:3488:warning: override: reassigning to symbol TTY .config:3492:warning: override: reassigning to symbol INOTIFY_USER .config:3495:warning: override: reassigning to symbol BLOCK .config:3505:warning: override: reassigning to symbol WATCHDOG .config:3506:warning: override: reassigning to symbol WATCHDOG_CORE .config:3509:warning: override: reassigning to symbol SERIO .config:3511:warning: override: reassigning to symbol INPUT .config:3518:warning: override: reassigning to symbol FB .config:3521:warning: override: reassigning to symbol RTC_CLASS .config:3525:warning: override: reassigning to symbol PARAVIRT # # configuration written to .config # Configured. Build with 'make ARCH=x86 -j8' [jimc@frodo t2]$ there are options to let you mount directories, to keep your VMs work, so this might satisfy your itch. then, you can decide whether you need to mess with grub, and if you do, youll have some own-kernel experience to help. > --000000000000884e7f05befe36c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Mar 30, 2021 at 7:16 AM Andre= w Adamson <andrewdadamson@gm= ail.com> wrote:
Hi Everyone,

I tried to build th= e kernel myself for the first a few days ago. While the build was successfu= l, I am unable to boot to it. After grub I get a blinking cursor for 15 to = 30 minutes, and then a message that says "Please reboot and select pro= per boot device."


I dont know your higher mission, but I'll suggest:
punt on grub install at least temporarily,
Try virtme= .
its a super-easy way to run your built kernel on a VM=C2=A0
the VM is setup to use your existing installation
so there= s=C2=A0no extra configuration to fuss with.

[jimc@= frodo t2]$ virtme-
virtme-configkernel =C2=A0 =C2=A0virtme-mkinitramfs = =C2=A0 =C2=A0 virtme-prep-kdir-mods =C2=A0virtme-run =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0


this is probably all= you=C2=A0need to enable the right features in your built kernel,
basically VIRTIO=C2=A0+ NET

[jimc@frodo t2]$ virt= me-configkernel --update
=C2=A0 GEN =C2=A0 =C2=A0 Makefile
.config:34= 68:warning: override: reassigning to symbol UEVENT_HELPER
.config:3469:w= arning: override: reassigning to symbol VIRTIO
.config:3472:warning: ove= rride: reassigning to symbol NET
.config:3482:warning: override: reassig= ning to symbol BINFMT_SCRIPT
.config:3486:warning: override: reassigning= to symbol MODULE_SIG_FORCE
.config:3487:warning: override: reassigning = to symbol DEVTMPFS
.config:3488:warning: override: reassigning to symbol= TTY
.config:3492:warning: override: reassigning to symbol INOTIFY_USER<= br>.config:3495:warning: override: reassigning to symbol BLOCK
.config:3= 505:warning: override: reassigning to symbol WATCHDOG
.config:3506:warni= ng: override: reassigning to symbol WATCHDOG_CORE
.config:3509:warning: = override: reassigning to symbol SERIO
.config:3511:warning: override: re= assigning to symbol INPUT
.config:3518:warning: override: reassigning to= symbol FB
.config:3521:warning: override: reassigning to symbol RTC_CLA= SS
.config:3525:warning: override: reassigning to symbol PARAVIRT
## configuration written to .config
#
Configured.=C2=A0 Build with &= #39;make ARCH=3Dx86 -j8'
[jimc@frodo t2]$

t= here are options to let you mount directories, to keep your VMs work,
=
so this might satisfy your itch.

then, you ca= n decide whether you need to mess with grub,
and if you do, youll= have some own-kernel experience to help.
=C2=A0


--000000000000884e7f05befe36c2-- --===============7345960782911832788== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============7345960782911832788==--