LibertyOS-Development / kernel

The kernel for LibertyOS.
Apache License 2.0
277 stars 12 forks source link

HUGE PAGES ARE UNSUPPORTED #9

Closed Kepler-Br closed 2 years ago

Kepler-Br commented 2 years ago

Is this a successful run? Built from latest main commit with cargo build --release; cargo run --release Same without release flag.

LIBERTY-OS
KERNEL VERSION 0.9.7

VirtAddr(0xb8000) -> Some(PhysAddr(0xb8000))
VirtAddr(0x201008) -> Some(PhysAddr(0x401008))
VirtAddr(0x10000201a10) -> Some(PhysAddr(0x27fa10))
panicked at `[ERR] HUGE PAGES ARE UNSUPPORTED`, src/mem.rs:37:43

If so, please, provide expected behavior in the README.md

% qemu-system-x86_64 --version
QEMU emulator version 6.0.0 (Debian 1:6.0+dfsg-2expubuntu1.1)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
% lsb_release --all
Distributor ID: Ubuntu
Description:    Ubuntu 21.10
Release:    21.10
Codename:   impish
% rustc --version
rustc 1.59.0-nightly (0fb1c371d 2021-12-06)
danielteberian commented 2 years ago

Hello! First, I want to thank you for bothering to check out this repository. :)

As for the error message in question, there is nothing to worry about. The message is a holdover from when paging was first being implemented in the kernel. All the messages (aside from the normal message) will be removed in the next update (either 0.9.8, or 0.10.0).

If you have any ideas, complaints, or technical issues, please open another issue or send me a message on the official Discord server.

Thank you, and God bless!

P.S. If you wouldn't mind, I would really appreciate it if you submitted a PR with an issue template that is similar to the one you used here. Your message was concise, informative, and did not forget anything.

Kepler-Br commented 2 years ago

Hello! Where can I find a link to official Discord server? It appears that link in closed issue(aka 'Little help') is not valid anymore

danielteberian commented 2 years ago

https://discord.gg/3SuPAgsA