Comments (7)
This is solved now, so I'm closing it :)
from arvernos.
DEBUG src/core/elf.c:17:elf_load(): file header: machine=0x3e version=0x1 entry=00000000004000B0 header_size=64 ph_size=56 ph_num=2 ph_offset=64 sh_num=64 sh_num=9
DEBUG src/core/elf.c:27:elf_load(): program header: type=1 addr=0000000000400000
DEBUG src/core/elf.c:69:load_segment(): load segment at addr=0000000000400000 with flags=0x3
DEBUG src/core/elf.c:27:elf_load(): program header: type=1 addr=0000000000400000
DEBUG src/core/elf.c:69:load_segment(): load segment at addr=0000000000607360 with flags=0x3
DEBUG src/core/elf.c:38:elf_load(): elf entry is now at: 00000000004000B0
DEBUG src/core/isr.c:153:isr_handler(): Received interrupt: 6 - Invalid Opcode
instruction_pointer = 00000000004000B9
code_segment = 8
cpu_flags = 0x246
stack_pointer = 0000000000115F90
stack_segment = 0
from arvernos.
Invalid Opcode
is quite weird, I don't think I've seen it very often. I likely broke this binary, the ELF loader was not very stable IIRC.
from arvernos.
Partially solved by #29
from arvernos.
I just tried and I get a page fault, huh. Edit: well, it is not stable at all :/
from arvernos.
Before or after my changes?
from arvernos.
Partially solved by #29
Looking now!
from arvernos.
Related Issues (20)
- Remove dependency to NASM
- Add support for `virt` machine (AArch64)
- Implement syscalls for AArch32
- Load init ramdisk in AArch32/raspi2
- Load init ramdisk in AArch32/licheepi-nano
- Look into VirtIO drivers
- Update QEMU in dockerfiles
- Load init ramdisk as a TAR file loaded in memory for AArch64/raspi3
- Make the x86_64 console generic
- Scan PCI devices
- Move ELF loader to shared code
- Docker image - permission denied HOT 4
- Build error due to the "warnings as error" setting in the Makefile (for `make release`):
- Re-enable `x86_64-userland-test-suite-ubsan` test suite
- Re-enable large malloc in selftest for x86_64
- Implement multi-tasking
- Implement multi-tasking for Lichee Pi Nano board
- Move symbol logic to shared code
- Investigate "higher-half" kernel
- Cannot execute /bin/init -s HOT 1
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 arvernos.