From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3CAFA1580E0 for ; Thu, 30 Jan 2025 17:52:18 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 769DB343609 for ; Thu, 30 Jan 2025 17:50:57 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3C8A311047D; Thu, 30 Jan 2025 17:49:46 +0000 (UTC) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DE8B71103B6 for ; Thu, 30 Jan 2025 17:49:44 +0000 (UTC) Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2f13acbe29bso3547633a91.1 for ; Thu, 30 Jan 2025 09:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738259384; x=1738864184; darn=lists.gentoo.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cRezP55gpKI7ANqkoIjPKYFdk88Hik5hUbk/1eOJLfo=; b=Y/5l3h6q5iUu4XAiclYQs7GlGs5GccHU0QfDDaeS9I50e5y4j6s1S/m9IeVNmqRBmH +nSI90Bz880EYNRtVVXnOOcQ0XE/kpJq7rtbMhmxbs5F43br8U1XpJyznH5b7Iv7/vkK 115rz+umlEmdm4lX5kTy7ku9m8oxCqHN3Ht/jAeKP/b0EJDMslwVFme1C2ZOv44HldSF zyY4UE2eWVMl3XOKPyK78k3g8kByR7i1S+TorfipmUJo7bmQtf3HDddPJELxLWpzmtkj IlVNJ1UqjAlF+c5wuXhU+DarbaUegQLkFFVC6y6W5R7WwPvwO5QDGjptEzm20YrXwCzy YsrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738259384; x=1738864184; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cRezP55gpKI7ANqkoIjPKYFdk88Hik5hUbk/1eOJLfo=; b=ko7HRbtimZGc5/6eTpIN5zQ7EviEvZC9e18TUOwAcLFAR7jsy1X82B8erTLmorGDhr S3Vb2qLMWuZlg3Z69SxzVX6T8+HvpPnyyF/+aGotodTSiTNdPvENBY+cXtA8BDv5MaIE 05b2WFZwPM3/kjrCQzcLVLQVyruwSJJjxPLZxTcniRy2EtvVulD3yEFmIDe4bmOTuhRZ uz97d3XEcq7UscTPMWrAwBJ1fiYeMenLAVrRwyc11BldZZqKeRGRFB/dHzfMWcCmMGRQ oGuE7bc7zn9pH05XuoKbAjQgLFcypR/Rwmr5zq+q6Lz1TnU4UOvSuOzMWfOegywL0Ta0 +Kew== X-Gm-Message-State: AOJu0YwE7onEyZuQmyf9ppfi58oa+c2KSitda6s/DztvWOZZJ93PaLPg jk/c9LVJGVlodJPgogwJLmwYWI51I7q6Bnk1biqzojp/alTaMjgrG4ncP2R/rkDt18pnM6FjP0u pzmEZGcNIMWFY7Etq4DXRobHKnYZZqJ8k X-Gm-Gg: ASbGnctMSDtX2nKjjDXSVS6FBMfMkiknVQSReb5ycDN4Mo4aQfA0rBWLjA5xMViN+Ur V9fsfDTVciiij+D4AAn1FupaM1Y5Y41zOVCieRfrAVkjPwgn9Iw9YBktCDTNqiGXEveS/sSGXxx 4= X-Google-Smtp-Source: AGHT+IE5g1k+3Bmv1cpF0qRR3L98Pn7Juy8INsioVYsV6R++LyXEu3sNzWenXvF6MXfCFJ/ZKuFARgHHVW3M2bQM394= X-Received: by 2002:a17:90b:518b:b0:2ee:8cbb:de28 with SMTP id 98e67ed59e1d1-2f846388b5cmr6966054a91.8.1738259383899; Thu, 30 Jan 2025 09:49:43 -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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 From: gevisz Date: Thu, 30 Jan 2025 19:49:29 +0200 X-Gm-Features: AWEUYZnJIDqmSVW9bhMg6iSwB2lpDkOgPZYiSuA2l24rqUfRDtkzkbtP2sDWVOI Message-ID: Subject: [gentoo-user] Zombie Linux kernel To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: c491deee-f22c-4092-913d-d57c0669b7ca X-Archives-Hash: 5a702a73467abe358f93a2a4043b0d06 I have not updated my Gentoo system since May 31, 2024, so in the middle of October 2024 I had to install it anew. Just to remind you: during that time we all had to switch to the new Gentoo profile scheme, which made an update from my old system more difficult than a new install. During this new Gentoo install, I also moved from ext4 to XFS for / and to ZFS for /home. On October 26, I compiled a new Linux kernel. It had version 6.6.52 and worked quite well. However, with time it disappeared from the Gentoo portage tree. So, 11 days ago I compiled kernel version 6.6.62 and successfully booted my Gentoo system with it over the next 9 days. The old kernel of version 6.6.52 was deleted from the /boot directory just after compilation of kernel version 6.6.62 just because it could not support my home ZFS disks any more (because zfs-kmod should be compiled against the specific kernel version and would not work with another one). But yesterday, after booting my Gentoo system, the uname -a command reported that I have been booted with the deleted old kernel version 6.6.52 compiled on October 26, 2024! And, of course, it did not mount my ZFS /home. An additional indication that it was the old kernel of version 6.6.52 was that the command lsmod showed that the XFS module was loaded, while I had compiled it into the new kernel of version 6.6.62 no longer as a loadable module but as a part of the kernel itself. I have double checked everything: the old kernel of version 6.6.52 together with its initramfs have been deleted from the /boot directory. Moreover, just a day before I deleted /usr/lib/modules/6.6.52-gentoo/ directory. I tried to reboot and found out that GRUB menu had only an option of loading the old kernel of version 6.6.52. However, I soon understood that the latter was because I have attached additional HDD before booting my Gentoo system, and as a result of this the system decided to boot from another HDD where I have not installed a new GRUB file. So, I fixed it and my Gentoo system was finally able to boot with the new kernel of version 6.6.62. But the mystery of loading my Gentoo system with deleted kernel and deleted modules remains. How could that happen at all? My only explanation is that XFS actually had not deleted the old kernel and the modules directory but only marked them as such. So, the old GRUB file could load them even when they had been marked as deleted. But is this explanation actually correct?