figozhang / runninglinuxkernel_4.0

《奔跑吧Linux内核》配套实验平台和代码,白色入门酱香篇,蓝色进阶浓香篇
Other
476 stars 280 forks source link

remove enable-kvm from run.sh #8

Closed miraclemore closed 6 years ago

miraclemore commented 6 years ago

Due to breakpoints can't work normally, remove that.

miraclemore commented 6 years ago

It seems that gdb breakpoints can't work normally under ubuntu-17.10 and gdb 8.0.1 if enable-kvm support for qemu. For example,

  1. run.sh x86_64 debug
  2. gdb enter b start_kernel and press "c"
  3. It can't stop!!!
figozhang commented 6 years ago

would you like try on Ubuntu 16.04?

figozhang commented 6 years ago

would you like help to try --enable-kvm can work on ARM and ARM64?

miraclemore commented 6 years ago

Try that on ubuntu 16.04.4. The same symptom occurs as ubuntu 17.10! For arm platform, I don't add -enable-kvm option on the script before. No need to worry about that. And also the qemu-system-arm* can't work due to no accelerator found!.