2

I have a laptop from 2010. When it boots a recent Linux kernel, I see two error messages on the screen:

sd 0:0:0:0: [sda] Asking for cache data failed
sd 0:0:0:0: [sda] Assuming drive cache: write through

The same message is displayed when I boot my another, even older laptop. I boot in quiet mode, which means no boot-up messages should normally appear, but these do. The hard drives in either seemingly work fine.

How serious is this message? Is this a sign of imminent hard disk failure? How do I make it go away?

2 Answers2

4

Nearly all modern harddrives have an onboard RAM cache to speed up operation. Since a RAM cache could be lost on an unexpected power outage, the existence, size and mode of this cache should be queryable from the host computer.

Older drives do not implement (either not correctly or not at all) this query, so the host "fails, asking for cache data". The host then assumes, that the cache is in write-through mode and continues.

If the drive behaves well, this is no problem whatsoever - if it does not, then an unexpected power outage might lose the last few writes. Most likely you would have already learned about that, as it would lead to more unexpected messages and maybe an emergency mode from time to time.

Eugen Rieck
  • 20,637
-1

There is a bug in Kernel version 5.15. Ignore it. It will probably be fixed in future versions.

falero80s
  • 121