This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Warning icon near kernel version #337
Comments
Probably a duplicate of #125 |
Yes, it is. Now I would know which setting should I enabled in order to get a fully RT kernel. |
COuld somebody suggest how to compile my kernel in order to make the waning icon a green success icon? |
HI found my answer in code: class CadenceSystemCheck_kernel(CadenceSystemCheck):
def __init__(self):
CadenceSystemCheck.__init__(self)
self.name = self.tr("Current kernel")
uname3 = os.uname()[2]
versionInt = []
versionStr = uname3.split("-",1)[0]
versionSplit = versionStr.split(".")
for split in versionSplit:
if split.isdigit():
versionInt.append(int(split))
else:
versionInt = [0, 0, 0]
break
self.result = versionStr + " "
if "-" not in uname3:
self.icon = self.ICON_WARN
self.result += self.tr("Vanilla")
self.moreInfo = None
else:
if uname3.endswith("-pae"):
kernelType = uname3.split("-")[-2].lower()
self.result += kernelType.title() + " (PAE)"
else:
kernelType = uname3.split("-")[-1].lower()
self.result += kernelType.title()
if kernelType in ("rt", "realtime") or (kernelType == "lowlatency" and versionInt >= [2, 6, 39]):
self.icon = self.ICON_OK
self.moreInfo = None
elif versionInt >= [2, 6, 39]:
self.icon = self.ICON_WARN
self.moreInfo = None
else:
self.icon = self.ICON_ERROR
self.moreInfo = None |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I would waht the warning icon near the kernel version represents:
I have a PREEMP kernel too, and in that case it reports 5.15.5 Latency instead of 5.15.5 Linux, but the warning icon is still present.
Thank you!
The text was updated successfully, but these errors were encountered: