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 D5C1E1382C5 for ; Wed, 17 Feb 2021 11:50:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BED2E0823; Wed, 17 Feb 2021 11:50:40 +0000 (UTC) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 A1FABE0814 for ; Wed, 17 Feb 2021 11:50:39 +0000 (UTC) Received: by mail-lf1-x12c.google.com with SMTP id h26so20975618lfm.1 for ; Wed, 17 Feb 2021 03:50:39 -0800 (PST) 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 :content-transfer-encoding; bh=txk3sa7DU/zIr3o7/d00wNsFuBykG1rxGVFOFw9SncI=; b=QdjpucI4i3j1TDLtokDWDeMOQ1kUiydANQOK2yjh1LyIa9bh+KyWT7x7Fho4TabFU2 v+LMuUuXb3IN0SCAKqRUwYP1EtkxqpW9fYiUeMYQF5tvdq5FhIsFWAj6IY88r8ze7Jm+ Vlf36qJ3Nz23MxVu1PnQDo7rDs7J/SZNm3yKb7PReIqR6i9smfNu5iF+dCP2/p3AVIXj jCTCyZyCFp+Hm1u/zRKan5nJYgWJ0ctAMT9JcOzdwTZxU5zSXGP95yONuWTp6i1P1450 OxH162bOBbqTDCsy4jcL9sgrtFIi+u44IRH7rvIdg3GaG2ISDZ/sVDgD/jmAXI6fyhOZ 3cbA== 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:content-transfer-encoding; bh=txk3sa7DU/zIr3o7/d00wNsFuBykG1rxGVFOFw9SncI=; b=hEKx/XUTw72PwX+2T2jBMkY2AdifD/cI3RSvzH14EPUA1SpHvEl+Y0I46wuOLgk0Tm HQ0aUzd6sErDQnRKEjK5dUHYJYcIzDvjEp4XhACMLhOLIyJYyFmYfykYd2yA6HuLpA4C 44CvYCG1crYYKaIEYsS5LLGh04LHrVycYBUrOWlqhw80RQli2vMMjVZnuXwfKRq0fM0d nlSvbkZIi9EyyVOCMkitVuYF5kGsKx/BrHGDy/cydW3/bUAsUcgyKqn+WxbOXSlEnzma FupbqVNq2XHYXogK6mTGsI9z73yY+VvavZId5C7Gl+a5UHvnCwzDrjSm379b4F9bU8C7 GyxA== X-Gm-Message-State: AOAM533zyGTHK90YNPvKEmZTmKLWffdJU7UJNkxCDkmd2dgXqxfROILY x4WS606Uv8trgoPIWU1br3BXqBoZRVIJYNyrImiEl5id770= X-Google-Smtp-Source: ABdhPJwMl7E7oWQ62cFwZ4iSdxx40kwn87ZQLS+n/44hNZGLog1WYBfxKerP743T62n28dGp+yIGeUJkz1fnkWRiH/I= X-Received: by 2002:a05:6512:114e:: with SMTP id m14mr14305801lfg.617.1613562637434; Wed, 17 Feb 2021 03:50:37 -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 References: In-Reply-To: From: gevisz Date: Wed, 17 Feb 2021 13:50:12 +0200 Message-ID: Subject: Re: [gentoo-user] Gentoo system suddenly failed to boot. To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 62ab790d-03ca-44df-9f61-4db63ef05e72 X-Archives-Hash: 093b7d9ea68086146592b1078ea1575f =D1=81=D1=80, 17 =D1=84=D0=B5=D0=B2=D1=80. 2021 =D0=B3. =D0=B2 04:54, Edwar= d : > > On 2/15/21 9:53 AM, 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.) > > What motherboard model is this? It is a good question. My motherboard is Gigabyte Ultra Durable GA-MA790FXT= -UD5P and I had problems with it from the very beginning in the sense that it is quite often doesn't see my SATA disks on the first boot (though, on the sec= ond reboot it usually finds them). It is also quite often that it stops booting the legacy operating system and automatically reboots before showing a login screen. I bought it somewhere in 2006 together with a Gigabyte S-series GA-MA69GM-S= 2H motherboard, which I have been intensively using every day since then and n= ever had any problem. In contrast, the Ultra Durable one has been used very rarely and for quite short periods of time. So, I do not expect it to wear off by now. > Probably BIOS disk controller setting needs to be set to either SATA AHCI= or something else? Well, I will look into but the problem is that it worked previously with the same BIOS settings. Below is an account of what I have done so far. First of all, I copied the system partition from my ATA to the SATA drive, updated the system, recompiled @system, openrc and gentoo-kernel, which unfortunately had no effect on the booting problem. At this stage, I started to seriously consider the suggestions above that it may be a hardware problem. So, I returned to the initial ATA system partition, updated the system there, switched off swap (in fstab), reinstalled grub on this disk and tried to boot from it. To my great surprise it failed to boot again complaining about links to two my SATA drives that it was not supposed to use at all! Of course, in this case, I have not reinstalled gentoo-kernel. So, may be, the links to my SATA drives are in the initramfs that still contains links to one of the other SATA drive. (Its swap was there.) However, I used another SATA drive to try the system from there. And the legacy operating system has absolutely no problem starting from the ATA drive now.