public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@gentoo.tnetconsulting.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Weird harddisk problem: AHCI disks sometimes not found
Date: Thu, 11 Mar 2021 15:08:41 -0700	[thread overview]
Message-ID: <6def61a1-bf9e-6a06-8147-c97410fb5f61@spamtrap.tnetconsulting.net> (raw)
In-Reply-To: <4230296.kQq0lBPeGt@zeus>

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


  parent reply	other threads:[~2021-03-11 22:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 19:39 [gentoo-user] Weird harddisk problem: AHCI disks sometimes not found Alexander Puchmayr
2021-03-11 19:49 ` Mark Knecht
2021-03-11 22:08 ` Grant Taylor [this message]
2021-03-12  0:33 ` antlists
2021-03-12 17:46 ` Mark Knecht
2021-03-21 21:05 ` Alexander Puchmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6def61a1-bf9e-6a06-8147-c97410fb5f61@spamtrap.tnetconsulting.net \
    --to=gtaylor@gentoo.tnetconsulting.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox