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 942F2138239 for ; Mon, 15 Feb 2021 18:59:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F496E08BF; Mon, 15 Feb 2021 18:59:04 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 36DD7E0893 for ; Mon, 15 Feb 2021 18:59:04 +0000 (UTC) Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id 4DfYKy4M3rzZ8y for ; Mon, 15 Feb 2021 13:59:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1613415542; bh=NOw1OFplRTSyGAU2rXbsscvy7UlOstHOjFlm1CVse/Y=; h=Date:From:To:Subject:In-Reply-To:References; b=kK+9u9iRoOLGkaP7XJGBfEfaeAZCFi/b5QT4maGP9H8KpowdLTe3RfI4OKKDj3sli 1a7pfViHIK+xRuTiR9W2/wU+LWmQ3bYvNd7C0KxqJxDRSycSIHiByOLH6paSRwCkcf onvuy5/zqpuLOU5fVXNULSBGID9bpkTawNy4kQOY= Received: by panix1.panix.com (Postfix, from userid 20712) id 4DfYKy5qMQzcbc; Mon, 15 Feb 2021 13:59:02 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by panix1.panix.com (Postfix) with ESMTP id 4DfYKy5Yn2zcbW for ; Mon, 15 Feb 2021 13:59:02 -0500 (EST) Date: Mon, 15 Feb 2021 13:59:02 -0500 From: Jude DaShiell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo system suddenly failed to boot. In-Reply-To: Message-ID: References: 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 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Archives-Salt: 36dae85b-4f42-4e79-bb97-98a364709c22 X-Archives-Hash: 051e213ac7b5e0c9d67ecdccc574fd2c Check the date and time when you boot and if it isn't correct, you probably have a dead battery on your motherboard. I had to replace one a couple days ago. Fortunately the kind of battery my computer uses is sold in pharmacies since blood sugar meters also use them. On Mon, 15 Feb 2021, gevisz wrote: > Yesterday, my relatively new install of Gentoo failed to boot with the > following repeated messages: > > ata5.04: SATA link down (SStatus 0 SControl 0) > ata5.04: hard resetting link > ata5.04: failed to resume link (SStatus 0 Scontrol 0) > > My first thought was that something is wrong with my old IDE (ATA) > drive. (The Gentoo system partition was on /dev/sda5.) > > Nevertheless, I was able to boot from a flash drive with a live Gentoo > CD and chroot into the Gentoo system partition of my IDE drive. > > So, I formatted a new SATA drive according to instructions given in > Gentoo AMD64 Handbook, rsynced the corresponding IDE system partition > into it by the following command: > > rsync -qaHAXS source_dir target_dir > > made the necessary changes to the corresponding fstab file, chrooted > into the new system SATA partition, recompiled grub and installed it > on the new disk. > > After all that I was able to boot the Gentoo system from the new > partition. However, the booting process went as slow as hell, and at > the end Xorg server failed to start. > > My next guess was that something went wrong with the last kernel I > used to boot. So, I tried to boot using the previous kernel. > > However, this time the booting failed with almost the same messages as above: > > ata5.03: failed to resume link (SStatus 0 SControl 0) > ata5.03: SATA link down (SStatus 0 SControl 0) > ata5.03: hard resetting link > ata6.04: failed to resume link (SStatus 0 SControl 0) > > (Now, my new Gentoo system partition is on /dev/sdb2.) > > Shall I try to do something to fix it before reinstalling Gentoo anew? > > For example, I thought of booting with a live Gentoo flash drive, > chrooting into the new system partition and recompiling @system. > However, if it is not some package that is corrupted, it may be a waste of time. > Or, maybe, @system may be narrowed to just a few packages needed at boot time? > Shall I try to recreate initramfs, what in my case means re-emerging > gentoo-kernel package? > What do you think? > > P.S. Nevertheless, I still can successfully boot my very old legacy > system from another partition of my IDE drive. > >