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

Reply via email to