-
Notifications
You must be signed in to change notification settings - Fork 205
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
Google crostini does not have active kernel module information available #2432
Comments
Hello there 👋 Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response. |
ChromeOS is not completely compatible with Pi-Apps, so expect to see errors for some apps. Thanks for reporting this though. If there is something we can do to help ChromeOS users, we'd be glad to help. |
Hey! Sorry I accidentally sent the bug report before I finished. I updated it. |
Pi-Apps correctly detects compatible system architecture. For MuseScore, we install either an armv7l or arm64 appimage. |
@Botspot I think you missed the simple issue environment: line 30: lsmod: command not found #load the module now if not already loaded
if ! lsmod | awk '{print $1}' | grep -qxF "$module" ;then
errors="$(sudo modprobe "$module" 2>&1)"
if [ $? != 0 ];then
#if modprobe fails, the module may be missing because user upgraded the kernel and has not rebooted yet.
if [ ! -d "/lib/modules/$(uname -r)" ];then
error "\nUser error: Failed to load the '$module' kernel module because you upgraded the kernel and have not rebooted yet.
Please reboot to load the new kernel, then try again."
else
#other modprobe error: exit now and display modprobe output
error "$errors"
fi
fi
fi lsmod shows ALL kernel modules currently ACTIVE, whether builtinto the kernel ( the user does not not have the
@aldjplay don't try what botspot says yet. first try doing a |
also @aldjplay since your device model and CPU info are empty. do you know of any way that we can obtain relevant information from crostini about it being crostini? we already try a lot of common files but it appears none of these are available in crostini on your chromebook if [[ -d /system/app/ && -d /system/priv-app ]]; then
model="$(getprop ro.product.brand) $(getprop ro.product.model)"
fi
if [[ -z "$model" ]] && [[ -f /sys/devices/virtual/dmi/id/product_name ||
-f /sys/devices/virtual/dmi/id/product_version ]]; then
model="$(tr -d '\0' < /sys/devices/virtual/dmi/id/product_name)"
model+=" $(tr -d '\0' < /sys/devices/virtual/dmi/id/product_version)"
fi
if [[ -z "$model" ]] && [[ -f /sys/firmware/devicetree/base/model ]]; then
model="$(tr -d '\0' < /sys/firmware/devicetree/base/model)"
fi
if [[ -z "$model" ]] && [[ -f /tmp/sysinfo/model ]]; then
model="$(tr -d '\0' < /tmp/sysinfo/model)"
fi maybe google is using a non-standard devicetree location? |
The same error message appears appears, but it does seem that kmod wasn't installed
Here's the result: As for your question @theofficialgman, I am not aware of any way to check the cpu info and that stuff from crostini. However, here's the cpu info from the Diagnostics app on ChromeOS: Qualcomm 7180 (8 threads, 1.99GHz) |
actually the error is different. firstly, kmod is the name of the package, not any individual binary. the binaries lsmod and modprobe did get installed.
This error comes from Unforunately it looks like crostini is bad and does not make the list of active kernel modules available. That pretty much breaks linux kernel spec and is not helpful. A bit more information from other users who discovered that is here -> adrienverge/openfortivpn#335 (comment) While it makes sense that google would not allow you to load your own kernel modules (that could be a security issue) it doesn't make sense that they don't mount the directory to show you the active kernel modules. There really is nothing we can do here to get the actual information we need to determine if the fuse module is active since crostini does not provide this information anywhere. In addition, there is no way for us to even hackily disable that check for all crostini users since we can't determine if the user is running crostini as previously mentioned. @aldjplay if you are able to look through all the |
Alright. Thanks for the help! I will add, the MuseScore 4.0.2 AppImage on your large-files release page does work. https://github.com/Pi-Apps-Coders/files/releases/tag/large-files, although it does appear small for an 11" screen. Here's a screenshot of that. (https://github.com/Botspot/pi-apps/assets/142936250/587892a4-7687-41ae-a576-840cebbd58d5) As for your final request, I'll try my best. 👍 |
@aldjplay does this have any output? If presend we can use these as an absolute fallback for checking if FUSE =y in the kernel config |
Here's the output from running As for |
I can see the output contains that is enough information, thanks |
Alright. You're welcome! |
@aldjplay one more thing
|
then try again |
it should be there. maybe /sbin isn't in PATH
sometimes you also have to reload the current list of files in PATH with
after installing stuff |
is there any output from |
Here's the output: output.txt |
perfect. I will use this as a fallback to check for currently loaded/active modules
This issue will close automatically when I commit something that does that to pi-apps. |
Alright! Glad to help! |
Confirmations
What happened?
'MuseScore' won't install.
'Minecraft Bedrock' won't install
Description
When I attempt to download Musescore 4 from the Pi-Apps store, it always gives me the error:
User error: Failed to load the 'fuse' kernel module because you upgraded the kernel and have not rebooted yet. Please reboot to load the new kernel, then try again.
I am using ChromeOS (Lenovo Chromebook Duet 3) with an ARM processor (Qualcomm 7180 (8 threads, 1.99GHz)
Steps to reproduce:
Expected Behavior: "MuseScore" or "Minecraft Bedrock" installs
Actual Result: an Error occurs
User error: Failed to load the 'fuse' kernel module because you upgraded the kernel and have not rebooted yet. Please reboot to load the new kernel, then try again.
Extra Info:
I have attempted to install MuseScore more than 5 times with the same result, along with Minecraft Bedrock about 3 times. I have reproduced it on the original Lenovo Chromebook Duet as well. I have restarted Crostini(the Linux container within ChromeOS) and have restarted my Chromebook multiple times. The error always pops up. However, I was able to install other applications like Audacity and the Minecraft Prism Launcher. Something about "fuse"
The log file provided is for MuseScore. For Minecraft Bedrock, see here(https://github.com/Botspot/pi-apps/files/12414614/install-fail-Minecraft.Bedrock.log)
What are your system specs (run the following command in your terminal)?
(Recommended) Error log? Terminal output? Debug messages?
The text was updated successfully, but these errors were encountered: