ACK: [SRU][J:linux-xilinx-zynqmp][PATCH 0/1] Fix kernel error logs on sda

Kuan-Ying Lee kuan-ying.lee at canonical.com
Thu Jul 3 08:53:17 UTC 2025


On Thu, Jul 03, 2025 at 02:11:42PM +0800, Wei-Lin Chang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2115853
> 
> SRU Justification
> 
> [Impact]
> 
> * Kernel error about sda found when booting into system (KD240 and KR260).
> [ 8.743969] sd 0:0:0:0: [sda] No Caching mode page found
> [ 8.749288] sd 0:0:0:0: [sda] Assuming drive cache: write through
> 
> ubuntu at kria:~$ sudo dmesg --level err
> [ 2.102157] mtdoops: mtd device (mtddev=name/number) must be supplied
> [ 2.155641] ams ffa50000.ams: invalid resource
> [ 6.416868] zynqmp-display fd4a0000.display: no PHY found
> [ 7.357202] da9121 1-0032: Cannot read device ID: -6
> [ 8.743969] sd 0:0:0:0: [sda] No Caching mode page found <------------ These two lines
> [ 8.749288] sd 0:0:0:0: [sda] Assuming drive cache: write through <--- These two lines
> [ 15.788622] systemd[1]: systemd-networkd.socket: Socket service systemd-networkd.service not loaded, refusing.
> [ 15.798672] systemd[1]: Failed to listen on Network Service Netlink Socket.
> [ 38.906044] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/firmware-name
> [ 38.916341] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/resets
> 
> [Fix]
> 
> * Cherry-pick c4da1205752d from upstream.
> For SD cardreaders it is extremely common not to have a cache.
> Consequently, these error messages do not point to a real error.
> Change KERN_ERR to KERN_WARNING.
> 
> [Test Plan]
> 
> * Checked error message is gone after applying the patch.
> 
> [Where problems could occur]
> 
> * Low potential for regression.
> 
> Martin Kepplinger (1):
>   scsi: sd: Print write through due to no caching mode page as warning
> 
>  drivers/scsi/sd.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Acked-by: Kuan-Ying Lee <kuan-ying.lee at canonical.com>



More information about the kernel-team mailing list