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 3D31D1382C5 for ; Thu, 11 Mar 2021 22:08:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D883E098E; Thu, 11 Mar 2021 22:08:43 +0000 (UTC) Received: from tncsrv06.tnetconsulting.net (tncsrv06.tnetconsulting.net [IPv6:2600:3c00:e000:1e9::8849]) (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 043B9E097D for ; Thu, 11 Mar 2021 22:08:42 +0000 (UTC) Received: from Contact-TNet-Consulting-Abuse-for-assistance by tncsrv06.tnetconsulting.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id 12BM8eEd023237 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 11 Mar 2021 16:08:41 -0600 Subject: Re: [gentoo-user] Weird harddisk problem: AHCI disks sometimes not found To: gentoo-user@lists.gentoo.org References: <4230296.kQq0lBPeGt@zeus> From: Grant Taylor Organization: TNet Consulting Message-ID: <6def61a1-bf9e-6a06-8147-c97410fb5f61@spamtrap.tnetconsulting.net> Date: Thu, 11 Mar 2021 15:08:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.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: <4230296.kQq0lBPeGt@zeus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: a9812baa-1868-4229-9314-a8c88761cdf4 X-Archives-Hash: fb7e306cc5347c724bfa684bcec1d5b0 On 3/11/21 12:39 PM, Alexander Puchmayr wrote: > Hi there, Hi, > I have a weird harddisk detection problem which rises the questio: > what does the gentoo-kernel make differently than the ubuntu kernel? Probably multiple things. They probably have configurations that are at least slightly different. I wouldn't be surprised if there is slightly different levels of patching too. My understanding is that gentoo-kernel differs slightly from a vanilla kernel source. > Without the Ubuntu observation I'd say its a hardware problem I'd still be inclined to question hardware. But I agree that difference in behavior based on different software is suspicious. I wonder if the Gentoo kernel is tickling a bug in the drive's firmware. > and the old HDDs are simply beyond their age, but why are they working > in ubuntu and not in gentoo? I don't think that older drives would fail in the way that you are describing. > And what is it doing with BIOS/Harddisk that even Bios does not find > it anymore? That sounds to me like the drive itself is misbehaving and not responding the way the BIOS expects. > I need a full powercycle to make bios find it again. That really sounds like the drive is having a problem. Or that the Gentoo kernel is inducing the drive into a state that is a problem. What happens if you unplug power and data cables from the drive and then reconnect them? Does the BIOS then see the drive? I'm wondering if it's the drive and / or controller that's getting wedged. > This indicates a gentoo kernel problem, and I have no idea where > to start looking, and AFAIK there's nothing much to configure a > SATA/AHCI drive. As Mark indicated, you should be able to compare kernel configs. I don't remember hearing about such a bug. I wonder if the Gentoo kernel is trying to do something slightly different and tickling a subtle bug that is causing the drive and / or controller to lock up. I'd think that it would be easy to remove power and data cables from the drive while the computer is powered on to see if that also revives the drive. > Any ideas? Not really. Just threads to chase. -- Grant. . . . unix || die