Bug 217189

Summary: SATA HDD not detected
Product: IO/Storage Reporter: Floki (coder.abhijit90)
Component: Serial ATAAssignee: Tejun Heo (tj)
Status: NEEDINFO ---    
Severity: normal CC: regressions
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 6.2.0-76060200-generic Subsystem:
Regression: No Bisected commit-id:

Description Floki 2023-03-14 01:07:28 UTC
Hello, In my laptop I have two hard drives one is SATA HDD and another one is nvme m.2 ssd. I have installed linux in nvme drive but after upgrading kernel to 6.2.0-76060200-generic my SATA HDD not detected. I have used lsblk command to check the storage devices but the hdd is also not showing there.
Comment 1 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-03-14 04:41:38 UTC
Please attach dmesg from a working kernel (6.1.y I assume?) and a broken one. And BTW: what kind of kernel is "6.2.0-76060200-generic"? is that vanilla or close to vanilla? Or is it some distro kernel that might contain a lot of patches?
Comment 2 Floki 2023-03-14 05:55:04 UTC
Here is dmesg outputs
6.0.12 -> https://pastebin.com/d6mYMVcR
6.2.0 -> https://pastebin.com/2kgrxkse

I am using pop os, so I guess the kernel is distro kernel.
Comment 3 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-03-14 08:04:35 UTC
(In reply to Floki from comment #2)

> I am using pop os, so I guess the kernel is distro kernel.

So likely patched -- and in your case also tainted due to Nvidia's driver. There are a few odd things here (why are there no ehci msg in the 6.2 log?) that might or might not be due to config changes. Therefore I'd say it's something you should report to your kernel vendor, e.g. PopOS. Alternatively recheck with vanilla kernels (where the newer one uses a configuration derived from the older one using "make olddefconfig"!) and report back here.