-
Notifications
You must be signed in to change notification settings - Fork 58
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
0.8.0: Kernel panic following "ventoy map data is invalid, get from resource" #455
Comments
Please boot in verbose mode and see if you can determine where it gets stuck. |
After booting in verbose mode, it reboot again, but much faster than if it showed the logo (rebooted in a couple seconds rather than about a minute) |
We need the last thing it prints on screen. |
Thanks, this is very helpful. It seems to be tripping over the Ventoy kernel driver. Are you using Ventoy? (If you don't know what it is, then you are not using it.) |
No, I'm not. I wrote the iso to a usb drive using |
A kernel stack trace indicates a NULL pointer dereference in |
Currently, geom_ventoy is being loaded for all users, even for those who are not using Ventoy. Can we find a way to only load the Ventoy kernel module if something (what?) tells us that we are booting through Ventoy? |
https://www.youtube.com/watch?v=HX4q8mHOtoY shows another example of this: |
As a workaround, try
at the bootloader prompt. To get to the bootloader prompt, press backspace early in the boot process. In 0.8.1 or later, press backspace as soon as the screen becomes all gray, then press escape. |
My bad, that workaorund doesn't work. We need to find a way to tell the bootloader not to load the ventoy kernel module on affected machines. |
I do appreciate your time. Thank you for your help |
I hope there is some way to figure out whether we are running from a "real" ISO or from a loop-mounted ISO loaded by Ventoy, but I have not yet found out how to do this. We should load the Ventoy module only when we know that Ventoy has loop-mounted the ISO. |
Hold on, maybe I have found out a key to this: If booting with Ventoy makes those vars accessible to the bootloader, then I may be able to solve this rather elegantly. Give me some time. |
Unfortunately the Maybe @ventoy can help? |
After many tries and errors I could get hellosystem ISO booting through VENTOY So now if we burn the iso to a DVD or a memory stick there will be no ventoy module getting annoying.. Ventoy developer were clever indeed. I took fstab and os-release files from FreeBSD 13.1 ISO : |
Indeed very clever. But unfortunately no documentation I could find. It's probably best to let Ventoy handle the module loading with its own undocumented trickery. I remember it had failed on helloSystem a couple of releases back, but nowadays it seems to be working. I tested this with hello-0.8.2_0H331-FreeBSD-13.1-amd64.iso and Ventoy 1.0.88. So anyone who has had this issue, please try 0.8.2 build 0H331 (or later). Thanks! |
Closing as resolved. Will reopen if anyone still encounters the same issue. |
Describe the bug
Was able to boot and install helloSystem in VirtualBox, but when trying to boot on bare metal, it will load up the freebsd logo, stay there for about a minute, then reboot the laptop.
Expected behavior
A live environment booting to the desktop.
Version (please complete the following information):
FreeBSD-13.1 (0.8.0)
Computer (please complete the following information):
Hardware:
The text was updated successfully, but these errors were encountered: