Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Assuming drive cache: write through" for all SATA drives since kernel 5.15.5 #87

Open
juanejot opened this issue Dec 1, 2021 · 4 comments

Comments

@juanejot
Copy link

juanejot commented Dec 1, 2021

How did you upgrade to 21.10? (Fresh install / Upgrade)

Upgrade

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Not specific that I can see, beyond system boot with kernel 5.15.5.

Issue/Bug Description:
Upon boot since upgrade to System76's kernel 5.15.5, I get the following two lines of notification at boot before it gets to a GUI. It still allows boot & function seems normal, so I'm not sure if it's a grave issue that needs addressing,* but just so the team knows.

The lines are:
[[amount of boot time in seconds]] sd 1:0:0:0 [sda] Asking for cache data failed
[[amount of boot time in seconds]] sd 1:0:0:0 [sda] Assuming drive cache: write through

Steps to reproduce (if you know):
Boot my old IC2D T9900/GeForce 9400M/9600M GT laptop with kernel 5.15.5.

Expected behavior:
Boot with no warnings.

Other Notes:
This may or may not be related to the SATA-reading difficulties with kernels 5.15.0 through 5.15.2, which were resolved in Ubuntu's kernel 5.15.3 and System76's kernels 5.15.4 and 5.15.5, as described in (closed) issue pop-os/beta#273. This drive cache warning did not happen in kernel 5.15.4 or previous, though I occasionally get USB warnings in all kernels (and USB works in all ways I can test, upon bootup).

*For System76 team members: Feel free to let me know if this is not a concern in running the system, and if that's the case, close the issue.

@jacobgkau
Copy link
Member

Upstream kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=215137

This should be fixed by 5.15.6: #85

I generally would not worry about dmesg entries as long as the system is functioning.

@juanejot
Copy link
Author

juanejot commented Dec 1, 2021

Great, thanks @jacobgkau ! Closing issue now both due to work already being done on it & lack of concern due to system functionality.

@juanejot juanejot closed this as completed Dec 1, 2021
@jacobgkau
Copy link
Member

I am going to re-open this and move it to the Linux repo just for tracking (and just in case anyone else is looking for information about it.) Thank you for the report.

@jacobgkau jacobgkau reopened this Dec 1, 2021
@jacobgkau jacobgkau transferred this issue from pop-os/beta Dec 1, 2021
@jacobgkau jacobgkau changed the title Cache notification which nevertheless allows boot, since kernel 5.15.5 "Assuming drive cache: write through" for all SATA drives since kernel 5.15.5 Dec 1, 2021
@juanejot
Copy link
Author

juanejot commented Dec 1, 2021

Thank you @jacobgkau !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants