Since upgraded to Linux 5.15.5-arch1-1 today, I get the following error while running journalctl:
Nov 27 08:30:22 nuc kernel: sd 1:0:0:0: [sda] Asking for cache data failed
Nov 27 08:30:22 nuc kernel: sd 1:0:0:0: [sda] Assuming drive cache: write through
Nov 27 08:30:22 nuc kernel: sd 2:0:0:0: [sdb] Asking for cache data failed
Nov 27 08:30:22 nuc kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
I also upgraded endeavouros on an external ssd drive and I also get the error “Asking for cache data failed”.
Never had this before the upgrade to 5.15.5. What can be done to resolve this please?
Try it for a sufficient number of boots and see if it makes any difference. If not you can remove it.
File might look something like this
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
usb_storage
lp
Edit: I put it as the top entry. It may or may not work?
You can create the file and if it has no effect you can delete it or if it causes any issues.
sudo nano /etc/modules
add
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
usb_storage
Hi Ricklinux, I already checked. I only have the usual: cam, printer, mouse and keyboard.
It is interesting that when I log on my LTS 5.10 (old) I do not have this issue. It only happened today after updating the kernel.
The kernel prints the message to err on the side of caution; all it means is that the kernel tried to determine the drives’ caches’ characteristics, using an optional feature of the SCSI specification, but the drives don’t support it so the characteristics couldn’t be obtained. There’s nothing to do about it.
Nov 27 11:33:01 eos-kde kernel: scsi 1:0:0:0: Direct-Access ATA ST4000DM004-2CV1 0001 PQ: 0 ANSI: 5
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] 4096-byte physical blocks
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] Write Protect is off
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] Asking for cache data failed
Nov 27 11:33:01 eos-kde kernel: sd 1:0:0:0: [sdb] Assuming drive cache: write through
I have only one informational error message in the boot journal. As you can see it is on sdb which is not an SSD drive. It is a normal 4 TB what i call Hybrid Drive or hard drive. It just reports the information that it can’t get or read cache data from this drive. This drive is internal. I don’t have it mounted or anything. It’s just there … extra. I have no concerns about this info.