SilverRainZ / OS67

An unix-like toy kernel
GNU General Public License v3.0
725 stars 124 forks source link

Kernel panic at init #20

Open enty8080 opened 4 years ago

enty8080 commented 4 years ago

@SilverRainZ @farseerfc @wjk13720041 @game-lover

enty8080 commented 4 years ago

@SilverRainZ What should I do to fix this?

SilverRainZ commented 4 years ago

@enty8080 Sorry, I haven't touched the kernel for a long time.

It panic in somewhere of cinit.c and here may a instruction divides by zero.

Use bochs may prevent this BUG. If you want to fix it, make qmeu provides you a gdb shell(you should have cgdb installed).