Skip to content

Why cause the triple fault in loading BootInformation? #266

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

Open
zhangxuan2011 opened this issue May 16, 2025 · 3 comments
Open

Why cause the triple fault in loading BootInformation? #266

zhangxuan2011 opened this issue May 16, 2025 · 3 comments

Comments

@zhangxuan2011
Copy link

Hey, I'm using BootInformation::load to load the boot information. But seems it causes the restart.

I uses GDB to debug, but i found that it even did't show ANYTHING about panic, just quit.

This is a part of GDB output:

(gdb) n
30          let boot_info = unsafe { BootInformation::load(mbi_ptr).expect("Failed to load BootInformation") };
(gdb)
0x00000000ffffffff in ?? ()
(gdb)

Note that I'm very sure that the arguments are correct, all from EAX and EBX.

@phip1611
Copy link
Member

Thanks for reaching out! Please share more about your environment and setup; it seems that the environment is not properly setup, e.g., the bootloader didn't properly load all LOAD segments into memory. Also share please how you build your kernel

@zhangxuan2011
Copy link
Author

Well, I forgot to say that i disabled ALL features, so is it effect the issue?

@phip1611
Copy link
Member

no, this is independent

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