Comments (1)
So I've got some ideas about the page fault with initrd on real hardware:
- In umeminit, setphysmembounds is called to set the user memory area to start from the start of the last PamMODULE section.
- umeminit then calls physinit to initialise every physical memory section of type PamMEMORY that's larger than 2Mi.
- The problem is that in my real hardware example, there's a PamMEMORY section larger than 2Mi between the kernel and the initrd module. This is considered outside the physical memory bound (in setphysmembounds), but we still try to call physinit for it.
A quick fix would be to not call physinit for any memory section before the module sections (if there is one). In this case you'd lose 4Mi of available ram (the actual size is just under 6Mi).
from harvey.
Related Issues (20)
- Clang 11 errors HOT 2
- Kernel at 0xFFFF_8000_0000_0000 and memory remap/directpaging (WIP and track)
- Add devdc() and devname() functions to all dev*.c HOT 3
- Check out the 9front vga code. HOT 1
- Add the build time to the boot info HOT 2
- Pagefault calling parsersdptr HOT 6
- attempting to build harvey fails because there is no syslinux script in the utils folder HOT 7
- running ./util/build-img.sh -f raw fails with "source: util/img/syslinux-bios/syslinux does not exist or cannot be read"
- harvey doesn't boot when compiled with gcc 10.2.0 and binutils 2.36 HOT 2
- bootstrap.sh fails on FreeBSD HOT 2
- building Harvey-OS succeeds, but parts are missing HOT 2
- Experiment with alternate usb stacks HOT 2
- Pull in devshr from 9front codebase HOT 1
- Pull in 9pqueue from 9front codebase HOT 1
- Requirements HOT 1
- Qemu panics after failing to connect to ufs HOT 1
- Failed HOT 1
- Add back the CI
- devdraw should probably return Eshortread if you pass 144 characters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harvey.