vlang / vinix

Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
https://vlang.io
GNU General Public License v2.0
1.89k stars 120 forks source link

when booting it does not count cores right (sometimes) #52

Closed Ccode-lang closed 2 years ago

Ccode-lang commented 2 years ago

It was counting cores and said there were 3 when I had it set to 4. I loaded again and it was right.

Ccode-lang commented 2 years ago

when it says three it then hang forever

mintsuki commented 2 years ago

Are you passing any special flags to qemu, or more generally, which emulator are you using and how are you invoking it?

Ccode-lang commented 2 years ago

I'm using the run command that I put together from the Makefile

Ccode-lang commented 2 years ago

I stored it in Ccode-lang/vinix-tester

mintsuki commented 2 years ago

Does this still happen with the latest ISO?

Ccode-lang commented 2 years ago

Yes.

mintsuki commented 2 years ago

I can't reproduce. What is your host system (hardware and OS) and qemu version?

Ccode-lang commented 2 years ago

hardware: MacBook Air Chip: Apple M1 OS: MacOS Big Sur Qemu version: 6.1.0

Ccode-lang commented 2 years ago

Maybe it is a problem with qemu and M1?

StaticSaga commented 2 years ago

It could very well be a QEMU problem, it works fine on any x86 machine I've tried

Ccode-lang commented 2 years ago

I agree M1 is new and could be the problem