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 E9DD31382C5 for ; Sat, 12 Dec 2020 20:24:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2ACBE09B6; Sat, 12 Dec 2020 20:24:42 +0000 (UTC) Received: from mail1105c7.megamailservers.com (mail774.megamailservers.com [69.49.98.84]) (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 5EE62E0951 for ; Sat, 12 Dec 2020 20:24:42 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1607804681; bh=zg72gEERQGFEU9Vn+MdQksSBrBPgyD9MHNnyVa5z18M=; h=To:References:From:Subject:Date:In-Reply-To:From; b=HNxGouR14g1JlAAnXRqH1LN0mAXJTBZJyMps7hlRbSPWH3yDz/SyX19fxOqBtJv5w SptICCVCDT0NLCBLqto6edz1cjG16yIuhdotJQxCoEGe9HvXRHGMtb6xYioeDbn+Qy gq7wIVW62kOXJ2RJLR4JUZGSWfENVFbYlA6pXwnM= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.103] 184.69.242.18":"11422 ([184.69.242.18]) (authenticated bits=0) by mail1105c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 0BCKOev2003069 for ; Sat, 12 Dec 2020 15:24:41 -0500 To: gentoo-user@lists.gentoo.org References: <39170f4b-9baf-0b27-0e94-1404f7f2c0ec@sys-concept.com> <3f0fbb46-d9bb-acfe-f765-e6c18c949a5c@users.sourceforge.net> <85c126cf-5547-898d-1118-a78ce7924925@sys-concept.com> <3326496.V25eIC5XRa@lenovo.localdomain> <2ddc8d05-4fc8-9c9e-83bc-14abc27e3ac3@sys-concept.com> From: thelma@sys-concept.com Openpgp: preference=signencrypt Autocrypt: addr=thelma@sys-concept.com; prefer-encrypt=mutual; keydata= xsFNBErG0rkBEADBziWBlZRgPWA3MO6hrJNm3Qb1zS8B3bSIKEPMVRYvc0DaHl0enSVM10Tv da4LraSH81xLeDgOptWRNAjyUhdbJegqgNeS5SYLZpWkYdtovQTCwFOAZYS9nKPU6OSDMGFZ goda3bsK38tvw7fkvzWUNHrKX2nRFnjJm1ixCyAjUHoWaUgF4GLDqD5nq1WUfYaw58jUHoco bRMn0KOuoAF+t/xlIF285UewQQaNUlza6lZ+otdJveOCfOV0thElYJGkyQ5sFibvFuDuwS8M 0usojinj5mrHHnl+8EObosFnrDw7PH0xASRkYUB6BmCDYLyYoujvZdhUo8ghIUBmEC4ePgJU rx6Hm10yRMTJdbX18W/6PjdI0bCaDOVuD8kV1b9gF55KUrV1AP8O4aix6CzNHmvsUyUk4c6E os6Jf3N9NOYAO/VdnyGeaTWcdVJbjJh/0M3fK9CAcLGOeK3qdBpiJZMxaHRlZnctHfP49BZV Pm1hlZtDt/fgt1V1+P8Mo03uMNM3K938zUDpHkt21jWCZzV2JrNF6MTiURiEIE0IZxJmNGfX Ub29OwRMTDiBvs2Tunr0ftih7HezKgjRt8kq3M0mHTqTJ9oaep52sFtkeDwmsP0bN2sIvWMj w9g2mWZzKP+v4uFhbJ12upDvyenqd/rOYbhg1Xyd20Z63BRqIQARAQABzTtTeXMuQ29uY2Vw dCBJbmMuICh3d3cuc3lzY29uY2VwdC5jYSkgPGluZm9Ac3lzLWNvbmNlcHQuY29tPsLBegQT AQIAJAIbAwIeAQIXgAULCQgHAwUVCgkICwUWAgMBAAUCSsbe2AIZAQAKCRD7p+62e0p4wibP D/4j8iPAp5wt274sd6Ew/iS09MIbl48b5kWAERhZkPYv+BfESoFT193+ErxyiwxfZcQkEpQR S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bMekGBnlMFpddwPLOlMvjxOrFEX7xIWnNbTKPy29W8h6hBlVaofmA0Vu8rcCywrEkx4M 3/C1CHoFJ6gXFhm8+KJC7w3YOdWyz4NcRnaMtqrvklRgCUtN/qHdSBUy6tDzLMwPhgTuPG75 pGfRrZ8MjfBMmL5v+V3Ev+6hQAJ6AZaBsq1uksSQ+MZOBxeWt/bYCyH92OqnJU2K473dNrOj sqJRTyohB1JdmxMAEQEAAcLBXwQYAQIACQUCSsbV7QIbDAAKCRD7p+62e0p4wthPD/wO5y8u pCH4IgkZjL0NuQenwvKoTqg3M/PHJEQzaMdK5dblA5nKZ6LnLmRtHd3NOvFfYvlrl+xnLQtj 8CNPiNKH2/mHEWHPJqeI27kcbhcABFdmbia+rLsf3VV9+/sqoa1dkxoM6lTrgZ57DLzuHuWk R9cEjmK2PxLyVgy/cmnDqJ/FK/4vGdrukKWeTjL/SsGZWZ7JwB0Okdrmnlq7T86csT3+1UiV ZQsm9a3WwoVzmhZomQwpi1Qw687MLtnetqEXr2cPNHTuDMnTVLVib3GhlTj3/Ylfpx8pS0vc 51KZ342RdeUHrGyQ1okxrwVAFzE2/FEO3mJtHMt0rJYLgnICuf0cBX70uxFTDnOuGrwtNVR8 0IMR8+vIhD/Cwc0hScQr9fCzm3VhFGSXyOChmRIg5fmftmgy19aSdysOMQAv6wap2azMvZQ7 CAZ9EvO5PioYA4YytfR2l9+CYWxzgaqjsYLiVwt4Y0lhehVQsgfygIaJA4mMf8ec9f/humVj t1EjwCS8KWeoLH8ZRv8SfHUfCirdP/leAVMkbrw4iOcNUIsrE4lpxX6lK3iNgfmpqRJzbqyK ihpcmiI2qVKtoLwiU1aOddEK09hzR5uqTDydir5EIgd3leb2wpxpjve0HEaXY4EATvq2GgkI /lur6FDTs6srRT3Ys6HAyQgyp4atUQ== Subject: Re: [gentoo-user] fsck.fat 4.1 - File system couldn't be fixed Message-ID: <86b25424-6d27-7b9d-ebe4-f706a3db2876@sys-concept.com> Date: Sat, 12 Dec 2020 13:24:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CTCH-RefID: str=0001.0A742F1A.5FD52709.0029:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=bp8y+3Si c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=046jbqsEAAAA:8 a=u7Y9vzI0h5LvhUavMi4A:9 a=QEXdDO2ut3YA:10 a=bGzDz6Hpkc7_N_b525It:22 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudekgedgudefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefvfhfhuffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeevtdegfefhgefhvdeuffduffdufeeuuedthffgveeileekheetveevudefhfffjeenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddtfegnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: 890d9c57-f6a0-4879-8c63-142e84f2efca X-Archives-Hash: 95c56c47365d1cab2d6e055166bc26c1 On 12/12/2020 12:32 AM, Dan Egli wrote: > Actually, you have an error or two below. > > On 12/11/2020 6:16 PM, thelma@sys-concept.com wrote: >> No, I did not reformat the /boot partition. I just cd to /boot and run: >> rm -r * > Probably better to wipe the file system. But you talk about moving away > from EFI in another thread, so we'll just say that should this happen > again, you should wipe with mkfs. instead of just rm -r. >> >> Yes, this machine is new but I run it for a over 10-days, configured >> most of the programs and it was running without much problems. >> Yesterday, I decided to check some parameters in kernel .config so I run: >>   genkernel --menuconfig all >> > Next time, just do this: > > cd /usr/src/linux > make menconfig (or nconfig) > >> * Gentoo Linux Genkernel; Version 4.1.2 >> * Using genkernel configuration from '/etc/genkernel.conf' ... >> * Running with options: --kernel-config=/proc/config.gz all >> >> * Working with Linux kernel 5.4.72-gentoo-x86_64 for x86_64 >> * Using kernel config file '/proc/config.gz' ... >> * >> * Note: The version above is subject to change (depends on config and >> status of kernel sources). >> >> * kernel: >> Initializing ... >> *         >> Running 'make clean' ... >> *         >> --mrproper is set; Making 'make mrproper' ... >> *         >> Will ignore kernel config from '/proc/config.gz' >> *            in favor of already existing but different kernel config >> *            found in '/usr/src/linux/.config' ... >> * > So you are wrong below. As you can see above, genkernel IS using > /usr/src/linux/.config. I'm not 100% certain, but I THINK genkernel will > compare the config files, and prefer the .config if it is present. >>           >> Running 'make oldconfig' ... >> *         >> Compiling 5.4.72-gentoo-x86_64 bzImage ... >> >> >> When I exit it it started to compile the kernel (it did not finish) I >> pressed >> "CTRL-C" (interrupted). >> I didn't know then, but running genkernel --menuconfig all >> takes configuration from: >> /etc/kernels/kernel-config-5.4.72-gentoo-x86_64 >> >> not from: /usr/src/linux/.config > No, unless /etc/kernels/kernel-config- is NEWER than .config, > and maybe not even then. See above. >> However, NO FILE HAD CHANGED IN /boot >> But this this is the moment, I couldn't boot correctly. > What was the boot error? >> make && make modules_install >> make install >> genkernel --install --kernel-config=/usr/src/linux/.config initramfs >> grub-install --target=x86_64-efi --efi-directory=/boot >> grub-mkconfig -o /boot/grub/grub.cfg >> >> But nothing had changed. So I tired newer kernel: 5.4.80-gentoo-r1-x86_64 >> But this time I run (without interruptions): >>   genkernel --menuconfig all >> grub-mkconfig -o /boot/grub/grub.cfg >> >> And again nothing changed, root "/" still mounts "ro" >> >> findmnt >> TARGET                        SOURCE         FSTYPE   OPTIONS >> /                             /dev/nvme0n1p4 ext4     ro,relatime >> >> Normally it should be: >> findmnt >> TARGET                       SOURCE      FSTYPE      OPTIONS >> /                            /dev/sda4   ext4        >> rw,noatime,data=ordered > Looks like it's not getting to the root remount stage. The kernel will > almost always boot in ro mode. So you're probably getting stuck in the > emergency shell. Can you see your device in /dev? Yes, I can see /dev/nvme0n1p4 (this is root partition) brw-rw---- root disk /dev/nvme0n1p4 >>> Does dmesg show the drive being recognised, corresponding drivers being >>> loaded, partitions and filesystems recognised? >> cat dmesg  |grep error >> doesn't show any errors No, no errors in dmesg >> > What's the last 10 or so lines from dmesg when it fails to boot and goes > to what I'm guessing is the emergency shell? >> I'll try to boot GParted and see what comes up. > > > I don't think gparted is your answer. Sounds to me like something is > causing it to fail in the changeover from your initrd to the actual > drive. If that's the case I bet your partitions are fine. Can you show > us the last 10-15 lines printed on the screen before you get stuck? In dmesg, I see some lines at the end like: findsf (728) used greatest stack depth: 14048 bytes left EXT4-fs (nvme0n1p4): mounted filesystem with ordered data mode. Opts: (null) findsf (728) used greatest stack depth: 13896 bytes left awk (735) used greatest stack depth: 13000 bytes left udevd (682) used greatest stack depth: 13792 bytes left