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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 BEE71C49EA5 for ; Thu, 24 Jun 2021 16:13:30 +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 76D9F61375 for ; Thu, 24 Jun 2021 16:13:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76D9F61375 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.2) (envelope-from ) id 1lwRyk-0004nv-PP; Thu, 24 Jun 2021 12:13:22 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lwRyi-0004nn-EA for kernelnewbies@kernelnewbies.org; Thu, 24 Jun 2021 12:13:20 -0400 Received: by mail-lf1-x12c.google.com with SMTP id u13so11267135lfk.2 for ; Thu, 24 Jun 2021 09:13:20 -0700 (PDT) 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=M7s4bDYm3q0r9RMwOE1Ui8CHn2MNqAfiTS6c3dChx9o=; b=axPQfo8i7QtMM0N6/MU4Q3dX2NhLtsxdXXwb68niWyXw2g5FzgtNiC++2tHidX5mIC pweKuvlm3PsD5qB3gyHkp4mmAk97yLrzo2ZmMqIllZzrKRDfHj4xgcKMHxaRvT4pIfmD pe2igkvjU4JmC4fCnvY9XiVEUwDmKeRQ+jjXtzopoM/hLvn28oAqWavFAJD+bNv+nq4i P/N2vPsyh1MsTkrsfAdzcTNWPjj+3IyE6CoK7CNgVnIjTqHJZjz+hiOqDakc5N+/YAws h4Mwl9fJay8VtC1++e1toAj1p84PyVFS3xS5Gw9FAE+dq0niaLScsgIsP3qIKEqIzZgx Qc4Q== 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=M7s4bDYm3q0r9RMwOE1Ui8CHn2MNqAfiTS6c3dChx9o=; b=L+X327zL357hBlFkYAJQB/s/H6JHGBLucVe55tEi+h/y4Tby9gQjhDmgxXgFxWXWqX pr2+7cxC/ZMmai6Gq3mbDbR0VTfKvWujzOQ/ZLRzThxwJe3csVWKy/a4DFMBTUeNf7As rGTuro3bHKArk0pYb67/PbW+mr9uDG3Md0C6cksNVfIchYATz1RuZC9K06lF9kvJtBk7 qeNNt9DyrcrIIMqPIHmlE0PbmAVAl1+LXkOaYik022iXXUVOar3qq5uP1fMm9ok3ZHP+ vy0cDw4UXs6iY31d2QFfa0d5Y5ybM98TxMiM254oc9yo7XwuN1JW6YxWqKYtqMGWPx+y A8Qg== X-Gm-Message-State: AOAM530jBuBwIWluZSf8+6Z2U3k/1iYWXTLAwU11vGnUf9EAN02jqePA wpi/j9eF1caNEenoDsHHxy/x/2oIY0qYCJbuoMG1siVb X-Google-Smtp-Source: ABdhPJw/U9r2pXldil7pMNZ71kW1fGOGV+WrikMQe+0hIQPoBghpdps2bB8oa+0nFbs1qGqjsJuUrDuhJsvMirqY5E8= X-Received: by 2002:a05:6512:3c9d:: with SMTP id h29mr4547680lfv.196.1624551198074; Thu, 24 Jun 2021 09:13:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:5203:0:0:0:0:0 with HTTP; Thu, 24 Jun 2021 09:13:17 -0700 (PDT) In-Reply-To: References: <20210624102151.c3qbmadsjw4sz6ot@sofaking> From: Cindy Sue Causey Date: Thu, 24 Jun 2021 12:13:17 -0400 Message-ID: Subject: Re: Kernel Compile Issue To: Kernel Newbies 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On 6/24/21, Aruna Hewapathirane wrote: > On Thu, Jun 24, 2021 at 6:21 AM Thomas Bracht Laumann Jespersen > wrote: >> >> > I am trying to compile a old kernel and it compiles fine. I used: >> > time make -j$(nproc) and this is a-ok and works. >> > make modules_install works fine. Now when I try to install the newly >> > compiled kernel I get this error below. >> > >> > Error! Bad return status for module build on kernel: 3.18.2-testing >> > (x86_64) >> >> Just to be clear: This is what you get when running "sudo make install" ? > > Yes, I was getting that error when running "sudo make install". I > have manually removed > all instances of VirtualBox and any guest additions and that warning > went away. But now I have > another problem. After compilation grub menu shows the new kernel. > When I select the new > kernel it goes through all the usual steps of booting then hangs at > the graphical login screen where > I no longer have a mouse and Ctrl+Alt+F1 does not work either . Hi from a perennial lurker here! Disclaimer up front: My apologies if you're already doing this step. In my case, my experience is with Debian doing similar versions of this over the last year or so. I tripped over that I was mismatching e.g. my initrd.img and vmlinuz instances in an attempt at separating out all things "/boot" while running LILO instead of GRUB2 for 14 or so different bootable partitions. My stumbled upon fix was to run "update-initramfs -u" then double check to make sure that that latest update matched the location LILO was using to call up those partition-specific files. As an example, I have a "lilo" subdirectory under /boot then each operating system has its own deeper subdirectory. Those subdirectories hold copies of each system's initrd.img and vmlinuz. Ever since I started very carefully double checking everything after each update that triggered LILO to run, I haven't been locked out since, not once. Prior to this (really just a few weeks ago), I faced every possible form of lockout that you're describing plus occasionally also hitting that blank screen where the login prompt doesn't even bother to appear. The experience has been so empowering that I'm preparing to test drive syslinux, too, something I've actually "feared" until a couple weeks ago. :) Hope this helps someone at some point... somewhere.. somehow. Cindy :) -- * runs with birdseed * _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies